diff options
Diffstat (limited to 'plugins/jetpack/_inc/blocks')
58 files changed, 58 insertions, 183 deletions
diff --git a/plugins/jetpack/_inc/blocks/business-hours/view.asset.php b/plugins/jetpack/_inc/blocks/business-hours/view.asset.php index e5405154..b0089def 100644 --- a/plugins/jetpack/_inc/blocks/business-hours/view.asset.php +++ b/plugins/jetpack/_inc/blocks/business-hours/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-polyfill'), 'version' => '2e5b0a80267c954214fd98cc57763a42');
\ No newline at end of file +<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'b22763bb1a1ec93f76008778235311ca');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/business-hours/view.js b/plugins/jetpack/_inc/blocks/business-hours/view.js index 7a6adcd8..89d1016c 100644 --- a/plugins/jetpack/_inc/blocks/business-hours/view.js +++ b/plugins/jetpack/_inc/blocks/business-hours/view.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=258)}({258:function(e,t,n){n(37),e.exports=n(259)},259:function(e,t,n){"use strict";n.r(t);n(81)},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},81:function(e,t,n){}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=273)}({126:function(e,t,n){},273:function(e,t,n){n(42),e.exports=n(274)},274:function(e,t,n){"use strict";n.r(t);n(126)},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/calendly/view.asset.php b/plugins/jetpack/_inc/blocks/calendly/view.asset.php new file mode 100644 index 00000000..b6e45b25 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/calendly/view.asset.php @@ -0,0 +1 @@ +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '31483c7a7cd6794e8753fc0709171ca5');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/calendly/view.css b/plugins/jetpack/_inc/blocks/calendly/view.css new file mode 100644 index 00000000..27fde6fb --- /dev/null +++ b/plugins/jetpack/_inc/blocks/calendly/view.css @@ -0,0 +1 @@ +.admin-bar .calendly-overlay .calendly-popup-close{top:47px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/calendly/view.js b/plugins/jetpack/_inc/blocks/calendly/view.js new file mode 100644 index 00000000..dcf5cd75 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/calendly/view.js @@ -0,0 +1 @@ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=275)}({275:function(e,t,n){n(42),e.exports=n(276)},276:function(e,t,n){"use strict";n.r(t);n(277)},277:function(e,t,n){},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/calendly/view.rtl.css b/plugins/jetpack/_inc/blocks/calendly/view.rtl.css new file mode 100644 index 00000000..27fde6fb --- /dev/null +++ b/plugins/jetpack/_inc/blocks/calendly/view.rtl.css @@ -0,0 +1 @@ +.admin-bar .calendly-overlay .calendly-popup-close{top:47px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/components.js b/plugins/jetpack/_inc/blocks/components.js index 1a3765cf..2d8d9b8d 100644 --- a/plugins/jetpack/_inc/blocks/components.js +++ b/plugins/jetpack/_inc/blocks/components.js @@ -1,110 +1,2 @@ -module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=244)}([function(e,t,n){(function(e){var r; -/** - * @license - * Lodash <https://lodash.com/> - * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> - * Released under MIT license <https://lodash.com/license> - * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */(function(){var o,i=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",c="__lodash_hash_undefined__",l=500,u="__lodash_placeholder__",d=1,f=2,h=4,p=1,v=2,m=1,g=2,b=4,y=8,k=16,_=32,w=64,O=128,S=256,E=512,C=30,T="...",x=800,D=16,M=1,j=2,I=1/0,P=9007199254740991,N=17976931348623157e292,R=NaN,L=4294967295,A=L-1,z=L>>>1,F=[["ary",O],["bind",m],["bindKey",g],["curry",y],["curryRight",k],["flip",E],["partial",_],["partialRight",w],["rearg",S]],H="[object Arguments]",V="[object Array]",B="[object AsyncFunction]",U="[object Boolean]",W="[object Date]",K="[object DOMException]",Y="[object Error]",$="[object Function]",q="[object GeneratorFunction]",G="[object Map]",Z="[object Number]",X="[object Null]",Q="[object Object]",J="[object Proxy]",ee="[object RegExp]",te="[object Set]",ne="[object String]",re="[object Symbol]",oe="[object Undefined]",ie="[object WeakMap]",ae="[object WeakSet]",se="[object ArrayBuffer]",ce="[object DataView]",le="[object Float32Array]",ue="[object Float64Array]",de="[object Int8Array]",fe="[object Int16Array]",he="[object Int32Array]",pe="[object Uint8Array]",ve="[object Uint8ClampedArray]",me="[object Uint16Array]",ge="[object Uint32Array]",be=/\b__p \+= '';/g,ye=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,Oe=RegExp(_e.source),Se=RegExp(we.source),Ee=/<%-([\s\S]+?)%>/g,Ce=/<%([\s\S]+?)%>/g,Te=/<%=([\s\S]+?)%>/g,xe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,je=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(je.source),Pe=/^\s+|\s+$/g,Ne=/^\s+/,Re=/\s+$/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ae=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,Fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,He=/\\(\\)?/g,Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Be=/\w*$/,Ue=/^[-+]0x[0-9a-f]+$/i,We=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ge=/($^)/,Ze=/['\n\r\u2028\u2029\\]/g,Xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qe="\\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",Je="[\\ud800-\\udfff]",et="["+Qe+"]",tt="["+Xe+"]",nt="\\d+",rt="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+Qe+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",at="\\ud83c[\\udffb-\\udfff]",st="[^\\ud800-\\udfff]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",lt="[\\ud800-\\udbff][\\udc00-\\udfff]",ut="[A-Z\\xc0-\\xd6\\xd8-\\xde]",dt="(?:"+ot+"|"+it+")",ft="(?:"+ut+"|"+it+")",ht="(?:"+tt+"|"+at+")"+"?",pt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[st,ct,lt].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),vt="(?:"+[rt,ct,lt].join("|")+")"+pt,mt="(?:"+[st+tt+"?",tt,ct,lt,Je].join("|")+")",gt=RegExp("['’]","g"),bt=RegExp(tt,"g"),yt=RegExp(at+"(?="+at+")|"+mt+pt,"g"),kt=RegExp([ut+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[et,ut,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[et,ut+dt,"$"].join("|")+")",ut+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ut+"+(?:['’](?: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_])",nt,vt].join("|"),"g"),_t=RegExp("[\\u200d\\ud800-\\udfff"+Xe+"\\ufe0e\\ufe0f]"),wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],St=-1,Et={};Et[le]=Et[ue]=Et[de]=Et[fe]=Et[he]=Et[pe]=Et[ve]=Et[me]=Et[ge]=!0,Et[H]=Et[V]=Et[se]=Et[U]=Et[ce]=Et[W]=Et[Y]=Et[$]=Et[G]=Et[Z]=Et[Q]=Et[ee]=Et[te]=Et[ne]=Et[ie]=!1;var Ct={};Ct[H]=Ct[V]=Ct[se]=Ct[ce]=Ct[U]=Ct[W]=Ct[le]=Ct[ue]=Ct[de]=Ct[fe]=Ct[he]=Ct[G]=Ct[Z]=Ct[Q]=Ct[ee]=Ct[te]=Ct[ne]=Ct[re]=Ct[pe]=Ct[ve]=Ct[me]=Ct[ge]=!0,Ct[Y]=Ct[$]=Ct[ie]=!1;var Tt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xt=parseFloat,Dt=parseInt,Mt="object"==typeof window&&window&&window.Object===Object&&window,jt="object"==typeof self&&self&&self.Object===Object&&self,It=Mt||jt||Function("return this")(),Pt=t&&!t.nodeType&&t,Nt=Pt&&"object"==typeof e&&e&&!e.nodeType&&e,Rt=Nt&&Nt.exports===Pt,Lt=Rt&&Mt.process,At=function(){try{var e=Nt&&Nt.require&&Nt.require("util").types;return e||Lt&&Lt.binding&&Lt.binding("util")}catch(t){}}(),zt=At&&At.isArrayBuffer,Ft=At&&At.isDate,Ht=At&&At.isMap,Vt=At&&At.isRegExp,Bt=At&&At.isSet,Ut=At&&At.isTypedArray;function Wt(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 Kt(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Yt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function $t(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function qt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Gt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Zt(e,t){return!!(null==e?0:e.length)&&sn(e,t,0)>-1}function Xt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Qt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Jt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function en(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function tn(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function nn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var rn=dn("length");function on(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function an(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function sn(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):an(e,ln,n)}function cn(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function ln(e){return e!=e}function un(e,t){var n=null==e?0:e.length;return n?pn(e,t)/n:R}function dn(e){return function(t){return null==t?o:t[e]}}function fn(e){return function(t){return null==e?o:e[t]}}function hn(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function pn(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function vn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function mn(e){return function(t){return e(t)}}function gn(e,t){return Qt(t,(function(t){return e[t]}))}function bn(e,t){return e.has(t)}function yn(e,t){for(var n=-1,r=e.length;++n<r&&sn(t,e[n],0)>-1;);return n}function kn(e,t){for(var n=e.length;n--&&sn(t,e[n],0)>-1;);return n}var _n=fn({"À":"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"}),wn=fn({"&":"&","<":"<",">":">",'"':""","'":"'"});function On(e){return"\\"+Tt[e]}function Sn(e){return _t.test(e)}function En(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Cn(e,t){return function(n){return e(t(n))}}function Tn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==u||(e[n]=u,i[o++]=n)}return i}function xn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Mn(e){return Sn(e)?function(e){var t=yt.lastIndex=0;for(;yt.test(e);)++t;return t}(e):rn(e)}function jn(e){return Sn(e)?function(e){return e.match(yt)||[]}(e):function(e){return e.split("")}(e)}var In=fn({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Pn=function e(t){var n,r=(t=null==t?It:Pn.defaults(It.Object(),t,Pn.pick(It,Ot))).Array,Xe=t.Date,Qe=t.Error,Je=t.Function,et=t.Math,tt=t.Object,nt=t.RegExp,rt=t.String,ot=t.TypeError,it=r.prototype,at=Je.prototype,st=tt.prototype,ct=t["__core-js_shared__"],lt=at.toString,ut=st.hasOwnProperty,dt=0,ft=(n=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ht=st.toString,pt=lt.call(tt),vt=It._,mt=nt("^"+lt.call(ut).replace(je,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yt=Rt?t.Buffer:o,_t=t.Symbol,Tt=t.Uint8Array,Mt=yt?yt.allocUnsafe:o,jt=Cn(tt.getPrototypeOf,tt),Pt=tt.create,Nt=st.propertyIsEnumerable,Lt=it.splice,At=_t?_t.isConcatSpreadable:o,rn=_t?_t.iterator:o,fn=_t?_t.toStringTag:o,Nn=function(){try{var e=Fi(tt,"defineProperty");return e({},"",{}),e}catch(t){}}(),Rn=t.clearTimeout!==It.clearTimeout&&t.clearTimeout,Ln=Xe&&Xe.now!==It.Date.now&&Xe.now,An=t.setTimeout!==It.setTimeout&&t.setTimeout,zn=et.ceil,Fn=et.floor,Hn=tt.getOwnPropertySymbols,Vn=yt?yt.isBuffer:o,Bn=t.isFinite,Un=it.join,Wn=Cn(tt.keys,tt),Kn=et.max,Yn=et.min,$n=Xe.now,qn=t.parseInt,Gn=et.random,Zn=it.reverse,Xn=Fi(t,"DataView"),Qn=Fi(t,"Map"),Jn=Fi(t,"Promise"),er=Fi(t,"Set"),tr=Fi(t,"WeakMap"),nr=Fi(tt,"create"),rr=tr&&new tr,or={},ir=da(Xn),ar=da(Qn),sr=da(Jn),cr=da(er),lr=da(tr),ur=_t?_t.prototype:o,dr=ur?ur.valueOf:o,fr=ur?ur.toString:o;function hr(e){if(xs(e)&&!gs(e)&&!(e instanceof gr)){if(e instanceof mr)return e;if(ut.call(e,"__wrapped__"))return fa(e)}return new mr(e)}var pr=function(){function e(){}return function(t){if(!Ts(t))return{};if(Pt)return Pt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function vr(){}function mr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function gr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=L,this.__views__=[]}function br(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function yr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function kr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new kr;++t<n;)this.add(e[t])}function wr(e){var t=this.__data__=new yr(e);this.size=t.size}function Or(e,t){var n=gs(e),r=!n&&ms(e),o=!n&&!r&&_s(e),i=!n&&!r&&!o&&Ls(e),a=n||r||o||i,s=a?vn(e.length,rt):[],c=s.length;for(var l in e)!t&&!ut.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Yi(l,c))||s.push(l);return s}function Sr(e){var t=e.length;return t?e[wo(0,t-1)]:o}function Er(e,t){return ca(ri(e),Nr(t,0,e.length))}function Cr(e){return ca(ri(e))}function Tr(e,t,n){(n===o||hs(e[t],n))&&(n!==o||t in e)||Ir(e,t,n)}function xr(e,t,n){var r=e[t];ut.call(e,t)&&hs(r,n)&&(n!==o||t in e)||Ir(e,t,n)}function Dr(e,t){for(var n=e.length;n--;)if(hs(e[n][0],t))return n;return-1}function Mr(e,t,n,r){return Fr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function jr(e,t){return e&&oi(t,oc(t),e)}function Ir(e,t,n){"__proto__"==t&&Nn?Nn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Pr(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Js(e,t[n]);return a}function Nr(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Rr(e,t,n,r,i,a){var s,c=t&d,l=t&f,u=t&h;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Ts(e))return e;var p=gs(e);if(p){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&ut.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return ri(e,s)}else{var v=Bi(e),m=v==$||v==q;if(_s(e))return Xo(e,c);if(v==Q||v==H||m&&!i){if(s=l||m?{}:Wi(e),!c)return l?function(e,t){return oi(e,Vi(e),t)}(e,function(e,t){return e&&oi(t,ic(t),e)}(s,e)):function(e,t){return oi(e,Hi(e),t)}(e,jr(s,e))}else{if(!Ct[v])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case se:return Qo(e);case U:case W:return new r(+e);case ce:return function(e,t){var n=t?Qo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case le:case ue:case de:case fe:case he:case pe:case ve:case me:case ge:return Jo(e,n);case G:return new r;case Z:case ne:return new r(e);case ee:return function(e){var t=new e.constructor(e.source,Be.exec(e));return t.lastIndex=e.lastIndex,t}(e);case te:return new r;case re:return o=e,dr?tt(dr.call(o)):{}}var o}(e,v,c)}}a||(a=new wr);var g=a.get(e);if(g)return g;a.set(e,s),Ps(e)?e.forEach((function(r){s.add(Rr(r,t,n,r,e,a))})):Ds(e)&&e.forEach((function(r,o){s.set(o,Rr(r,t,n,o,e,a))}));var b=p?o:(u?l?Ii:ji:l?ic:oc)(e);return Yt(b||e,(function(r,o){b&&(r=e[o=r]),xr(s,o,Rr(r,t,n,o,e,a))})),s}function Lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=tt(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function Ar(e,t,n){if("function"!=typeof e)throw new ot(s);return oa((function(){e.apply(o,n)}),t)}function zr(e,t,n,r){var o=-1,a=Zt,s=!0,c=e.length,l=[],u=t.length;if(!c)return l;n&&(t=Qt(t,mn(n))),r?(a=Xt,s=!1):t.length>=i&&(a=bn,s=!1,t=new _r(t));e:for(;++o<c;){var d=e[o],f=null==n?d:n(d);if(d=r||0!==d?d:0,s&&f==f){for(var h=u;h--;)if(t[h]===f)continue e;l.push(d)}else a(t,f,r)||l.push(d)}return l}hr.templateSettings={escape:Ee,evaluate:Ce,interpolate:Te,variable:"",imports:{_:hr}},hr.prototype=vr.prototype,hr.prototype.constructor=hr,mr.prototype=pr(vr.prototype),mr.prototype.constructor=mr,gr.prototype=pr(vr.prototype),gr.prototype.constructor=gr,br.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},br.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},br.prototype.get=function(e){var t=this.__data__;if(nr){var n=t[e];return n===c?o:n}return ut.call(t,e)?t[e]:o},br.prototype.has=function(e){var t=this.__data__;return nr?t[e]!==o:ut.call(t,e)},br.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nr&&t===o?c:t,this},yr.prototype.clear=function(){this.__data__=[],this.size=0},yr.prototype.delete=function(e){var t=this.__data__,n=Dr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Lt.call(t,n,1),--this.size,!0)},yr.prototype.get=function(e){var t=this.__data__,n=Dr(t,e);return n<0?o:t[n][1]},yr.prototype.has=function(e){return Dr(this.__data__,e)>-1},yr.prototype.set=function(e,t){var n=this.__data__,r=Dr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},kr.prototype.clear=function(){this.size=0,this.__data__={hash:new br,map:new(Qn||yr),string:new br}},kr.prototype.delete=function(e){var t=Ai(this,e).delete(e);return this.size-=t?1:0,t},kr.prototype.get=function(e){return Ai(this,e).get(e)},kr.prototype.has=function(e){return Ai(this,e).has(e)},kr.prototype.set=function(e,t){var n=Ai(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},_r.prototype.add=_r.prototype.push=function(e){return this.__data__.set(e,c),this},_r.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.clear=function(){this.__data__=new yr,this.size=0},wr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},wr.prototype.get=function(e){return this.__data__.get(e)},wr.prototype.has=function(e){return this.__data__.has(e)},wr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yr){var r=n.__data__;if(!Qn||r.length<i-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new kr(r)}return n.set(e,t),this.size=n.size,this};var Fr=si($r),Hr=si(qr,!0);function Vr(e,t){var n=!0;return Fr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function Br(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(c===o?s==s&&!Rs(s):n(s,c)))var c=s,l=a}return l}function Ur(e,t){var n=[];return Fr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function Wr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ki),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?Wr(s,t-1,n,r,o):Jt(o,s):r||(o[o.length]=s)}return o}var Kr=ci(),Yr=ci(!0);function $r(e,t){return e&&Kr(e,t,oc)}function qr(e,t){return e&&Yr(e,t,oc)}function Gr(e,t){return Gt(t,(function(t){return Ss(e[t])}))}function Zr(e,t){for(var n=0,r=(t=$o(t,e)).length;null!=e&&n<r;)e=e[ua(t[n++])];return n&&n==r?e:o}function Xr(e,t,n){var r=t(e);return gs(e)?r:Jt(r,n(e))}function Qr(e){return null==e?e===o?oe:X:fn&&fn in tt(e)?function(e){var t=ut.call(e,fn),n=e[fn];try{e[fn]=o;var r=!0}catch(a){}var i=ht.call(e);r&&(t?e[fn]=n:delete e[fn]);return i}(e):function(e){return ht.call(e)}(e)}function Jr(e,t){return e>t}function eo(e,t){return null!=e&&ut.call(e,t)}function to(e,t){return null!=e&&t in tt(e)}function no(e,t,n){for(var i=n?Xt:Zt,a=e[0].length,s=e.length,c=s,l=r(s),u=1/0,d=[];c--;){var f=e[c];c&&t&&(f=Qt(f,mn(t))),u=Yn(f.length,u),l[c]=!n&&(t||a>=120&&f.length>=120)?new _r(c&&f):o}f=e[0];var h=-1,p=l[0];e:for(;++h<a&&d.length<u;){var v=f[h],m=t?t(v):v;if(v=n||0!==v?v:0,!(p?bn(p,m):i(d,m,n))){for(c=s;--c;){var g=l[c];if(!(g?bn(g,m):i(e[c],m,n)))continue e}p&&p.push(m),d.push(v)}}return d}function ro(e,t,n){var r=null==(e=ta(e,t=$o(t,e)))?e:e[ua(Oa(t))];return null==r?o:Wt(r,e,n)}function oo(e){return xs(e)&&Qr(e)==H}function io(e,t,n,r,i){return e===t||(null==e||null==t||!xs(e)&&!xs(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=gs(e),c=gs(t),l=s?V:Bi(e),u=c?V:Bi(t),d=(l=l==H?Q:l)==Q,f=(u=u==H?Q:u)==Q,h=l==u;if(h&&_s(e)){if(!_s(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new wr),s||Ls(e)?Di(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case ce:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case se:return!(e.byteLength!=t.byteLength||!i(new Tt(e),new Tt(t)));case U:case W:case Z:return hs(+e,+t);case Y:return e.name==t.name&&e.message==t.message;case ee:case ne:return e==t+"";case G:var s=En;case te:var c=r&p;if(s||(s=xn),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;r|=v,a.set(e,t);var u=Di(s(e),s(t),r,o,i,a);return a.delete(e),u;case re:if(dr)return dr.call(e)==dr.call(t)}return!1}(e,t,l,n,r,i,a);if(!(n&p)){var m=d&&ut.call(e,"__wrapped__"),g=f&&ut.call(t,"__wrapped__");if(m||g){var b=m?e.value():e,y=g?t.value():t;return a||(a=new wr),i(b,y,n,r,a)}}if(!h)return!1;return a||(a=new wr),function(e,t,n,r,i,a){var s=n&p,c=ji(e),l=c.length,u=ji(t).length;if(l!=u&&!s)return!1;var d=l;for(;d--;){var f=c[d];if(!(s?f in t:ut.call(t,f)))return!1}var h=a.get(e);if(h&&a.get(t))return h==t;var v=!0;a.set(e,t),a.set(t,e);var m=s;for(;++d<l;){f=c[d];var g=e[f],b=t[f];if(r)var y=s?r(b,g,f,t,e,a):r(g,b,f,e,t,a);if(!(y===o?g===b||i(g,b,n,r,a):y)){v=!1;break}m||(m="constructor"==f)}if(v&&!m){var k=e.constructor,_=t.constructor;k!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof k&&k instanceof k&&"function"==typeof _&&_ instanceof _)&&(v=!1)}return a.delete(e),a.delete(t),v}(e,t,n,r,i,a)}(e,t,n,r,io,i))}function ao(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=tt(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<a;){var l=(c=n[i])[0],u=e[l],d=c[1];if(s&&c[2]){if(u===o&&!(l in e))return!1}else{var f=new wr;if(r)var h=r(u,d,l,e,t,f);if(!(h===o?io(d,u,p|v,r,f):h))return!1}}return!0}function so(e){return!(!Ts(e)||(t=e,ft&&ft in t))&&(Ss(e)?mt:Ke).test(da(e));var t}function co(e){return"function"==typeof e?e:null==e?Mc:"object"==typeof e?gs(e)?vo(e[0],e[1]):po(e):Fc(e)}function lo(e){if(!Xi(e))return Wn(e);var t=[];for(var n in tt(e))ut.call(e,n)&&"constructor"!=n&&t.push(n);return t}function uo(e){if(!Ts(e))return function(e){var t=[];if(null!=e)for(var n in tt(e))t.push(n);return t}(e);var t=Xi(e),n=[];for(var r in e)("constructor"!=r||!t&&ut.call(e,r))&&n.push(r);return n}function fo(e,t){return e<t}function ho(e,t){var n=-1,o=ys(e)?r(e.length):[];return Fr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function po(e){var t=zi(e);return 1==t.length&&t[0][2]?Ji(t[0][0],t[0][1]):function(n){return n===e||ao(n,e,t)}}function vo(e,t){return qi(e)&&Qi(t)?Ji(ua(e),t):function(n){var r=Js(n,e);return r===o&&r===t?ec(n,e):io(t,r,p|v)}}function mo(e,t,n,r,i){e!==t&&Kr(t,(function(a,s){if(i||(i=new wr),Ts(a))!function(e,t,n,r,i,a,s){var c=na(e,n),l=na(t,n),u=s.get(l);if(u)return void Tr(e,n,u);var d=a?a(c,l,n+"",e,t,s):o,f=d===o;if(f){var h=gs(l),p=!h&&_s(l),v=!h&&!p&&Ls(l);d=l,h||p||v?gs(c)?d=c:ks(c)?d=ri(c):p?(f=!1,d=Xo(l,!0)):v?(f=!1,d=Jo(l,!0)):d=[]:js(l)||ms(l)?(d=c,ms(c)?d=Ws(c):Ts(c)&&!Ss(c)||(d=Wi(l))):f=!1}f&&(s.set(l,d),i(d,l,r,a,s),s.delete(l));Tr(e,n,d)}(e,t,s,n,mo,r,i);else{var c=r?r(na(e,s),a,s+"",e,t,i):o;c===o&&(c=a),Tr(e,s,c)}}),ic)}function go(e,t){var n=e.length;if(n)return Yi(t+=t<0?n:0,n)?e[t]:o}function bo(e,t,n){var r=-1;return t=Qt(t.length?t:[Mc],mn(Li())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(ho(e,(function(e,n,o){return{criteria:Qt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var c=ei(o[r],i[r]);if(c){if(r>=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function yo(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Zr(e,a);n(s,a)&&To(i,$o(a,e),s)}return i}function ko(e,t,n,r){var o=r?cn:sn,i=-1,a=t.length,s=e;for(e===t&&(t=ri(t)),n&&(s=Qt(e,mn(n)));++i<a;)for(var c=0,l=t[i],u=n?n(l):l;(c=o(s,u,c,r))>-1;)s!==e&&Lt.call(s,c,1),Lt.call(e,c,1);return e}function _o(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;Yi(o)?Lt.call(e,o,1):Fo(e,o)}}return e}function wo(e,t){return e+Fn(Gn()*(t-e+1))}function Oo(e,t){var n="";if(!e||t<1||t>P)return n;do{t%2&&(n+=e),(t=Fn(t/2))&&(e+=e)}while(t);return n}function So(e,t){return ia(ea(e,t,Mc),e+"")}function Eo(e){return Sr(hc(e))}function Co(e,t){var n=hc(e);return ca(n,Nr(t,0,n.length))}function To(e,t,n,r){if(!Ts(e))return e;for(var i=-1,a=(t=$o(t,e)).length,s=a-1,c=e;null!=c&&++i<a;){var l=ua(t[i]),u=n;if(i!=s){var d=c[l];(u=r?r(d,l,c):o)===o&&(u=Ts(d)?d:Yi(t[i+1])?[]:{})}xr(c,l,u),c=c[l]}return e}var xo=rr?function(e,t){return rr.set(e,t),e}:Mc,Do=Nn?function(e,t){return Nn(e,"toString",{configurable:!0,enumerable:!1,value:Tc(t),writable:!0})}:Mc;function Mo(e){return ca(hc(e))}function jo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Io(e,t){var n;return Fr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function Po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=z){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Rs(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return No(e,t,Mc,n)}function No(e,t,n,r){t=n(t);for(var i=0,a=null==e?0:e.length,s=t!=t,c=null===t,l=Rs(t),u=t===o;i<a;){var d=Fn((i+a)/2),f=n(e[d]),h=f!==o,p=null===f,v=f==f,m=Rs(f);if(s)var g=r||v;else g=u?v&&(r||h):c?v&&h&&(r||!p):l?v&&h&&!p&&(r||!m):!p&&!m&&(r?f<=t:f<t);g?i=d+1:a=d}return Yn(a,A)}function Ro(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!hs(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Lo(e){return"number"==typeof e?e:Rs(e)?R:+e}function Ao(e){if("string"==typeof e)return e;if(gs(e))return Qt(e,Ao)+"";if(Rs(e))return fr?fr.call(e):"";var t=e+"";return"0"==t&&1/e==-I?"-0":t}function zo(e,t,n){var r=-1,o=Zt,a=e.length,s=!0,c=[],l=c;if(n)s=!1,o=Xt;else if(a>=i){var u=t?null:Oi(e);if(u)return xn(u);s=!1,o=bn,l=new _r}else l=t?[]:c;e:for(;++r<a;){var d=e[r],f=t?t(d):d;if(d=n||0!==d?d:0,s&&f==f){for(var h=l.length;h--;)if(l[h]===f)continue e;t&&l.push(f),c.push(d)}else o(l,f,n)||(l!==c&&l.push(f),c.push(d))}return c}function Fo(e,t){return null==(e=ta(e,t=$o(t,e)))||delete e[ua(Oa(t))]}function Ho(e,t,n,r){return To(e,t,n(Zr(e,t)),r)}function Vo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?jo(e,r?0:i,r?i+1:o):jo(e,r?i+1:0,r?o:i)}function Bo(e,t){var n=e;return n instanceof gr&&(n=n.value()),en(t,(function(e,t){return t.func.apply(t.thisArg,Jt([e],t.args))}),n)}function Uo(e,t,n){var o=e.length;if(o<2)return o?zo(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],c=-1;++c<o;)c!=i&&(a[i]=zr(a[i]||s,e[c],t,n));return zo(Wr(a,1),t,n)}function Wo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var c=r<a?t[r]:o;n(s,e[r],c)}return s}function Ko(e){return ks(e)?e:[]}function Yo(e){return"function"==typeof e?e:Mc}function $o(e,t){return gs(e)?e:qi(e,t)?[e]:la(Ks(e))}var qo=So;function Go(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:jo(e,t,n)}var Zo=Rn||function(e){return It.clearTimeout(e)};function Xo(e,t){if(t)return e.slice();var n=e.length,r=Mt?Mt(n):new e.constructor(n);return e.copy(r),r}function Qo(e){var t=new e.constructor(e.byteLength);return new Tt(t).set(new Tt(e)),t}function Jo(e,t){var n=t?Qo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=Rs(e),s=t!==o,c=null===t,l=t==t,u=Rs(t);if(!c&&!u&&!a&&e>t||a&&s&&l&&!c&&!u||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!l)return-1}return 0}function ti(e,t,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,l=t.length,u=Kn(a-s,0),d=r(l+u),f=!o;++c<l;)d[c]=t[c];for(;++i<s;)(f||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[c++]=e[i++];return d}function ni(e,t,n,o){for(var i=-1,a=e.length,s=-1,c=n.length,l=-1,u=t.length,d=Kn(a-c,0),f=r(d+u),h=!o;++i<d;)f[i]=e[i];for(var p=i;++l<u;)f[p+l]=t[l];for(;++s<c;)(h||i<a)&&(f[p+n[s]]=e[i++]);return f}function ri(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function oi(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var c=t[a],l=r?r(n[c],e[c],c,n,e):o;l===o&&(l=e[c]),i?Ir(n,c,l):xr(n,c,l)}return n}function ii(e,t){return function(n,r){var o=gs(n)?Kt:Mr,i=t?t():{};return o(n,e,Li(r,2),i)}}function ai(e){return So((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&$i(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=tt(t);++r<i;){var c=n[r];c&&e(t,c,r,a)}return t}))}function si(e,t){return function(n,r){if(null==n)return n;if(!ys(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=tt(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function ci(e){return function(t,n,r){for(var o=-1,i=tt(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function li(e){return function(t){var n=Sn(t=Ks(t))?jn(t):o,r=n?n[0]:t.charAt(0),i=n?Go(n,1).join(""):t.slice(1);return r[e]()+i}}function ui(e){return function(t){return en(Sc(mc(t).replace(gt,"")),e,"")}}function di(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=pr(e.prototype),r=e.apply(n,t);return Ts(r)?r:n}}function fi(e){return function(t,n,r){var i=tt(t);if(!ys(t)){var a=Li(n,3);t=oc(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function hi(e){return Mi((function(t){var n=t.length,r=n,i=mr.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ot(s);if(i&&!c&&"wrapper"==Ni(a))var c=new mr([],!0)}for(r=c?r:n;++r<n;){var l=Ni(a=t[r]),u="wrapper"==l?Pi(a):o;c=u&&Gi(u[0])&&u[1]==(O|y|_|S)&&!u[4].length&&1==u[9]?c[Ni(u[0])].apply(c,u[3]):1==a.length&&Gi(a)?c[l]():c.thru(a)}return function(){var e=arguments,r=e[0];if(c&&1==e.length&&gs(r))return c.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function pi(e,t,n,i,a,s,c,l,u,d){var f=t&O,h=t&m,p=t&g,v=t&(y|k),b=t&E,_=p?o:di(e);return function m(){for(var g=arguments.length,y=r(g),k=g;k--;)y[k]=arguments[k];if(v)var w=Ri(m),O=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,w);if(i&&(y=ti(y,i,a,v)),s&&(y=ni(y,s,c,v)),g-=O,v&&g<d){var S=Tn(y,w);return _i(e,t,pi,m.placeholder,n,y,S,l,u,d-g)}var E=h?n:this,C=p?E[e]:e;return g=y.length,l?y=function(e,t){var n=e.length,r=Yn(t.length,n),i=ri(e);for(;r--;){var a=t[r];e[r]=Yi(a,n)?i[a]:o}return e}(y,l):b&&g>1&&y.reverse(),f&&u<g&&(y.length=u),this&&this!==It&&this instanceof m&&(C=_||di(C)),C.apply(E,y)}}function vi(e,t){return function(n,r){return function(e,t,n,r){return $r(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function mi(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Ao(n),r=Ao(r)):(n=Lo(n),r=Lo(r)),i=e(n,r)}return i}}function gi(e){return Mi((function(t){return t=Qt(t,mn(Li())),So((function(n){var r=this;return e(t,(function(e){return Wt(e,r,n)}))}))}))}function bi(e,t){var n=(t=t===o?" ":Ao(t)).length;if(n<2)return n?Oo(t,e):t;var r=Oo(t,zn(e/Mn(t)));return Sn(t)?Go(jn(r),0,e).join(""):r.slice(0,e)}function yi(e){return function(t,n,i){return i&&"number"!=typeof i&&$i(t,n,i)&&(n=i=o),t=Hs(t),n===o?(n=t,t=0):n=Hs(n),function(e,t,n,o){for(var i=-1,a=Kn(zn((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:Hs(i),e)}}function ki(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Us(t),n=Us(n)),e(t,n)}}function _i(e,t,n,r,i,a,s,c,l,u){var d=t&y;t|=d?_:w,(t&=~(d?w:_))&b||(t&=~(m|g));var f=[e,t,i,d?a:o,d?s:o,d?o:a,d?o:s,c,l,u],h=n.apply(o,f);return Gi(e)&&ra(h,f),h.placeholder=r,aa(h,e,t)}function wi(e){var t=et[e];return function(e,n){if(e=Us(e),(n=null==n?0:Yn(Vs(n),292))&&Bn(e)){var r=(Ks(e)+"e").split("e");return+((r=(Ks(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Oi=er&&1/xn(new er([,-0]))[1]==I?function(e){return new er(e)}:Rc;function Si(e){return function(t){var n=Bi(t);return n==G?En(t):n==te?Dn(t):function(e,t){return Qt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ei(e,t,n,i,a,c,l,d){var f=t&g;if(!f&&"function"!=typeof e)throw new ot(s);var h=i?i.length:0;if(h||(t&=~(_|w),i=a=o),l=l===o?l:Kn(Vs(l),0),d=d===o?d:Vs(d),h-=a?a.length:0,t&w){var p=i,v=a;i=a=o}var E=f?o:Pi(e),C=[e,t,n,i,a,p,v,c,l,d];if(E&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<(m|g|O),a=r==O&&n==y||r==O&&n==S&&e[7].length<=t[8]||r==(O|S)&&t[7].length<=t[8]&&n==y;if(!i&&!a)return e;r&m&&(e[2]=t[2],o|=n&m?0:b);var s=t[3];if(s){var c=e[3];e[3]=c?ti(c,s,t[4]):s,e[4]=c?Tn(e[3],u):t[4]}(s=t[5])&&(c=e[5],e[5]=c?ni(c,s,t[6]):s,e[6]=c?Tn(e[5],u):t[6]);(s=t[7])&&(e[7]=s);r&O&&(e[8]=null==e[8]?t[8]:Yn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(C,E),e=C[0],t=C[1],n=C[2],i=C[3],a=C[4],!(d=C[9]=C[9]===o?f?0:e.length:Kn(C[9]-h,0))&&t&(y|k)&&(t&=~(y|k)),t&&t!=m)T=t==y||t==k?function(e,t,n){var i=di(e);return function a(){for(var s=arguments.length,c=r(s),l=s,u=Ri(a);l--;)c[l]=arguments[l];var d=s<3&&c[0]!==u&&c[s-1]!==u?[]:Tn(c,u);return(s-=d.length)<n?_i(e,t,pi,a.placeholder,o,c,d,o,o,n-s):Wt(this&&this!==It&&this instanceof a?i:e,this,c)}}(e,t,d):t!=_&&t!=(m|_)||a.length?pi.apply(o,C):function(e,t,n,o){var i=t&m,a=di(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=o.length,d=r(u+c),f=this&&this!==It&&this instanceof t?a:e;++l<u;)d[l]=o[l];for(;c--;)d[l++]=arguments[++s];return Wt(f,i?n:this,d)}}(e,t,n,i);else var T=function(e,t,n){var r=t&m,o=di(e);return function t(){return(this&&this!==It&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return aa((E?xo:ra)(T,C),e,t)}function Ci(e,t,n,r){return e===o||hs(e,st[n])&&!ut.call(r,n)?t:e}function Ti(e,t,n,r,i,a){return Ts(e)&&Ts(t)&&(a.set(t,e),mo(e,t,o,Ti,a),a.delete(t)),e}function xi(e){return js(e)?o:e}function Di(e,t,n,r,i,a){var s=n&p,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var d=-1,f=!0,h=n&v?new _r:o;for(a.set(e,t),a.set(t,e);++d<c;){var m=e[d],g=t[d];if(r)var b=s?r(g,m,d,t,e,a):r(m,g,d,e,t,a);if(b!==o){if(b)continue;f=!1;break}if(h){if(!nn(t,(function(e,t){if(!bn(h,t)&&(m===e||i(m,e,n,r,a)))return h.push(t)}))){f=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function Mi(e){return ia(ea(e,o,ba),e+"")}function ji(e){return Xr(e,oc,Hi)}function Ii(e){return Xr(e,ic,Vi)}var Pi=rr?function(e){return rr.get(e)}:Rc;function Ni(e){for(var t=e.name+"",n=or[t],r=ut.call(or,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Ri(e){return(ut.call(hr,"placeholder")?hr:e).placeholder}function Li(){var e=hr.iteratee||jc;return e=e===jc?co:e,arguments.length?e(arguments[0],arguments[1]):e}function Ai(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function zi(e){for(var t=oc(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Qi(o)]}return t}function Fi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return so(n)?n:o}var Hi=Hn?function(e){return null==e?[]:(e=tt(e),Gt(Hn(e),(function(t){return Nt.call(e,t)})))}:Bc,Vi=Hn?function(e){for(var t=[];e;)Jt(t,Hi(e)),e=jt(e);return t}:Bc,Bi=Qr;function Ui(e,t,n){for(var r=-1,o=(t=$o(t,e)).length,i=!1;++r<o;){var a=ua(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Cs(o)&&Yi(a,o)&&(gs(e)||ms(e))}function Wi(e){return"function"!=typeof e.constructor||Xi(e)?{}:pr(jt(e))}function Ki(e){return gs(e)||ms(e)||!!(At&&e&&e[At])}function Yi(e,t){var n=typeof e;return!!(t=null==t?P:t)&&("number"==n||"symbol"!=n&&$e.test(e))&&e>-1&&e%1==0&&e<t}function $i(e,t,n){if(!Ts(n))return!1;var r=typeof t;return!!("number"==r?ys(n)&&Yi(t,n.length):"string"==r&&t in n)&&hs(n[t],e)}function qi(e,t){if(gs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Rs(e))||(De.test(e)||!xe.test(e)||null!=t&&e in tt(t))}function Gi(e){var t=Ni(e),n=hr[t];if("function"!=typeof n||!(t in gr.prototype))return!1;if(e===n)return!0;var r=Pi(n);return!!r&&e===r[0]}(Xn&&Bi(new Xn(new ArrayBuffer(1)))!=ce||Qn&&Bi(new Qn)!=G||Jn&&"[object Promise]"!=Bi(Jn.resolve())||er&&Bi(new er)!=te||tr&&Bi(new tr)!=ie)&&(Bi=function(e){var t=Qr(e),n=t==Q?e.constructor:o,r=n?da(n):"";if(r)switch(r){case ir:return ce;case ar:return G;case sr:return"[object Promise]";case cr:return te;case lr:return ie}return t});var Zi=ct?Ss:Uc;function Xi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||st)}function Qi(e){return e==e&&!Ts(e)}function Ji(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in tt(n)))}}function ea(e,t,n){return t=Kn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=Kn(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=r(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),Wt(e,this,c)}}function ta(e,t){return t.length<2?e:Zr(e,jo(t,0,-1))}function na(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ra=sa(xo),oa=An||function(e,t){return It.setTimeout(e,t)},ia=sa(Do);function aa(e,t,n){var r=t+"";return ia(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Yt(F,(function(n){var r="_."+n[0];t&n[1]&&!Zt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Ae);return t?t[1].split(ze):[]}(r),n)))}function sa(e){var t=0,n=0;return function(){var r=$n(),i=D-(r-n);if(n=r,i>0){if(++t>=x)return arguments[0]}else t=0;return e.apply(o,arguments)}}function ca(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=wo(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var la=function(e){var t=ss(e,(function(e){return n.size===l&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Me,(function(e,n,r,o){t.push(r?o.replace(He,"$1"):n||e)})),t}));function ua(e){if("string"==typeof e||Rs(e))return e;var t=e+"";return"0"==t&&1/e==-I?"-0":t}function da(e){if(null!=e){try{return lt.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function fa(e){if(e instanceof gr)return e.clone();var t=new mr(e.__wrapped__,e.__chain__);return t.__actions__=ri(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var ha=So((function(e,t){return ks(e)?zr(e,Wr(t,1,ks,!0)):[]})),pa=So((function(e,t){var n=Oa(t);return ks(n)&&(n=o),ks(e)?zr(e,Wr(t,1,ks,!0),Li(n,2)):[]})),va=So((function(e,t){var n=Oa(t);return ks(n)&&(n=o),ks(e)?zr(e,Wr(t,1,ks,!0),o,n):[]}));function ma(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Vs(n);return o<0&&(o=Kn(r+o,0)),an(e,Li(t,3),o)}function ga(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Vs(n),i=n<0?Kn(r+i,0):Yn(i,r-1)),an(e,Li(t,3),i,!0)}function ba(e){return(null==e?0:e.length)?Wr(e,1):[]}function ya(e){return e&&e.length?e[0]:o}var ka=So((function(e){var t=Qt(e,Ko);return t.length&&t[0]===e[0]?no(t):[]})),_a=So((function(e){var t=Oa(e),n=Qt(e,Ko);return t===Oa(n)?t=o:n.pop(),n.length&&n[0]===e[0]?no(n,Li(t,2)):[]})),wa=So((function(e){var t=Oa(e),n=Qt(e,Ko);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?no(n,o,t):[]}));function Oa(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Sa=So(Ea);function Ea(e,t){return e&&e.length&&t&&t.length?ko(e,t):e}var Ca=Mi((function(e,t){var n=null==e?0:e.length,r=Pr(e,t);return _o(e,Qt(t,(function(e){return Yi(e,n)?+e:e})).sort(ei)),r}));function Ta(e){return null==e?e:Zn.call(e)}var xa=So((function(e){return zo(Wr(e,1,ks,!0))})),Da=So((function(e){var t=Oa(e);return ks(t)&&(t=o),zo(Wr(e,1,ks,!0),Li(t,2))})),Ma=So((function(e){var t=Oa(e);return t="function"==typeof t?t:o,zo(Wr(e,1,ks,!0),o,t)}));function ja(e){if(!e||!e.length)return[];var t=0;return e=Gt(e,(function(e){if(ks(e))return t=Kn(e.length,t),!0})),vn(t,(function(t){return Qt(e,dn(t))}))}function Ia(e,t){if(!e||!e.length)return[];var n=ja(e);return null==t?n:Qt(n,(function(e){return Wt(t,o,e)}))}var Pa=So((function(e,t){return ks(e)?zr(e,t):[]})),Na=So((function(e){return Uo(Gt(e,ks))})),Ra=So((function(e){var t=Oa(e);return ks(t)&&(t=o),Uo(Gt(e,ks),Li(t,2))})),La=So((function(e){var t=Oa(e);return t="function"==typeof t?t:o,Uo(Gt(e,ks),o,t)})),Aa=So(ja);var za=So((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Ia(e,n)}));function Fa(e){var t=hr(e);return t.__chain__=!0,t}function Ha(e,t){return t(e)}var Va=Mi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Pr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof gr&&Yi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Ha,args:[i],thisArg:o}),new mr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var Ba=ii((function(e,t,n){ut.call(e,n)?++e[n]:Ir(e,n,1)}));var Ua=fi(ma),Wa=fi(ga);function Ka(e,t){return(gs(e)?Yt:Fr)(e,Li(t,3))}function Ya(e,t){return(gs(e)?$t:Hr)(e,Li(t,3))}var $a=ii((function(e,t,n){ut.call(e,n)?e[n].push(t):Ir(e,n,[t])}));var qa=So((function(e,t,n){var o=-1,i="function"==typeof t,a=ys(e)?r(e.length):[];return Fr(e,(function(e){a[++o]=i?Wt(t,e,n):ro(e,t,n)})),a})),Ga=ii((function(e,t,n){Ir(e,n,t)}));function Za(e,t){return(gs(e)?Qt:ho)(e,Li(t,3))}var Xa=ii((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Qa=So((function(e,t){if(null==e)return[];var n=t.length;return n>1&&$i(e,t[0],t[1])?t=[]:n>2&&$i(t[0],t[1],t[2])&&(t=[t[0]]),bo(e,Wr(t,1),[])})),Ja=Ln||function(){return It.Date.now()};function es(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ei(e,O,o,o,o,o,t)}function ts(e,t){var n;if("function"!=typeof t)throw new ot(s);return e=Vs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var ns=So((function(e,t,n){var r=m;if(n.length){var o=Tn(n,Ri(ns));r|=_}return Ei(e,r,t,n,o)})),rs=So((function(e,t,n){var r=m|g;if(n.length){var o=Tn(n,Ri(rs));r|=_}return Ei(t,r,e,n,o)}));function os(e,t,n){var r,i,a,c,l,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new ot(s);function v(t){var n=r,a=i;return r=i=o,d=t,c=e.apply(a,n)}function m(e){var n=e-u;return u===o||n>=t||n<0||h&&e-d>=a}function g(){var e=Ja();if(m(e))return b(e);l=oa(g,function(e){var n=t-(e-u);return h?Yn(n,a-(e-d)):n}(e))}function b(e){return l=o,p&&r?v(e):(r=i=o,c)}function y(){var e=Ja(),n=m(e);if(r=arguments,i=this,u=e,n){if(l===o)return function(e){return d=e,l=oa(g,t),f?v(e):c}(u);if(h)return Zo(l),l=oa(g,t),v(u)}return l===o&&(l=oa(g,t)),c}return t=Us(t)||0,Ts(n)&&(f=!!n.leading,a=(h="maxWait"in n)?Kn(Us(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){l!==o&&Zo(l),d=0,r=u=i=l=o},y.flush=function(){return l===o?c:b(Ja())},y}var is=So((function(e,t){return Ar(e,1,t)})),as=So((function(e,t,n){return Ar(e,Us(t)||0,n)}));function ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(s);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ss.Cache||kr),n}function cs(e){if("function"!=typeof e)throw new ot(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ss.Cache=kr;var ls=qo((function(e,t){var n=(t=1==t.length&&gs(t[0])?Qt(t[0],mn(Li())):Qt(Wr(t,1),mn(Li()))).length;return So((function(r){for(var o=-1,i=Yn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Wt(e,this,r)}))})),us=So((function(e,t){var n=Tn(t,Ri(us));return Ei(e,_,o,t,n)})),ds=So((function(e,t){var n=Tn(t,Ri(ds));return Ei(e,w,o,t,n)})),fs=Mi((function(e,t){return Ei(e,S,o,o,o,t)}));function hs(e,t){return e===t||e!=e&&t!=t}var ps=ki(Jr),vs=ki((function(e,t){return e>=t})),ms=oo(function(){return arguments}())?oo:function(e){return xs(e)&&ut.call(e,"callee")&&!Nt.call(e,"callee")},gs=r.isArray,bs=zt?mn(zt):function(e){return xs(e)&&Qr(e)==se};function ys(e){return null!=e&&Cs(e.length)&&!Ss(e)}function ks(e){return xs(e)&&ys(e)}var _s=Vn||Uc,ws=Ft?mn(Ft):function(e){return xs(e)&&Qr(e)==W};function Os(e){if(!xs(e))return!1;var t=Qr(e);return t==Y||t==K||"string"==typeof e.message&&"string"==typeof e.name&&!js(e)}function Ss(e){if(!Ts(e))return!1;var t=Qr(e);return t==$||t==q||t==B||t==J}function Es(e){return"number"==typeof e&&e==Vs(e)}function Cs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=P}function Ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xs(e){return null!=e&&"object"==typeof e}var Ds=Ht?mn(Ht):function(e){return xs(e)&&Bi(e)==G};function Ms(e){return"number"==typeof e||xs(e)&&Qr(e)==Z}function js(e){if(!xs(e)||Qr(e)!=Q)return!1;var t=jt(e);if(null===t)return!0;var n=ut.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&<.call(n)==pt}var Is=Vt?mn(Vt):function(e){return xs(e)&&Qr(e)==ee};var Ps=Bt?mn(Bt):function(e){return xs(e)&&Bi(e)==te};function Ns(e){return"string"==typeof e||!gs(e)&&xs(e)&&Qr(e)==ne}function Rs(e){return"symbol"==typeof e||xs(e)&&Qr(e)==re}var Ls=Ut?mn(Ut):function(e){return xs(e)&&Cs(e.length)&&!!Et[Qr(e)]};var As=ki(fo),zs=ki((function(e,t){return e<=t}));function Fs(e){if(!e)return[];if(ys(e))return Ns(e)?jn(e):ri(e);if(rn&&e[rn])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[rn]());var t=Bi(e);return(t==G?En:t==te?xn:hc)(e)}function Hs(e){return e?(e=Us(e))===I||e===-I?(e<0?-1:1)*N:e==e?e:0:0===e?e:0}function Vs(e){var t=Hs(e),n=t%1;return t==t?n?t-n:t:0}function Bs(e){return e?Nr(Vs(e),0,L):0}function Us(e){if("number"==typeof e)return e;if(Rs(e))return R;if(Ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pe,"");var n=We.test(e);return n||Ye.test(e)?Dt(e.slice(2),n?2:8):Ue.test(e)?R:+e}function Ws(e){return oi(e,ic(e))}function Ks(e){return null==e?"":Ao(e)}var Ys=ai((function(e,t){if(Xi(t)||ys(t))oi(t,oc(t),e);else for(var n in t)ut.call(t,n)&&xr(e,n,t[n])})),$s=ai((function(e,t){oi(t,ic(t),e)})),qs=ai((function(e,t,n,r){oi(t,ic(t),e,r)})),Gs=ai((function(e,t,n,r){oi(t,oc(t),e,r)})),Zs=Mi(Pr);var Xs=So((function(e,t){e=tt(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&$i(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=ic(a),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===o||hs(d,st[u])&&!ut.call(e,u))&&(e[u]=a[u])}return e})),Qs=So((function(e){return e.push(o,Ti),Wt(sc,o,e)}));function Js(e,t,n){var r=null==e?o:Zr(e,t);return r===o?n:r}function ec(e,t){return null!=e&&Ui(e,t,to)}var tc=vi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),e[t]=n}),Tc(Mc)),nc=vi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ht.call(t)),ut.call(e,t)?e[t].push(n):e[t]=[n]}),Li),rc=So(ro);function oc(e){return ys(e)?Or(e):lo(e)}function ic(e){return ys(e)?Or(e,!0):uo(e)}var ac=ai((function(e,t,n){mo(e,t,n)})),sc=ai((function(e,t,n,r){mo(e,t,n,r)})),cc=Mi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Qt(t,(function(t){return t=$o(t,e),r||(r=t.length>1),t})),oi(e,Ii(e),n),r&&(n=Rr(n,d|f|h,xi));for(var o=t.length;o--;)Fo(n,t[o]);return n}));var lc=Mi((function(e,t){return null==e?{}:function(e,t){return yo(e,t,(function(t,n){return ec(e,n)}))}(e,t)}));function uc(e,t){if(null==e)return{};var n=Qt(Ii(e),(function(e){return[e]}));return t=Li(t),yo(e,n,(function(e,n){return t(e,n[0])}))}var dc=Si(oc),fc=Si(ic);function hc(e){return null==e?[]:gn(e,oc(e))}var pc=ui((function(e,t,n){return t=t.toLowerCase(),e+(n?vc(t):t)}));function vc(e){return Oc(Ks(e).toLowerCase())}function mc(e){return(e=Ks(e))&&e.replace(qe,_n).replace(bt,"")}var gc=ui((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),bc=ui((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),yc=li("toLowerCase");var kc=ui((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var _c=ui((function(e,t,n){return e+(n?" ":"")+Oc(t)}));var wc=ui((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Oc=li("toUpperCase");function Sc(e,t,n){return e=Ks(e),(t=n?o:t)===o?function(e){return wt.test(e)}(e)?function(e){return e.match(kt)||[]}(e):function(e){return e.match(Fe)||[]}(e):e.match(t)||[]}var Ec=So((function(e,t){try{return Wt(e,o,t)}catch(n){return Os(n)?n:new Qe(n)}})),Cc=Mi((function(e,t){return Yt(t,(function(t){t=ua(t),Ir(e,t,ns(e[t],e))})),e}));function Tc(e){return function(){return e}}var xc=hi(),Dc=hi(!0);function Mc(e){return e}function jc(e){return co("function"==typeof e?e:Rr(e,d))}var Ic=So((function(e,t){return function(n){return ro(n,e,t)}})),Pc=So((function(e,t){return function(n){return ro(e,n,t)}}));function Nc(e,t,n){var r=oc(t),o=Gr(t,r);null!=n||Ts(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Gr(t,oc(t)));var i=!(Ts(n)&&"chain"in n&&!n.chain),a=Ss(e);return Yt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=ri(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Jt([this.value()],arguments))})})),e}function Rc(){}var Lc=gi(Qt),Ac=gi(qt),zc=gi(nn);function Fc(e){return qi(e)?dn(ua(e)):function(e){return function(t){return Zr(t,e)}}(e)}var Hc=yi(),Vc=yi(!0);function Bc(){return[]}function Uc(){return!1}var Wc=mi((function(e,t){return e+t}),0),Kc=wi("ceil"),Yc=mi((function(e,t){return e/t}),1),$c=wi("floor");var qc,Gc=mi((function(e,t){return e*t}),1),Zc=wi("round"),Xc=mi((function(e,t){return e-t}),0);return hr.after=function(e,t){if("function"!=typeof t)throw new ot(s);return e=Vs(e),function(){if(--e<1)return t.apply(this,arguments)}},hr.ary=es,hr.assign=Ys,hr.assignIn=$s,hr.assignInWith=qs,hr.assignWith=Gs,hr.at=Zs,hr.before=ts,hr.bind=ns,hr.bindAll=Cc,hr.bindKey=rs,hr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return gs(e)?e:[e]},hr.chain=Fa,hr.chunk=function(e,t,n){t=(n?$i(e,t,n):t===o)?1:Kn(Vs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,c=r(zn(i/t));a<i;)c[s++]=jo(e,a,a+=t);return c},hr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},hr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Jt(gs(n)?ri(n):[n],Wr(t,1))},hr.cond=function(e){var t=null==e?0:e.length,n=Li();return e=t?Qt(e,(function(e){if("function"!=typeof e[1])throw new ot(s);return[n(e[0]),e[1]]})):[],So((function(n){for(var r=-1;++r<t;){var o=e[r];if(Wt(o[0],this,n))return Wt(o[1],this,n)}}))},hr.conforms=function(e){return function(e){var t=oc(e);return function(n){return Lr(n,e,t)}}(Rr(e,d))},hr.constant=Tc,hr.countBy=Ba,hr.create=function(e,t){var n=pr(e);return null==t?n:jr(n,t)},hr.curry=function e(t,n,r){var i=Ei(t,y,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},hr.curryRight=function e(t,n,r){var i=Ei(t,k,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},hr.debounce=os,hr.defaults=Xs,hr.defaultsDeep=Qs,hr.defer=is,hr.delay=as,hr.difference=ha,hr.differenceBy=pa,hr.differenceWith=va,hr.drop=function(e,t,n){var r=null==e?0:e.length;return r?jo(e,(t=n||t===o?1:Vs(t))<0?0:t,r):[]},hr.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?jo(e,0,(t=r-(t=n||t===o?1:Vs(t)))<0?0:t):[]},hr.dropRightWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3),!0,!0):[]},hr.dropWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3),!0):[]},hr.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&$i(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Vs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:Vs(r))<0&&(r+=i),r=n>r?0:Bs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},hr.filter=function(e,t){return(gs(e)?Gt:Ur)(e,Li(t,3))},hr.flatMap=function(e,t){return Wr(Za(e,t),1)},hr.flatMapDeep=function(e,t){return Wr(Za(e,t),I)},hr.flatMapDepth=function(e,t,n){return n=n===o?1:Vs(n),Wr(Za(e,t),n)},hr.flatten=ba,hr.flattenDeep=function(e){return(null==e?0:e.length)?Wr(e,I):[]},hr.flattenDepth=function(e,t){return(null==e?0:e.length)?Wr(e,t=t===o?1:Vs(t)):[]},hr.flip=function(e){return Ei(e,E)},hr.flow=xc,hr.flowRight=Dc,hr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},hr.functions=function(e){return null==e?[]:Gr(e,oc(e))},hr.functionsIn=function(e){return null==e?[]:Gr(e,ic(e))},hr.groupBy=$a,hr.initial=function(e){return(null==e?0:e.length)?jo(e,0,-1):[]},hr.intersection=ka,hr.intersectionBy=_a,hr.intersectionWith=wa,hr.invert=tc,hr.invertBy=nc,hr.invokeMap=qa,hr.iteratee=jc,hr.keyBy=Ga,hr.keys=oc,hr.keysIn=ic,hr.map=Za,hr.mapKeys=function(e,t){var n={};return t=Li(t,3),$r(e,(function(e,r,o){Ir(n,t(e,r,o),e)})),n},hr.mapValues=function(e,t){var n={};return t=Li(t,3),$r(e,(function(e,r,o){Ir(n,r,t(e,r,o))})),n},hr.matches=function(e){return po(Rr(e,d))},hr.matchesProperty=function(e,t){return vo(e,Rr(t,d))},hr.memoize=ss,hr.merge=ac,hr.mergeWith=sc,hr.method=Ic,hr.methodOf=Pc,hr.mixin=Nc,hr.negate=cs,hr.nthArg=function(e){return e=Vs(e),So((function(t){return go(t,e)}))},hr.omit=cc,hr.omitBy=function(e,t){return uc(e,cs(Li(t)))},hr.once=function(e){return ts(2,e)},hr.orderBy=function(e,t,n,r){return null==e?[]:(gs(t)||(t=null==t?[]:[t]),gs(n=r?o:n)||(n=null==n?[]:[n]),bo(e,t,n))},hr.over=Lc,hr.overArgs=ls,hr.overEvery=Ac,hr.overSome=zc,hr.partial=us,hr.partialRight=ds,hr.partition=Xa,hr.pick=lc,hr.pickBy=uc,hr.property=Fc,hr.propertyOf=function(e){return function(t){return null==e?o:Zr(e,t)}},hr.pull=Sa,hr.pullAll=Ea,hr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?ko(e,t,Li(n,2)):e},hr.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?ko(e,t,o,n):e},hr.pullAt=Ca,hr.range=Hc,hr.rangeRight=Vc,hr.rearg=fs,hr.reject=function(e,t){return(gs(e)?Gt:Ur)(e,cs(Li(t,3)))},hr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Li(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return _o(e,o),n},hr.rest=function(e,t){if("function"!=typeof e)throw new ot(s);return So(e,t=t===o?t:Vs(t))},hr.reverse=Ta,hr.sampleSize=function(e,t,n){return t=(n?$i(e,t,n):t===o)?1:Vs(t),(gs(e)?Er:Co)(e,t)},hr.set=function(e,t,n){return null==e?e:To(e,t,n)},hr.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:To(e,t,n,r)},hr.shuffle=function(e){return(gs(e)?Cr:Mo)(e)},hr.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&$i(e,t,n)?(t=0,n=r):(t=null==t?0:Vs(t),n=n===o?r:Vs(n)),jo(e,t,n)):[]},hr.sortBy=Qa,hr.sortedUniq=function(e){return e&&e.length?Ro(e):[]},hr.sortedUniqBy=function(e,t){return e&&e.length?Ro(e,Li(t,2)):[]},hr.split=function(e,t,n){return n&&"number"!=typeof n&&$i(e,t,n)&&(t=n=o),(n=n===o?L:n>>>0)?(e=Ks(e))&&("string"==typeof t||null!=t&&!Is(t))&&!(t=Ao(t))&&Sn(e)?Go(jn(e),0,n):e.split(t,n):[]},hr.spread=function(e,t){if("function"!=typeof e)throw new ot(s);return t=null==t?0:Kn(Vs(t),0),So((function(n){var r=n[t],o=Go(n,0,t);return r&&Jt(o,r),Wt(e,this,o)}))},hr.tail=function(e){var t=null==e?0:e.length;return t?jo(e,1,t):[]},hr.take=function(e,t,n){return e&&e.length?jo(e,0,(t=n||t===o?1:Vs(t))<0?0:t):[]},hr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?jo(e,(t=r-(t=n||t===o?1:Vs(t)))<0?0:t,r):[]},hr.takeRightWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3),!1,!0):[]},hr.takeWhile=function(e,t){return e&&e.length?Vo(e,Li(t,3)):[]},hr.tap=function(e,t){return t(e),e},hr.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new ot(s);return Ts(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),os(e,t,{leading:r,maxWait:t,trailing:o})},hr.thru=Ha,hr.toArray=Fs,hr.toPairs=dc,hr.toPairsIn=fc,hr.toPath=function(e){return gs(e)?Qt(e,ua):Rs(e)?[e]:ri(la(Ks(e)))},hr.toPlainObject=Ws,hr.transform=function(e,t,n){var r=gs(e),o=r||_s(e)||Ls(e);if(t=Li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ts(e)&&Ss(i)?pr(jt(e)):{}}return(o?Yt:$r)(e,(function(e,r,o){return t(n,e,r,o)})),n},hr.unary=function(e){return es(e,1)},hr.union=xa,hr.unionBy=Da,hr.unionWith=Ma,hr.uniq=function(e){return e&&e.length?zo(e):[]},hr.uniqBy=function(e,t){return e&&e.length?zo(e,Li(t,2)):[]},hr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?zo(e,o,t):[]},hr.unset=function(e,t){return null==e||Fo(e,t)},hr.unzip=ja,hr.unzipWith=Ia,hr.update=function(e,t,n){return null==e?e:Ho(e,t,Yo(n))},hr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Ho(e,t,Yo(n),r)},hr.values=hc,hr.valuesIn=function(e){return null==e?[]:gn(e,ic(e))},hr.without=Pa,hr.words=Sc,hr.wrap=function(e,t){return us(Yo(t),e)},hr.xor=Na,hr.xorBy=Ra,hr.xorWith=La,hr.zip=Aa,hr.zipObject=function(e,t){return Wo(e||[],t||[],xr)},hr.zipObjectDeep=function(e,t){return Wo(e||[],t||[],To)},hr.zipWith=za,hr.entries=dc,hr.entriesIn=fc,hr.extend=$s,hr.extendWith=qs,Nc(hr,hr),hr.add=Wc,hr.attempt=Ec,hr.camelCase=pc,hr.capitalize=vc,hr.ceil=Kc,hr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=Us(n))==n?n:0),t!==o&&(t=(t=Us(t))==t?t:0),Nr(Us(e),t,n)},hr.clone=function(e){return Rr(e,h)},hr.cloneDeep=function(e){return Rr(e,d|h)},hr.cloneDeepWith=function(e,t){return Rr(e,d|h,t="function"==typeof t?t:o)},hr.cloneWith=function(e,t){return Rr(e,h,t="function"==typeof t?t:o)},hr.conformsTo=function(e,t){return null==t||Lr(e,t,oc(t))},hr.deburr=mc,hr.defaultTo=function(e,t){return null==e||e!=e?t:e},hr.divide=Yc,hr.endsWith=function(e,t,n){e=Ks(e),t=Ao(t);var r=e.length,i=n=n===o?r:Nr(Vs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},hr.eq=hs,hr.escape=function(e){return(e=Ks(e))&&Se.test(e)?e.replace(we,wn):e},hr.escapeRegExp=function(e){return(e=Ks(e))&&Ie.test(e)?e.replace(je,"\\$&"):e},hr.every=function(e,t,n){var r=gs(e)?qt:Vr;return n&&$i(e,t,n)&&(t=o),r(e,Li(t,3))},hr.find=Ua,hr.findIndex=ma,hr.findKey=function(e,t){return on(e,Li(t,3),$r)},hr.findLast=Wa,hr.findLastIndex=ga,hr.findLastKey=function(e,t){return on(e,Li(t,3),qr)},hr.floor=$c,hr.forEach=Ka,hr.forEachRight=Ya,hr.forIn=function(e,t){return null==e?e:Kr(e,Li(t,3),ic)},hr.forInRight=function(e,t){return null==e?e:Yr(e,Li(t,3),ic)},hr.forOwn=function(e,t){return e&&$r(e,Li(t,3))},hr.forOwnRight=function(e,t){return e&&qr(e,Li(t,3))},hr.get=Js,hr.gt=ps,hr.gte=vs,hr.has=function(e,t){return null!=e&&Ui(e,t,eo)},hr.hasIn=ec,hr.head=ya,hr.identity=Mc,hr.includes=function(e,t,n,r){e=ys(e)?e:hc(e),n=n&&!r?Vs(n):0;var o=e.length;return n<0&&(n=Kn(o+n,0)),Ns(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&sn(e,t,n)>-1},hr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Vs(n);return o<0&&(o=Kn(r+o,0)),sn(e,t,o)},hr.inRange=function(e,t,n){return t=Hs(t),n===o?(n=t,t=0):n=Hs(n),function(e,t,n){return e>=Yn(t,n)&&e<Kn(t,n)}(e=Us(e),t,n)},hr.invoke=rc,hr.isArguments=ms,hr.isArray=gs,hr.isArrayBuffer=bs,hr.isArrayLike=ys,hr.isArrayLikeObject=ks,hr.isBoolean=function(e){return!0===e||!1===e||xs(e)&&Qr(e)==U},hr.isBuffer=_s,hr.isDate=ws,hr.isElement=function(e){return xs(e)&&1===e.nodeType&&!js(e)},hr.isEmpty=function(e){if(null==e)return!0;if(ys(e)&&(gs(e)||"string"==typeof e||"function"==typeof e.splice||_s(e)||Ls(e)||ms(e)))return!e.length;var t=Bi(e);if(t==G||t==te)return!e.size;if(Xi(e))return!lo(e).length;for(var n in e)if(ut.call(e,n))return!1;return!0},hr.isEqual=function(e,t){return io(e,t)},hr.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?io(e,t,o,n):!!r},hr.isError=Os,hr.isFinite=function(e){return"number"==typeof e&&Bn(e)},hr.isFunction=Ss,hr.isInteger=Es,hr.isLength=Cs,hr.isMap=Ds,hr.isMatch=function(e,t){return e===t||ao(e,t,zi(t))},hr.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,ao(e,t,zi(t),n)},hr.isNaN=function(e){return Ms(e)&&e!=+e},hr.isNative=function(e){if(Zi(e))throw new Qe(a);return so(e)},hr.isNil=function(e){return null==e},hr.isNull=function(e){return null===e},hr.isNumber=Ms,hr.isObject=Ts,hr.isObjectLike=xs,hr.isPlainObject=js,hr.isRegExp=Is,hr.isSafeInteger=function(e){return Es(e)&&e>=-P&&e<=P},hr.isSet=Ps,hr.isString=Ns,hr.isSymbol=Rs,hr.isTypedArray=Ls,hr.isUndefined=function(e){return e===o},hr.isWeakMap=function(e){return xs(e)&&Bi(e)==ie},hr.isWeakSet=function(e){return xs(e)&&Qr(e)==ae},hr.join=function(e,t){return null==e?"":Un.call(e,t)},hr.kebabCase=gc,hr.last=Oa,hr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=Vs(n))<0?Kn(r+i,0):Yn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):an(e,ln,i,!0)},hr.lowerCase=bc,hr.lowerFirst=yc,hr.lt=As,hr.lte=zs,hr.max=function(e){return e&&e.length?Br(e,Mc,Jr):o},hr.maxBy=function(e,t){return e&&e.length?Br(e,Li(t,2),Jr):o},hr.mean=function(e){return un(e,Mc)},hr.meanBy=function(e,t){return un(e,Li(t,2))},hr.min=function(e){return e&&e.length?Br(e,Mc,fo):o},hr.minBy=function(e,t){return e&&e.length?Br(e,Li(t,2),fo):o},hr.stubArray=Bc,hr.stubFalse=Uc,hr.stubObject=function(){return{}},hr.stubString=function(){return""},hr.stubTrue=function(){return!0},hr.multiply=Gc,hr.nth=function(e,t){return e&&e.length?go(e,Vs(t)):o},hr.noConflict=function(){return It._===this&&(It._=vt),this},hr.noop=Rc,hr.now=Ja,hr.pad=function(e,t,n){e=Ks(e);var r=(t=Vs(t))?Mn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return bi(Fn(o),n)+e+bi(zn(o),n)},hr.padEnd=function(e,t,n){e=Ks(e);var r=(t=Vs(t))?Mn(e):0;return t&&r<t?e+bi(t-r,n):e},hr.padStart=function(e,t,n){e=Ks(e);var r=(t=Vs(t))?Mn(e):0;return t&&r<t?bi(t-r,n)+e:e},hr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),qn(Ks(e).replace(Ne,""),t||0)},hr.random=function(e,t,n){if(n&&"boolean"!=typeof n&&$i(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Hs(e),t===o?(t=e,e=0):t=Hs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Gn();return Yn(e+i*(t-e+xt("1e-"+((i+"").length-1))),t)}return wo(e,t)},hr.reduce=function(e,t,n){var r=gs(e)?en:hn,o=arguments.length<3;return r(e,Li(t,4),n,o,Fr)},hr.reduceRight=function(e,t,n){var r=gs(e)?tn:hn,o=arguments.length<3;return r(e,Li(t,4),n,o,Hr)},hr.repeat=function(e,t,n){return t=(n?$i(e,t,n):t===o)?1:Vs(t),Oo(Ks(e),t)},hr.replace=function(){var e=arguments,t=Ks(e[0]);return e.length<3?t:t.replace(e[1],e[2])},hr.result=function(e,t,n){var r=-1,i=(t=$o(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[ua(t[r])];a===o&&(r=i,a=n),e=Ss(a)?a.call(e):a}return e},hr.round=Zc,hr.runInContext=e,hr.sample=function(e){return(gs(e)?Sr:Eo)(e)},hr.size=function(e){if(null==e)return 0;if(ys(e))return Ns(e)?Mn(e):e.length;var t=Bi(e);return t==G||t==te?e.size:lo(e).length},hr.snakeCase=kc,hr.some=function(e,t,n){var r=gs(e)?nn:Io;return n&&$i(e,t,n)&&(t=o),r(e,Li(t,3))},hr.sortedIndex=function(e,t){return Po(e,t)},hr.sortedIndexBy=function(e,t,n){return No(e,t,Li(n,2))},hr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=Po(e,t);if(r<n&&hs(e[r],t))return r}return-1},hr.sortedLastIndex=function(e,t){return Po(e,t,!0)},hr.sortedLastIndexBy=function(e,t,n){return No(e,t,Li(n,2),!0)},hr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=Po(e,t,!0)-1;if(hs(e[n],t))return n}return-1},hr.startCase=_c,hr.startsWith=function(e,t,n){return e=Ks(e),n=null==n?0:Nr(Vs(n),0,e.length),t=Ao(t),e.slice(n,n+t.length)==t},hr.subtract=Xc,hr.sum=function(e){return e&&e.length?pn(e,Mc):0},hr.sumBy=function(e,t){return e&&e.length?pn(e,Li(t,2)):0},hr.template=function(e,t,n){var r=hr.templateSettings;n&&$i(e,t,n)&&(t=o),e=Ks(e),t=qs({},t,r,Ci);var i,a,s=qs({},t.imports,r.imports,Ci),c=oc(s),l=gn(s,c),u=0,d=t.interpolate||Ge,f="__p += '",h=nt((t.escape||Ge).source+"|"+d.source+"|"+(d===Te?Ve:Ge).source+"|"+(t.evaluate||Ge).source+"|$","g"),p="//# sourceURL="+(ut.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++St+"]")+"\n";e.replace(h,(function(t,n,r,o,s,c){return r||(r=o),f+=e.slice(u,c).replace(Ze,On),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),f+="';\n";var v=ut.call(t,"variable")&&t.variable;v||(f="with (obj) {\n"+f+"\n}\n"),f=(a?f.replace(be,""):f).replace(ye,"$1").replace(ke,"$1;"),f="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Ec((function(){return Je(c,p+"return "+f).apply(o,l)}));if(m.source=f,Os(m))throw m;return m},hr.times=function(e,t){if((e=Vs(e))<1||e>P)return[];var n=L,r=Yn(e,L);t=Li(t),e-=L;for(var o=vn(r,t);++n<e;)t(n);return o},hr.toFinite=Hs,hr.toInteger=Vs,hr.toLength=Bs,hr.toLower=function(e){return Ks(e).toLowerCase()},hr.toNumber=Us,hr.toSafeInteger=function(e){return e?Nr(Vs(e),-P,P):0===e?e:0},hr.toString=Ks,hr.toUpper=function(e){return Ks(e).toUpperCase()},hr.trim=function(e,t,n){if((e=Ks(e))&&(n||t===o))return e.replace(Pe,"");if(!e||!(t=Ao(t)))return e;var r=jn(e),i=jn(t);return Go(r,yn(r,i),kn(r,i)+1).join("")},hr.trimEnd=function(e,t,n){if((e=Ks(e))&&(n||t===o))return e.replace(Re,"");if(!e||!(t=Ao(t)))return e;var r=jn(e);return Go(r,0,kn(r,jn(t))+1).join("")},hr.trimStart=function(e,t,n){if((e=Ks(e))&&(n||t===o))return e.replace(Ne,"");if(!e||!(t=Ao(t)))return e;var r=jn(e);return Go(r,yn(r,jn(t))).join("")},hr.truncate=function(e,t){var n=C,r=T;if(Ts(t)){var i="separator"in t?t.separator:i;n="length"in t?Vs(t.length):n,r="omission"in t?Ao(t.omission):r}var a=(e=Ks(e)).length;if(Sn(e)){var s=jn(e);a=s.length}if(n>=a)return e;var c=n-Mn(r);if(c<1)return r;var l=s?Go(s,0,c).join(""):e.slice(0,c);if(i===o)return l+r;if(s&&(c+=l.length-c),Is(i)){if(e.slice(c).search(i)){var u,d=l;for(i.global||(i=nt(i.source,Ks(Be.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var f=u.index;l=l.slice(0,f===o?c:f)}}else if(e.indexOf(Ao(i),c)!=c){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r},hr.unescape=function(e){return(e=Ks(e))&&Oe.test(e)?e.replace(_e,In):e},hr.uniqueId=function(e){var t=++dt;return Ks(e)+t},hr.upperCase=wc,hr.upperFirst=Oc,hr.each=Ka,hr.eachRight=Ya,hr.first=ya,Nc(hr,(qc={},$r(hr,(function(e,t){ut.call(hr.prototype,t)||(qc[t]=e)})),qc),{chain:!1}),hr.VERSION="4.17.15",Yt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){hr[e].placeholder=hr})),Yt(["drop","take"],(function(e,t){gr.prototype[e]=function(n){n=n===o?1:Kn(Vs(n),0);var r=this.__filtered__&&!t?new gr(this):this.clone();return r.__filtered__?r.__takeCount__=Yn(n,r.__takeCount__):r.__views__.push({size:Yn(n,L),type:e+(r.__dir__<0?"Right":"")}),r},gr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Yt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==M||3==n;gr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Yt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");gr.prototype[e]=function(){return this[n](1).value()[0]}})),Yt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");gr.prototype[e]=function(){return this.__filtered__?new gr(this):this[n](1)}})),gr.prototype.compact=function(){return this.filter(Mc)},gr.prototype.find=function(e){return this.filter(e).head()},gr.prototype.findLast=function(e){return this.reverse().find(e)},gr.prototype.invokeMap=So((function(e,t){return"function"==typeof e?new gr(this):this.map((function(n){return ro(n,e,t)}))})),gr.prototype.reject=function(e){return this.filter(cs(Li(e)))},gr.prototype.slice=function(e,t){e=Vs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new gr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Vs(t))<0?n.dropRight(-t):n.take(t-e)),n)},gr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},gr.prototype.toArray=function(){return this.take(L)},$r(gr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=hr[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(hr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,c=t instanceof gr,l=s[0],u=c||gs(t),d=function(e){var t=i.apply(hr,Jt([e],s));return r&&f?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,h=!!this.__actions__.length,p=a&&!f,v=c&&!h;if(!a&&u){t=v?t:new gr(this);var m=e.apply(t,s);return m.__actions__.push({func:Ha,args:[d],thisArg:o}),new mr(m,f)}return p&&v?e.apply(this,s):(m=this.thru(d),p?r?m.value()[0]:m.value():m)})})),Yt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);hr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(gs(o)?o:[],e)}return this[n]((function(n){return t.apply(gs(n)?n:[],e)}))}})),$r(gr.prototype,(function(e,t){var n=hr[t];if(n){var r=n.name+"";ut.call(or,r)||(or[r]=[]),or[r].push({name:t,func:n})}})),or[pi(o,g).name]=[{name:"wrapper",func:o}],gr.prototype.clone=function(){var e=new gr(this.__wrapped__);return e.__actions__=ri(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ri(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ri(this.__views__),e},gr.prototype.reverse=function(){if(this.__filtered__){var e=new gr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},gr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=gs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=Yn(t,e+a);break;case"takeRight":e=Kn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,l=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,h=Yn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return Bo(e,this.__actions__);var p=[];e:for(;c--&&f<h;){for(var v=-1,m=e[l+=t];++v<d;){var g=u[v],b=g.iteratee,y=g.type,k=b(m);if(y==j)m=k;else if(!k){if(y==M)continue e;break e}}p[f++]=m}return p},hr.prototype.at=Va,hr.prototype.chain=function(){return Fa(this)},hr.prototype.commit=function(){return new mr(this.value(),this.__chain__)},hr.prototype.next=function(){this.__values__===o&&(this.__values__=Fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},hr.prototype.plant=function(e){for(var t,n=this;n instanceof vr;){var r=fa(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},hr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof gr){var t=e;return this.__actions__.length&&(t=new gr(this)),(t=t.reverse()).__actions__.push({func:Ha,args:[Ta],thisArg:o}),new mr(t,this.__chain__)}return this.thru(Ta)},hr.prototype.toJSON=hr.prototype.valueOf=hr.prototype.value=function(){return Bo(this.__wrapped__,this.__actions__)},hr.prototype.first=hr.prototype.head,rn&&(hr.prototype[rn]=function(){return this}),hr}();It._=Pn,(r=function(){return Pn}.call(t,n,t,e))===o||(e.exports=r)}).call(this)}).call(this,n(52)(e))},function(e,t,n){"use strict";e.exports=n(133)},function(e,t,n){var r; -/*! - Copyright (c) 2017 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(142)},function(e,t,n){e.exports=n(184)()},function(e,t,n){"use strict";var r=n(153),o=n(154),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return It(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=h(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function v(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var m=r.momentProperties=[];function g(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)a(o=t[r=m[n]])||(e[r]=o);return e}var b=!1;function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function k(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function O(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&a++;return a+i}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,T={};function x(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var I={};function P(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function N(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)u(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var L={};function A(e,t){L[e]=t}function z(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},B={};function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(B[e]=o),t&&(B[t[0]]=function(){return z(o.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=K(t,e.localeData()),V[t]=V[t]||function(e){var t,n,r,o=e.match(F);for(t=0,n=o.length;t<n;t++)B[o[t]]?o[t]=B[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=D(o[r])?o[r].call(t,e):o[r];return i}}(t),V[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var Y=/\d/,$=/\d\d/,q=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ce={};function le(e,t,n){ce[e]=D(t)?t:function(e,r){return e&&n?n:t}}function ue(e,t){return u(ce,e)?ce[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function pe(e,t){he(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function ve(e,t,n){null!=t&&u(fe,e)&&fe[e](t,n._a,n,e)}var me=0,ge=1,be=2,ye=3,ke=4,_e=5,we=6,Oe=7,Se=8;function Ee(e){return Ce(e)?366:365}function Ce(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),P("year","y"),A("year",1),le("Y",oe),le("YY",X,$),le("YYYY",te,G),le("YYYYY",ne,Z),le("YYYYYY",ne,Z),he(["YYYYY","YYYYYY"],me),he("YYYY",(function(e,t){t[me]=2===e.length?r.parseTwoDigitYear(e):w(e)})),he("YY",(function(e,t){t[me]=r.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[me]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var Te,xe=De("FullYear",!0);function De(e,t){return function(n){return null!=n?(je(this,e,n),r.updateOffset(this,t),this):Me(this,e)}}function Me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function je(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ce(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ie(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ie(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Ce(e)?29:28:31-r%7%2}Te=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),P("month","M"),A("month",8),le("M",X),le("MM",X,$),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[ge]=w(e)-1})),he(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[ge]=o:h(n).invalidMonth=e}));var Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ne="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Le(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Te.call(this._shortMonthsParse,a))?o:null:-1!==(o=Te.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Te.call(this._shortMonthsParse,a))?o:-1!==(o=Te.call(this._longMonthsParse,a))?o:null:-1!==(o=Te.call(this._longMonthsParse,a))?o:-1!==(o=Te.call(this._shortMonthsParse,a))?o:null}function Ae(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ze(e){return null!=e?(Ae(this,e),r.updateOffset(this,!0),this):Me(this,"Month")}var Fe=se,He=se;function Ve(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=de(r[t]),o[t]=de(o[t]);for(t=0;t<24;t++)i[t]=de(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Be(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ue(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function We(e,t,n){var r=7+t-n;return-(7+Ue(e,0,r).getUTCDay()-t)%7+r-1}function Ke(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+We(e,r,o);return s<=0?a=Ee(i=e-1)+s:s>Ee(e)?(i=e+1,a=s-Ee(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ye(e,t,n){var r,o,i=We(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+$e(o=e.year()-1,t,n):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function $e(e,t,n){var r=We(e,t,n),o=We(e+1,t,n);return(Ee(e)-r+o)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),A("week",5),A("isoWeek",5),le("w",X),le("ww",X,$),le("W",X),le("WW",X,$),pe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=w(e)})),U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),le("d",X),le("e",X),le("E",X),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,r){t[r]=w(e)}));var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Qe(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Te.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Te.call(this._weekdaysParse,a))?o:-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:-1!==(o=Te.call(this._weekdaysParse,a))?o:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Te.call(this._minWeekdaysParse,a))?o:-1!==(o=Te.call(this._weekdaysParse,a))?o:-1!==(o=Te.call(this._shortWeekdaysParse,a))?o:null}var Je=se,et=se,tt=se;function nt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=de(s[t]),c[t]=de(c[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function rt(){return this.hours()%12||12}function ot(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function it(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,rt),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+rt.apply(this)+z(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+rt.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),ot("a",!0),ot("A",!1),P("hour","h"),A("hour",13),le("a",it),le("A",it),le("H",X),le("h",X),le("k",X),le("HH",X,$),le("hh",X,$),le("kk",X,$),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),he(["H","HH"],ye),he(["k","kk"],(function(e,t,n){var r=w(e);t[ye]=24===r?0:r})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[ye]=w(e),h(n).bigHour=!0})),he("hmm",(function(e,t,n){var r=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r)),h(n).bigHour=!0})),he("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[_e]=w(e.substr(o)),h(n).bigHour=!0})),he("Hmm",(function(e,t,n){var r=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r))})),he("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[ye]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[_e]=w(e.substr(o))}));var at,st=De("Hours",!0),ct={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Ne,monthsShort:Re,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Xe,weekdaysShort:Ze,meridiemParse:/[ap]\.?m?\.?/i},lt={},ut={};function dt(e){return e?e.toLowerCase().replace("_","-"):e}function ft(t){var n=null;if(!lt[t]&&void 0!==e&&e&&e.exports)try{n=at._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ht(n)}catch(r){}return lt[t]}function ht(e,t){var n;return e&&((n=a(t)?vt(e):pt(e,t))?at=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),at._abbr}function pt(e,t){if(null!==t){var n,r=ct;if(t.abbr=e,null!=lt[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=lt[e]._config;else if(null!=t.parentLocale)if(null!=lt[t.parentLocale])r=lt[t.parentLocale]._config;else{if(null==(n=ft(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;r=n._config}return lt[e]=new j(M(r,t)),ut[e]&&ut[e].forEach((function(e){pt(e.name,e.config)})),ht(e),lt[e]}return delete lt[e],null}function vt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return at;if(!o(e)){if(t=ft(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=dt(e[i]).split("-")).length,n=(n=dt(e[i+1]))?n.split("-"):null;t>0;){if(r=ft(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&O(o,n,!0)>=t-1)break;t--}i++}return at}(e)}function mt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[be]<1||n[be]>Ie(n[me],n[ge])?be:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[ke]||0!==n[_e]||0!==n[we])?ye:n[ke]<0||n[ke]>59?ke:n[_e]<0||n[_e]>59?_e:n[we]<0||n[we]>999?we:-1,h(e)._overflowDayOfYear&&(t<me||t>be)&&(t=be),h(e)._overflowWeeks&&-1===t&&(t=Oe),h(e)._overflowWeekday&&-1===t&&(t=Se),h(e).overflow=t),e}function gt(e,t,n){return null!=e?e:null!=t?t:n}function bt(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[be]&&null==e._a[ge]&&function(e){var t,n,r,o,i,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=gt(t.GG,e._a[me],Ye(Pt(),1,4).year),r=gt(t.W,1),((o=gt(t.E,1))<1||o>7)&&(c=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ye(Pt(),i,a);n=gt(t.gg,e._a[me],l.year),r=gt(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(c=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(c=!0)):o=i}r<1||r>$e(n,i,a)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Ke(n,r,o,i,a),e._a[me]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=gt(e._a[me],o[me]),(e._dayOfYear>Ee(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Ue(a,0,e._dayOfYear),e._a[ge]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[ke]&&0===e._a[_e]&&0===e._a[we]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?Ue:Be).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ot=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],St=/^\/?Date\((\-?\d+)/i;function Et(e){var t,n,r,o,i,a,s=e._i,c=yt.exec(s)||kt.exec(s);if(c){for(h(e).iso=!0,t=0,n=wt.length;t<n;t++)if(wt[t][1].exec(c[1])){o=wt[t][0],r=!1!==wt[t][2];break}if(null==o)return void(e._isValid=!1);if(c[3]){for(t=0,n=Ot.length;t<n;t++)if(Ot[t][1].exec(c[3])){i=(c[2]||" ")+Ot[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(c[4]){if(!_t.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Mt(e)}else e._isValid=!1}var Ct=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Tt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var xt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dt(e){var t,n,r,o,i,a,s,c=Ct.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var l=(t=c[4],n=c[3],r=c[2],o=c[5],i=c[6],a=c[7],s=[Tt(t),Re.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Ze.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return xt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Mt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s=""+e._i,c=s.length,l=0;for(o=K(e._f,e._locale).match(F)||[],t=0;t<o.length;t++)i=o[t],(n=(s.match(ue(i,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),B[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),ve(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=c-l,s.length>0&&h(e).unusedInput.push(s),e._a[ye]<=12&&!0===h(e).bigHour&&e._a[ye]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),bt(e),mt(e)}else Dt(e);else Et(e)}function jt(e){var t=e._i,n=e._f;return e._locale=e._locale||vt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new y(mt(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Mt(t),p(t)&&(i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}(e):n?Mt(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=St.exec(e._i);null===t?(Et(e),!1===e._isValid&&(delete e._isValid,Dt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),bt(e)):i(t)?function(e){if(!e._d){var t=R(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),bt(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function It(e,t,n,r,a){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new y(mt(jt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Pt(e,t,n,r){return It(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Nt=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Rt=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Pt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Lt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Pt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function zt(e){var t=R(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Te.call(At,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<At.length;++r)if(e[At[r]]){if(n)return!1;parseFloat(e[At[r]])!==w(e[At[r]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=vt(),this._bubble()}function Ft(e){return e instanceof zt}function Ht(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Vt(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+z(~~(e/60),2)+t+z(~~e%60,2)}))}Vt("Z",":"),Vt("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Ut(ae,e)}));var Bt=/([\+\-]|\d\d)/gi;function Ut(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Bt)||["-",0,0],o=60*r[1]+w(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Wt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||c(e)?e.valueOf():Pt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):Pt(e).local()}function Kt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Yt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var $t=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,qt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,r,o,i,a,c,l=e,d=null;return Ft(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(l={},t?l[t]=e:l.milliseconds=e):(d=$t.exec(e))?(n="-"===d[1]?-1:1,l={y:0,d:w(d[be])*n,h:w(d[ye])*n,m:w(d[ke])*n,s:w(d[_e])*n,ms:w(Ht(1e3*d[we]))*n}):(d=qt.exec(e))?(n="-"===d[1]?-1:1,l={y:Zt(d[2],n),M:Zt(d[3],n),w:Zt(d[4],n),d:Zt(d[5],n),h:Zt(d[6],n),m:Zt(d[7],n),s:Zt(d[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(i=Pt(l.from),a=Pt(l.to),o=i.isValid()&&a.isValid()?(a=Wt(a,i),i.isBefore(a)?c=Xt(i,a):((c=Xt(a,i)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(l={}).ms=o.milliseconds,l.M=o.months),r=new zt(l),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Qt(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Jt(this,Gt(n="string"==typeof n?+n:n,r),e),this}}function Jt(e,t,n,o){var i=t._milliseconds,a=Ht(t._days),s=Ht(t._months);e.isValid()&&(o=null==o||o,s&&Ae(e,Me(e,"Month")+s*n),a&&je(e,"Date",Me(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Gt.fn=zt.prototype,Gt.invalid=function(){return Gt(NaN)};var en=Qt(1,"add"),tn=Qt(-1,"subtract");function nn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function rn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var on=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function an(){return this._locale}var sn=1e3,cn=60*sn,ln=60*cn,un=3506328*ln;function dn(e,t){return(e%t+t)%t}function fn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-un:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-un:Date.UTC(e,t,n)}function pn(e,t){U(0,[e,e.length],0,t)}function vn(e,t,n,r,o){var i;return null==e?Ye(this,r,o).year:(t>(i=$e(e,r,o))&&(t=i),mn.call(this,e,t,n,r,o))}function mn(e,t,n,r,o){var i=Ke(e,t,n,r,o),a=Ue(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",X,$),le("gg",X,$),le("GGGG",te,G),le("gggg",te,G),le("GGGGG",ne,Z),le("ggggg",ne,Z),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=w(e)})),pe(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),P("quarter","Q"),A("quarter",7),le("Q",Y),he("Q",(function(e,t){t[ge]=3*(w(e)-1)})),U("D",["DD",2],"Do","date"),P("date","D"),A("date",9),le("D",X),le("DD",X,$),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],be),he("Do",(function(e,t){t[be]=w(e.match(X)[0])}));var gn=De("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),A("dayOfYear",4),le("DDD",ee),le("DDDD",q),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=w(e)})),U("m",["mm",2],0,"minute"),P("minute","m"),A("minute",14),le("m",X),le("mm",X,$),he(["m","mm"],ke);var bn=De("Minutes",!1);U("s",["ss",2],0,"second"),P("second","s"),A("second",15),le("s",X),le("ss",X,$),he(["s","ss"],_e);var yn,kn=De("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),A("millisecond",16),le("S",ee,Y),le("SS",ee,$),le("SSS",ee,q),yn="SSSS";yn.length<=9;yn+="S")le(yn,re);function _n(e,t){t[we]=w(1e3*("0."+e))}for(yn="S";yn.length<=9;yn+="S")he(yn,_n);var wn=De("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var On=y.prototype;function Sn(e){return e}On.add=en,On.calendar=function(e,t){var n=e||Pt(),o=Wt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,Pt(n)))},On.clone=function(){return new y(this)},On.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Wt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":i=nn(this,r)/12;break;case"month":i=nn(this,r);break;case"quarter":i=nn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_(i)},On.endOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ln-dn(t+(this._isUTC?0:this.utcOffset()*cn),ln)-1;break;case"minute":t=this._d.valueOf(),t+=cn-dn(t,cn)-1;break;case"second":t=this._d.valueOf(),t+=sn-dn(t,sn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},On.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},On.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},On.fromNow=function(e){return this.from(Pt(),e)},On.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Pt(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},On.toNow=function(e){return this.to(Pt(),e)},On.get=function(e){return D(this[e=N(e)])?this[e]():this},On.invalidAt=function(){return h(this).overflow},On.isAfter=function(e,t){var n=k(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},On.isBefore=function(e,t){var n=k(e)?e:Pt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},On.isBetween=function(e,t,n,r){var o=k(e)?e:Pt(e),i=k(t)?t:Pt(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},On.isSame=function(e,t){var n,r=k(e)?e:Pt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},On.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},On.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},On.isValid=function(){return p(this)},On.lang=on,On.locale=rn,On.localeData=an,On.max=Rt,On.min=Nt,On.parsingFlags=function(){return d({},h(this))},On.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=R(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(D(this[e=N(e)]))return this[e](t);return this},On.startOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?hn:fn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=dn(t+(this._isUTC?0:this.utcOffset()*cn),ln);break;case"minute":t=this._d.valueOf(),t-=dn(t,cn);break;case"second":t=this._d.valueOf(),t-=dn(t,sn)}return this._d.setTime(t),r.updateOffset(this,!0),this},On.subtract=tn,On.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},On.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},On.toDate=function(){return new Date(this.valueOf())},On.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},On.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},On.toJSON=function(){return this.isValid()?this.toISOString():null},On.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},On.unix=function(){return Math.floor(this.valueOf()/1e3)},On.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},On.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},On.year=xe,On.isLeapYear=function(){return Ce(this.year())},On.weekYear=function(e){return vn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},On.isoWeekYear=function(e){return vn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},On.quarter=On.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},On.month=ze,On.daysInMonth=function(){return Ie(this.year(),this.month())},On.week=On.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},On.isoWeek=On.isoWeeks=function(e){var t=Ye(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},On.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},On.isoWeeksInYear=function(){return $e(this.year(),1,4)},On.date=gn,On.day=On.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},On.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},On.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},On.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},On.hour=On.hours=st,On.minute=On.minutes=bn,On.second=On.seconds=kn,On.millisecond=On.milliseconds=wn,On.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ut(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Kt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Jt(this,Gt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Kt(this)},On.utc=function(e){return this.utcOffset(0,e)},On.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Kt(this),"m")),this},On.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ut(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},On.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Pt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},On.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},On.isLocal=function(){return!!this.isValid()&&!this._isUTC},On.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},On.isUtc=Yt,On.isUTC=Yt,On.zoneAbbr=function(){return this._isUTC?"UTC":""},On.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},On.dates=E("dates accessor is deprecated. Use date instead.",gn),On.months=E("months accessor is deprecated. Use month instead",ze),On.years=E("years accessor is deprecated. Use year instead",xe),On.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),On.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=jt(e))._a){var t=e._isUTC?f(e._a):Pt(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var En=j.prototype;function Cn(e,t,n,r){var o=vt(),i=f().set(r,t);return o[n](i,e)}function Tn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Cn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Cn(e,r,n,"month");return o}function xn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=vt(),a=e?i._week.dow:0;if(null!=n)return Cn(t,(n+a)%7,r,"day");var c=[];for(o=0;o<7;o++)c[o]=Cn(t,(o+a)%7,r,"day");return c}En.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},En.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},En.invalidDate=function(){return this._invalidDate},En.ordinal=function(e){return this._ordinal.replace("%d",e)},En.preparse=Sn,En.postformat=Sn,En.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)},En.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},En.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},En.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},En.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},En.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},En.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=He),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},En.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},En.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},En.firstDayOfYear=function(){return this._week.doy},En.firstDayOfWeek=function(){return this._week.dow},En.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},En.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},En.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},En.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},En.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Je),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},En.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},En.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},En.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},En.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ht("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",ht),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",vt);var Dn=Math.abs;function Mn(e,t,n,r){var o=Gt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function jn(e){return e<0?Math.floor(e):Math.ceil(e)}function In(e){return 4800*e/146097}function Pn(e){return 146097*e/4800}function Nn(e){return function(){return this.as(e)}}var Rn=Nn("ms"),Ln=Nn("s"),An=Nn("m"),zn=Nn("h"),Fn=Nn("d"),Hn=Nn("w"),Vn=Nn("M"),Bn=Nn("Q"),Un=Nn("y");function Wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Kn=Wn("milliseconds"),Yn=Wn("seconds"),$n=Wn("minutes"),qn=Wn("hours"),Gn=Wn("days"),Zn=Wn("months"),Xn=Wn("years"),Qn=Math.round,Jn={ss:44,s:45,m:45,h:22,d:26,M:11};function er(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var tr=Math.abs;function nr(e){return(e>0)-(e<0)||+e}function rr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=tr(this._milliseconds)/1e3,r=tr(this._days),o=tr(this._months);e=_(n/60),t=_(e/60),n%=60,e%=60;var i=_(o/12),a=o%=12,s=r,c=t,l=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=nr(this._months)!==nr(d)?"-":"",p=nr(this._days)!==nr(d)?"-":"",v=nr(this._milliseconds)!==nr(d)?"-":"";return f+"P"+(i?h+i+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?v+c+"H":"")+(l?v+l+"M":"")+(u?v+u+"S":"")}var or=zt.prototype;return or.isValid=function(){return this._isValid},or.abs=function(){var e=this._data;return this._milliseconds=Dn(this._milliseconds),this._days=Dn(this._days),this._months=Dn(this._months),e.milliseconds=Dn(e.milliseconds),e.seconds=Dn(e.seconds),e.minutes=Dn(e.minutes),e.hours=Dn(e.hours),e.months=Dn(e.months),e.years=Dn(e.years),this},or.add=function(e,t){return Mn(this,e,t,1)},or.subtract=function(e,t){return Mn(this,e,t,-1)},or.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+In(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},or.asMilliseconds=Rn,or.asSeconds=Ln,or.asMinutes=An,or.asHours=zn,or.asDays=Fn,or.asWeeks=Hn,or.asMonths=Vn,or.asQuarters=Bn,or.asYears=Un,or.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},or._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*jn(Pn(s)+a),a=0,s=0),c.milliseconds=i%1e3,e=_(i/1e3),c.seconds=e%60,t=_(e/60),c.minutes=t%60,n=_(t/60),c.hours=n%24,a+=_(n/24),o=_(In(a)),s+=o,a-=jn(Pn(o)),r=_(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},or.clone=function(){return Gt(this)},or.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},or.milliseconds=Kn,or.seconds=Yn,or.minutes=$n,or.hours=qn,or.days=Gn,or.weeks=function(){return _(this.days()/7)},or.months=Zn,or.years=Xn,or.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Gt(e).abs(),o=Qn(r.as("s")),i=Qn(r.as("m")),a=Qn(r.as("h")),s=Qn(r.as("d")),c=Qn(r.as("M")),l=Qn(r.as("y")),u=o<=Jn.ss&&["s",o]||o<Jn.s&&["ss",o]||i<=1&&["m"]||i<Jn.m&&["mm",i]||a<=1&&["h"]||a<Jn.h&&["hh",a]||s<=1&&["d"]||s<Jn.d&&["dd",s]||c<=1&&["M"]||c<Jn.M&&["MM",c]||l<=1&&["y"]||["yy",l];return u[2]=t,u[3]=+e>0,u[4]=n,er.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},or.toISOString=rr,or.toString=rr,or.toJSON=rr,or.locale=rn,or.localeData=an,or.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rr),or.lang=on,U("X",0,0,"unix"),U("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),he("x",(function(e,t,n){n._d=new Date(w(e))})),r.version="2.24.0",t=Pt,r.fn=On,r.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return Pt(1e3*e)},r.months=function(e,t){return Tn(e,t,"months")},r.isDate=c,r.locale=ht,r.invalid=v,r.duration=Gt,r.isMoment=k,r.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},r.parseZone=function(){return Pt.apply(null,arguments).parseZone()},r.localeData=vt,r.isDuration=Ft,r.monthsShort=function(e,t){return Tn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},r.defineLocale=pt,r.updateLocale=function(e,t){if(null!=t){var n,r,o=ct;null!=(r=ft(e))&&(o=r._config),t=M(o,t),(n=new j(t)).parentLocale=lt[e],lt[e]=n,ht(e)}else null!=lt[e]&&(null!=lt[e].parentLocale?lt[e]=lt[e].parentLocale:null!=lt[e]&&delete lt[e]);return lt[e]},r.locales=function(){return C(lt)},r.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},r.normalizeUnits=N,r.relativeTimeRounding=function(e){return void 0===e?Qn:"function"==typeof e&&(Qn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Jn[e]&&(void 0===t?Jn[e]:(Jn[e]=t,"s"===e&&(Jn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=On,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(52)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,s=0;s<i.length;s++){var c=i[s];if(void 0===(a=a.get(c)))return;var l=t[c];if(void 0===(a=a.get(l)))return}var u=a.get("_ekm_value");return u?(n.delete(u[0]),u[0]=t,a.set("_ekm_value",u),n.set(t,u),u):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,s=0;s<o.length;s++){var c=o[s];a.has(c)||a.set(c,new e),a=a.get(c);var l=t[c];a.has(l)||a.set(l,new e),a=a.get(l)}var u=a.get("_ekm_value");return u&&this._map.delete(u[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,s;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[s=n[a]]!==i[s])return i;return r}}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(134)},function(e,t,n){e.exports=n(189)},function(e,t,n){"use strict";var r=n(19),o=n(84),i=n(85),a=n(183),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",i="Move forward to switch to the next month.",a="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},v=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},m=function(e){return e.date},g=function(e){var t=e.date;return"Not available. "+String(t)},b=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:g,dateIsSelected:b};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:g,dateIsSelected:b},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:m,dateIsUnavailable:g,dateIsSelected:b},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:v,chooseAvailableDate:m,dateIsUnavailable:g,dateIsSelected:b},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:i},t.CalendarDayPhrases={chooseAvailableDate:m,dateIsUnavailable:g,dateIsSelected:b}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=i(n(13)),o=i(n(4));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,p=t.cssPropName,b=void 0===p?"css":p,y=t.flushBefore,k=void 0!==y&&y,_=t.pureComponent,w=void 0!==_&&_,O=void 0,S=void 0,E=void 0,C=void 0,T=function(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}(w);function x(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function D(t,n){var r=function(e){return e===l.DIRECTIONS.LTR?E:C}(t),o=t===l.DIRECTIONS.LTR?O:S,i=d.default.get();return o&&r===i?o:(t===l.DIRECTIONS.RTL?(S=e?d.default.createRTL(e):v,C=i,o=S):(O=e?d.default.createLTR(e):v,E=i,o=O),o)}function M(e,t){return{resolveMethod:x(e),styleDef:D(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():g;return r.state=M(o),r}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)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(M(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;k&&d.default.flush();var n=this.state,o=n.resolveMethod,i=n.styleDef;return a.default.createElement(e,r({},this.props,(h(t={},f,d.default.get()),h(t,s,i()),h(t,b,o),t)))}}]),n}(T);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=m,e.propTypes&&(n.propTypes=(0,i.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[b]),e.defaultProps&&(n.defaultProps=(0,i.default)({},e.defaultProps)),(0,c.default)(n,e)}};var i=f(n(13)),a=f(n(1)),s=f(n(4)),c=f(n(190)),l=n(193),u=f(n(194)),d=f(n(82));function f(e){return e&&e.__esModule?e:{default:e}}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}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var p={},v=function(){return p};var m=h({},l.CHANNEL,u.default),g=l.DIRECTIONS.LTR},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(M[e])e=M[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,v=e.b,t={r:255*P(h,255),g:255*P(p,255),b:255*P(v,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=A(e.s),s=A(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(e.h,r,s),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=A(e.s),c=A(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,v;return n=I(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function p(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function v(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[L(z(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=N(n.s),f(n)}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=N(n.s),f(n)}function y(e){return f(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=N(n.l),f(n)}function _(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=N(n.l),f(n)}function O(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function D(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(z(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*P(this._r,255))+"%",g:c(100*P(this._g,255))+"%",b:c(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%)":"rgba("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:A(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var M=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(M);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,V,B,U=(V="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",B="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(68);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=s(n(143)),i=s(n(145)),a=s(n(147));function s(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t,n){"use strict";var r=n(53),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!c,e.exports=u},function(e,t,n){var r=n(6),o=n(187),i=n(188);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},function(e,t,n){"use strict";e.exports=n(228)},function(e,t,n){"use strict";var r=n(164);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf(a.WEEKDAYS)},function(e,t,n){"use strict";var r=n(186);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,a.DISPLAY_FORMAT,a.ISO_FORMAT]:[a.DISPLAY_FORMAT,a.ISO_FORMAT],r=(0,i.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION,a.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.OPEN_DOWN,a.OPEN_UP])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(232);t.default=r.default},function(e,t,n){"use strict";var r=n(138),o=n(139),i=n(67);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";var r=n(22);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ICON_BEFORE_POSITION,a.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.INFO_POSITION_TOP,a.INFO_POSITION_BOTTOM,a.INFO_POSITION_BEFORE,a.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(36));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!i.default.isMoment(e)||!i.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),a=t.month(),s=n===o,c=r===a;return s&&c?e.date()<t.date():s?r<a:n<o};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};a.defaultProps={viewBox:"0 0 12 12"},t.default=a},function(e,t,n){var r=n(230),o=n(231);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(69),a=(r=i)&&r.__esModule?r:{default:r};var s={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return s.obj(e)&&e.type===a.default.all},error:function(e){return s.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&s.func(e.then)},iterator:function(e){return e&&s.func(e.next)&&s.func(e.throw)},fork:function(e){return s.obj(e)&&e.type===a.default.fork},join:function(e){return s.obj(e)&&e.type===a.default.join},race:function(e){return s.obj(e)&&e.type===a.default.race},call:function(e){return s.obj(e)&&e.type===a.default.call},cps:function(e){return s.obj(e)&&e.type===a.default.cps},subscribe:function(e){return s.obj(e)&&e.type===a.default.subscribe},channel:function(e){return s.obj(e)&&s.func(e.subscribe)}};t.default=s},function(e,t,n){"use strict";var r=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=Object.getPrototypeOf||function(e){return e.__proto__},a=void 0,s="undefined"==typeof Uint8Array?void 0:i(Uint8Array),c={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":o?i([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":a&&o&&Symbol.asyncIterator?a[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":o?i(i([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&o?i((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&o?i((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":o?i(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":o?Symbol:void 0,"$ %SymbolPrototype%":o?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":r,"$ %TypedArray%":s,"$ %TypedArrayPrototype%":s?s.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(12);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(0,a.and)([i.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=e[t],c=void 0;return[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(a)).some((function(e,n){var o,a=String(t)+": index "+String(n);return null!=(c=(o=i.default.string).isRequired.apply(o,[s({},a,e),a].concat(r)))})),null==c?null:c}],"Modifiers (Set of Strings)")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_FORMAT):null};var r=a(n(6)),o=a(n(26)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"addEventListener",(function(){return l}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(o){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};var c="__consolidated_events_handlers__";function l(e,t,n,r){e[c]||(e[c]=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e[c].add(t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_MONTH_FORMAT):null};var r=a(n(6)),o=a(n(26)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOfType([i.default.bool,i.default.oneOf([a.START_DATE,a.END_DATE])])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(!(0,o.default)(e,t)&&!(0,i.default)(e,t))};var r=a(n(6)),o=a(n(36)),i=a(n(25));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(155),a=n(1),s=n(11);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}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)}(n,t),o(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,o=n.wrappedRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return a.createElement(e,r({},i,{ref:function(e){t.__wrappedInstance=e,t.__domNode=s.findDOMNode(e),o&&o(e)}}))}}]),n}(a.Component);return n.displayName="clickOutside("+t+")",i(n,e)}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<c;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(c),a=0;a<c;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(140),o=n(141),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){"use strict"; -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))o.call(n,u)&&(c[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(c[s[d]]=n[s[d]])}}return c}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(70),i=Object.keys,a=i?function(e){return i(e)}:n(163),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,i=function(e){try{var t=r.call(e);return o.test(t)}catch(n){return!1}},a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(s)return function(e){try{return!i(e)&&(r.call(e),!0)}catch(t){return!1}}(e);if(i(e))return!1;var t=a.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(22).call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=b(n(13)),a=b(n(1)),s=b(n(4)),c=b(n(24)),l=b(n(20)),u=n(12),d=n(16),f=b(n(6)),h=n(14),p=b(n(15)),v=b(n(86)),m=b(n(41)),g=n(7);function b(e){return e&&e.__esModule?e:{default:e}}var y=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:m.default,isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),k={day:(0,f.default)(),daySize:g.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:h.CalendarDayPhrases},_=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=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,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.setButtonRef=i.setButtonRef.bind(i),i}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),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){(0,this.props.onDayMouseEnter)(e,t)}},{key:"onDayMouseLeave",value:function(e,t){(0,this.props.onDayMouseLeave)(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,h=t.phrases;if(!n)return a.default.createElement("td",null);var p=(0,v.default)(n,o,i,c,h),m=p.daySizeStyles,g=p.useDefaultCursor,b=p.selected,y=p.hoveredSpan,k=p.isOutsideRange,_=p.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,g&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,c.has("today")&&f.CalendarDay__today,c.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,c.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,c.has("hovered-offset")&&f.CalendarDay__hovered_offset,c.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,c.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,c.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,c.has("selected-span")&&f.CalendarDay__selected_span,c.has("last-in-range")&&f.CalendarDay__last_in_range,c.has("selected-start")&&f.CalendarDay__selected_start,c.has("selected-end")&&f.CalendarDay__selected_end,b&&f.CalendarDay__selected,k&&f.CalendarDay__blocked_out_of_range,m),{role:"button",ref:this.setButtonRef,"aria-label":_,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),l?l(n,c):n.format("D"))}}]),t}(a.default.Component);_.propTypes=y,_.defaultProps=k,t.PureCalendarDay=_,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}}))(_)},function(e,t,n){e.exports=n(204)},function(e,t,n){"use strict";var r=n(19),o=n(92),i=n(93),a=n(206),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,i="number"==typeof e;return r&&o?t+n:r&&i?t+e:r?t:o&&i?n+e:o?n:i?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,i=n.lineHeight_small,a=e.spacing,s=a.inputPadding,c=a.displayTextPaddingVertical,l=a.displayTextPaddingTop,u=a.displayTextPaddingBottom,d=a.displayTextPaddingVertical_small,f=a.displayTextPaddingTop_small,h=a.displayTextPaddingBottom_small,p=t?i:o,v=t?r(d,f,h):r(c,l,u);return parseInt(p,10)+2*s+v}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.DISPLAY_FORMAT):null};var r=a(n(6)),o=a(n(26)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=t.clone().startOf("month");i&&(a=a.startOf("week"));if((0,r.default)(e,a))return!1;var s=t.clone().add(n-1,"months").endOf("month");i&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=i(n(36)),o=i(n(46));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=j(n(13)),a=j(n(1)),s=j(n(4)),c=j(n(24)),l=n(12),u=n(16),d=j(n(6)),f=j(n(106)),h=j(n(28)),p=j(n(57)),v=n(14),m=j(n(15)),g=j(n(89)),b=j(n(219)),y=n(222),k=j(y),_=j(n(224)),w=j(n(90)),O=j(n(88)),S=j(n(225)),E=j(n(62)),C=j(n(41)),T=j(n(27)),x=j(n(23)),D=j(n(34)),M=n(7);function j(e){return e&&e.__esModule?e:{default:e}}function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var P=23,N="prev",R="next",L="month_selection",A="year_selection",z=(0,l.forbidExtraProps)((0,i.default)({},u.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:x.default,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,onMultiplyScrollableMonths:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(C.default)),renderCalendarDay:s.default.func,renderDayContents:s.default.func,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,isFocused:s.default.bool,getFirstFocusableDay:s.default.func,onBlur:s.default.func,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,m.default)(v.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),F=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:M.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onMultiplyScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.DayPickerPhrases,dayAriaLabelFormat:void 0},H=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)),r=e.hidden?(0,d.default)():e.initialVisibleMonth(),o=r.clone().startOf("month");e.getFirstFocusableDay&&(o=e.getFirstFocusableDay(r));var i=e.horizontalMonthPadding,a=e.isRTL&&n.isHorizontal()?-(0,w.default)(e.daySize,i):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:a,scrollableMonthMultiple:1,calendarMonthWidth:(0,w.default)(e.daySize,i),focusedDate:!e.hidden||e.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,h.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,f.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),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),o(t,[{key:"componentDidMount",value:function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,h.default)(),calendarInfoWidth:(0,O.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,h.default)()}),this.setCalendarMonthWeeks(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hidden,n=e.isFocused,r=e.showKeyboardShortcuts,o=e.onBlur,i=e.renderMonthText,a=e.horizontalMonthPadding,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var c=this.props,l=c.daySize,u=c.isFocused,d=c.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,w.default)(e.daySize,a)}),n!==u)if(n){var f=this.getFocusedDay(s),h=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(h=o),this.setState({showKeyboardShortcuts:r,onKeyboardShortcutsPanelClose:h,focusedDate:f,withMouseInteractions:!1})}else this.setState({focusedDate:null});i!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,O.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.orientation,r=t.daySize,o=t.isFocused,i=t.numberOfMonths,a=this.state,s=a.focusedDate,c=a.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,i+1),u=c+Math.max.apply(Math,[0].concat(I(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),M.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.isRTL,o=this.state,i=o.focusedDate,a=o.showKeyboardShortcuts;if(i){var s=i.clone(),c=!1,l=(0,S.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),c=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),c=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),c=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),c=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),c=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),c=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":a?this.closeKeyboardShortcutsPanel():n()}c||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,i=n.numberOfMonths,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=s,o&&(l=-2*s);var u=this.calendarMonthWeeks.slice(0,i),d=c+Math.max.apply(Math,[0].concat(I(u)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:N,translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"onMonthChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:L,translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onYearChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:A,translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onNextMonthClick",value:function(e,t){var n=this.props,r=n.isRTL,o=n.numberOfMonths,i=n.daySize,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(c+this.calendarMonthWeeks[1]*(i-1)+1)),this.isHorizontal()){l=-s,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat(I(u)))*(i-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:R,translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"getFirstDayOfWeek",value:function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}},{key:"getFirstVisibleIndex",value:function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===M.VERTICAL_SCROLLABLE)return 0;var n=1;return t===N?n-=1:t===R&&(n+=1),n}},{key:"getFocusedDay",value:function(e){var t=this.props,n=t.getFirstFocusableDay,r=t.numberOfMonths,o=void 0;return n&&(o=n(e)),!e||o&&(0,E.default)(o,e,r)||(o=e.clone().startOf("month")),o}},{key:"setMonthTitleHeight",value:function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))}},{key:"setCalendarMonthWeeks",value:function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var i=(0,_.default)(n,r);this.calendarMonthWeeks.push(i),n=n.add(1,"months")}}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setCalendarInfoRef",value:function(e){this.calendarInfo=e}},{key:"setTransitionContainerRef",value:function(e){this.transitionContainer=e}},{key:"maybeTransitionNextMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onNextMonthClick(e),!0)}},{key:"maybeTransitionPrevMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onPrevMonthClick(e),!0)}},{key:"multiplyScrollableMonths",value:function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))}},{key:"isHorizontal",value:function(){return this.props.orientation===M.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===M.VERTICAL_ORIENTATION||e===M.VERTICAL_SCROLLABLE}},{key:"updateStateAfterMonthTransition",value:function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,i=t.onMonthChange,a=t.onYearChange,s=t.isRTL,c=this.state,l=c.currentMonth,u=c.monthTransition,d=c.focusedDate,f=c.nextFocusedDate,h=c.withMouseInteractions,p=c.calendarMonthWidth;if(u){var v=l.clone(),m=this.getFirstDayOfWeek();if(u===N){v.subtract(1,"month"),n&&n(v);var g=v.clone().subtract(1,"month"),b=(0,_.default)(g,m);this.calendarMonthWeeks=[b].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if(u===R){v.add(1,"month"),r&&r(v);var y=v.clone().add(o,"month"),k=(0,_.default)(y,m);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[k])}else u===L?i&&i(v):u===A&&a&&a(v);var w=null;f?w=f:d||h||(w=this.getFocusedDay(v)),this.setState({currentMonth:v,monthTransition:null,translationValue:s&&this.isHorizontal()?-p:0,nextFocusedDate:null,focusedDate:w},(function(){if(h){var t=(0,S.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}}))}}},{key:"adjustDayPickerHeight",value:function(e){var t=this,n=e+P;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout((function(){t.setState({hasSetHeight:!0})}),0),this.calendarMonthGridHeight=n)}},{key:"calculateAndSetDayPickerHeight",value:function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),i=r+Math.max.apply(Math,[0].concat(I(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(i)}},{key:"openKeyboardShortcutsPanel",value:function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}},{key:"closeKeyboardShortcutsPanel",value:function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}},{key:"renderNavigation",value:function(){var e=this,t=this.props,n=t.navPrev,r=t.navNext,o=t.noNavButtons,i=t.orientation,s=t.phrases,c=t.isRTL;if(o)return null;var l=void 0;return l=i===M.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},a.default.createElement(b.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:i,phrases:s,isRTL:c})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,i=t.orientation,s=t.weekDayFormat,c=t.styles,l=this.state.calendarMonthWidth,f=i===M.VERTICAL_SCROLLABLE,h={left:e*l},p={marginLeft:-l/2},v={};this.isHorizontal()?v=h:this.isVertical()&&!f&&(v=p);for(var m=this.getFirstDayOfWeek(),g=[],b=0;b<7;b+=1)g.push(a.default.createElement("li",r({key:b},(0,u.css)(c.DayPicker_weekHeader_li,{width:n})),a.default.createElement("small",null,(0,d.default)().day((b+m)%7).format(s))));return a.default.createElement("div",r({},(0,u.css)(c.DayPicker_weekHeader,this.isVertical()&&c.DayPicker_weekHeader__vertical,f&&c.DayPicker_weekHeader__verticalScrollable,v,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),a.default.createElement("ul",(0,u.css)(c.DayPicker_weekHeader_ul),g))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,i=t.monthTransition,s=t.translationValue,c=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,h=t.hasSetHeight,v=t.calendarInfoWidth,m=t.monthTitleHeight,b=this.props,_=b.enableOutsideDays,w=b.numberOfMonths,O=b.orientation,S=b.modifiers,E=b.withPortal,C=b.onDayClick,T=b.onDayMouseEnter,x=b.onDayMouseLeave,D=b.firstDayOfWeek,j=b.renderMonthText,I=b.renderCalendarDay,P=b.renderDayContents,N=b.renderCalendarInfo,R=b.renderMonthElement,L=b.calendarInfoPosition,A=b.hideKeyboardShortcutsPanel,z=b.onOutsideClick,F=b.monthFormat,H=b.daySize,V=b.isFocused,B=b.isRTL,U=b.styles,W=b.theme,K=b.phrases,Y=b.verticalHeight,$=b.dayAriaLabelFormat,q=b.noBorder,G=b.transitionDuration,Z=b.verticalBorderSpacing,X=b.horizontalMonthPadding,Q=W.reactDates.spacing.dayPickerHorizontalPadding,J=this.isHorizontal(),ee=this.isVertical()?1:w,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=O===M.VERTICAL_SCROLLABLE,oe=void 0;J?oe=this.calendarMonthGridHeight:!this.isVertical()||re||E||(oe=Y||1.75*n);var ie=null!==i,ae=!ie&&V,se=y.BOTTOM_RIGHT;this.isVertical()&&(se=E?y.TOP_LEFT:y.TOP_RIGHT);var ce=J&&h,le=L===M.INFO_POSITION_TOP,ue=L===M.INFO_POSITION_BOTTOM,de=L===M.INFO_POSITION_BEFORE,fe=L===M.INFO_POSITION_AFTER,he=de||fe,pe=N&&a.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(he&&U.DayPicker_calendarInfo__horizontal)),N()),ve=N&&he?v:0,me=this.getFirstVisibleIndex(),ge=n*w+2*Q,be=ge+ve+1,ye={width:J&&ge,height:oe},ke={width:J&&ge},_e={width:J&&be,marginLeft:J&&E?-be/2:null,marginTop:J&&E?-n/2:null};return a.default.createElement("div",r({role:"application","aria-label":K.calendarLabel},(0,u.css)(U.DayPicker,J&&U.DayPicker__horizontal,re&&U.DayPicker__verticalScrollable,J&&E&&U.DayPicker_portal__horizontal,this.isVertical()&&E&&U.DayPicker_portal__vertical,_e,!m&&U.DayPicker__hidden,!q&&U.DayPicker__withBorder)),a.default.createElement(p.default,{onOutsideClick:z},(le||de)&&pe,a.default.createElement("div",(0,u.css)(ke,he&&J&&U.DayPicker_wrapper__horizontal),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_weekHeaders,J&&U.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!re&&this.renderNavigation(),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_transitionContainer,ce&&U.DayPicker_transitionContainer__horizontal,this.isVertical()&&U.DayPicker_transitionContainer__vertical,re&&U.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),a.default.createElement(g.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:_,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ie,modifiers:S,orientation:O,numberOfMonths:w*c,onDayClick:C,onDayMouseEnter:T,onDayMouseLeave:x,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:j,renderCalendarDay:I,renderDayContents:P,renderMonthElement:R,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:F,daySize:H,firstDayOfWeek:D,isFocused:ae,focusedDate:l,phrases:K,isRTL:B,dayAriaLabelFormat:$,transitionDuration:G,verticalBorderSpacing:Z,horizontalMonthPadding:X}),re&&this.renderNavigation()),!f&&!A&&a.default.createElement(k.default,{block:this.isVertical()&&!E,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:K}))),(ue||fe)&&pe))}}]),t}(a.default.Component);H.propTypes=z,H.defaultProps=F,t.PureDayPicker=H,t.default=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,a=t.spacing,s=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:a.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:s+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,i.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}))(H)},function(e,t,n){"use strict";(function(e){var r,o=n(121);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof window?window:e;var i=Object(o.a)(r);t.a=i}).call(this,n(148)(e))},function(e,t,n){"use strict";var r=n(236),o=n(237);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(238);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var k=c.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?b.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(y);if(_){var w=(_=_[0]).toLowerCase();this.protocol=w,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||_&&m[_]||(y=y.substr(2),this.slashes=!0)}if(!m[_]&&(O||_&&!g[_])){for(var S,E,C=-1,T=0;T<f.length;T++){-1!==(x=y.indexOf(f[T]))&&(-1===C||x<C)&&(C=x)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(S=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(S)),C=-1;for(T=0;T<d.length;T++){var x;-1!==(x=y.indexOf(d[T]))&&(-1===C||x<C)&&(C=x)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var M=this.hostname.split(/\./),j=(T=0,M.length);T<j;T++){var I=M[T];if(I&&!I.match(h)){for(var P="",N=0,R=I.length;N<R;N++)I.charCodeAt(N)>127?P+="x":P+=I[N];if(!P.match(h)){var L=M.slice(0,T),A=M.slice(T+1),z=I.match(p);z&&(L.push(z[1]),A.unshift(z[2])),A.length&&(y="/"+A.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+F,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!v[w])for(T=0,j=u.length;T<j;T++){var V=u[T];if(-1!==y.indexOf(V)){var B=encodeURIComponent(V);B===V&&(B=escape(V)),y=y.split(V).join(B)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=b.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var K=this.search||"";this.path=F+K}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var v=n.pathname||"",b=n.search||"";n.path=v+b}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=k||y||n.host&&e.pathname,w=_,O=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),_=_&&(""===p[0]||""===O[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=p;else if(p.length)O||(O=[]),O.pop(),O=O.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=O.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,T=0,x=O.length;x>=0;x--)"."===(E=O[x])?O.splice(x,1):".."===E?(O.splice(x,1),T++):T&&(O.splice(x,1),T--);if(!_&&!w)for(;T--;T)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var D,M=""===O[0]||O[0]&&"/"===O[0].charAt(0);S&&(n.hostname=n.host=M?"":O.length?O.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift()));return(_=_||n.host&&O.length)&&!M&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var l=s[c],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),s)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(69),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(165),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,i=function e(t,n,i,a,s){for(var c=a,l=0;l<i;){var u=r.ToString(l);if(r.HasProperty(n,u)){var d=r.Get(n,u),f=!1;if(s>0&&(f=r.IsArray(d)),f){c=e(t,d,r.ToLength(r.Get(d,"length")),c,s-1)}else{if(c>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(c),d),c+=1}}l+=1}return c};e.exports=function(){var e=r.ToObject(this),t=r.ToLength(r.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=r.ToInteger(arguments[0]));var o=r.ArraySpeciesCreate(e,0);return i(o,e,t,0,n),o}},function(e,t,n){"use strict";var r=n(166),o=n(55),i=o(o({},r),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=i},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(170)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(40),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(32),s={"Property Descriptor":function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(a(t,r)&&!n[r])return!1;var i=a(t,"[[Value]]"),s=a(t,"[[Get]]")||a(t,"[[Set]]");if(i&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var a=s[t];if("function"!=typeof a)throw new i("unknown record type: "+t);if(!a(e,r))throw new o(n+" must be a "+t);console.log(a(e,r),r)}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(71);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function i(e,t){var n=t(e(o));return function(){return n}}function a(e){return i(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolve(t)}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveLTR?r.resolveLTR(t):s(t)}t.default={registerTheme:function(e){o=e},registerInterface:function(e){r=e},create:a,createLTR:a,createRTL:function(e){return i(e,r.createRTL||r.create)},get:function(){return o},resolve:c,resolveLTR:c,resolveRTL:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveRTL?r.resolveRTL(t):s(t)},flush:function(){r.flush&&r.flush()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(r.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:r,disabled:r.grayLightest,background:r.white,backgroundDark:"#f2f2f2",backgroundFocused:r.white,border:"rgb(219, 219, 219)",text:r.gray,textDisabled:r.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,color:r.gray,color_active:r.gray,color_hover:r.gray},highlighted:{backgroundColor:r.yellow,backgroundColor_active:r.yellow_dark,backgroundColor_hover:r.yellow_dark,color:r.gray,color_active:r.gray,color_hover:r.gray},minimumNights:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLighter,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter},hoveredSpan:{backgroundColor:r.primaryShade_4,backgroundColor_active:r.primaryShade_3,backgroundColor_hover:r.primaryShade_4,borderColor:r.primaryShade_3,borderColor_active:r.primaryShade_3,borderColor_hover:r.primaryShade_3,color:r.secondary,color_active:r.secondary,color_hover:r.secondary},selectedSpan:{backgroundColor:r.primaryShade_2,backgroundColor_active:r.primaryShade_1,backgroundColor_hover:r.primaryShade_1,borderColor:r.primaryShade_1,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},selected:{backgroundColor:r.primary,backgroundColor_active:r.primary,backgroundColor_hover:r.primary,borderColor:r.primary,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},blocked_calendar:{backgroundColor:r.grayLighter,backgroundColor_active:r.grayLighter,backgroundColor_hover:r.grayLighter,borderColor:r.grayLighter,borderColor_active:r.grayLighter,borderColor_hover:r.grayLighter,color:r.grayLight,color_active:r.grayLight,color_hover:r.grayLight},blocked_out_of_range:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLight,borderColor_active:r.borderLight,borderColor_hover:r.borderLight,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},function(e,t,n){"use strict";var r=n(53),o=n(22),i=function(e){return null!=e},a=n(75)(),s=Object,c=o.call(Function.call,Array.prototype.push),l=o.call(Function.call,Object.prototype.propertyIsEnumerable),u=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,o,d,f,h,p,v,m=s(e);for(n=1;n<arguments.length;++n){o=s(arguments[n]),f=r(o);var g=a&&(Object.getOwnPropertySymbols||u);if(g)for(h=g(o),d=0;d<h.length;++d)v=h[d],l(o,v)&&c(f,v);for(d=0;d<f.length;++d)p=o[v=f[d]],l(o,v)&&(m[v]=p)}return m}},function(e,t,n){"use strict";var r=n(84);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()?r:function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var s=o.chooseAvailableDate,c=o.dateIsUnavailable,l=o.dateIsSelected,u={width:n,height:n-1},d=r.has("blocked-minimum-nights")||r.has("blocked-calendar")||r.has("blocked-out-of-range"),f=r.has("selected")||r.has("selected-start")||r.has("selected-end"),h=!f&&(r.has("hovered-span")||r.has("after-hovered-start")),p=r.has("blocked-out-of-range"),v={date:e.format(t)},m=(0,i.default)(s,v);r.has(a.BLOCKED_MODIFIER)?m=(0,i.default)(c,v):f&&(m=(0,i.default)(l,v));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:h,isOutsideRange:p,ariaLabel:m}};var r,o=n(195),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=E(n(13)),a=E(n(1)),s=E(n(4)),c=E(n(24)),l=E(n(20)),u=n(12),d=n(16),f=E(n(6)),h=n(14),p=E(n(15)),v=E(n(196)),m=E(n(56)),g=E(n(88)),b=E(n(198)),y=E(n(25)),k=E(n(42)),_=E(n(41)),w=E(n(27)),O=E(n(23)),S=n(7);function E(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(_.default),orientation:w.default,daySize:u.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:O.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),T={month:(0,f.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:S.HORIZONTAL_ORIENTATION,daySize:S.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return a.default.createElement(m.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:h.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},x=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.state={weeks:(0,b.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?f.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,i=o.month,a=o.enableOutsideDays,s=o.firstDayOfWeek;t.isSame(i)&&n===a&&r===s||this.setState({weeks:(0,b.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUnmount",value:function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}},{key:"setMonthTitleHeight",value:function(){var e=this.props.setMonthTitleHeight;e&&e((0,g.default)(this.captionRef,"height",!0,!0))}},{key:"setCaptionRef",value:function(e){this.captionRef=e}},{key:"render",value:function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,o=e.focusedDate,i=e.horizontalMonthPadding,s=e.isFocused,c=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,h=e.onDayClick,p=e.onDayMouseEnter,m=e.onDayMouseLeave,g=e.onMonthSelect,b=e.onYearSelect,_=e.orientation,w=e.phrases,O=e.renderCalendarDay,E=e.renderDayContents,C=e.renderMonthElement,T=e.renderMonthText,x=e.styles,D=e.verticalBorderSpacing,M=this.state.weeks,j=T?T(u):u.format(f),I=_===S.VERTICAL_SCROLLABLE;return a.default.createElement("div",r({},(0,d.css)(x.CalendarMonth,{padding:"0 "+String(i)+"px"}),{"data-visible":c}),a.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(x.CalendarMonth_caption,I&&x.CalendarMonth_caption__verticalScrollable)),C?C({month:u,onMonthSelect:g,onYearSelect:b}):a.default.createElement("strong",null,j)),a.default.createElement("table",r({},(0,d.css)(!D&&x.CalendarMonth_table,D&&x.CalendarMonth_verticalSpacing,D&&{borderSpacing:"0px "+String(D)+"px"}),{role:"presentation"}),a.default.createElement("tbody",null,M.map((function(e,r){return a.default.createElement(v.default,{key:r},e.map((function(e,r){return O({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:c&&(0,y.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:p,onDayMouseLeave:m,onDayClick:h,renderDayContents:E,phrases:w,modifiers:l[(0,k.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(a.default.Component);x.propTypes=C,x.defaultProps=T,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}))(x)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",i="width"===t?"Right":"Bottom",a=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(a["padding"+o])+parseFloat(a["padding"+i])+parseFloat(a["border"+o+"Width"])+parseFloat(a["border"+i+"Width"]));r&&(l+=parseFloat(a["margin"+o])+parseFloat(a["margin"+i]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(4)),c=T(n(24)),l=T(n(20)),u=n(12),d=n(16),f=T(n(6)),h=n(43),p=n(14),v=T(n(15)),m=T(n(87)),g=T(n(199)),b=T(n(200)),y=T(n(90)),k=T(n(44)),_=T(n(201)),w=T(n(202)),O=T(n(41)),S=T(n(27)),E=T(n(23)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(O.default)),orientation:S.default,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthTransitionEnd:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:E.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,v.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),D={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:C.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:C.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0};function M(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],i=0;i<(n?t:t+2);i+=1)o.push(r),r=r.clone().add(1,"month");return o}var j=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)),r=e.orientation===C.VERTICAL_SCROLLABLE;return n.state={months:M(e.initialMonth,e.numberOfMonths,r)},n.isTransitionEndSupported=(0,g.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=f.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,h.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,i=this.state.months,a=this.props,s=a.initialMonth,c=a.numberOfMonths!==r,l=i;s.isSame(n,"month")||c||((0,w.default)(s,n)?(l=i.slice(1)).push(i[i.length-1].clone().add(1,"month")):(0,_.default)(s,n)?(l=i.slice(0,i.length-1)).unshift(i[0].clone().subtract(1,"month")):l=M(n,r,o===C.VERTICAL_SCROLLABLE));c&&(l=M(n,r,o===C.VERTICAL_SCROLLABLE));var u=f.default.locale();this.locale!==u&&(this.locale=u,l=l.map((function(e){return e.locale(t.locale)}))),this.setState({months:l})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener()}},{key:"onTransitionEnd",value:function(){(0,this.props.onMonthTransitionEnd)()}},{key:"onMonthSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("month",t).subtract(c,"months"),o(n)}},{key:"onYearSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("year",t).subtract(c,"months"),o(n)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.enableOutsideDays,o=t.firstVisibleMonthIndex,s=t.horizontalMonthPadding,c=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,h=t.orientation,p=t.translationValue,v=t.daySize,g=t.onDayMouseEnter,_=t.onDayMouseLeave,w=t.onDayClick,O=t.renderMonthText,S=t.renderCalendarDay,E=t.renderDayContents,T=t.renderMonthElement,x=t.onMonthTransitionEnd,D=t.firstDayOfWeek,M=t.focusedDate,j=t.isFocused,I=t.isRTL,P=t.styles,N=t.phrases,R=t.dayAriaLabelFormat,L=t.transitionDuration,A=t.verticalBorderSpacing,z=t.setMonthTitleHeight,F=this.state.months,H=h===C.VERTICAL_ORIENTATION,V=h===C.VERTICAL_SCROLLABLE,B=h===C.HORIZONTAL_ORIENTATION,U=(0,y.default)(v,s),W=H||V?U:(u+2)*U,K=(H||V?"translateY":"translateX")+"("+String(p)+"px)";return a.default.createElement("div",r({},(0,d.css)(P.CalendarMonthGrid,B&&P.CalendarMonthGrid__horizontal,H&&P.CalendarMonthGrid__vertical,V&&P.CalendarMonthGrid__vertical_scrollable,c&&P.CalendarMonthGrid__animating,c&&L&&{transition:"transform "+String(L)+"ms ease-in-out"},(0,i.default)({},(0,b.default)(K),{width:W})),{ref:this.setContainerRef,onTransitionEnd:x}),F.map((function(t,i){var b=i>=o&&i<o+u,y=0===i&&!b,C=0===i&&c&&b,x=(0,k.default)(t);return a.default.createElement("div",r({key:x},(0,d.css)(B&&P.CalendarMonthGrid_month__horizontal,y&&P.CalendarMonthGrid_month__hideForAnimation,C&&!H&&!I&&{position:"absolute",left:-U},C&&!H&&I&&{position:"absolute",right:0},C&&H&&{position:"absolute",top:-p},!b&&!c&&P.CalendarMonthGrid_month__hidden)),a.default.createElement(m.default,{month:t,isVisible:b,enableOutsideDays:n,modifiers:l[x],monthFormat:f,orientation:h,onDayMouseEnter:g,onDayMouseLeave:_,onDayClick:w,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:O,renderCalendarDay:S,renderDayContents:E,renderMonthElement:T,firstDayOfWeek:D,daySize:v,focusedDate:b?M:null,isFocused:j,phrases:N,setMonthTitleHeight:z,dayAriaLabelFormat:R,verticalBorderSpacing:A,horizontalMonthPadding:s}))})))}}]),t}(a.default.Component);j.propTypes=x,j.defaultProps=D,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.noScrollBarOnVerticalScrollable,o=t.spacing,a=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:a},CalendarMonthGrid__animating:{zIndex:a+1},CalendarMonthGrid__horizontal:{position:"absolute",left:o.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,i.default)({margin:"0 auto",overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:a-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}))(j)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";var r=n(205),o=n(32),i=n(22).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var a in t)o(t,a)&&i(t,a)&&n.push(t[a]);return n}},function(e,t,n){"use strict";var r=n(92);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(94);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(4)),o=m(n(20)),i=n(12),a=n(14),s=m(n(15)),c=m(n(97)),l=m(n(33)),u=m(n(98)),d=m(n(45)),f=m(n(99)),h=m(n(29)),p=m(n(23)),v=m(n(34));function m(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:v.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,verticalSpacing:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.START_DATE,a.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ANCHOR_LEFT,a.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var i="undefined"!=typeof window?window.innerWidth:0,a=e===r.ANCHOR_LEFT?i-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+a-s,0))};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),i=o.left,a=o.top;e===r.OPEN_UP&&(a=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(i=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(i))+"px, "+String(Math.round(a))+"px, 0)"}};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=i,t.default=function(e){var t=i(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),a=o(e);return t.set(a,a.style.overflowY),a===n?t:i(a,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=k(n(1)),i=k(n(4)),a=k(n(6)),s=k(n(20)),c=n(12),l=k(n(29)),u=n(14),d=k(n(15)),f=k(n(104)),h=k(n(33)),p=k(n(45)),v=k(n(26)),m=k(n(61)),g=k(n(35)),b=k(n(36)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,c.forbidExtraProps)({startDate:s.default.momentObj,startDateId:i.default.string,startDatePlaceholderText:i.default.string,isStartDateFocused:i.default.bool,endDate:s.default.momentObj,endDateId:i.default.string,endDatePlaceholderText:i.default.string,isEndDateFocused:i.default.bool,screenReaderMessage:i.default.string,showClearDates:i.default.bool,showCaret:i.default.bool,showDefaultInputIcon:i.default.bool,inputIconPosition:h.default,disabled:p.default,required:i.default.bool,readOnly:i.default.bool,openDirection:l.default,noBorder:i.default.bool,block:i.default.bool,small:i.default.bool,regular:i.default.bool,verticalSpacing:c.nonNegativeInteger,keepOpenOnDateSelect:i.default.bool,reopenPickerOnClearDates:i.default.bool,withFullScreenPortal:i.default.bool,minimumNights:c.nonNegativeInteger,isOutsideRange:i.default.func,displayFormat:i.default.oneOfType([i.default.string,i.default.func]),onFocusChange:i.default.func,onClose:i.default.func,onDatesChange:i.default.func,onKeyDownArrowDown:i.default.func,onKeyDownQuestionMark:i.default.func,customInputIcon:i.default.node,customArrowIcon:i.default.node,customCloseIcon:i.default.node,isFocused:i.default.bool,phrases:i.default.shape((0,d.default)(u.DateRangePickerInputPhrases)),isRTL:i.default.bool}),w={startDate:null,startDateId:y.START_DATE,startDatePlaceholderText:"Start Date",isStartDateFocused:!1,endDate:null,endDateId:y.END_DATE,endDatePlaceholderText:"End Date",isEndDateFocused:!1,screenReaderMessage:"",showClearDates:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,withFullScreenPortal:!1,minimumNights:1,isOutsideRange:function(e){return!(0,g.default)(e,(0,a.default)())},displayFormat:function(){return a.default.localeData().longDateFormat("L")},onFocusChange:function(){},onClose:function(){},onDatesChange:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},customInputIcon:null,customArrowIcon:null,customCloseIcon:null,isFocused:!1,phrases:u.DateRangePickerInputPhrases,isRTL:!1},O=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.onClearFocus=n.onClearFocus.bind(n),n.onStartDateChange=n.onStartDateChange.bind(n),n.onStartDateFocus=n.onStartDateFocus.bind(n),n.onEndDateChange=n.onEndDateChange.bind(n),n.onEndDateFocus=n.onEndDateFocus.bind(n),n.clearDates=n.clearDates.bind(n),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:"onClearFocus",value:function(){var e=this.props,t=e.onFocusChange,n=e.onClose,r=e.startDate,o=e.endDate;t(null),n({startDate:r,endDate:o})}},{key:"onEndDateChange",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.minimumNights,i=t.keepOpenOnDateSelect,a=t.onDatesChange,s=(0,v.default)(e,this.getDisplayFormat());!s||r(s)||n&&(0,b.default)(s,n.clone().add(o,"days"))?a({startDate:n,endDate:null}):(a({startDate:n,endDate:s}),i||this.onClearFocus())}},{key:"onEndDateFocus",value:function(){var e=this.props,t=e.startDate,n=e.onFocusChange,r=e.withFullScreenPortal,o=e.disabled;t||!r||o&&o!==y.END_DATE?o&&o!==y.START_DATE||n(y.END_DATE):n(y.START_DATE)}},{key:"onStartDateChange",value:function(e){var t=this.props.endDate,n=this.props,r=n.isOutsideRange,o=n.minimumNights,i=n.onDatesChange,a=n.onFocusChange,s=n.disabled,c=(0,v.default)(e,this.getDisplayFormat()),l=c&&(0,b.default)(t,c.clone().add(o,"days"));!c||r(c)||s===y.END_DATE&&l?i({startDate:null,endDate:t}):(l&&(t=null),i({startDate:c,endDate:t}),a(y.END_DATE))}},{key:"onStartDateFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange;t&&t!==y.END_DATE||n(y.START_DATE)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,m.default)(e)}},{key:"clearDates",value:function(){var e=this.props,t=e.onDatesChange,n=e.reopenPickerOnClearDates,r=e.onFocusChange;t({startDate:null,endDate:null}),n&&r(y.START_DATE)}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,r=e.startDatePlaceholderText,i=e.isStartDateFocused,a=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,l=e.isEndDateFocused,u=e.screenReaderMessage,d=e.showClearDates,h=e.showCaret,p=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,g=e.customArrowIcon,b=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,w=e.openDirection,O=e.isFocused,S=e.phrases,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.isRTL,x=e.noBorder,D=e.block,M=e.small,j=e.regular,I=e.verticalSpacing,P=this.getDateString(t),N=this.getDateString(a);return o.default.createElement(f.default,{startDate:P,startDateId:n,startDatePlaceholderText:r,isStartDateFocused:i,endDate:N,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:l,isFocused:O,disabled:y,required:k,readOnly:_,openDirection:w,showCaret:h,showDefaultInputIcon:p,inputIconPosition:v,customInputIcon:m,customArrowIcon:g,customCloseIcon:b,phrases:S,onStartDateChange:this.onStartDateChange,onStartDateFocus:this.onStartDateFocus,onStartDateShiftTab:this.onClearFocus,onEndDateChange:this.onEndDateChange,onEndDateFocus:this.onEndDateFocus,onEndDateTab:this.onClearFocus,showClearDates:d,onClearDates:this.clearDates,screenReaderMessage:u,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,isRTL:T,noBorder:x,block:D,small:M,regular:j,verticalSpacing:I})}}]),t}(o.default.Component);t.default=O,O.propTypes=_,O.defaultProps=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=k(n(13)),i=k(n(1)),a=k(n(4)),s=n(12),c=n(16),l=n(14),u=k(n(15)),d=k(n(29)),f=k(n(105)),h=k(n(33)),p=k(n(45)),v=k(n(109)),m=k(n(110)),g=k(n(37)),b=k(n(111)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{startDateId:a.default.string,startDatePlaceholderText:a.default.string,screenReaderMessage:a.default.string,endDateId:a.default.string,endDatePlaceholderText:a.default.string,onStartDateFocus:a.default.func,onEndDateFocus:a.default.func,onStartDateChange:a.default.func,onEndDateChange:a.default.func,onStartDateShiftTab:a.default.func,onEndDateTab:a.default.func,onClearDates:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,startDate:a.default.string,endDate:a.default.string,isStartDateFocused:a.default.bool,isEndDateFocused:a.default.bool,showClearDates:a.default.bool,disabled:p.default,required:a.default.bool,readOnly:a.default.bool,openDirection:d.default,showCaret:a.default.bool,showDefaultInputIcon:a.default.bool,inputIconPosition:h.default,customInputIcon:a.default.node,customArrowIcon:a.default.node,customCloseIcon:a.default.node,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,isFocused:a.default.bool,phrases:a.default.shape((0,u.default)(l.DateRangePickerInputPhrases)),isRTL:a.default.bool})),w={startDateId:y.START_DATE,endDateId:y.END_DATE,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",screenReaderMessage:"",onStartDateFocus:function(){},onEndDateFocus:function(){},onStartDateChange:function(){},onEndDateChange:function(){},onStartDateShiftTab:function(){},onEndDateTab:function(){},onClearDates:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},startDate:"",endDate:"",isStartDateFocused:!1,isEndDateFocused:!1,showClearDates:!1,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,isFocused:!1,phrases:l.DateRangePickerInputPhrases,isRTL:!1};function O(e){var t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,a=e.screenReaderMessage,s=e.isStartDateFocused,l=e.onStartDateChange,u=e.onStartDateFocus,d=e.onStartDateShiftTab,h=e.endDate,p=e.endDateId,k=e.endDatePlaceholderText,_=e.isEndDateFocused,w=e.onEndDateChange,O=e.onEndDateFocus,S=e.onEndDateTab,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.onClearDates,x=e.showClearDates,D=e.disabled,M=e.required,j=e.readOnly,I=e.showCaret,P=e.openDirection,N=e.showDefaultInputIcon,R=e.inputIconPosition,L=e.customInputIcon,A=e.customArrowIcon,z=e.customCloseIcon,F=e.isFocused,H=e.phrases,V=e.isRTL,B=e.noBorder,U=e.block,W=e.verticalSpacing,K=e.small,Y=e.regular,$=e.styles,q=L||i.default.createElement(b.default,(0,c.css)($.DateRangePickerInput_calendarIcon_svg)),G=A||i.default.createElement(v.default,(0,c.css)($.DateRangePickerInput_arrow_svg));V&&(G=i.default.createElement(m.default,(0,c.css)($.DateRangePickerInput_arrow_svg))),K&&(G="-");var Z=z||i.default.createElement(g.default,(0,c.css)($.DateRangePickerInput_clearDates_svg,K&&$.DateRangePickerInput_clearDates_svg__small)),X=a||H.keyboardNavigationInstructions,Q=(N||null!==L)&&i.default.createElement("button",r({},(0,c.css)($.DateRangePickerInput_calendarIcon),{type:"button",disabled:D,"aria-label":H.focusStartDate,onClick:E}),q),J=D===y.START_DATE||!0===D,ee=D===y.END_DATE||!0===D;return i.default.createElement("div",(0,c.css)($.DateRangePickerInput,D&&$.DateRangePickerInput__disabled,V&&$.DateRangePickerInput__rtl,!B&&$.DateRangePickerInput__withBorder,U&&$.DateRangePickerInput__block,x&&$.DateRangePickerInput__showClearDates),R===y.ICON_BEFORE_POSITION&&Q,i.default.createElement(f.default,{id:n,placeholder:o,displayValue:t,screenReaderMessage:X,focused:s,isFocused:F,disabled:J,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:l,onFocus:u,onKeyDownShiftTab:d,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),i.default.createElement("div",r({},(0,c.css)($.DateRangePickerInput_arrow),{"aria-hidden":"true",role:"presentation"}),G),i.default.createElement(f.default,{id:p,placeholder:k,displayValue:h,screenReaderMessage:X,focused:_,isFocused:F,disabled:ee,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:w,onFocus:O,onKeyDownTab:S,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),x&&i.default.createElement("button",r({type:"button","aria-label":H.clearDates},(0,c.css)($.DateRangePickerInput_clearDates,K&&$.DateRangePickerInput_clearDates__small,!z&&$.DateRangePickerInput_clearDates_default,!(t||h)&&$.DateRangePickerInput_clearDates__hide),{onClick:T,disabled:D}),Z),R===y.ICON_AFTER_POSITION&&Q)}O.propTypes=_,O.defaultProps=w,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing;return{DateRangePickerInput:{backgroundColor:r.background,display:"inline-block"},DateRangePickerInput__disabled:{background:r.disabled},DateRangePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},DateRangePickerInput__rtl:{direction:"rtl"},DateRangePickerInput__block:{display:"block"},DateRangePickerInput__showClearDates:{paddingRight:30},DateRangePickerInput_arrow:{display:"inline-block",verticalAlign:"middle",color:r.text},DateRangePickerInput_arrow_svg:{verticalAlign:"middle",fill:r.text,height:o.arrowWidth,width:o.arrowWidth},DateRangePickerInput_clearDates:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},DateRangePickerInput_clearDates__small:{padding:6},DateRangePickerInput_clearDates_default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},DateRangePickerInput_clearDates__hide:{visibility:"hidden"},DateRangePickerInput_clearDates_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},DateRangePickerInput_clearDates_svg__small:{height:9},DateRangePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},DateRangePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=v(n(13)),a=v(n(1)),s=v(n(4)),c=n(12),l=n(16),u=v(n(106)),d=v(n(28)),f=v(n(59)),h=v(n(29)),p=n(7);function v(e){return e&&e.__esModule?e:{default:e}}var m="M0,"+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0z",g="M0,"+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0 "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX),b="M0,0 "+String(p.FANG_WIDTH_PX)+",0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+"z",y="M0,0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+",0",k=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{id:s.default.string.isRequired,placeholder:s.default.string,displayValue:s.default.string,screenReaderMessage:s.default.string,focused:s.default.bool,disabled:s.default.bool,required:s.default.bool,readOnly:s.default.bool,openDirection:h.default,showCaret:s.default.bool,verticalSpacing:c.nonNegativeInteger,small:s.default.bool,block:s.default.bool,regular:s.default.bool,onChange:s.default.func,onFocus:s.default.func,onKeyDownShiftTab:s.default.func,onKeyDownTab:s.default.func,onKeyDownArrowDown:s.default.func,onKeyDownQuestionMark:s.default.func,isFocused:s.default.bool})),_={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,disabled:!1,required:!1,readOnly:null,openDirection:p.OPEN_DOWN,showCaret:!1,verticalSpacing:p.DEFAULT_VERTICAL_SPACING,small:!1,block:!1,regular:!1,onChange:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},isFocused:!1},w=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.state={dateString:"",isTouchDevice:!1},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.setInputRef=n.setInputRef.bind(n),n.throttledKeyDown=(0,u.default)(n.onFinalKeyDown,300,{trailing:!1}),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),o(t,[{key:"componentDidMount",value:function(){this.setState({isTouchDevice:(0,d.default)()})}},{key:"componentWillReceiveProps",value:function(e){this.state.dateString&&e.displayValue&&this.setState({dateString:""})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.focused,r=t.isFocused;e.focused===n&&e.isFocused===r||n&&r&&this.inputRef.focus()}},{key:"onChange",value:function(e){var t=this.props,n=t.onChange,r=t.onKeyDownQuestionMark,o=e.target.value;"?"===o[o.length-1]?r(e):this.setState({dateString:o},(function(){return n(o)}))}},{key:"onKeyDown",value:function(e){e.stopPropagation(),p.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){var t=this.props,n=t.onKeyDownShiftTab,r=t.onKeyDownTab,o=t.onKeyDownArrowDown,i=t.onKeyDownQuestionMark,a=e.key;"Tab"===a?e.shiftKey?n(e):r(e):"ArrowDown"===a?o(e):"?"===a&&(e.preventDefault(),i(e))}},{key:"setInputRef",value:function(e){this.inputRef=e}},{key:"render",value:function(){var e=this.state,t=e.dateString,n=e.isTouchDevice,o=this.props,i=o.id,s=o.placeholder,c=o.displayValue,u=o.screenReaderMessage,d=o.focused,h=o.showCaret,v=o.onFocus,k=o.disabled,_=o.required,w=o.readOnly,O=o.openDirection,S=o.verticalSpacing,E=o.small,C=o.regular,T=o.block,x=o.styles,D=o.theme.reactDates,M=t||c||"",j="DateInput__screen-reader-message-"+String(i),I=h&&d,P=(0,f.default)(D,E);return a.default.createElement("div",(0,l.css)(x.DateInput,E&&x.DateInput__small,T&&x.DateInput__block,I&&x.DateInput__withFang,k&&x.DateInput__disabled,I&&O===p.OPEN_DOWN&&x.DateInput__openDown,I&&O===p.OPEN_UP&&x.DateInput__openUp),a.default.createElement("input",r({},(0,l.css)(x.DateInput_input,E&&x.DateInput_input__small,C&&x.DateInput_input__regular,w&&x.DateInput_input__readOnly,d&&x.DateInput_input__focused,k&&x.DateInput_input__disabled),{"aria-label":s,type:"text",id:i,name:i,ref:this.setInputRef,value:M,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:v,placeholder:s,autoComplete:"off",disabled:k,readOnly:"boolean"==typeof w?w:n,required:_,"aria-describedby":u&&j})),I&&a.default.createElement("svg",r({role:"presentation",focusable:"false"},(0,l.css)(x.DateInput_fang,O===p.OPEN_DOWN&&{top:P+S-p.FANG_HEIGHT_PX-1},O===p.OPEN_UP&&{bottom:P+S-p.FANG_HEIGHT_PX-1})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangShape),{d:O===p.OPEN_DOWN?m:b})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangStroke),{d:O===p.OPEN_DOWN?g:y}))),u&&a.default.createElement("p",r({},(0,l.css)(x.DateInput_screenReaderMessage),{id:j}),u))}}]),t}(a.default.Component);w.propTypes=k,w.defaultProps=_,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing,i=t.spacing,a=t.font,s=t.zIndex;return{DateInput:{margin:0,padding:i.inputPadding,background:r.background,position:"relative",display:"inline-block",width:o.inputWidth,verticalAlign:"middle"},DateInput__small:{width:o.inputWidth_small},DateInput__block:{width:"100%"},DateInput__disabled:{background:r.disabled,color:r.textDisabled},DateInput_input:{fontWeight:200,fontSize:a.input.size,lineHeight:a.input.lineHeight,color:r.text,backgroundColor:r.background,width:"100%",padding:String(i.displayTextPaddingVertical)+"px "+String(i.displayTextPaddingHorizontal)+"px",paddingTop:i.displayTextPaddingTop,paddingBottom:i.displayTextPaddingBottom,paddingLeft:i.displayTextPaddingLeft,paddingRight:i.displayTextPaddingRight,border:n.input.border,borderTop:n.input.borderTop,borderRight:n.input.borderRight,borderBottom:n.input.borderBottom,borderLeft:n.input.borderLeft,borderRadius:n.input.borderRadius},DateInput_input__small:{fontSize:a.input.size_small,lineHeight:a.input.lineHeight_small,letterSpacing:a.input.letterSpacing_small,padding:String(i.displayTextPaddingVertical_small)+"px "+String(i.displayTextPaddingHorizontal_small)+"px",paddingTop:i.displayTextPaddingTop_small,paddingBottom:i.displayTextPaddingBottom_small,paddingLeft:i.displayTextPaddingLeft_small,paddingRight:i.displayTextPaddingRight_small},DateInput_input__regular:{fontWeight:"auto"},DateInput_input__readOnly:{userSelect:"none"},DateInput_input__focused:{outline:n.input.outlineFocused,background:r.backgroundFocused,border:n.input.borderFocused,borderTop:n.input.borderTopFocused,borderRight:n.input.borderRightFocused,borderBottom:n.input.borderBottomFocused,borderLeft:n.input.borderLeftFocused},DateInput_input__disabled:{background:r.disabled,fontStyle:a.input.styleDisabled},DateInput_screenReaderMessage:{border:0,clip:"rect(0, 0, 0, 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1},DateInput_fang:{position:"absolute",width:p.FANG_WIDTH_PX,height:p.FANG_HEIGHT_PX,left:22,zIndex:s+2},DateInput_fangShape:{fill:r.background},DateInput_fangStroke:{stroke:r.core.border,fill:"transparent"}}}))(w)},function(e,t,n){var r=n(209),o=n(60),i="Expected a function";e.exports=function(e,t,n){var a=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(a="leading"in n?!!n.leading:a,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:a,maxWait:t,trailing:s})}},function(e,t,n){var r=n(211),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(107).Symbol;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M107.2 1392.9h241.1v-241.1H107.2v241.1zm294.7 0h267.9v-241.1H401.9v241.1zm-294.7-294.7h241.1V830.4H107.2v267.8zm294.7 0h267.9V830.4H401.9v267.8zM107.2 776.8h241.1V535.7H107.2v241.1zm616.2 616.1h267.9v-241.1H723.4v241.1zM401.9 776.8h267.9V535.7H401.9v241.1zm642.9 616.1H1286v-241.1h-241.1v241.1zm-321.4-294.7h267.9V830.4H723.4v267.8zM428.7 375V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.3-5.3 8-11.5 8-18.8zm616.1 723.2H1286V830.4h-241.1v267.8zM723.4 776.8h267.9V535.7H723.4v241.1zm321.4 0H1286V535.7h-241.1v241.1zm26.8-401.8V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.4-5.3 8-11.5 8-18.8zm321.5-53.6v1071.4c0 29-10.6 54.1-31.8 75.3-21.2 21.2-46.3 31.8-75.3 31.8H107.2c-29 0-54.1-10.6-75.3-31.8C10.6 1447 0 1421.9 0 1392.9V321.4c0-29 10.6-54.1 31.8-75.3s46.3-31.8 75.3-31.8h107.2v-80.4c0-36.8 13.1-68.4 39.3-94.6S311.4 0 348.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3 26.2 26.2 39.3 57.8 39.3 94.6v80.4h321.5v-80.4c0-36.8 13.1-68.4 39.3-94.6C922.9 13.1 954.4 0 991.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3s39.3 57.8 39.3 94.6v80.4H1286c29 0 54.1 10.6 75.3 31.8 21.2 21.2 31.8 46.3 31.8 75.3z"}))};a.defaultProps={viewBox:"0 0 1393.1 1500"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=I(n(13)),a=I(n(1)),s=I(n(4)),c=I(n(20)),l=n(12),u=I(n(6)),d=I(n(58)),f=I(n(28)),h=n(14),p=I(n(15)),v=I(n(35)),m=I(n(113)),g=I(n(25)),b=I(n(46)),y=I(n(36)),k=I(n(114)),_=I(n(62)),w=I(n(218)),O=I(n(42)),S=I(n(44)),E=I(n(45)),C=I(n(97)),T=I(n(27)),x=I(n(23)),D=I(n(34)),M=n(7),j=I(n(63));function I(e){return e&&e.__esModule?e:{default: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 N=(0,l.forbidExtraProps)({startDate:c.default.momentObj,endDate:c.default.momentObj,onDatesChange:s.default.func,startDateOffset:s.default.func,endDateOffset:s.default.func,focusedInput:C.default,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,minimumNights:s.default.number,disabled:E.default,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,firstDayOfWeek:x.default,verticalHeight:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),R={startDate:void 0,endDate:void 0,onDatesChange:function(){},startDateOffset:void 0,endDateOffset:void 0,focusedInput:null,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,minimumNights:1,disabled:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,daySize:M.DAY_SIZE,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,firstDayOfWeek:null,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},L=function(e,t){return t===M.START_DATE?e.chooseAvailableStartDate:t===M.END_DATE?e.chooseAvailableEndDate:e.chooseAvailableDate},A=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));n.isTouchDevice=(0,f.default)(),n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},"selected-start":function(e){return n.isStartDate(e)},"selected-end":function(e){return n.isEndDate(e)},"blocked-minimum-nights":function(e){return n.doesNotMeetMinimumNights(e)},"selected-span":function(e){return n.isInSelectedSpan(e)},"last-in-range":function(e){return n.isLastInRange(e)},hovered:function(e){return n.isHovered(e)},"hovered-span":function(e){return n.isInHoveredSpan(e)},"hovered-offset":function(e){return n.isInHoveredSpan(e)},"after-hovered-start":function(e){return n.isDayAfterHoveredStartDate(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,a=r.visibleDays,s=L(e.phrases,e.focusedInput);return n.state={hoverDate:null,currentMonth:o,phrases:(0,i.default)({},e.phrases,{chooseAvailableDate:s}),visibleDays:a},n.onDayClick=n.onDayClick.bind(n),n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.onMultiplyScrollableMonths=n.onMultiplyScrollableMonths.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),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),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.startDate,r=e.endDate,o=e.focusedInput,a=e.minimumNights,s=e.isOutsideRange,c=e.isDayBlocked,l=e.isDayHighlighted,f=e.phrases,h=e.initialVisibleMonth,p=e.numberOfMonths,v=e.enableOutsideDays,m=this.props,b=m.startDate,y=m.endDate,k=m.focusedInput,_=m.minimumNights,w=m.isOutsideRange,O=m.isDayBlocked,S=m.isDayHighlighted,E=m.phrases,C=m.initialVisibleMonth,T=m.numberOfMonths,x=m.enableOutsideDays,D=this.state.visibleDays,j=!1,I=!1,P=!1;s!==w&&(this.modifiers["blocked-out-of-range"]=function(e){return s(e)},j=!0),c!==O&&(this.modifiers["blocked-calendar"]=function(e){return c(e)},I=!0),l!==S&&(this.modifiers["highlighted-calendar"]=function(e){return l(e)},P=!0);var N=j||I||P,R=n!==b,A=r!==y,z=o!==k;if(p!==T||v!==x||h!==C&&!k&&z){var F=this.getStateForNewMonth(e),H=F.currentMonth;D=F.visibleDays,this.setState({currentMonth:H,visibleDays:D})}var V={};if(R&&(V=this.deleteModifier(V,b,"selected-start"),V=this.addModifier(V,n,"selected-start"),b)){var B=b.clone().add(1,"day"),U=b.clone().add(_+1,"days");V=this.deleteModifierFromRange(V,B,U,"after-hovered-start")}if(A&&(V=this.deleteModifier(V,y,"selected-end"),V=this.addModifier(V,r,"selected-end")),(R||A)&&(b&&y&&(V=this.deleteModifierFromRange(V,b,y.clone().add(1,"day"),"selected-span")),n&&r&&(V=this.deleteModifierFromRange(V,n,r.clone().add(1,"day"),"hovered-span"),V=this.addModifierToRange(V,n.clone().add(1,"day"),r,"selected-span"))),!this.isTouchDevice&&R&&n&&!r){var W=n.clone().add(1,"day"),K=n.clone().add(a+1,"days");V=this.addModifierToRange(V,W,K,"after-hovered-start")}if(_>0&&(z||R||a!==_)){var Y=b||this.today;V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked")}(z||N)&&(0,d.default)(D).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(z||j)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(z||I)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(z||P)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),a>0&&n&&o===M.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked"));var $=(0,u.default)();if((0,g.default)(this.today,$)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,$,"today"),this.today=$),Object.keys(V).length>0&&this.setState({visibleDays:(0,i.default)({},D,V)}),z||f!==E){var q=L(f,o);this.setState({phrases:(0,i.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,i=n.onBlur,a=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,m=h.endDate;if(u||d)p=(0,w.default)(u,e),m=(0,w.default)(d,e),r||(s(null),c({startDate:p,endDate:m}));else if(a===M.START_DATE){var g=m&&m.clone().subtract(o,"days"),k=(0,y.default)(g,e)||(0,b.default)(p,m),_=f===M.END_DATE;_&&k||(p=e,k&&(m=null)),_&&!k?(s(null),c({startDate:p,endDate:m})):_||s(M.END_DATE)}else if(a===M.END_DATE){var O=p&&p.clone().add(o,"days");p?(0,v.default)(e,O)?(m=e,r||(s(null),c({startDate:p,endDate:m}))):f!==M.START_DATE&&(p=e,m=null):(m=e,s(M.START_DATE))}l({startDate:p,endDate:m}),i()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,a=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=s||c,p={};if(h){var v=(0,w.default)(s,e),m=(0,w.default)(c,e,(function(e){return e.add(1,"day")}));f={start:v,end:m},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,v,m,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===M.END_DATE){if((0,b.default)(u,n)){var k=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,k,"hovered-span")}if(!this.isBlocked(e)&&(0,b.default)(e,n)){var _=e.clone().add(1,"day");p=this.addModifierToRange(p,n,_,"hovered-span")}}if(!n&&r&&o===M.START_DATE&&((0,y.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,y.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var O=n.clone().add(1,"day"),S=n.clone().add(a+1,"days");if(p=this.deleteModifierFromRange(p,O,S,"after-hovered-start"),(0,g.default)(e,n)){var E=n.clone().add(1,"day"),C=n.clone().add(a+1,"days");p=this.addModifierToRange(p,E,C,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,i.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=this.state,s=a.hoverDate,c=a.visibleDays,l=a.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,b.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,b.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,g.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,i.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(2,"months"),u=(0,k.default)(l,1,r,!0),d=a.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n+1,"month"),u=(0,k.default)(l,1,r,!0),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,a=r.visibleDays,s=Object.keys(a).length,c=o.clone().add(s,"month"),l=(0,k.default)(c,t,n,!0);this.setState({visibleDays:(0,i.default)({},a,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,i=n.endDate,a=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(a===M.START_DATE&&o?l=o.clone():a===M.END_DATE&&!i&&o?l=o.clone().add(s,"days"):a===M.END_DATE&&i&&(l=i.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),f=l.clone();!(0,b.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,O.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,i=e.orientation,a=e.startDate,s=(n||(a?function(){return a}:function(){return t.today}))(),c=i===M.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,k.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.add(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,g))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.addModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.delete(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,g))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.deleteModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,i=t.minimumNights;if(o!==M.END_DATE)return!1;if(n){var a=e.diff(n.clone().startOf("day").hour(12),"days");return a<i&&a>=0}return r((0,u.default)(e).subtract(i,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,m.default)(i,e)&&o>0&&(0,g.default)(i,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,g.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,g.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,i=!!n&&!r&&(e.isBetween(n,o)||(0,g.default)(o,e)),a=!!r&&!n&&(e.isBetween(o,r)||(0,g.default)(o,e)),s=o&&!this.isBlocked(o);return(i||a)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,m.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,g.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,g.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,v=e.focusedInput,m=e.renderCalendarDay,g=e.renderDayContents,b=e.renderCalendarInfo,y=e.renderMonthElement,k=e.calendarInfoPosition,_=e.onBlur,w=e.isFocused,O=e.showKeyboardShortcuts,S=e.isRTL,E=e.weekDayFormat,C=e.dayAriaLabelFormat,T=e.verticalHeight,x=e.noBorder,D=e.transitionDuration,M=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.phrases,L=P.visibleDays;return a.default.createElement(j.default,{orientation:n,enableOutsideDays:d,modifiers:L,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!v,initialVisibleMonth:function(){return N},daySize:p,onOutsideClick:l,navPrev:i,navNext:s,noNavButtons:c,renderCalendarDay:m,renderDayContents:g,renderCalendarInfo:b,renderMonthElement:y,calendarInfoPosition:k,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:w,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:_,showKeyboardShortcuts:O,phrases:R,isRTL:S,weekDayFormat:E,dayAriaLabelFormat:C,verticalHeight:T,verticalBorderSpacing:M,noBorder:x,transitionDuration:D,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=A,A.propTypes=N,A.defaultProps=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=i(n(6)),o=i(n(25));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){if(!r.default.isMoment(e))return{};for(var a={},s=i?e.clone():e.clone().subtract(1,"month"),c=0;c<(i?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p<h.weekday();p+=1){var v=h.clone().subtract(p+1,"day");l.unshift(v)}for(;h<f;)l.push(h.clone()),h.add(1,"day");if(n&&0!==h.weekday())for(var m=h.weekday(),g=0;m<7;m+=1,g+=1){var b=h.clone().add(g,"day");l.push(b)}a[(0,o.default)(s)]=l,s=s.clone().add(1,"month")}return a};var r=i(n(6)),o=i(n(44));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(4)),c=C(n(20)),l=n(12),u=C(n(6)),d=C(n(58)),f=C(n(28)),h=n(14),p=C(n(15)),v=C(n(25)),m=C(n(46)),g=C(n(114)),b=C(n(62)),y=C(n(42)),k=C(n(44)),_=C(n(27)),w=C(n(23)),O=C(n(34)),S=n(7),E=C(n(63));function C(e){return e&&e.__esModule?e:{default:e}}function T(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=(0,l.forbidExtraProps)({date:c.default.momentObj,onDateChange:s.default.func,focused:s.default.bool,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:_.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:w.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:O.default,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),D={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:S.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:S.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:S.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},M=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));n.isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,i=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:i},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.isTouchDevice=(0,f.default)()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,a=e.isDayBlocked,s=e.isDayHighlighted,c=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,h=this.props,p=h.isOutsideRange,m=h.isDayBlocked,g=h.isDayHighlighted,b=h.numberOfMonths,y=h.enableOutsideDays,k=h.initialVisibleMonth,_=h.focused,w=h.date,O=this.state.visibleDays,S=!1,E=!1,C=!1;o!==p&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},S=!0),a!==m&&(this.modifiers["blocked-calendar"]=function(e){return a(e)},E=!0),s!==g&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},C=!0);var T=S||E||C;if(l!==b||f!==y||c!==k&&!_&&r){var x=this.getStateForNewMonth(e),D=x.currentMonth;O=x.visibleDays,this.setState({currentMonth:D,visibleDays:O})}var M=r!==_,j={};n!==w&&(j=this.deleteModifier(j,w,"selected"),j=this.addModifier(j,n,"selected")),(M||T)&&(0,d.default)(O).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);j=t.isBlocked(n)?t.addModifier(j,n,"blocked"):t.deleteModifier(j,n,"blocked"),(M||S)&&(j=o(n)?t.addModifier(j,n,"blocked-out-of-range"):t.deleteModifier(j,n,"blocked-out-of-range")),(M||E)&&(j=a(n)?t.addModifier(j,n,"blocked-calendar"):t.deleteModifier(j,n,"blocked-calendar")),(M||C)&&(j=s(n)?t.addModifier(j,n,"highlighted-calendar"):t.deleteModifier(j,n,"highlighted-calendar"))}))}));var I=(0,u.default)();(0,v.default)(this.today,I)||(j=this.deleteModifier(j,this.today,"today"),j=this.addModifier(j,I,"today"),this.today=I),Object.keys(j).length>0&&this.setState({visibleDays:(0,i.default)({},O,j)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,i=n.onFocusChange,a=n.onClose;r(e),o||(i({focused:!1}),a({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,i.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,i.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(1,"month"),u=(0,g.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n,"month"),u=(0,g.default)(l,1,r),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,g.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,g.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,i=n.numberOfMonths,a=e.clone().startOf("month");if(o&&(a=o.clone()),this.isBlocked(a)){for(var s=[],c=e.clone().add(i-1,"months").endOf("month"),l=a.clone();!(0,m.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,m.default)(e,a)}));if(u.length>0){var d=r(u,1);a=d[0]}}return a}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,y.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,i=e.enableOutsideDays,a=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:a,visibleDays:this.getModifiers((0,g.default)(a,o,i))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,b.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.add(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,g))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,b.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],g=new Set(m[h]);g.delete(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,g))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,v.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,v.default)(e,t)}},{key:"isToday",value:function(e){return(0,v.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,v=e.renderCalendarDay,m=e.renderDayContents,g=e.renderCalendarInfo,b=e.renderMonthElement,y=e.calendarInfoPosition,k=e.isFocused,_=e.isRTL,w=e.phrases,O=e.dayAriaLabelFormat,S=e.onBlur,C=e.showKeyboardShortcuts,T=e.weekDayFormat,x=e.verticalHeight,D=e.noBorder,M=e.transitionDuration,j=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.visibleDays;return a.default.createElement(E.default,{orientation:n,enableOutsideDays:d,modifiers:R,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return N},firstDayOfWeek:p,onOutsideClick:c,navPrev:i,navNext:s,renderMonthText:o,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:g,renderMonthElement:b,calendarInfoPosition:y,isFocused:k,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:S,phrases:w,daySize:h,isRTL:_,showKeyboardShortcuts:C,weekDayFormat:T,dayAriaLabelFormat:O,verticalHeight:x,noBorder:D,transitionDuration:M,verticalBorderSpacing:j,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=M,M.propTypes=x,M.defaultProps=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(4)),o=p(n(20)),i=n(12),a=n(14),s=p(n(15)),c=p(n(33)),l=p(n(98)),u=p(n(99)),d=p(n(29)),f=p(n(23)),h=p(n(34));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:i.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,horizontalMonthPadding:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=g(n(13)),i=g(n(1)),a=g(n(4)),s=n(12),c=n(16),l=n(14),u=g(n(15)),d=g(n(105)),f=g(n(33)),h=g(n(37)),p=g(n(111)),v=g(n(29)),m=n(7);function g(e){return e&&e.__esModule?e:{default:e}}var b=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{id:a.default.string.isRequired,placeholder:a.default.string,displayValue:a.default.string,screenReaderMessage:a.default.string,focused:a.default.bool,isFocused:a.default.bool,disabled:a.default.bool,required:a.default.bool,readOnly:a.default.bool,openDirection:v.default,showCaret:a.default.bool,showClearDate:a.default.bool,customCloseIcon:a.default.node,showDefaultInputIcon:a.default.bool,inputIconPosition:f.default,customInputIcon:a.default.node,isRTL:a.default.bool,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,onChange:a.default.func,onClearDate:a.default.func,onFocus:a.default.func,onKeyDownShiftTab:a.default.func,onKeyDownTab:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,phrases:a.default.shape((0,u.default)(l.SingleDatePickerInputPhrases))})),y={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,isFocused:!1,disabled:!1,required:!1,readOnly:!1,openDirection:m.OPEN_DOWN,showCaret:!1,showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:m.ICON_BEFORE_POSITION,customCloseIcon:null,customInputIcon:null,isRTL:!1,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,onChange:function(){},onClearDate:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},phrases:l.SingleDatePickerInputPhrases};function k(e){var t=e.id,n=e.placeholder,o=e.displayValue,a=e.focused,s=e.isFocused,l=e.disabled,u=e.required,f=e.readOnly,v=e.showCaret,g=e.showClearDate,b=e.showDefaultInputIcon,y=e.inputIconPosition,k=e.phrases,_=e.onClearDate,w=e.onChange,O=e.onFocus,S=e.onKeyDownShiftTab,E=e.onKeyDownTab,C=e.onKeyDownArrowDown,T=e.onKeyDownQuestionMark,x=e.screenReaderMessage,D=e.customCloseIcon,M=e.customInputIcon,j=e.openDirection,I=e.isRTL,P=e.noBorder,N=e.block,R=e.small,L=e.regular,A=e.verticalSpacing,z=e.styles,F=M||i.default.createElement(p.default,(0,c.css)(z.SingleDatePickerInput_calendarIcon_svg)),H=D||i.default.createElement(h.default,(0,c.css)(z.SingleDatePickerInput_clearDate_svg,R&&z.SingleDatePickerInput_clearDate_svg__small)),V=x||k.keyboardNavigationInstructions,B=(b||null!==M)&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_calendarIcon),{type:"button",disabled:l,"aria-label":k.focusStartDate,onClick:O}),F);return i.default.createElement("div",(0,c.css)(z.SingleDatePickerInput,l&&z.SingleDatePickerInput__disabled,I&&z.SingleDatePickerInput__rtl,!P&&z.SingleDatePickerInput__withBorder,N&&z.SingleDatePickerInput__block,g&&z.SingleDatePickerInput__showClearDate),y===m.ICON_BEFORE_POSITION&&B,i.default.createElement(d.default,{id:t,placeholder:n,displayValue:o,screenReaderMessage:V,focused:a,isFocused:s,disabled:l,required:u,readOnly:f,showCaret:v,onChange:w,onFocus:O,onKeyDownShiftTab:S,onKeyDownTab:E,onKeyDownArrowDown:C,onKeyDownQuestionMark:T,openDirection:j,verticalSpacing:A,small:R,regular:L,block:N}),g&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_clearDate,R&&z.SingleDatePickerInput_clearDate__small,!D&&z.SingleDatePickerInput_clearDate__default,!o&&z.SingleDatePickerInput_clearDate__hide),{type:"button","aria-label":k.clearDate,disabled:l,onMouseEnter:this&&this.onClearDateMouseEnter,onMouseLeave:this&&this.onClearDateMouseLeave,onClick:_}),H),y===m.ICON_AFTER_POSITION&&B)}k.propTypes=b,k.defaultProps=y,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color;return{SingleDatePickerInput:{display:"inline-block",backgroundColor:r.background},SingleDatePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},SingleDatePickerInput__rtl:{direction:"rtl"},SingleDatePickerInput__disabled:{backgroundColor:r.disabled},SingleDatePickerInput__block:{display:"block"},SingleDatePickerInput__showClearDate:{paddingRight:30},SingleDatePickerInput_clearDate:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},SingleDatePickerInput_clearDate__default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},SingleDatePickerInput_clearDate__small:{padding:6},SingleDatePickerInput_clearDate__hide:{visibility:"hidden"},SingleDatePickerInput_clearDate_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},SingleDatePickerInput_clearDate_svg__small:{height:9},SingleDatePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},SingleDatePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(k)},function(e,t,n){"use strict";n.r(t);var r=n(11),o=n.n(r),i=n(1),a=n.n(i),s=n(4),c=n.n(s),l=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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)).apply(this,arguments))}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),u(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return l?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),o.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(a.a.Component);d.propTypes={children:c.a.node.isRequired,node:c.a.any};var f=d,h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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)).apply(this,arguments))}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),h(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){o.a.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=a.a.cloneElement(this.props.children)),this.portal=o.a.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(a.a.Component),v=p;p.propTypes={children:c.a.node.isRequired,node:c.a.any};var m=o.a.createPortal?f:v,g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var b=27,y=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.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),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),g(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?a.a.createElement(m,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode.props.node||this.portalNode.defaultNode;!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===b&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}(a.a.Component);y.propTypes={children:c.a.func.isRequired,defaultOpen:c.a.bool,node:c.a.any,closeOnEsc:c.a.bool,closeOnOutsideClick:c.a.bool,onOpen:c.a.func,onClose:c.a.func},y.defaultProps={onOpen:function(){},onClose:function(){}};var k=y;n.d(t,"Portal",(function(){return m})),n.d(t,"PortalWithState",(function(){return k}))},function(e,t,n){"use strict";e.exports=n(137)},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,o=void 0===n?24:n,i=e.onClick,s=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",s,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,height:o,width:o,onClick:i},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(149),o=n(150),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))}),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(151)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){ -/*! - * clipboard.js v2.0.4 - * https://zenorocha.github.io/clipboard.js - * - * Licensed MIT © Zeno Rocha - */ -var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(1)),a=c(n(3)),s=c(n(4));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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));return r.resolveOptions(n),r.listenClick(e),r}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),o(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(a.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r},c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},function(e,t,n){var r=n(5),o=n(6);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(7);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},function(e,t){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==n;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}}])},e.exports=r()},function(e,t,n){var r;!function(o,i,a){if(o){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)c[111+f]="f"+f;for(f=0;f<=9;++f)c[f+96]=f.toString();b.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},b.prototype.reset=function(){return this._callbacks={},this._directMap={},this},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},b.init=function(){var e=b(i);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),o.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],i.push("shift")),v(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function b(e){var t=this;if(e=e||i,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,a=!1,s=!1;function c(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function l(e,n,o,i,a,s){var c,l,u,d,f=[],h=o.type;if(!t._callbacks[e])return[];for("keyup"==h&&v(e)&&(n=[e]),c=0;c<t._callbacks[e].length;++c)if(l=t._callbacks[e][c],(i||!l.seq||r[l.seq]==l.level)&&h==l.action&&("keypress"==h&&!o.metaKey&&!o.ctrlKey||(u=n,d=l.modifiers,u.sort().join(",")===d.sort().join(",")))){var p=!i&&l.combo==a,m=i&&l.seq==i&&l.level==s;(p||m)&&t._callbacks[e].splice(c,1),f.push(l)}return f}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=p(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function f(e,t,i,a){function l(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(c,1e3)}}function d(t){u(i,t,e),"keyup"!==a&&(o=p(t)),setTimeout(c,10)}r[e]=0;for(var f=0;f<t.length;++f){var h=f+1===t.length?d:l(a||g(t[f+1]).action);m(t[f],h,a,e,f)}}function m(e,n,r,o,i){t._directMap[e+":"+r]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?f(e,s,n,r):(a=g(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],l(a.key,a.modifiers,{type:a.action},o,e,i),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=l(e,t,n),i={},d=0,f=!1;for(r=0;r<o.length;++r)o[r].seq&&(d=Math.max(d,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=d)continue;f=!0,i[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else f||u(o[r].callback,n,o[r].combo);var h="keypress"==n.type&&a;n.type!=s||v(e)||h||c(i),a=f&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)m(e[r],t,n)},h(e,"keypress",d),h(e,"keydown",d),h(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){e.exports=n(182)},function(e,t,n){var r;/*! showdown v 1.9.0 - 10-11-2018 */ -(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},s={},c=o(!0),l="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function d(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",s=e[o];if("object"!=typeof s)return r.valid=!1,r.error=a+"must be an object, but "+typeof s+" given",r;if(!i.helper.isString(s.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof s.type+" given",r;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return r.valid=!1,r.error=a+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===c){if(i.helper.isUndefined(s.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return r.valid=!1,r.error=a+c+' extensions must define either a "regex" property or a "filter" method',r;if(s.listeners){if("object"!=typeof s.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof s.listeners+" given",r;for(var l in s.listeners)if(s.listeners.hasOwnProperty(l)&&"function"!=typeof s.listeners[l])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof s.listeners[l]+" given",r}if(s.filter){if("function"!=typeof s.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof s.filter+" given",r}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",r;if(i.helper.isUndefined(s.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return c[e]=t,this},i.getOption=function(e){"use strict";return c[e]},i.getOptions=function(){"use strict";return c},i.resetOptions=function(){"use strict";c=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in l=e,t)t.hasOwnProperty(n)&&(c[n]=t[n])},i.getFlavor=function(){"use strict";return l},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=d(t,e);if(!n.valid)throw Error(n.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=f,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,f)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var h=function(e,t,n,r){"use strict";var o,i,a,s,c,l=r||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+n,"g"+l.replace(/g/g,"")),f=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(o=0;a=d.exec(e);)if(f.test(a[0]))o++||(s=(i=d.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var p={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(p),!u)return h}}while(o&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=h(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var s=h(e,n,r,o),c=e,l=s.length;if(l>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<l;++d)u.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<l-1&&u.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[l-1].wholeMatch.end<e.length&&u.push(e.slice(s[l-1].wholeMatch.end)),c=u.join("")}return c},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=l,f={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&p(c,e[a].listeners[c])}}function p(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},c)c.hasOwnProperty(n)&&(t[n]=c[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return p(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),f=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var s=t[r].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){a=l[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",s=0;s<o.length;s++)a+=i.subParser("makeMarkdown.node")(o[s],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){h(e,t=t||null)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?f.raw:f.parsed},this.getMetadataFormat=function(){return f.format},this._setMetadataPair=function(e,t){f.parsed[e]=t},this._setMetadataFormat=function(e){f.format=e},this._setMetadataRaw=function(e){f.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){if(i.helper.isUndefined(l)&&(l=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(l=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,""")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,a),c="";return t.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),n+'<a href="'+s+'"'+c+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,v=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,g=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,b=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,a,s,c){var l=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",d="",f=n||"",h=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' target="¨E95Eblank"'),f+'<a href="'+r+'"'+d+">"+l+"</a>"+u+h}},k=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(b,k(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(v,y(t)):e.replace(p,y(t))).replace(g,k(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,s=o,c="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),a="<pre><code>"+a+c+"</code></pre>",i.subParser("hashBlock")(a,t,n)+s}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var s=a;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=r+"<code>"+(s=i.subParser("encodeCode")(s,t,n))+"</code>",s=i.subParser("hashHTMLSpans")(s,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',s="",c="";for(var l in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[l]+'"',c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n';break;default:c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n'}return e=o+"<html"+s+">\n<head>\n"+i+a+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),i.subParser("ellipsis",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)})),i.subParser("emoji",(function(e,t,n){"use strict";if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,(function(e,t){return i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=n.converter._dispatch("emoji.after",e,t,n)})),i.subParser("encodeAmpsAndAngles",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var s=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var a=0;a<r.length;++a)for(var s,c=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),l="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],o,l,u,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),i.subParser("hashPreCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l="<h"+r+s+">"+a+"</h"+r+">";return i.subParser("hashBlock")(l,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l=r+1,u="<h"+l+s+">"+a+"</h"+l+">";return i.subParser("hashBlock")(u,t,n)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(s,(function(e,o,a){var s=a;t.customizedHeaderId&&(s=a.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,n),u=t.noHeaderId?"":' id="'+c(a)+'"',d=r-1+o.length,f="<h"+d+u+">"+l+"</h"+d+">";return i.subParser("hashBlock")(f,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,s,c,l){var u=n.gUrls,d=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(d[r])||(l=d[r]),i.helper.isUndefined(f[r])||(a=f[r].width,s=f[r].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h='<img src="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&i.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),a&&s&&(h+=' width="'+(a="*"===a?"auto":a)+'"',h+=' height="'+(s="*"===s?"auto":s)+'"'),h+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,s,c){return r(e,t,n,o=o.replace(/\s/g,""),i,a,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,s,c,l,u){u=u&&""!==u.trim();var d=i.subParser("outdent")(c,t,n),f="";return l&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),r||d.search(/\n{2,}/)>-1?(d=i.subParser("githubCodeBlocks")(d,t,n),d=i.subParser("blockGamut")(d,t,n)):(d=(d=i.subParser("lists")(d,t,n)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,n)).replace(/\n\n+/g,"\n\n"),d=a?i.subParser("paragraphs")(d,t,n):i.subParser("spanGamut")(d,t,n)),d="<li"+f+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?a:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=o(e,n);-1!==d?(l+="\n\n<"+n+f+">\n"+r(u.slice(0,d),!!i)+"</"+n+">\n",c="ul"===(n="ul"===n?"ol":"ul")?a:s,t(u.slice(d))):l+="\n\n<"+n+f+">\n"+r(u,!!i)+"</"+n+">\n"}(e);else{var u=o(e,n);l="\n\n<"+n+u+">\n"+r(e,!!i)+"</"+n+">\n"}return l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,s=0;s<a;s++){var c=r[s];c.search(/¨(K|G)(\d+)\1/g)>=0?o.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,n)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",o.push(c))}for(a=o.length,s=0;s<a;s++){for(var l="",u=o[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var f=RegExp.$1,h=RegExp.$2;l=(l="K"===f?n.gHtmlBlocks[h]:d?i.subParser("encodeCode")(n.ghCodeBlocks[h].text,t,n):n.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}o[s]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),c?c+l:(l&&(n.gTitles[r]=l.replace(/"|'/g,""")),t.parseImgDimensions&&a&&s&&(n.gDimensions[r]={width:a,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,"")),a[o]=i.subParser("codeSpans")(a[o],t,n);var s,c,l,u,d=a[0].split("|").map((function(e){return e.trim()})),f=a[1].split("|").map((function(e){return e.trim()})),h=[],p=[],v=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&h.push(a[o].split("|").map((function(e){return e.trim()})));if(d.length<f.length)return e;for(o=0;o<f.length;++o)v.push((s=f[o],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(o=0;o<d.length;++o)i.helper.isUndefined(v[o])&&(v[o]=""),p.push((c=d[o],l=v[o],u=void 0,u="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+l+">"+(c=i.subParser("spanGamut")(c,t,n))+"</th>\n"));for(o=0;o<h.length;++o){for(var g=[],b=0;b<p.length;++b)i.helper.isUndefined(h[o][b]),g.push(r(h[o][b],v[b]));m.push(g)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(p,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a){var s=i.subParser("makeMarkdown.node")(r[a],t);""!==s&&(n+=s)}return n="> "+(n=n.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="*"}return n})),i.subParser("makeMarkdown.header",(function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var a=e.childNodes,s=a.length,c=0;c<s;++c)o+=i.subParser("makeMarkdown.node")(a[c],t)}return o})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,s=e.getAttribute("start")||1,c=0;c<a;++c)if(void 0!==o[c].tagName&&"li"===o[c].tagName.toLowerCase()){r+=("ol"===n?s.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(o[c],t),++s}return(r+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n})),i.subParser("makeMarkdown.node",(function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return i.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=i.subParser("makeMarkdown.strong")(e,t);break;case"del":r=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=i.subParser("makeMarkdown.links")(e,t);break;case"img":r=i.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return n=n.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="~~"}return n})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="**"}return n})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var n,r,o="",a=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;n<s.length;++n){var l=i.subParser("makeMarkdown.tableCell")(s[n],t),u="---";if(s[n].hasAttribute("style"))switch(s[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}a[0][n]=l.trim(),a[1][n]=u}for(n=0;n<c.length;++n){var d=a.push([])-1,f=c[n].getElementsByTagName("td");for(r=0;r<s.length;++r){var h=" ";void 0!==f[r]&&(h=i.subParser("makeMarkdown.tableCell")(f[r],t)),a[d].push(h)}}var p=3;for(n=0;n<a.length;++n)for(r=0;r<a[n].length;++r){var v=a[n][r].length;v>p&&(p=v)}for(n=0;n<a.length;++n){for(r=0;r<a[n].length;++r)1===n?":"===a[n][r].slice(-1)?a[n][r]=i.helper.padEnd(a[n][r].slice(-1),p-1,"-")+":":a[n][r]=i.helper.padEnd(a[n][r],p,"-"):a[n][r]=i.helper.padEnd(a[n][r],p);o+="| "+a[n].join(" | ")+" |\n"}return o.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t,!0);return n.trim()})),i.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=i.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var o,i,a=n[r.type],s=t(r);if(a)for(o=0;o<a.length;o++)(i=a[o](r,e))&&e.dispatch(i);return s}}}).effects=n,t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},function(e,t,n){ -/*! - - diff v3.5.0 - -Software License Agreement (BSD License) - -Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com> - -All rights reserved. - -Redistribution and use of this software in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - -* Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -* Neither the name of Kevin Decker nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -@license -*/ -var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(2),s=n(3),c=n(5),l=n(6),u=n(7),d=n(8),f=n(9),h=n(10),p=n(11),v=n(13),m=n(14),g=n(16),b=n(17);t.Diff=i.default,t.diffChars=a.diffChars,t.diffWords=s.diffWords,t.diffWordsWithSpace=s.diffWordsWithSpace,t.diffLines=c.diffLines,t.diffTrimmedLines=c.diffTrimmedLines,t.diffSentences=l.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=h.applyPatch,t.applyPatches=h.applyPatches,t.parsePatch=p.parsePatch,t.merge=v.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=b.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,a=t.length,s=0,c=0;i<a;i++){var l=t[i];if(l.removed){if(l.value=e.join(r.slice(c,c+l.count)),c+=l.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!l.added&&o){var d=n.slice(s,s+l.count);d=d.map((function(e,t){var n=r[c+t];return n.length>e.length?n:e})),l.value=e.join(d)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(c+=l.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var a=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var c=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,d=c+l,f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=c&&h+1>=l)return s([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],h=f[n+1],p=(h?h.newPos:0)-n;d&&(f[n-1]=void 0);var v=d&&d.newPos+1<c,m=h&&0<=p&&p<l;if(v||m){if(!v||m&&d.newPos<h.newPos?(i=o(h),a.pushComponent(i.components,void 0,!0)):((i=d).newPos++,a.pushComponent(i.components,!0,void 0)),p=a.extractCommon(i,t,e,n),i.newPos+1>=c&&p+1>=l)return s(r(a,i.components,t,e,a.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var v=p();if(v)return v}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,a=e.newPos,s=a-r,c=0;a+1<o&&s+1<i&&this.equals(t[a+1],n[s+1]);)a++,s++,c++;return c&&e.components.push({count:c}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),l.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return l.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,c=/\S/,l=t.wordDiff=new i.default;l.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!c.test(e)&&!c.test(t)},l.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&s.test(t[n])&&s.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return s.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return s.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=t.lineDiff=new i.default;s.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.sentenceDiff=new i.default;a.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.cssDiff=new i.default;a.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return l.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o},s=n(5),c=Object.prototype.toString,l=t.jsonDiff=new a.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var a=void 0;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];var s=void 0;if("[object Array]"===c.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),a=0;a<e.length;a+=1)s[a]=u(e[a],t,n,o,i);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),s={},n.push(s);var l=[],d=void 0;for(d in e)e.hasOwnProperty(d)&&l.push(d);for(l.sort(),a=0;a<l.length;a+=1)s[d=l[a]]=u(e[d],t,n,o,d);t.pop(),n.pop()}else s=e;return s}l.useLongestToken=!0,l.tokenize=s.lineDiff.tokenize,l.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},l.equals=function(e,t){return a.default.prototype.equals.call(l,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.arrayDiff=new i.default;a.tokenize=function(e){return e.slice()},a.join=a.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=s,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=s(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,c=n.compareLine||function(e,t,n,r){return t===r},l=0,u=n.fuzzFactor||0,d=0,f=0,h=void 0,p=void 0;function v(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",a=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!c(t+1,r[t],i,a)&&++l>u)return!1;t++}}return!0}for(var m=0;m<s.length;m++){for(var g=s[m],b=r.length-g.oldLines,y=0,k=f+g.oldStart-1,_=(0,a.default)(k,d,b);void 0!==y;y=_())if(v(g,k+y)){g.offset=f+=y;break}if(void 0===y)return!1;d=g.offset+g.oldStart+g.oldLines}for(var w=0,O=0;O<s.length;O++){var S=s[O],E=S.oldStart+S.offset+w-1;w+=S.newLines-S.oldLines,E<0&&(E=0);for(var C=0;C<S.lines.length;C++){var T=S.lines[C],x=T.length>0?T[0]:" ",D=T.length>0?T.substr(1):T,M=S.linedelimiters[C];if(" "===x)E++;else if("-"===x)r.splice(E,1),i.splice(E,1);else if("+"===x)r.splice(E,0,D),i.splice(E,0,M),E++;else if("\\"===x){var j=S.lines[C-1]?S.lines[C-1][0]:null;"+"===j?h=!0:"-"===j&&(p=!0)}}}if(h)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var I=0;I<r.length-1;I++)r[I]=r[I]+i[I];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function a(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),i++}for(s(e),s(e),e.hunks=[];i<n.length;){var l=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(c());else{if(l&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(l));i++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),a=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(o[1]||"").trim(),i++}}function c(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},s=0,c=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var l=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;a.lines.push(n[i]),a.linedelimiters.push(r[i]||"\n"),"+"===l?s++:"-"===l?c++:" "===l&&(s++,c++)}if(s||1!==a.newLines||(a.newLines=0),c||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(c!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;i<n.length;)a();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,a=1;return function s(){if(r&&!i){if(o?a++:r=!1,e+a<=n)return a;i=!0}if(!o)return i||(r=!0),t<=e-a?-a++:(o=!0,s())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=s,t.merge=function(e,t,n){e=c(e,n),t=c(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(l(e)?l(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,a=0,s=0;o<e.hunks.length||i<t.hunks.length;){var p=e.hunks[o]||{oldStart:1/0},v=t.hunks[i]||{oldStart:1/0};if(d(p,v))r.hunks.push(f(p,a)),o++,s+=p.newLines-p.oldLines;else if(d(v,p))r.hunks.push(f(v,s)),i++,a+=v.newLines-v.oldLines;else{var m={oldStart:Math.min(p.oldStart,v.oldStart),oldLines:0,newStart:Math.min(p.newStart+a,v.oldStart+s),newLines:0,lines:[]};h(m,p.oldStart,p.lines,v.oldStart,v.lines),i++,o++,r.hunks.push(m)}}return r};var r=n(14),o=n(11),i=n(15);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function s(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function c(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return((0,r.structuredPatch)(void 0,void 0,t,e))}return e}function l(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function d(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function f(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function h(e,t,n,r,o){var i={offset:t,lines:n,index:0},c={offset:r,lines:o,index:0};for(g(e,i,c),g(e,c,i);i.index<i.lines.length&&c.index<c.lines.length;){var l=i.lines[i.index],u=c.lines[c.index];if("-"!==l[0]&&"+"!==l[0]||"-"!==u[0]&&"+"!==u[0])if("+"===l[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,a(y(i)))}else if("+"===u[0]&&" "===l[0]){var f;(f=e.lines).push.apply(f,a(y(c)))}else"-"===l[0]&&" "===u[0]?v(e,i,c):"-"===u[0]&&" "===l[0]?v(e,c,i,!0):l===u?(e.lines.push(l),i.index++,c.index++):m(e,y(i),y(c));else p(e,i,c)}b(e,i),b(e,c),s(e)}function p(e,t,n){var r=y(t),o=y(n);if(k(r)&&k(o)){var s,c;if((0,i.arrayStartsWith)(r,o)&&_(n,r,r.length-o.length))return void(s=e.lines).push.apply(s,a(r));if((0,i.arrayStartsWith)(o,r)&&_(t,o,o.length-r.length))return void(c=e.lines).push.apply(c,a(o))}else if((0,i.arrayEqual)(r,o)){var l;return void(l=e.lines).push.apply(l,a(r))}m(e,r,o)}function v(e,t,n,r){var o,i=y(t),s=function(e,t){for(var n=[],r=[],o=0,i=!1,a=!1;o<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],c=t[o];if("+"===c[0])break;if(i=i||" "!==s[0],r.push(c),o++,"+"===s[0])for(a=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];c.substr(1)===s.substr(1)?(n.push(s),e.index++):a=!0}if("+"===(t[o]||"")[0]&&i&&(a=!0),a)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);s.merged?(o=e.lines).push.apply(o,a(s.merged)):m(e,r?s:i,r?i:s)}function m(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function g(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function b(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function y(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function _(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=a,t.createPatch=function(e,t,n,r,o,i){return a(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,a,s,c){c||(c={}),void 0===c.context&&(c.context=4);var l=(0,r.diffLines)(n,i,c);function u(e){return e.map((function(e){return" "+e}))}l.push({value:"",lines:[]});for(var d=[],f=0,h=0,p=[],v=1,m=1,g=function(e){var t=l[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var a;if(!f){var s=l[e-1];f=v,h=m,s&&(p=c.context>0?u(s.lines.slice(-c.context)):[],f-=p.length,h-=p.length)}(a=p).push.apply(a,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:v+=r.length}else{if(f)if(r.length<=2*c.context&&e<l.length-2){var g;(g=p).push.apply(g,o(u(r)))}else{var b,y=Math.min(r.length,c.context);(b=p).push.apply(b,o(u(r.slice(0,y))));var k={oldStart:f,oldLines:v-f+y,newStart:h,newLines:m-h+y,lines:p};if(e>=l.length-2&&r.length<=c.context){var _=/\n$/.test(n),w=/\n$/.test(i);0!=r.length||_?_&&w||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,h=0,p=[]}v+=r.length,m+=r.length}},b=0;b<l.length;b++)g(b);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:s,hunks:d}}function a(e,t,n,r,o,a,s){var c=i(e,t,n,r,o,a,s),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+c.oldFileName+(void 0===c.oldHeader?"":"\t"+c.oldHeader)),l.push("+++ "+c.newFileName+(void 0===c.newHeader?"":"\t"+c.newHeader));for(var u=0;u<c.hunks.length;u++){var d=c.hunks[u];l.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),l.push.apply(l,d.lines)}return l.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],s=!0;return function e(d){var f=n?i(d):d,h={},p=!0,v={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){v.isRoot||(v.parent.node[v.key]=e),v.node=e,t&&(p=!1)},delete:function(e){delete v.parent.node[v.key],e&&(p=!1)},remove:function(e){c(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],e&&(p=!1)},keys:null,before:function(e){h.before=e},after:function(e){h.after=e},pre:function(e){h.pre=e},post:function(e){h.post=e},stop:function(){s=!1},block:function(){p=!1}};if(!s)return v;function m(){if("object"==typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=a(v.node)),v.isLeaf=0==v.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){v.circular=o[e];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}m();var g=t.call(v,v.node);return void 0!==g&&v.update&&v.update(g),h.before&&h.before.call(v,v.node),p?("object"!=typeof v.node||null===v.node||v.circular||(o.push(v),m(),l(v.keys,(function(t,o){r.push(t),h.pre&&h.pre.call(v,v.node[t],t);var i=e(v.node[t]);n&&u.call(v.node,t)&&(v.node[t]=i.node),i.isLast=o==v.keys.length-1,i.isFirst=0==o,h.post&&h.post.call(v,i),r.pop()})),o.pop()),h.after&&h.after.call(v,v.node),v):v}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(c(e))t=[];else if("[object Date]"===s(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===s(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===s(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===s(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===s(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===s(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return l(a(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var s=i(r);return e.push(r),t.push(s),l(a(r),(function(e){s[e]=n(r[e])})),e.pop(),t.pop(),s}return r}(this.value)};var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function s(e){return Object.prototype.toString.call(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};l(a(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t,n){"use strict"; -/** @license React v16.8.6 - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=n(51),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function b(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k={};function _(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||y}function w(){}function O(e,t,n){this.props=e,this.context=t,this.refs=k,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&b("85"),this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var S=O.prototype=new w;S.constructor=O,r(S,_.prototype),S.isPureReactComponent=!0;var E={current:null},C={current:null},T=Object.prototype.hasOwnProperty,x={key:!0,ref:!0,__self:!0,__source:!0};function D(e,t,n){var r=void 0,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,r)&&!x.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:C.current}}function M(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,I=[];function P(e,t,n,r){if(I.length){var o=I.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function R(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+L(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+L(s=t[l],l);c+=e(s,u,r,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=g&&t[g]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=n+L(s,l++),r,o);else"object"===s&&b("31","[object Object]"===(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function A(e,t){e.func.call(e.context,t,e.count++)}function z(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(M(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(j,"$&/")+"/"),R(e,z,t=P(t,i,r,o)),N(t)}function H(){var e=E.current;return null===e&&b("321"),e}var V={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;R(e,A,t=P(null,null,t,n)),N(t)},count:function(e){return R(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){return M(e)||b("143"),e}},createRef:function(){return{current:null}},Component:_,PureComponent:O,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return H().useCallback(e,t)},useContext:function(e,t){return H().useContext(e,t)},useEffect:function(e,t){return H().useEffect(e,t)},useImperativeHandle:function(e,t,n){return H().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return H().useLayoutEffect(e,t)},useMemo:function(e,t){return H().useMemo(e,t)},useReducer:function(e,t,n){return H().useReducer(e,t,n)},useRef:function(e){return H().useRef(e)},useState:function(e){return H().useState(e)},Fragment:s,StrictMode:c,Suspense:p,createElement:D,cloneElement:function(e,t,n){null==e&&b("267",e);var o=void 0,a=r({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=C.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)T.call(t,o)&&!x.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){u=Array(o);for(var d=0;d<o;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=D.bind(null,e);return t.type=e,t},isValidElement:M,version:"16.8.6",unstable_ConcurrentMode:f,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:C,assign:r}},B={default:V},U=B&&V||B;e.exports=U.default||U},function(e,t,n){"use strict"; -/** @license React v16.8.6 - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=n(1),o=n(51),i=n(135);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function s(e,t,n,r,o,i,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(u){this.onError(u)}}r||a("227");var c=!1,l=null,u=!1,d=null,f={onError:function(e){c=!0,l=e}};function h(e,t,n,r,o,i,a,u,d){c=!1,l=null,s.apply(f,arguments)}var p=null,v={};function m(){if(p)for(var e in v){var t=v[e],n=p.indexOf(e);if(-1<n||a("96",e),!b[n])for(var r in t.extractEvents||a("97",e),b[n]=t,n=t.eventTypes){var o=void 0,i=n[r],s=t,c=r;y.hasOwnProperty(c)&&a("99",c),y[c]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&g(l[o],s,c);o=!0}else i.registrationName?(g(i.registrationName,s,c),o=!0):o=!1;o||a("98",r,e)}}}function g(e,t,n){k[e]&&a("100",e),k[e]=t,_[e]=t.eventTypes[n].dependencies}var b=[],y={},k={},_={},w=null,O=null,S=null;function E(e,t,n){var r=e.type||"unknown-event";e.currentTarget=S(n),function(e,t,n,r,o,i,s,f,p){if(h.apply(this,arguments),c){if(c){var v=l;c=!1,l=null}else a("198"),v=void 0;u||(u=!0,d=v)}}(r,t,void 0,e),e.currentTarget=null}function C(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var x=null;function D(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)E(e,t[r],n[r]);else t&&E(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var M={injectEventPluginOrder:function(e){p&&a("101"),p=Array.prototype.slice.call(e),m()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];v.hasOwnProperty(t)&&v[t]===r||(v[t]&&a("102",t),v[t]=r,n=!0)}n&&m()}};function j(e,t){var n=e.stateNode;if(!n)return null;var r=w(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&a("231",t,typeof n),n)}function I(e){if(null!==e&&(x=C(x,e)),e=x,x=null,e&&(T(e,D),x&&a("95"),u))throw e=d,u=!1,d=null,e}var P=Math.random().toString(36).slice(2),N="__reactInternalInstance$"+P,R="__reactEventHandlers$"+P;function L(e){if(e[N])return e[N];for(;!e[N];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[N]).tag||6===e.tag?e:null}function A(e){return!(e=e[N])||5!==e.tag&&6!==e.tag?null:e}function z(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function F(e){return e[R]||null}function H(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function V(e,t,n){(t=j(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=C(n._dispatchListeners,t),n._dispatchInstances=C(n._dispatchInstances,e))}function B(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=H(t);for(t=n.length;0<t--;)V(n[t],"captured",e);for(t=0;t<n.length;t++)V(n[t],"bubbled",e)}}function U(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=j(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=C(n._dispatchListeners,t),n._dispatchInstances=C(n._dispatchInstances,e))}function W(e){e&&e.dispatchConfig.registrationName&&U(e._targetInst,null,e)}function K(e){T(e,B)}var Y=!("undefined"==typeof window||!window.document||!window.document.createElement);function $(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var q={animationend:$("Animation","AnimationEnd"),animationiteration:$("Animation","AnimationIteration"),animationstart:$("Animation","AnimationStart"),transitionend:$("Transition","TransitionEnd")},G={},Z={};function X(e){if(G[e])return G[e];if(!q[e])return e;var t,n=q[e];for(t in n)if(n.hasOwnProperty(t)&&t in Z)return G[e]=n[t];return e}Y&&(Z=document.createElement("div").style,"AnimationEvent"in window||(delete q.animationend.animation,delete q.animationiteration.animation,delete q.animationstart.animation),"TransitionEvent"in window||delete q.transitionend.transition);var Q=X("animationend"),J=X("animationiteration"),ee=X("animationstart"),te=X("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=null,oe=null,ie=null;function ae(){if(ie)return ie;var e,t,n=oe,r=n.length,o="value"in re?re.value:re.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return ie=o.slice(e,1<t?1-t:void 0)}function se(){return!0}function ce(){return!1}function le(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?se:ce,this.isPropagationStopped=ce,this}function ue(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function de(e){e instanceof this||a("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ue,e.release=de}o(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=se)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=se)},persist:function(){this.isPersistent=se},isPersistent:ce,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ce,this._dispatchInstances=this._dispatchListeners=null}}),le.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},le.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(le);var he=le.extend({data:null}),pe=le.extend({data:null}),ve=[9,13,27,32],me=Y&&"CompositionEvent"in window,ge=null;Y&&"documentMode"in document&&(ge=document.documentMode);var be=Y&&"TextEvent"in window&&!ge,ye=Y&&(!me||ge&&8<ge&&11>=ge),ke=String.fromCharCode(32),_e={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function Oe(e,t){switch(e){case"keyup":return-1!==ve.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ee=!1;var Ce={eventTypes:_e,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(me)e:{switch(e){case"compositionstart":o=_e.compositionStart;break e;case"compositionend":o=_e.compositionEnd;break e;case"compositionupdate":o=_e.compositionUpdate;break e}o=void 0}else Ee?Oe(e,n)&&(o=_e.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=_e.compositionStart);return o?(ye&&"ko"!==n.locale&&(Ee||o!==_e.compositionStart?o===_e.compositionEnd&&Ee&&(i=ae()):(oe="value"in(re=r)?re.value:re.textContent,Ee=!0)),o=he.getPooled(o,t,n,r),i?o.data=i:null!==(i=Se(n))&&(o.data=i),K(o),i=o):i=null,(e=be?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(we=!0,ke);case"textInput":return(e=t.data)===ke&&we?null:e;default:return null}}(e,n):function(e,t){if(Ee)return"compositionend"===e||!me&&Oe(e,t)?(e=ae(),ie=oe=re=null,Ee=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ye&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=pe.getPooled(_e.beforeInput,t,n,r)).data=e,K(t)):t=null,null===i?t:null===t?i:[i,t]}},Te=null,xe=null,De=null;function Me(e){if(e=O(e)){"function"!=typeof Te&&a("280");var t=w(e.stateNode);Te(e.stateNode,e.type,t)}}function je(e){xe?De?De.push(e):De=[e]:xe=e}function Ie(){if(xe){var e=xe,t=De;if(De=xe=null,Me(e),t)for(e=0;e<t.length;e++)Me(t[e])}}function Pe(e,t){return e(t)}function Ne(e,t,n){return e(t,n)}function Re(){}var Le=!1;function Ae(e,t){if(Le)return e(t);Le=!0;try{return Pe(e,t)}finally{Le=!1,(null!==xe||null!==De)&&(Re(),Ie())}}var ze={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ze[e.type]:"textarea"===t}function He(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ve(e){if(!Y)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function Be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ue(e){e._valueTracker||(e._valueTracker=function(e){var t=Be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function We(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ke=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ke.hasOwnProperty("ReactCurrentDispatcher")||(Ke.ReactCurrentDispatcher={current:null});var Ye=/^(.*)[\\\/]/,$e="function"==typeof Symbol&&Symbol.for,qe=$e?Symbol.for("react.element"):60103,Ge=$e?Symbol.for("react.portal"):60106,Ze=$e?Symbol.for("react.fragment"):60107,Xe=$e?Symbol.for("react.strict_mode"):60108,Qe=$e?Symbol.for("react.profiler"):60114,Je=$e?Symbol.for("react.provider"):60109,et=$e?Symbol.for("react.context"):60110,tt=$e?Symbol.for("react.concurrent_mode"):60111,nt=$e?Symbol.for("react.forward_ref"):60112,rt=$e?Symbol.for("react.suspense"):60113,ot=$e?Symbol.for("react.memo"):60115,it=$e?Symbol.for("react.lazy"):60116,at="function"==typeof Symbol&&Symbol.iterator;function st(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=at&&e[at]||e["@@iterator"])?e:null}function ct(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case tt:return"ConcurrentMode";case Ze:return"Fragment";case Ge:return"Portal";case Qe:return"Profiler";case Xe:return"StrictMode";case rt:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case et:return"Context.Consumer";case Je:return"Context.Provider";case nt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ot:return ct(e.type);case it:if(e=1===e._status?e._result:null)return ct(e)}return null}function lt(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ct(e.type);n=null,r&&(n=ct(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Ye,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var ut=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dt=Object.prototype.hasOwnProperty,ft={},ht={};function pt(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){vt[e]=new pt(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];vt[t]=new pt(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){vt[e]=new pt(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){vt[e]=new pt(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){vt[e]=new pt(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){vt[e]=new pt(e,3,!0,e,null)})),["capture","download"].forEach((function(e){vt[e]=new pt(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){vt[e]=new pt(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){vt[e]=new pt(e,5,!1,e.toLowerCase(),null)}));var mt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function bt(e,t,n,r){var o=vt.hasOwnProperty(t)?vt[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!dt.call(ht,e)||!dt.call(ft,e)&&(ut.test(e)?ht[e]=!0:(ft[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function yt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function kt(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function _t(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=yt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function wt(e,t){null!=(t=t.checked)&&bt(e,"checked",t,!1)}function Ot(e,t){wt(e,t);var n=yt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Et(e,t.type,n):t.hasOwnProperty("defaultValue")&&Et(e,t.type,yt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function St(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Et(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(mt,gt);vt[t]=new pt(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(mt,gt);vt[t]=new pt(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(mt,gt);vt[t]=new pt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){vt[e]=new pt(e,1,!1,e.toLowerCase(),null)}));var Ct={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Tt(e,t,n){return(e=le.getPooled(Ct.change,e,t,n)).type="change",je(n),K(e),e}var xt=null,Dt=null;function Mt(e){I(e)}function jt(e){if(We(z(e)))return e}function It(e,t){if("change"===e)return t}var Pt=!1;function Nt(){xt&&(xt.detachEvent("onpropertychange",Rt),Dt=xt=null)}function Rt(e){"value"===e.propertyName&&jt(Dt)&&Ae(Mt,e=Tt(Dt,e,He(e)))}function Lt(e,t,n){"focus"===e?(Nt(),Dt=n,(xt=t).attachEvent("onpropertychange",Rt)):"blur"===e&&Nt()}function At(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jt(Dt)}function zt(e,t){if("click"===e)return jt(t)}function Ft(e,t){if("input"===e||"change"===e)return jt(t)}Y&&(Pt=Ve("input")&&(!document.documentMode||9<document.documentMode));var Ht={eventTypes:Ct,_isInputEventSupported:Pt,extractEvents:function(e,t,n,r){var o=t?z(t):window,i=void 0,a=void 0,s=o.nodeName&&o.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===o.type?i=It:Fe(o)?Pt?i=Ft:(i=At,a=Lt):(s=o.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=zt),i&&(i=i(e,t)))return Tt(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Et(o,"number",o.value)}},Vt=le.extend({view:null,detail:null}),Bt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ut(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Bt[e])&&!!t[e]}function Wt(){return Ut}var Kt=0,Yt=0,$t=!1,qt=!1,Gt=Vt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Wt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Kt;return Kt=e.screenX,$t?"mousemove"===e.type?e.screenX-t:0:($t=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Yt;return Yt=e.screenY,qt?"mousemove"===e.type?e.screenY-t:0:(qt=!0,0)}}),Zt=Gt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Xt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Qt={eventTypes:Xt,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?L(t):null):i=null,i===t)return null;var a=void 0,s=void 0,c=void 0,l=void 0;"mouseout"===e||"mouseover"===e?(a=Gt,s=Xt.mouseLeave,c=Xt.mouseEnter,l="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Zt,s=Xt.pointerLeave,c=Xt.pointerEnter,l="pointer");var u=null==i?o:z(i);if(o=null==t?o:z(t),(e=a.getPooled(s,i,n,r)).type=l+"leave",e.target=u,e.relatedTarget=o,(n=a.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=u,r=t,i&&r)e:{for(o=r,l=0,a=t=i;a;a=H(a))l++;for(a=0,c=o;c;c=H(c))a++;for(;0<l-a;)t=H(t),l--;for(;0<a-l;)o=H(o),a--;for(;l--;){if(t===o||t===o.alternate)break e;t=H(t),o=H(o)}t=null}else t=null;for(o=t,t=[];i&&i!==o&&(null===(l=i.alternate)||l!==o);)t.push(i),i=H(i);for(i=[];r&&r!==o&&(null===(l=r.alternate)||l!==o);)i.push(r),r=H(r);for(r=0;r<t.length;r++)U(t[r],"bubbled",e);for(r=i.length;0<r--;)U(i[r],"captured",n);return[e,n]}};function Jt(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var en=Object.prototype.hasOwnProperty;function tn(e,t){if(Jt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!en.call(t,n[r])||!Jt(e[n[r]],t[n[r]]))return!1;return!0}function nn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function rn(e){2!==nn(e)&&a("188")}function on(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=nn(e))&&a("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var s=o.child;s;){if(s===n)return rn(o),e;if(s===r)return rn(o),t;s=s.sibling}a("188")}if(n.return!==r.return)n=o,r=i;else{s=!1;for(var c=o.child;c;){if(c===n){s=!0,n=o,r=i;break}if(c===r){s=!0,r=o,n=i;break}c=c.sibling}if(!s){for(c=i.child;c;){if(c===n){s=!0,n=i,r=o;break}if(c===r){s=!0,r=i,n=o;break}c=c.sibling}s||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var an=le.extend({animationName:null,elapsedTime:null,pseudoElement:null}),sn=le.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),cn=Vt.extend({relatedTarget:null});function ln(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var un={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fn=Vt.extend({key:function(e){if(e.key){var t=un[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ln(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?dn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Wt,charCode:function(e){return"keypress"===e.type?ln(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ln(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),hn=Gt.extend({dataTransfer:null}),pn=Vt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Wt}),vn=le.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),mn=Gt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),gn=[["abort","abort"],[Q,"animationEnd"],[J,"animationIteration"],[ee,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[te,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],bn={},yn={};function kn(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},bn[e]=t,yn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach((function(e){kn(e,!0)})),gn.forEach((function(e){kn(e,!1)}));var _n={eventTypes:bn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=yn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=yn[e];if(!o)return null;switch(e){case"keypress":if(0===ln(n))return null;case"keydown":case"keyup":e=fn;break;case"blur":case"focus":e=cn;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Gt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=pn;break;case Q:case J:case ee:e=an;break;case te:e=vn;break;case"scroll":e=Vt;break;case"wheel":e=mn;break;case"copy":case"cut":case"paste":e=sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Zt;break;default:e=le}return K(t=e.getPooled(o,t,n,r)),t}},wn=_n.isInteractiveTopLevelEventType,On=[];function Sn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=L(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=He(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=null,s=0;s<b.length;s++){var c=b[s];c&&(c=c.extractEvents(r,t,i,o))&&(a=C(a,c))}I(a)}}var En=!0;function Cn(e,t){if(!t)return null;var n=(wn(e)?xn:Dn).bind(null,e);t.addEventListener(e,n,!1)}function Tn(e,t){if(!t)return null;var n=(wn(e)?xn:Dn).bind(null,e);t.addEventListener(e,n,!0)}function xn(e,t){Ne(Dn,e,t)}function Dn(e,t){if(En){var n=He(t);if(null===(n=L(n))||"number"!=typeof n.tag||2===nn(n)||(n=null),On.length){var r=On.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Ae(Sn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>On.length&&On.push(e)}}}var Mn={},jn=0,In="_reactListenersID"+(""+Math.random()).slice(2);function Pn(e){return Object.prototype.hasOwnProperty.call(e,In)||(e[In]=jn++,Mn[e[In]]={}),Mn[e[In]]}function Nn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(Gs){return e.body}}function Rn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ln(e,t){var n,r=Rn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Rn(r)}}function An(){for(var e=window,t=Nn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Nn((e=t.contentWindow).document)}return t}function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Fn(e){var t=An(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&zn(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ln(n,i);var a=Ln(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hn=Y&&"documentMode"in document&&11>=document.documentMode,Vn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Bn=null,Un=null,Wn=null,Kn=!1;function Yn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kn||null==Bn||Bn!==Nn(n)?null:("selectionStart"in(n=Bn)&&zn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Wn&&tn(Wn,n)?null:(Wn=n,(e=le.getPooled(Vn.select,Un,e,t)).type="select",e.target=Bn,K(e),e))}var $n={eventTypes:Vn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Pn(i),o=_.onSelect;for(var a=0;a<o.length;a++){var s=o[a];if(!i.hasOwnProperty(s)||!i[s]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?z(t):window,e){case"focus":(Fe(i)||"true"===i.contentEditable)&&(Bn=i,Un=t,Wn=null);break;case"blur":Wn=Un=Bn=null;break;case"mousedown":Kn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kn=!1,Yn(n,r);case"selectionchange":if(Hn)break;case"keydown":case"keyup":return Yn(n,r)}return null}};function qn(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Gn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+yt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Zn(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:yt(n)}}function Qn(e,t){var n=yt(t.value),r=yt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Jn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w=F,O=A,S=z,M.injectEventPluginsByName({SimpleEventPlugin:_n,EnterLeaveEventPlugin:Qt,ChangeEventPlugin:Ht,SelectEventPlugin:$n,BeforeInputEventPlugin:Ce});var er={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function tr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function nr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?tr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var rr=void 0,or=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==er.svg||"innerHTML"in e)e.innerHTML=t;else{for((rr=rr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=rr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ir(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ar={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sr=["Webkit","ms","Moz","O"];function cr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ar.hasOwnProperty(e)&&ar[e]?(""+t).trim():t+"px"}function lr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=cr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ar).forEach((function(e){sr.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ar[t]=ar[e]}))}));var ur=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dr(e,t){t&&(ur[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!=typeof t.style&&a("62",""))}function fr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function hr(e,t){var n=Pn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=_[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":Tn("scroll",e);break;case"focus":case"blur":Tn("focus",e),Tn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":Ve(o)&&Tn(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===ne.indexOf(o)&&Cn(o,e)}n[o]=!0}}}function pr(){}var vr=null,mr=null;function gr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function br(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var yr="function"==typeof setTimeout?setTimeout:void 0,kr="function"==typeof clearTimeout?clearTimeout:void 0,_r=i.unstable_scheduleCallback,wr=i.unstable_cancelCallback;function Or(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Sr(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Er=[],Cr=-1;function Tr(e){0>Cr||(e.current=Er[Cr],Er[Cr]=null,Cr--)}function xr(e,t){Er[++Cr]=e.current,e.current=t}var Dr={},Mr={current:Dr},jr={current:!1},Ir=Dr;function Pr(e,t){var n=e.type.contextTypes;if(!n)return Dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Nr(e){return null!=(e=e.childContextTypes)}function Rr(e){Tr(jr),Tr(Mr)}function Lr(e){Tr(jr),Tr(Mr)}function Ar(e,t,n){Mr.current!==Dr&&a("168"),xr(Mr,t),xr(jr,n)}function zr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())i in e||a("108",ct(t)||"Unknown",i);return o({},n,r)}function Fr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Dr,Ir=Mr.current,xr(Mr,t),xr(jr,jr.current),!0}function Hr(e,t,n){var r=e.stateNode;r||a("169"),n?(t=zr(e,t,Ir),r.__reactInternalMemoizedMergedChildContext=t,Tr(jr),Tr(Mr),xr(Mr,t)):Tr(jr),xr(jr,n)}var Vr=null,Br=null;function Ur(e){return function(t){try{return e(t)}catch(n){}}}function Wr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Kr(e,t,n,r){return new Wr(e,t,n,r)}function Yr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $r(e,t){var n=e.alternate;return null===n?((n=Kr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qr(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)Yr(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case Ze:return Gr(n.children,o,i,t);case tt:return Zr(n,3|o,i,t);case Xe:return Zr(n,2|o,i,t);case Qe:return(e=Kr(12,n,t,4|o)).elementType=Qe,e.type=Qe,e.expirationTime=i,e;case rt:return(e=Kr(13,n,t,o)).elementType=rt,e.type=rt,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Je:s=10;break e;case et:s=9;break e;case nt:s=11;break e;case ot:s=14;break e;case it:s=16,r=null;break e}a("130",null==e?e:typeof e,"")}return(t=Kr(s,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Gr(e,t,n,r){return(e=Kr(7,e,r,t)).expirationTime=n,e}function Zr(e,t,n,r){return e=Kr(8,e,r,t),t=0==(1&t)?Xe:tt,e.elementType=t,e.type=t,e.expirationTime=n,e}function Xr(e,t,n){return(e=Kr(6,e,null,t)).expirationTime=n,e}function Qr(e,t,n){return(t=Kr(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jr(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),no(t,e)}function eo(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:r>t&&(e.latestSuspendedTime=t),no(t,e)}function to(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function no(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;0===(o=0!==o?o:i)&&(0===e||r<e)&&(o=r),0!==(e=o)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function ro(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var oo=(new r.Component).refs;function io(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var ao={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===nn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Es(),o=Zi(r=Za(r,e));o.payload=t,null!=n&&(o.callback=n),Wa(),Qi(e,o),es(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Es(),o=Zi(r=Za(r,e));o.tag=Wi,o.payload=t,null!=n&&(o.callback=n),Wa(),Qi(e,o),es(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Es(),r=Zi(n=Za(n,e));r.tag=Ki,null!=t&&(r.callback=t),Wa(),Qi(e,r),es(e,n)}};function so(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!tn(n,r)||!tn(o,i))}function co(e,t,n){var r=!1,o=Dr,i=t.contextType;return"object"==typeof i&&null!==i?i=Bi(i):(o=Nr(t)?Ir:Mr.current,i=(r=null!=(r=t.contextTypes))?Pr(e,o):Dr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ao,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function lo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ao.enqueueReplaceState(t,t.state,null)}function uo(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=oo;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Bi(i):(i=Nr(t)?Ir:Mr.current,o.context=Pr(e,i)),null!==(i=e.updateQueue)&&(na(e,i,n,o,r),o.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(io(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&ao.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(na(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var fo=Array.isArray;function ho(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&a("309"),r=n.stateNode),r||a("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===oo&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&a("284"),n._owner||a("290",e)}return e}function po(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function vo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=$r(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Xr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ho(e,t,n),r.return=e,r):((r=qr(n.type,n.key,n.props,null,e.mode,r)).ref=ho(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Qr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Gr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Xr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case qe:return(n=qr(t.type,t.key,t.props,null,e.mode,n)).ref=ho(e,null,t),n.return=e,n;case Ge:return(t=Qr(t,e.mode,n)).return=e,t}if(fo(t)||st(t))return(t=Gr(t,e.mode,n,null)).return=e,t;po(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case qe:return n.key===o?n.type===Ze?d(e,t,n.props.children,r,o):l(e,t,n,r):null;case Ge:return n.key===o?u(e,t,n,r):null}if(fo(n)||st(n))return null!==o?null:d(e,t,n,r,null);po(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case qe:return e=e.get(null===r.key?n:r.key)||null,r.type===Ze?d(t,e,r.props.children,o,r.key):l(t,e,r,o);case Ge:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(fo(r)||st(r))return d(t,e=e.get(n)||null,r,o,null);po(t,r)}return null}function v(o,a,s,c){for(var l=null,u=null,d=a,v=a=0,m=null;null!==d&&v<s.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=h(o,d,s[v],c);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(o,d),a=i(g,a,v),null===u?l=g:u.sibling=g,u=g,d=m}if(v===s.length)return n(o,d),l;if(null===d){for(;v<s.length;v++)(d=f(o,s[v],c))&&(a=i(d,a,v),null===u?l=d:u.sibling=d,u=d);return l}for(d=r(o,d);v<s.length;v++)(m=p(d,o,v,s[v],c))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),a=i(m,a,v),null===u?l=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(o,e)})),l}function m(o,s,c,l){var u=st(c);"function"!=typeof u&&a("150"),null==(c=u.call(c))&&a("151");for(var d=u=null,v=s,m=s=0,g=null,b=c.next();null!==v&&!b.done;m++,b=c.next()){v.index>m?(g=v,v=null):g=v.sibling;var y=h(o,v,b.value,l);if(null===y){v||(v=g);break}e&&v&&null===y.alternate&&t(o,v),s=i(y,s,m),null===d?u=y:d.sibling=y,d=y,v=g}if(b.done)return n(o,v),u;if(null===v){for(;!b.done;m++,b=c.next())null!==(b=f(o,b.value,l))&&(s=i(b,s,m),null===d?u=b:d.sibling=b,d=b);return u}for(v=r(o,v);!b.done;m++,b=c.next())null!==(b=p(v,o,m,b.value,l))&&(e&&null!==b.alternate&&v.delete(null===b.key?m:b.key),s=i(b,s,m),null===d?u=b:d.sibling=b,d=b);return e&&v.forEach((function(e){return t(o,e)})),u}return function(e,r,i,c){var l="object"==typeof i&&null!==i&&i.type===Ze&&null===i.key;l&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case qe:e:{for(u=i.key,l=r;null!==l;){if(l.key===u){if(7===l.tag?i.type===Ze:l.elementType===i.type){n(e,l.sibling),(r=o(l,i.type===Ze?i.props.children:i.props)).ref=ho(e,l,i),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}i.type===Ze?((r=Gr(i.props.children,e.mode,c,i.key)).return=e,e=r):((c=qr(i.type,i.key,i.props,null,e.mode,c)).ref=ho(e,r,i),c.return=e,e=c)}return s(e);case Ge:e:{for(l=i.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Qr(i,e.mode,c)).return=e,e=r}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Xr(i,e.mode,c)).return=e,e=r),s(e);if(fo(i))return v(e,r,i,c);if(st(i))return m(e,r,i,c);if(u&&po(e,i),void 0===i&&!l)switch(e.tag){case 1:case 0:a("152",(c=e.type).displayName||c.name||"Component")}return n(e,r)}}var mo=vo(!0),go=vo(!1),bo={},yo={current:bo},ko={current:bo},_o={current:bo};function wo(e){return e===bo&&a("174"),e}function Oo(e,t){xr(_o,t),xr(ko,e),xr(yo,bo);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:nr(null,"");break;default:t=nr(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Tr(yo),xr(yo,t)}function So(e){Tr(yo),Tr(ko),Tr(_o)}function Eo(e){wo(_o.current);var t=wo(yo.current),n=nr(t,e.type);t!==n&&(xr(ko,e),xr(yo,n))}function Co(e){ko.current===e&&(Tr(yo),Tr(ko))}var To=0,xo=2,Do=4,Mo=8,jo=16,Io=32,Po=64,No=128,Ro=Ke.ReactCurrentDispatcher,Lo=0,Ao=null,zo=null,Fo=null,Ho=null,Vo=null,Bo=null,Uo=0,Wo=null,Ko=0,Yo=!1,$o=null,qo=0;function Go(){a("321")}function Zo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jt(e[n],t[n]))return!1;return!0}function Xo(e,t,n,r,o,i){if(Lo=i,Ao=t,Fo=null!==e?e.memoizedState:null,Ro.current=null===Fo?ui:di,t=n(r,o),Yo){do{Yo=!1,qo+=1,Fo=null!==e?e.memoizedState:null,Bo=Ho,Wo=Vo=zo=null,Ro.current=di,t=n(r,o)}while(Yo);$o=null,qo=0}return Ro.current=li,(e=Ao).memoizedState=Ho,e.expirationTime=Uo,e.updateQueue=Wo,e.effectTag|=Ko,e=null!==zo&&null!==zo.next,Lo=0,Bo=Vo=Ho=Fo=zo=Ao=null,Uo=0,Wo=null,Ko=0,e&&a("300"),t}function Qo(){Ro.current=li,Lo=0,Bo=Vo=Ho=Fo=zo=Ao=null,Uo=0,Wo=null,Ko=0,Yo=!1,$o=null,qo=0}function Jo(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Vo?Ho=Vo=e:Vo=Vo.next=e,Vo}function ei(){if(null!==Bo)Bo=(Vo=Bo).next,Fo=null!==(zo=Fo)?zo.next:null;else{null===Fo&&a("310");var e={memoizedState:(zo=Fo).memoizedState,baseState:zo.baseState,queue:zo.queue,baseUpdate:zo.baseUpdate,next:null};Vo=null===Vo?Ho=e:Vo.next=e,Fo=zo.next}return Vo}function ti(e,t){return"function"==typeof t?t(e):t}function ni(e){var t=ei(),n=t.queue;if(null===n&&a("311"),n.lastRenderedReducer=e,0<qo){var r=n.dispatch;if(null!==$o){var o=$o.get(n);if(void 0!==o){$o.delete(n);var i=t.memoizedState;do{i=e(i,o.action),o=o.next}while(null!==o);return Jt(i,t.memoizedState)||(wi=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,r]}}return[t.memoizedState,r]}r=n.last;var s=t.baseUpdate;if(i=t.baseState,null!==s?(null!==r&&(r.next=null),r=s.next):r=null!==r?r.next:null,null!==r){var c=o=null,l=r,u=!1;do{var d=l.expirationTime;d<Lo?(u||(u=!0,c=s,o=i),d>Uo&&(Uo=d)):i=l.eagerReducer===e?l.eagerState:e(i,l.action),s=l,l=l.next}while(null!==l&&l!==r);u||(c=s,o=i),Jt(i,t.memoizedState)||(wi=!0),t.memoizedState=i,t.baseUpdate=c,t.baseState=o,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function ri(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Wo?(Wo={lastEffect:null}).lastEffect=e.next=e:null===(t=Wo.lastEffect)?Wo.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Wo.lastEffect=e),e}function oi(e,t,n,r){var o=Jo();Ko|=e,o.memoizedState=ri(t,n,void 0,void 0===r?null:r)}function ii(e,t,n,r){var o=ei();r=void 0===r?null:r;var i=void 0;if(null!==zo){var a=zo.memoizedState;if(i=a.destroy,null!==r&&Zo(r,a.deps))return void ri(To,n,i,r)}Ko|=e,o.memoizedState=ri(t,n,i,r)}function ai(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function si(){}function ci(e,t,n){25>qo||a("301");var r=e.alternate;if(e===Ao||null!==r&&r===Ao)if(Yo=!0,e={expirationTime:Lo,action:n,eagerReducer:null,eagerState:null,next:null},null===$o&&($o=new Map),void 0===(n=$o.get(t)))$o.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Wa();var o=Es(),i={expirationTime:o=Za(o,e),action:n,eagerReducer:null,eagerState:null,next:null},s=t.last;if(null===s)i.next=i;else{var c=s.next;null!==c&&(i.next=c),s.next=i}if(t.last=i,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=r(l,n);if(i.eagerReducer=r,i.eagerState=u,Jt(u,l))return}catch(d){}es(e,o)}}var li={readContext:Bi,useCallback:Go,useContext:Go,useEffect:Go,useImperativeHandle:Go,useLayoutEffect:Go,useMemo:Go,useReducer:Go,useRef:Go,useState:Go,useDebugValue:Go},ui={readContext:Bi,useCallback:function(e,t){return Jo().memoizedState=[e,void 0===t?null:t],e},useContext:Bi,useEffect:function(e,t){return oi(516,No|Po,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oi(4,Do|Io,ai.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oi(4,Do|Io,e,t)},useMemo:function(e,t){var n=Jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ci.bind(null,Ao,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Jo().memoizedState=e},useState:function(e){var t=Jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ti,lastRenderedState:e}).dispatch=ci.bind(null,Ao,e),[t.memoizedState,e]},useDebugValue:si},di={readContext:Bi,useCallback:function(e,t){var n=ei();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Bi,useEffect:function(e,t){return ii(516,No|Po,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ii(4,Do|Io,ai.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ii(4,Do|Io,e,t)},useMemo:function(e,t){var n=ei();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:ni,useRef:function(){return ei().memoizedState},useState:function(e){return ni(ti)},useDebugValue:si},fi=null,hi=null,pi=!1;function vi(e,t){var n=Kr(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function mi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function gi(e){if(pi){var t=hi;if(t){var n=t;if(!mi(e,t)){if(!(t=Or(n))||!mi(e,t))return e.effectTag|=2,pi=!1,void(fi=e);vi(fi,n)}fi=e,hi=Sr(t)}else e.effectTag|=2,pi=!1,fi=e}}function bi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;fi=e}function yi(e){if(e!==fi)return!1;if(!pi)return bi(e),pi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!br(t,e.memoizedProps))for(t=hi;t;)vi(e,t),t=Or(t);return bi(e),hi=fi?Or(e.stateNode):null,!0}function ki(){hi=fi=null,pi=!1}var _i=Ke.ReactCurrentOwner,wi=!1;function Oi(e,t,n,r){t.child=null===e?go(t,null,n,r):mo(t,e.child,n,r)}function Si(e,t,n,r,o){n=n.render;var i=t.ref;return Vi(t,o),r=Xo(e,t,n,r,i,o),null===e||wi?(t.effectTag|=1,Oi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Pi(e,t,o))}function Ei(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Yr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=qr(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ci(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:tn)(o,r)&&e.ref===t.ref)?Pi(e,t,i):(t.effectTag|=1,(e=$r(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ci(e,t,n,r,o,i){return null!==e&&tn(e.memoizedProps,r)&&e.ref===t.ref&&(wi=!1,o<i)?Pi(e,t,i):xi(e,t,n,r,i)}function Ti(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function xi(e,t,n,r,o){var i=Nr(n)?Ir:Mr.current;return i=Pr(t,i),Vi(t,o),n=Xo(e,t,n,r,i,o),null===e||wi?(t.effectTag|=1,Oi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Pi(e,t,o))}function Di(e,t,n,r,o){if(Nr(n)){var i=!0;Fr(t)}else i=!1;if(Vi(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),co(t,n,r),uo(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Bi(l):l=Pr(t,l=Nr(n)?Ir:Mr.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&lo(t,a,r,l),$i=!1;var f=t.memoizedState;c=a.state=f;var h=t.updateQueue;null!==h&&(na(t,h,r,a,o),c=t.memoizedState),s!==r||f!==c||jr.current||$i?("function"==typeof u&&(io(t,n,u,r),c=t.memoizedState),(s=$i||so(t,n,s,r,f,c,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:ro(t.type,s),c=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Bi(l):l=Pr(t,l=Nr(n)?Ir:Mr.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&lo(t,a,r,l),$i=!1,c=t.memoizedState,f=a.state=c,null!==(h=t.updateQueue)&&(na(t,h,r,a,o),f=t.memoizedState),s!==r||c!==f||jr.current||$i?("function"==typeof u&&(io(t,n,u,r),f=t.memoizedState),(u=$i||so(t,n,s,r,c,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Mi(e,t,n,r,i,o)}function Mi(e,t,n,r,o,i){Ti(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Hr(t,n,!1),Pi(e,t,i);r=t.stateNode,_i.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=mo(t,e.child,null,i),t.child=mo(t,null,s,i)):Oi(e,t,s,i),t.memoizedState=r.state,o&&Hr(t,n,!0),t.child}function ji(e){var t=e.stateNode;t.pendingContext?Ar(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ar(0,t.context,!1),Oo(e,t.containerInfo)}function Ii(e,t,n){var r=t.mode,o=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var s=o.fallback;e=Gr(null,r,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),r=Gr(s,r,n,null),e.sibling=r,(n=e).return=r.return=t}else n=r=go(t,null,o.children,n);else null!==e.memoizedState?(s=(r=e.child).sibling,a?(n=o.fallback,o=$r(r,r.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==r.child&&(o.child=a)),r=o.sibling=$r(s,n,s.expirationTime),n=o,o.childExpirationTime=0,n.return=r.return=t):n=r=mo(t,r.child,o.children,n)):(s=e.child,a?(a=o.fallback,(o=Gr(null,r,0,null)).child=s,0==(1&t.mode)&&(o.child=null!==t.memoizedState?t.child.child:t.child),(r=o.sibling=Gr(a,r,n,null)).effectTag|=2,n=o,o.childExpirationTime=0,n.return=r.return=t):r=n=mo(t,s,o.children,n)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=n,r}function Pi(e,t,n){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){for(n=$r(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$r(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Ni(e,t,n){var r=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||jr.current)wi=!0;else if(r<n){switch(wi=!1,t.tag){case 3:ji(t),ki();break;case 5:Eo(t);break;case 1:Nr(t.type)&&Fr(t);break;case 4:Oo(t,t.stateNode.containerInfo);break;case 10:Fi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ii(e,t,n):null!==(t=Pi(e,t,n))?t.sibling:null}return Pi(e,t,n)}}else wi=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var o=Pr(t,Mr.current);if(Vi(t,n),o=Xo(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,Qo(),Nr(r)){var i=!0;Fr(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var s=r.getDerivedStateFromProps;"function"==typeof s&&io(t,r,s,e),o.updater=ao,t.stateNode=o,o._reactInternalFiber=t,uo(t,r,e,n),t=Mi(null,t,r,!0,i,n)}else t.tag=0,Oi(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)})),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(o),t.type=e,o=t.tag=function(e){if("function"==typeof e)return Yr(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===ot)return 14}return 2}(e),i=ro(e,i),s=void 0,o){case 0:s=xi(null,t,e,i,n);break;case 1:s=Di(null,t,e,i,n);break;case 11:s=Si(null,t,e,i,n);break;case 14:s=Ei(null,t,e,ro(e.type,i),r,n);break;default:a("306",e,"")}return s;case 0:return r=t.type,o=t.pendingProps,xi(e,t,r,o=t.elementType===r?o:ro(r,o),n);case 1:return r=t.type,o=t.pendingProps,Di(e,t,r,o=t.elementType===r?o:ro(r,o),n);case 3:return ji(t),null===(r=t.updateQueue)&&a("282"),o=null!==(o=t.memoizedState)?o.element:null,na(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o?(ki(),t=Pi(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(hi=Sr(t.stateNode.containerInfo),fi=t,o=pi=!0),o?(t.effectTag|=2,t.child=go(t,null,r,n)):(Oi(e,t,r,n),ki()),t=t.child),t;case 5:return Eo(t),null===e&&gi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,br(r,o)?s=null:null!==i&&br(r,i)&&(t.effectTag|=16),Ti(e,t),1!==n&&1&t.mode&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Oi(e,t,s,n),t=t.child),t;case 6:return null===e&&gi(t),null;case 13:return Ii(e,t,n);case 4:return Oo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=mo(t,null,r,n):Oi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Si(e,t,r,o=t.elementType===r?o:ro(r,o),n);case 7:return Oi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Oi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,Fi(t,i=o.value),null!==s){var c=s.value;if(0===(i=Jt(c,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(c,i):1073741823))){if(s.children===o.children&&!jr.current){t=Pi(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var l=c.contextDependencies;if(null!==l){s=c.child;for(var u=l.first;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===c.tag&&((u=Zi(n)).tag=Ki,Qi(c,u)),c.expirationTime<n&&(c.expirationTime=n),null!==(u=c.alternate)&&u.expirationTime<n&&(u.expirationTime=n),u=n;for(var d=c.return;null!==d;){var f=d.alternate;if(d.childExpirationTime<u)d.childExpirationTime=u,null!==f&&f.childExpirationTime<u&&(f.childExpirationTime=u);else{if(!(null!==f&&f.childExpirationTime<u))break;f.childExpirationTime=u}d=d.return}l.expirationTime<n&&(l.expirationTime=n);break}u=u.next}}else s=10===c.tag&&c.type===t.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===t){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}}Oi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,Vi(t,n),r=r(o=Bi(o,i.unstable_observedBits)),t.effectTag|=1,Oi(e,t,r,n),t.child;case 14:return i=ro(o=t.type,t.pendingProps),Ei(e,t,o,i=ro(o.type,i),r,n);case 15:return Ci(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ro(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Nr(r)?(e=!0,Fr(t)):e=!1,Vi(t,n),co(t,r,o),uo(t,r,o,n),Mi(null,t,r,!0,e,n)}a("156")}var Ri={current:null},Li=null,Ai=null,zi=null;function Fi(e,t){var n=e.type._context;xr(Ri,n._currentValue),n._currentValue=t}function Hi(e){var t=Ri.current;Tr(Ri),e.type._context._currentValue=t}function Vi(e,t){Li=e,zi=Ai=null;var n=e.contextDependencies;null!==n&&n.expirationTime>=t&&(wi=!0),e.contextDependencies=null}function Bi(e,t){return zi!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(zi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ai?(null===Li&&a("308"),Ai=t,Li.contextDependencies={first:t,expirationTime:0}):Ai=Ai.next=t),e._currentValue}var Ui=0,Wi=1,Ki=2,Yi=3,$i=!1;function qi(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Gi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Zi(e){return{expirationTime:e,tag:Ui,payload:null,callback:null,next:null,nextEffect:null}}function Xi(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Qi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=qi(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=qi(e.memoizedState),o=n.updateQueue=qi(n.memoizedState)):r=e.updateQueue=Gi(o):null===o&&(o=n.updateQueue=Gi(r));null===o||r===o?Xi(r,t):null===r.lastUpdate||null===o.lastUpdate?(Xi(r,t),Xi(o,t)):(Xi(r,t),o.lastUpdate=t)}function Ji(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=qi(e.memoizedState):ea(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function ea(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Gi(t)),t}function ta(e,t,n,r,i,a){switch(n.tag){case Wi:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case Yi:e.effectTag=-2049&e.effectTag|64;case Ui:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return o({},r,i);case Ki:$i=!0}return r}function na(e,t,n,r,o){$i=!1;for(var i=(t=ea(e,t)).baseState,a=null,s=0,c=t.firstUpdate,l=i;null!==c;){var u=c.expirationTime;u<o?(null===a&&(a=c,i=l),s<u&&(s=u)):(l=ta(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=c:(t.lastEffect.nextEffect=c,t.lastEffect=c))),c=c.next}for(u=null,c=t.firstCapturedUpdate;null!==c;){var d=c.expirationTime;d<o?(null===u&&(u=c,null===a&&(i=l)),s<d&&(s=d)):(l=ta(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=c:(t.lastCapturedEffect.nextEffect=c,t.lastCapturedEffect=c))),c=c.next}null===a&&(t.lastUpdate=null),null===u?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===u&&(i=l),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=u,e.expirationTime=s,e.memoizedState=l}function ra(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),oa(t.firstEffect,n),t.firstEffect=t.lastEffect=null,oa(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function oa(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;"function"!=typeof n&&a("191",n),n.call(r)}e=e.nextEffect}}function ia(e,t){return{value:e,source:t,stack:lt(t)}}function aa(e){e.effectTag|=4}var sa=void 0,ca=void 0,la=void 0,ua=void 0;sa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ca=function(){},la=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var s=t.stateNode;switch(wo(yo.current),e=null,n){case"input":a=kt(s,a),r=kt(s,r),e=[];break;case"option":a=qn(s,a),r=qn(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Zn(s,a),r=Zn(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=pr)}dr(n,r),s=n=void 0;var c=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var l=a[n];for(s in l)l.hasOwnProperty(s)&&(c||(c={}),c[s]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(k.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var u=r[n];if(l=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&u!==l&&(null!=u||null!=l))if("style"===n)if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(c||(c={}),c[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(c||(c={}),c[s]=u[s])}else c||(e||(e=[]),e.push(n,c)),c=u;else"dangerouslySetInnerHTML"===n?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(e=e||[]).push(n,""+u)):"children"===n?l===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(n,""+u):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(k.hasOwnProperty(n)?(null!=u&&hr(i,n),e||l===u||(e=[])):(e=e||[]).push(n,u))}c&&(e=e||[]).push("style",c),i=e,(t.updateQueue=i)&&aa(t)}},ua=function(e,t,n,r){n!==r&&aa(t)};var da="function"==typeof WeakSet?WeakSet:Set;function fa(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=lt(n)),null!==n&&ct(n.type),t=t.value,null!==e&&1===e.tag&&ct(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function ha(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Ga(e,n)}else t.current=null}function pa(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if((r.tag&e)!==To){var o=r.destroy;r.destroy=void 0,void 0!==o&&o()}(r.tag&t)!==To&&(o=r.create,r.destroy=o()),r=r.next}while(r!==n)}}function va(e){switch("function"==typeof Br&&Br(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n.destroy;if(void 0!==r){var o=e;try{r()}catch(i){Ga(o,i)}}n=n.next}while(n!==t)}break;case 1:if(ha(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(i){Ga(e,i)}break;case 5:ha(e);break;case 4:ba(e)}}function ma(e){return 5===e.tag||3===e.tag||4===e.tag}function ga(e){e:{for(var t=e.return;null!==t;){if(ma(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:a("161")}16&n.effectTag&&(ir(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ma(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,s=o.stateNode,c=n;8===i.nodeType?i.parentNode.insertBefore(s,c):i.insertBefore(s,c)}else t.insertBefore(o.stateNode,n);else r?(s=t,c=o.stateNode,8===s.nodeType?(i=s.parentNode).insertBefore(c,s):(i=s).appendChild(c),null!=(s=s._reactRootContainer)||null!==i.onclick||(i.onclick=pr)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function ba(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,s=i;;)if(va(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(i=r,s=t.stateNode,8===i.nodeType?i.parentNode.removeChild(s):i.removeChild(s)):r.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){r=t.stateNode.containerInfo,o=!0,t.child.return=t,t=t.child;continue}}else if(va(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function ya(e,t){switch(t.tag){case 0:case 11:case 14:case 15:pa(Do,Mo,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o){e[R]=o,"input"===n&&"radio"===o.type&&null!=o.name&&wt(e,o),fr(n,r),r=fr(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],s=t[i+1];"style"===a?lr(e,s):"dangerouslySetInnerHTML"===a?or(e,s):"children"===a?ir(e,s):bt(e,a,s,r)}switch(n){case"input":Ot(e,o);break;case"textarea":Qn(e,o);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,null!=(n=o.value)?Gn(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?Gn(e,!!o.multiple,o.defaultValue,!0):Gn(e,!!o.multiple,o.multiple?[]:"",!1))}}(n,i,o,e,r)}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,r=void 0,e=t,null===n?r=!1:(r=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=Es())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r.style.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=cr("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(r=n.child.sibling).return=n,n=r;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,r),null!==(n=t.updateQueue)){t.updateQueue=null;var s=t.stateNode;null===s&&(s=t.stateNode=new da),n.forEach((function(e){var n=Qa.bind(null,t,e);s.has(e)||(s.add(e),e.then(n,n))}))}break;case 17:break;default:a("163")}}var ka="function"==typeof WeakMap?WeakMap:Map;function _a(e,t,n){(n=Zi(n)).tag=Yi,n.payload={element:null};var r=t.value;return n.callback=function(){Rs(r),fa(e,t)},n}function wa(e,t,n){(n=Zi(n)).tag=Yi;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===za?za=new Set([this]):za.add(this));var n=t.value,o=t.stack;fa(e,t),this.componentDidCatch(n,{componentStack:null!==o?o:""})}),n}function Oa(e){switch(e.tag){case 1:Nr(e.type)&&Rr();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return So(),Lr(),0!=(64&(t=e.effectTag))&&a("285"),e.effectTag=-2049&t|64,e;case 5:return Co(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return So(),null;case 10:return Hi(e),null;default:return null}}var Sa=Ke.ReactCurrentDispatcher,Ea=Ke.ReactCurrentOwner,Ca=1073741822,Ta=!1,xa=null,Da=null,Ma=0,ja=-1,Ia=!1,Pa=null,Na=!1,Ra=null,La=null,Aa=null,za=null;function Fa(){if(null!==xa)for(var e=xa.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!=n&&Rr();break;case 3:So(),Lr();break;case 5:Co(t);break;case 4:So();break;case 10:Hi(t)}e=e.return}Da=null,Ma=0,ja=-1,Ia=!1,xa=null}function Ha(){for(;null!==Pa;){var e=Pa.effectTag;if(16&e&&ir(Pa.stateNode,""),128&e){var t=Pa.alternate;null!==t&&(null!==(t=t.ref)&&("function"==typeof t?t(null):t.current=null))}switch(14&e){case 2:ga(Pa),Pa.effectTag&=-3;break;case 6:ga(Pa),Pa.effectTag&=-3,ya(Pa.alternate,Pa);break;case 4:ya(Pa.alternate,Pa);break;case 8:ba(e=Pa),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}Pa=Pa.nextEffect}}function Va(){for(;null!==Pa;){if(256&Pa.effectTag)e:{var e=Pa.alternate,t=Pa;switch(t.tag){case 0:case 11:case 15:pa(xo,To,t);break e;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:ro(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break e;case 3:case 5:case 6:case 4:case 17:break e;default:a("163")}}Pa=Pa.nextEffect}}function Ba(e,t){for(;null!==Pa;){var n=Pa.effectTag;if(36&n){var r=Pa.alternate,o=Pa,i=t;switch(o.tag){case 0:case 11:case 15:pa(jo,Io,o);break;case 1:var s=o.stateNode;if(4&o.effectTag)if(null===r)s.componentDidMount();else{var c=o.elementType===o.type?r.memoizedProps:ro(o.type,r.memoizedProps);s.componentDidUpdate(c,r.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}null!==(r=o.updateQueue)&&ra(0,r,s);break;case 3:if(null!==(r=o.updateQueue)){if(s=null,null!==o.child)switch(o.child.tag){case 5:s=o.child.stateNode;break;case 1:s=o.child.stateNode}ra(0,r,s)}break;case 5:i=o.stateNode,null===r&&4&o.effectTag&&gr(o.type,o.memoizedProps)&&i.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:a("163")}}128&n&&(null!==(o=Pa.ref)&&(i=Pa.stateNode,"function"==typeof o?o(i):o.current=i)),512&n&&(Ra=e),Pa=Pa.nextEffect}}function Ua(e,t){Aa=La=Ra=null;var n=as;as=!0;do{if(512&t.effectTag){var r=!1,o=void 0;try{var i=t;pa(No,To,i),pa(To,Po,i)}catch(a){r=!0,o=a}r&&Ga(t,o)}t=t.nextEffect}while(null!==t);as=n,0!==(n=e.expirationTime)&&Cs(e,n),fs||as||js(1073741823,!1)}function Wa(){null!==La&&wr(La),null!==Aa&&Aa()}function Ka(e,t){Na=Ta=!0,e.current===t&&a("177");var n=e.pendingCommitExpirationTime;0===n&&a("261"),e.pendingCommitExpirationTime=0;var r=t.expirationTime,o=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var n=e.latestPendingTime;0!==n&&(n>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?Jr(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,Jr(e,t)):t>n&&Jr(e,t)}no(0,e)}(e,o>r?o:r),Ea.current=null,r=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,vr=En,mr=function(){var e=An();if(zn(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(h){t=null;break e}var i=0,a=-1,s=-1,c=0,l=0,u=e,d=null;t:for(;;){for(var f;u!==t||0!==r&&3!==u.nodeType||(a=i+r),u!==o||0!==n&&3!==u.nodeType||(s=i+n),3===u.nodeType&&(i+=u.nodeValue.length),null!==(f=u.firstChild);)d=u,u=f;for(;;){if(u===e)break t;if(d===t&&++c===r&&(a=i),d===o&&++l===n&&(s=i),null!==(f=u.nextSibling))break;d=(u=d).parentNode}u=f}t=-1===a||-1===s?null:{start:a,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),En=!1,Pa=r;null!==Pa;){o=!1;var s=void 0;try{Va()}catch(l){o=!0,s=l}o&&(null===Pa&&a("178"),Ga(Pa,s),null!==Pa&&(Pa=Pa.nextEffect))}for(Pa=r;null!==Pa;){o=!1,s=void 0;try{Ha()}catch(l){o=!0,s=l}o&&(null===Pa&&a("178"),Ga(Pa,s),null!==Pa&&(Pa=Pa.nextEffect))}for(Fn(mr),mr=null,En=!!vr,vr=null,e.current=t,Pa=r;null!==Pa;){o=!1,s=void 0;try{Ba(e,n)}catch(l){o=!0,s=l}o&&(null===Pa&&a("178"),Ga(Pa,s),null!==Pa&&(Pa=Pa.nextEffect))}if(null!==r&&null!==Ra){var c=Ua.bind(null,e,r);La=i.unstable_runWithPriority(i.unstable_NormalPriority,(function(){return _r(c)})),Aa=c}Ta=Na=!1,"function"==typeof Vr&&Vr(t.stateNode),n=t.expirationTime,0===(t=(t=t.childExpirationTime)>n?t:n)&&(za=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function Ya(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){xa=e;e:{var i=t,s=Ma,c=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Nr(t.type)&&Rr();break;case 3:So(),Lr(),(c=t.stateNode).pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==i&&null!==i.child||(yi(t),t.effectTag&=-3),ca(t);break;case 5:Co(t);var l=wo(_o.current);if(s=t.type,null!==i&&null!=t.stateNode)la(i,t,s,c,l),i.ref!==t.ref&&(t.effectTag|=128);else if(c){var u=wo(yo.current);if(yi(t)){i=(c=t).stateNode;var d=c.type,f=c.memoizedProps,h=l;switch(i[N]=c,i[R]=f,s=void 0,l=d){case"iframe":case"object":Cn("load",i);break;case"video":case"audio":for(d=0;d<ne.length;d++)Cn(ne[d],i);break;case"source":Cn("error",i);break;case"img":case"image":case"link":Cn("error",i),Cn("load",i);break;case"form":Cn("reset",i),Cn("submit",i);break;case"details":Cn("toggle",i);break;case"input":_t(i,f),Cn("invalid",i),hr(h,"onChange");break;case"select":i._wrapperState={wasMultiple:!!f.multiple},Cn("invalid",i),hr(h,"onChange");break;case"textarea":Xn(i,f),Cn("invalid",i),hr(h,"onChange")}for(s in dr(l,f),d=null,f)f.hasOwnProperty(s)&&(u=f[s],"children"===s?"string"==typeof u?i.textContent!==u&&(d=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(d=["children",""+u]):k.hasOwnProperty(s)&&null!=u&&hr(h,s));switch(l){case"input":Ue(i),St(i,f,!0);break;case"textarea":Ue(i),Jn(i);break;case"select":case"option":break;default:"function"==typeof f.onClick&&(i.onclick=pr)}s=d,c.updateQueue=s,(c=null!==s)&&aa(t)}else{f=t,h=s,i=c,d=9===l.nodeType?l:l.ownerDocument,u===er.html&&(u=tr(h)),u===er.html?"script"===h?((i=d.createElement("div")).innerHTML="<script><\/script>",d=i.removeChild(i.firstChild)):"string"==typeof i.is?d=d.createElement(h,{is:i.is}):(d=d.createElement(h),"select"===h&&(h=d,i.multiple?h.multiple=!0:i.size&&(h.size=i.size))):d=d.createElementNS(u,h),(i=d)[N]=f,i[R]=c,sa(i,t,!1,!1),h=i;var p=l,v=fr(d=s,f=c);switch(d){case"iframe":case"object":Cn("load",h),l=f;break;case"video":case"audio":for(l=0;l<ne.length;l++)Cn(ne[l],h);l=f;break;case"source":Cn("error",h),l=f;break;case"img":case"image":case"link":Cn("error",h),Cn("load",h),l=f;break;case"form":Cn("reset",h),Cn("submit",h),l=f;break;case"details":Cn("toggle",h),l=f;break;case"input":_t(h,f),l=kt(h,f),Cn("invalid",h),hr(p,"onChange");break;case"option":l=qn(h,f);break;case"select":h._wrapperState={wasMultiple:!!f.multiple},l=o({},f,{value:void 0}),Cn("invalid",h),hr(p,"onChange");break;case"textarea":Xn(h,f),l=Zn(h,f),Cn("invalid",h),hr(p,"onChange");break;default:l=f}dr(d,l),u=void 0;var m=d,g=h,b=l;for(u in b)if(b.hasOwnProperty(u)){var y=b[u];"style"===u?lr(g,y):"dangerouslySetInnerHTML"===u?null!=(y=y?y.__html:void 0)&&or(g,y):"children"===u?"string"==typeof y?("textarea"!==m||""!==y)&&ir(g,y):"number"==typeof y&&ir(g,""+y):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(k.hasOwnProperty(u)?null!=y&&hr(p,u):null!=y&&bt(g,u,y,v))}switch(d){case"input":Ue(h),St(h,f,!1);break;case"textarea":Ue(h),Jn(h);break;case"option":null!=f.value&&h.setAttribute("value",""+yt(f.value));break;case"select":(l=h).multiple=!!f.multiple,null!=(h=f.value)?Gn(l,!!f.multiple,h,!1):null!=f.defaultValue&&Gn(l,!!f.multiple,f.defaultValue,!0);break;default:"function"==typeof l.onClick&&(h.onclick=pr)}(c=gr(s,c))&&aa(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&a("166");break;case 6:i&&null!=t.stateNode?ua(i,t,i.memoizedProps,c):("string"!=typeof c&&(null===t.stateNode&&a("166")),i=wo(_o.current),wo(yo.current),yi(t)?(s=(c=t).stateNode,i=c.memoizedProps,s[N]=c,(c=s.nodeValue!==i)&&aa(t)):(s=t,(c=(9===i.nodeType?i:i.ownerDocument).createTextNode(c))[N]=t,s.stateNode=c));break;case 11:break;case 13:if(c=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=s,xa=t;break e}c=null!==c,s=null!==i&&null!==i.memoizedState,null!==i&&!c&&s&&(null!==(i=i.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(c||s)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:So(),ca(t);break;case 10:Hi(t);break;case 9:case 14:break;case 17:Nr(t.type)&&Rr();break;case 18:break;default:a("156")}xa=null}if(t=e,1===Ma||1!==t.childExpirationTime){for(c=0,s=t.child;null!==s;)(i=s.expirationTime)>c&&(c=i),(l=s.childExpirationTime)>c&&(c=l),s=s.sibling;t.childExpirationTime=c}if(null!==xa)return xa;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=Oa(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==r)return r;if(null===n)break;e=n}return null}function $a(e){var t=Ni(e.alternate,e,Ma);return e.memoizedProps=e.pendingProps,null===t&&(t=Ya(e)),Ea.current=null,t}function qa(e,t){Ta&&a("243"),Wa(),Ta=!0;var n=Sa.current;Sa.current=li;var r=e.nextExpirationTimeToWorkOn;r===Ma&&e===Da&&null!==xa||(Fa(),Ma=r,xa=$r((Da=e).current,null),e.pendingCommitExpirationTime=0);for(var o=!1;;){try{if(t)for(;null!==xa&&!Ds();)xa=$a(xa);else for(;null!==xa;)xa=$a(xa)}catch(g){if(zi=Ai=Li=null,Qo(),null===xa)o=!0,Rs(g);else{null===xa&&a("271");var i=xa,s=i.return;if(null!==s){e:{var c=e,l=s,u=i,d=g;if(s=Ma,u.effectTag|=1024,u.firstEffect=u.lastEffect=null,null!==d&&"object"==typeof d&&"function"==typeof d.then){var f=d;d=l;var h=-1,p=-1;do{if(13===d.tag){var v=d.alternate;if(null!==v&&null!==(v=v.memoizedState)){p=10*(1073741822-v.timedOutAt);break}"number"==typeof(v=d.pendingProps.maxDuration)&&(0>=v?h=0:(-1===h||v<h)&&(h=v))}d=d.return}while(null!==d);d=l;do{if((v=13===d.tag)&&(v=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),v){if(null===(l=d.updateQueue)?((l=new Set).add(f),d.updateQueue=l):l.add(f),0==(1&d.mode)){d.effectTag|=64,u.effectTag&=-1957,1===u.tag&&(null===u.alternate?u.tag=17:((s=Zi(1073741823)).tag=Ki,Qi(u,s))),u.expirationTime=1073741823;break e}l=s;var m=(u=c).pingCache;null===m?(m=u.pingCache=new ka,v=new Set,m.set(f,v)):void 0===(v=m.get(f))&&(v=new Set,m.set(f,v)),v.has(l)||(v.add(l),u=Xa.bind(null,u,f,l),f.then(u,u)),-1===h?c=1073741823:(-1===p&&(p=10*(1073741822-to(c,s))-5e3),c=p+h),0<=c&&ja<c&&(ja=c),d.effectTag|=2048,d.expirationTime=s;break e}d=d.return}while(null!==d);d=Error((ct(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+lt(u))}Ia=!0,d=ia(d,u),c=l;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=s,Ji(c,s=_a(c,d,s));break e;case 1:if(h=d,p=c.type,u=c.stateNode,0==(64&c.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==u&&"function"==typeof u.componentDidCatch&&(null===za||!za.has(u)))){c.effectTag|=2048,c.expirationTime=s,Ji(c,s=wa(c,h,s));break e}}c=c.return}while(null!==c)}xa=Ya(i);continue}o=!0,Rs(g)}}break}if(Ta=!1,Sa.current=n,zi=Ai=Li=null,Qo(),o)Da=null,e.finishedWork=null;else if(null!==xa)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&a("281"),Da=null,Ia){if(o=e.latestPendingTime,i=e.latestSuspendedTime,s=e.latestPingedTime,0!==o&&o<r||0!==i&&i<r||0!==s&&s<r)return eo(e,r),void Os(e,n,r,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,r=e.nextExpirationTimeToWorkOn=r,t=e.expirationTime=1073741823,void Os(e,n,r,t,-1)}t&&-1!==ja?(eo(e,r),(t=10*(1073741822-to(e,r)))<ja&&(ja=t),t=10*(1073741822-Es()),t=ja-t,Os(e,n,r,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Ga(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===za||!za.has(r)))return Qi(n,e=wa(n,e=ia(t,e),1073741823)),void es(n,1073741823);break;case 3:return Qi(n,e=_a(n,e=ia(t,e),1073741823)),void es(n,1073741823)}n=n.return}3===e.tag&&(Qi(e,n=_a(e,n=ia(t,e),1073741823)),es(e,1073741823))}function Za(e,t){var n=i.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(Ta&&!Na)r=Ma;else{switch(n){case i.unstable_ImmediatePriority:r=1073741823;break;case i.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:r=1;break;default:a("313")}null!==Da&&r===Ma&&--r}return n===i.unstable_UserBlockingPriority&&(0===ls||r<ls)&&(ls=r),r}function Xa(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),null!==Da&&Ma===n?Da=null:(t=e.earliestSuspendedTime,r=e.latestSuspendedTime,0!==t&&n<=t&&n>=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),no(n,e),0!==(n=e.expirationTime)&&Cs(e,n)))}function Qa(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=Ja(e,t=Za(t=Es(),e)))&&(Jr(e,t),0!==(t=e.expirationTime)&&Cs(e,t))}function Ja(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return o}function es(e,t){null!==(e=Ja(e,t))&&(!Ta&&0!==Ma&&t>Ma&&Fa(),Jr(e,t),Ta&&!Na&&Da===e||Cs(e,e.expirationTime),ys>bs&&(ys=0,a("185")))}function ts(e,t,n,r,o){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){return e(t,n,r,o)}))}var ns=null,rs=null,os=0,is=void 0,as=!1,ss=null,cs=0,ls=0,us=!1,ds=null,fs=!1,hs=!1,ps=null,vs=i.unstable_now(),ms=1073741822-(vs/10|0),gs=ms,bs=50,ys=0,ks=null;function _s(){ms=1073741822-((i.unstable_now()-vs)/10|0)}function ws(e,t){if(0!==os){if(t<os)return;null!==is&&i.unstable_cancelCallback(is)}os=t,e=i.unstable_now()-vs,is=i.unstable_scheduleCallback(Ms,{timeout:10*(1073741822-t)-e})}function Os(e,t,n,r,o){e.expirationTime=r,0!==o||Ds()?0<o&&(e.timeoutHandle=yr(Ss.bind(null,e,t,n),o)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function Ss(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,_s(),gs=ms,Is(e,n)}function Es(){return as?gs:(Ts(),0!==cs&&1!==cs||(_s(),gs=ms),gs)}function Cs(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===rs?(ns=rs=e,e.nextScheduledRoot=e):(rs=rs.nextScheduledRoot=e).nextScheduledRoot=ns):t>e.expirationTime&&(e.expirationTime=t),as||(fs?hs&&(ss=e,cs=1073741823,Ps(e,1073741823,!1)):1073741823===t?js(1073741823,!1):ws(e,t))}function Ts(){var e=0,t=null;if(null!==rs)for(var n=rs,r=ns;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===rs)&&a("244"),r===r.nextScheduledRoot){ns=rs=r.nextScheduledRoot=null;break}if(r===ns)ns=o=r.nextScheduledRoot,rs.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===rs){(rs=n).nextScheduledRoot=ns,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===rs)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}ss=t,cs=e}var xs=!1;function Ds(){return!!xs||!!i.unstable_shouldYield()&&(xs=!0)}function Ms(){try{if(!Ds()&&null!==ns){_s();var e=ns;do{var t=e.expirationTime;0!==t&&ms<=t&&(e.nextExpirationTimeToWorkOn=ms),e=e.nextScheduledRoot}while(e!==ns)}js(0,!0)}finally{xs=!1}}function js(e,t){if(Ts(),t)for(_s(),gs=ms;null!==ss&&0!==cs&&e<=cs&&!(xs&&ms>cs);)Ps(ss,cs,ms>cs),Ts(),_s(),gs=ms;else for(;null!==ss&&0!==cs&&e<=cs;)Ps(ss,cs,!1),Ts();if(t&&(os=0,is=null),0!==cs&&ws(ss,cs),ys=0,ks=null,null!==ps)for(e=ps,ps=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(r){us||(us=!0,ds=r)}}if(us)throw e=ds,ds=null,us=!1,e}function Is(e,t){as&&a("253"),ss=e,cs=t,Ps(e,t,!1),js(1073741823,!1)}function Ps(e,t,n){if(as&&a("245"),as=!0,n){var r=e.finishedWork;null!==r?Ns(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,kr(r)),qa(e,n),null!==(r=e.finishedWork)&&(Ds()?e.finishedWork=r:Ns(e,r,t)))}else null!==(r=e.finishedWork)?Ns(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,kr(r)),qa(e,n),null!==(r=e.finishedWork)&&Ns(e,r,t));as=!1}function Ns(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime>=n&&(null===ps?ps=[r]:ps.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===ks?ys++:(ks=e,ys=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){Ka(e,t)}))}function Rs(e){null===ss&&a("246"),ss.expirationTime=0,us||(us=!0,ds=e)}function Ls(e,t){var n=fs;fs=!0;try{return e(t)}finally{(fs=n)||as||js(1073741823,!1)}}function As(e,t){if(fs&&!hs){hs=!0;try{return e(t)}finally{hs=!1}}return e(t)}function zs(e,t,n){fs||as||0===ls||(js(ls,!1),ls=0);var r=fs;fs=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,(function(){return e(t,n)}))}finally{(fs=r)||as||js(1073741823,!1)}}function Fs(e,t,n,r,o){var i=t.current;e:if(n){t:{2===nn(n=n._reactInternalFiber)&&1===n.tag||a("170");var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(Nr(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);a("171"),s=void 0}if(1===n.tag){var c=n.type;if(Nr(c)){n=zr(n,c,s);break e}}n=s}else n=Dr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Zi(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Wa(),Qi(i,o),es(i,r),r}function Hs(e,t,n,r){var o=t.current;return Fs(e,t,n,o=Za(Es(),o),r)}function Vs(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bs(e){var t=1073741822-25*(1+((1073741822-Es()+500)/25|0));t>=Ca&&(t=Ca-1),this._expirationTime=Ca=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Us(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ws(e,t,n){e={current:t=Kr(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function Ks(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ys(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Vs(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ws(e,!1,t)}(n,r),"function"==typeof o){var s=o;o=function(){var e=Vs(i._internalRoot);s.call(e)}}As((function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}))}return Vs(i._internalRoot)}function $s(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Ks(t)||a("200"),function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ge,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Te=function(e,t,n){switch(t){case"input":if(Ot(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=F(r);o||a("90"),We(r),Ot(r,o)}}}break;case"textarea":Qn(e,n);break;case"select":null!=(t=n.value)&&Gn(e,!!n.multiple,t,!1)}},Bs.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Us;return Fs(e,t,null,n,r._onCommit),r},Bs.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Bs.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&a("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,Is(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Bs.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Us.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Us.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&a("191",n),n()}}},Ws.prototype.render=function(e,t){var n=this._internalRoot,r=new Us;return null!==(t=void 0===t?null:t)&&r.then(t),Hs(e,n,null,r._onCommit),r},Ws.prototype.unmount=function(e){var t=this._internalRoot,n=new Us;return null!==(e=void 0===e?null:e)&&n.then(e),Hs(null,t,null,n._onCommit),n},Ws.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new Us;return null!==(n=void 0===n?null:n)&&o.then(n),Hs(t,r,e,o._onCommit),o},Ws.prototype.createBatch=function(){var e=new Bs(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Pe=Ls,Ne=zs,Re=function(){as||0===ls||(js(ls,!1),ls=0)};var qs,Gs,Zs={createPortal:$s,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?a("188"):a("268",Object.keys(e))),e=null===(e=on(t))?null:e.stateNode},hydrate:function(e,t,n){return Ks(t)||a("200"),Ys(null,e,t,!0,n)},render:function(e,t,n){return Ks(t)||a("200"),Ys(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return Ks(n)||a("200"),(null==e||void 0===e._reactInternalFiber)&&a("38"),Ys(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Ks(e)||a("40"),!!e._reactRootContainer&&(As((function(){Ys(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return $s.apply(void 0,arguments)},unstable_batchedUpdates:Ls,unstable_interactiveUpdates:zs,flushSync:function(e,t){as&&a("187");var n=fs;fs=!0;try{return ts(e,t)}finally{fs=n,js(1073741823,!1)}},unstable_createRoot:function(e,t){return Ks(e)||a("299","unstable_createRoot"),new Ws(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=fs;fs=!0;try{ts(e)}finally{(fs=t)||as||js(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[A,z,F,M.injectEventPluginsByName,y,K,function(e){T(e,W)},je,Ie,Dn,I]}};Gs=(qs={findFiberByHostInstance:L,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Vr=Ur((function(e){return t.onCommitFiberRoot(n,e)})),Br=Ur((function(e){return t.onCommitFiberUnmount(n,e)}))}catch(r){}}(o({},qs,{overrideProps:null,currentDispatcherRef:Ke.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Gs?Gs(e):null}}));var Xs={default:Zs},Qs=Xs&&Zs||Xs;e.exports=Qs.default||Qs},function(e,t,n){"use strict";e.exports=n(136)},function(e,t,n){"use strict"; -/** @license React v0.13.6 - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */Object.defineProperty(t,"__esModule",{value:!0});var r=null,o=!1,i=3,a=-1,s=-1,c=!1,l=!1;function u(){if(!c){var e=r.expirationTime;l?S():l=!0,O(h,e)}}function d(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,a=s;i=e,s=t;try{var c=n()}finally{i=o,s=a}if("function"==typeof c)if(c={callback:c,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=c.next=c.previous=c;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=c,u()),(t=n.previous).next=n.previous=c,c.next=n,c.previous=t}}function f(){if(-1===a&&null!==r&&1===r.priorityLevel){c=!0;try{do{d()}while(null!==r&&1===r.priorityLevel)}finally{c=!1,null!==r?u():l=!1}}}function h(e){c=!0;var n=o;o=e;try{if(e)for(;null!==r;){var i=t.unstable_now();if(!(r.expirationTime<=i))break;do{d()}while(null!==r&&r.expirationTime<=i)}else if(null!==r)do{d()}while(null!==r&&!E())}finally{c=!1,o=n,null!==r?u():l=!1,f()}}var p,v,m=Date,g="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,y="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,k="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function _(e){p=y((function(t){b(v),e(t)})),v=g((function(){k(p),e(t.unstable_now())}),100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var O,S,E,C=null;if("undefined"!=typeof window?C=window:"undefined"!=typeof window&&(C=window),C&&C._schedMock){var T=C._schedMock;O=T[0],S=T[1],E=T[2],t.unstable_now=T[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,D=function(e){if(null!==x)try{x(e)}finally{x=null}};O=function(e){null!==x?setTimeout(O,0,e):(x=e,setTimeout(D,0,!1))},S=function(){x=null},E=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof k&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,j=!1,I=-1,P=!1,N=!1,R=0,L=33,A=33;E=function(){return R<=t.unstable_now()};var z=new MessageChannel,F=z.port2;z.port1.onmessage=function(){j=!1;var e=M,n=I;M=null,I=-1;var r=t.unstable_now(),o=!1;if(0>=R-r){if(!(-1!==n&&n<=r))return P||(P=!0,_(H)),M=e,void(I=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var H=function(e){if(null!==M){_(H);var t=e-R+A;t<A&&L<A?(8>t&&(t=8),A=t<L?L:t):L=t,R=e+A,j||(j=!0,F.postMessage(void 0))}else P=!1};O=function(e,t){M=e,I=t,N||0>t?F.postMessage(void 0):P||(P=!0,_(H))},S=function(){M=null,j=!1,I=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,f()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,o=a;i=n,a=t.unstable_now();try{return e()}finally{i=r,a=o,f()}},t.unstable_scheduleCallback=function(e,n){var o=-1!==a?a:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=o+n.timeout;else switch(i){case 1:n=o+-1;break;case 2:n=o+250;break;case 5:n=o+1073741823;break;case 4:n=o+1e4;break;default:n=o+5e3}if(e={callback:e,priorityLevel:i,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,u();else{o=null;var s=r;do{if(s.expirationTime>n){o=s;break}s=s.next}while(s!==r);null===o?o=r:o===r&&(r=e,u()),(n=o.previous).next=o.previous=e,e.next=o,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,o=a;i=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,a=o,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime<s||E())},t.unstable_continueExecution=function(){null!==r&&u()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return r}},function(e,t,n){"use strict"; -/** @license React v16.8.6 - * react-dom-server.browser.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r=n(51),o=n(1);function i(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.portal"):60106,c=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,u=a?Symbol.for("react.profiler"):60114,d=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,h=a?Symbol.for("react.concurrent_mode"):60111,p=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116;function b(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"ConcurrentMode";case c:return"Fragment";case s:return"Portal";case u:return"Profiler";case l:return"StrictMode";case v:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case f:return"Context.Consumer";case d:return"Context.Provider";case p:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case m:return b(e.type);case g:if(e=1===e._status?e._result:null)return b(e)}return null}var y=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;y.hasOwnProperty("ReactCurrentDispatcher")||(y.ReactCurrentDispatcher={current:null});var k={};function _(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var w=new Uint16Array(16),O=0;15>O;O++)w[O]=O+1;w[15]=0;var S=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E=Object.prototype.hasOwnProperty,C={},T={};function x(e){return!!E.call(T,e)||!E.call(C,e)&&(S.test(e)?T[e]=!0:(C[e]=!0,!1))}function D(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function M(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){j[e]=new M(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];j[t]=new M(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){j[e]=new M(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){j[e]=new M(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){j[e]=new M(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){j[e]=new M(e,3,!0,e,null)})),["capture","download"].forEach((function(e){j[e]=new M(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){j[e]=new M(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){j[e]=new M(e,5,!1,e.toLowerCase(),null)}));var I=/[\-:]([a-z])/g;function P(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(I,P);j[t]=new M(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(I,P);j[t]=new M(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(I,P);j[t]=new M(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){j[e]=new M(e,1,!1,e.toLowerCase(),null)}));var N=/["'&<>]/;function R(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=N.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var L=null,A=null,z=null,F=!1,H=!1,V=null,B=0;function U(){return null===L&&i("321"),L}function W(){return 0<B&&i("312"),{memoizedState:null,queue:null,next:null}}function K(){return null===z?null===A?(F=!1,A=z=W()):(F=!0,z=A):null===z.next?(F=!1,z=z.next=W()):(F=!0,z=z.next),z}function Y(e,t,n,r){for(;H;)H=!1,B+=1,z=null,n=e(t,r);return A=L=null,B=0,z=V=null,n}function $(e,t){return"function"==typeof t?t(e):t}function q(e,t,n){if(L=U(),z=K(),F){var r=z.queue;if(t=r.dispatch,null!==V&&void 0!==(n=V.get(r))){V.delete(r),r=z.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return z.memoizedState=r,[r,t]}return[z.memoizedState,t]}return e=e===$?"function"==typeof t?t():t:void 0!==n?n(t):t,z.memoizedState=e,e=(e=z.queue={last:null,dispatch:null}).dispatch=G.bind(null,L,e),[z.memoizedState,e]}function G(e,t,n){if(25>B||i("301"),e===L)if(H=!0,e={action:n,next:null},null===V&&(V=new Map),void 0===(n=V.get(t)))V.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function Z(){}var X=0,Q={readContext:function(e){var t=X;return _(e,t),e[t]},useContext:function(e){U();var t=X;return _(e,t),e[t]},useMemo:function(e,t){if(L=U(),t=void 0===t?null:t,null!==(z=K())){var n=z.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++){var i=t[o],a=r[o];if((i!==a||0===i&&1/i!=1/a)&&(i==i||a==a)){r=!1;break e}}r=!0}}if(r)return n[0]}}return e=e(),z.memoizedState=[e,t],e},useReducer:q,useRef:function(e){L=U();var t=(z=K()).memoizedState;return null===t?(e={current:e},z.memoizedState=e):t},useState:function(e){return q($,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:Z,useEffect:Z,useDebugValue:Z},J={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ee(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var te={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ne=r({menuitem:!0},te),re={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},oe=["Webkit","ms","Moz","O"];Object.keys(re).forEach((function(e){oe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),re[t]=re[e]}))}));var ie=/([A-Z])/g,ae=/^ms-/,se=o.Children.toArray,ce=y.ReactCurrentDispatcher,le={listing:!0,pre:!0,textarea:!0},ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,de={},fe={};var he=Object.prototype.hasOwnProperty,pe={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function ve(e,t){void 0===e&&i("152",b(t)||"Component")}function me(e,t,n){function a(o,a){var s=function(e,t,n){var r=e.contextType;if("object"==typeof r&&null!==r)return _(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=k;return t}(a,t,n),c=[],l=!1,u={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){l=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}},d=void 0;if(a.prototype&&a.prototype.isReactComponent){if(d=new a(o.props,s,u),"function"==typeof a.getDerivedStateFromProps){var f=a.getDerivedStateFromProps.call(null,o.props,d.state);null!=f&&(d.state=r({},d.state,f))}}else if(L={},d=a(o.props,s,u),null==(d=Y(a,o.props,d,s))||null==d.render)return void ve(e=d,a);if(d.props=o.props,d.context=s,d.updater=u,void 0===(u=d.state)&&(d.state=u=null),"function"==typeof d.UNSAFE_componentWillMount||"function"==typeof d.componentWillMount)if("function"==typeof d.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&d.componentWillMount(),"function"==typeof d.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&d.UNSAFE_componentWillMount(),c.length){u=c;var h=l;if(c=null,l=!1,h&&1===u.length)d.state=u[0];else{f=h?u[0]:d.state;var p=!0;for(h=h?1:0;h<u.length;h++){var v=u[h];null!=(v="function"==typeof v?v.call(d,f,o.props,s):v)&&(p?(p=!1,f=r({},f,v)):r(f,v))}d.state=f}}else c=null;if(ve(e=d.render(),a),o=void 0,"function"==typeof d.getChildContext&&"object"==typeof(s=a.childContextTypes))for(var m in o=d.getChildContext())m in s||i("108",b(a)||"Unknown",m);o&&(t=r({},t,o))}for(;o.isValidElement(e);){var s=e,c=s.type;if("function"!=typeof c)break;a(s,c)}return{child:e,context:t}}var ge=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");o.isValidElement(t)?t.type!==c?t=[t]:(t=t.props.children,t=o.isValidElement(t)?[t]:se(t)):t=se(t),t={type:null,domNamespace:J.html,children:t,childIndex:0,context:k,footer:""};var r=w[0];if(0===r){var a=w,s=2*(r=a.length);65536>=s||i("304");var l=new Uint16Array(s);for(l.set(a),(w=l)[0]=r+1,a=r;a<s-1;a++)w[a]=a+1;w[s-1]=0}else w[0]=w[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}return e.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;w[e]=w[0],w[0]=e}},e.prototype.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;_(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},e.prototype.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},e.prototype.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},e.prototype.read=function(e){if(this.exhausted)return null;var t=X;X=this.threadID;var n=ce.current;ce.current=Q;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;w[a]=w[0],w[0]=a;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===d)this.popProvider(s.type);else if(s.type===v){this.suspenseDepth--;var l=r.pop();if(o){o=!1;var u=s.fallbackFrame;u||i("303"),this.stack.push(u);continue}r[this.suspenseDepth]+=l}r[this.suspenseDepth]+=c}else{var f=s.children[s.childIndex++],h="";try{h+=this.render(f,s.context,s.domNamespace)}catch(p){throw p}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{ce.current=n,X=t}},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?R(n):this.previousWasTextNode?"\x3c!-- --\x3e"+R(n):(this.previousWasTextNode=!0,R(n));if(e=(t=me(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var a=e.$$typeof;a===s&&i("257"),i("258",a.toString())}return e=se(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(a=e.type))return this.renderDOM(e,t,n);switch(a){case l:case h:case u:case c:return e=se(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case v:i("294")}if("object"==typeof a&&null!==a)switch(a.$$typeof){case p:L={};var b=a.render(e.props,e.ref);return b=Y(a.render,e.props,b,e.ref),b=se(b),this.stack.push({type:null,domNamespace:n,children:b,childIndex:0,context:t,footer:""}),"";case m:return e=[o.createElement(a.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case d:return n={type:e,domNamespace:n,children:a=se(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case f:a=e.type,b=e.props;var y=this.threadID;return _(a,y),a=se(b.children(a[y])),this.stack.push({type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),"";case g:i("295")}i("130",null==a?a:typeof a,"")},e.prototype.renderDOM=function(e,t,n){var a=e.type.toLowerCase();n===J.html&&ee(a),de.hasOwnProperty(a)||(ue.test(a)||i("65",a),de[a]=!0);var s=e.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var c=s.value;if(null==c){c=s.defaultValue;var l=s.children;null!=l&&(null!=c&&i("92"),Array.isArray(l)&&(1>=l.length||i("93"),l=l[0]),c=""+l),null==c&&(c="")}s=r({},s,{value:void 0,children:""+c})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){l=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=l){var d=null!=s.value?s.value+"":u;if(c=!1,Array.isArray(l)){for(var f=0;f<l.length;f++)if(""+l[f]===d){c=!0;break}}else c=""+l===d;s=r({selected:void 0,children:void 0},s,{selected:c,children:u})}}for(k in(c=s)&&(ne[a]&&(null!=c.children||null!=c.dangerouslySetInnerHTML)&&i("137",a,""),null!=c.dangerouslySetInnerHTML&&(null!=c.children&&i("60"),"object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML||i("61")),null!=c.style&&"object"!=typeof c.style&&i("62","")),c=s,l=this.makeStaticMarkup,u=1===this.stack.length,d="<"+e.type,c)if(he.call(c,k)){var h=c[k];if(null!=h){if("style"===k){f=void 0;var p="",v="";for(f in h)if(h.hasOwnProperty(f)){var m=0===f.indexOf("--"),g=h[f];if(null!=g){var b=f;if(fe.hasOwnProperty(b))b=fe[b];else{var y=b.replace(ie,"-$1").toLowerCase().replace(ae,"-ms-");b=fe[b]=y}p+=v+b+":",v=f,p+=m=null==g||"boolean"==typeof g||""===g?"":m||"number"!=typeof g||0===g||re.hasOwnProperty(v)&&re[v]?(""+g).trim():g+"px",v=";"}}h=p||null}f=null;e:if(m=a,g=c,-1===m.indexOf("-"))m="string"==typeof g.is;else switch(m){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":m=!1;break e;default:m=!0}m?pe.hasOwnProperty(k)||(f=x(f=k)&&null!=h?f+'="'+R(h)+'"':""):(m=k,f=h,h=j.hasOwnProperty(m)?j[m]:null,(g="style"!==m)&&(g=null!==h?0===h.type:2<m.length&&("o"===m[0]||"O"===m[0])&&("n"===m[1]||"N"===m[1])),g||D(m,f,h,!1)?f="":null!==h?(m=h.attributeName,f=3===(h=h.type)||4===h&&!0===f?m+'=""':m+'="'+R(f)+'"'):f=x(m)?m+'="'+R(f)+'"':""),f&&(d+=" "+f)}}l||u&&(d+=' data-reactroot=""');var k=d;c="",te.hasOwnProperty(a)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(l=s.dangerouslySetInnerHTML)){if(null!=l.__html){l=l.__html;break e}}else if("string"==typeof(l=s.children)||"number"==typeof l){l=R(l);break e}l=null}return null!=l?(s=[],le[a]&&"\n"===l.charAt(0)&&(k+="\n"),k+=l):s=se(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?ee(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),be={renderToString:function(e){e=new ge(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new ge(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){i("207")},renderToStaticNodeStream:function(){i("208")},version:"16.8.6"},ye={default:be},ke=ye&&be||ye;e.exports=ke.default||ke},function(e,t,n){"use strict";var r=n(66),o=n(67),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,n,o,i,a,c,u,f,h,p,v,m,g){var b=t;if("function"==typeof u?b=u(n,b):b instanceof Date?b=p(b):"comma"===o&&s(b)&&(b=b.join(",")),null===b){if(i)return c&&!m?c(n,d.encoder,g):n;b=""}if("string"==typeof b||"number"==typeof b||"boolean"==typeof b||r.isBuffer(b))return c?[v(m?n:c(n,d.encoder,g))+"="+v(c(b,d.encoder,g))]:[v(n)+"="+v(String(b))];var y,k=[];if(void 0===b)return k;if(s(u))y=u;else{var _=Object.keys(b);y=f?_.sort(f):_}for(var w=0;w<y.length;++w){var O=y[w];a&&null===b[O]||(s(b)?l(k,e(b[O],"function"==typeof o?o(n,O):n,o,i,a,c,u,f,h,p,v,m,g)):l(k,e(b[O],n+(h?"."+O:"["+O+"]"),o,i,a,c,u,f,h,p,v,m,g)))}return k};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=d.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var u,h=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=a[u];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var v=0;v<n.length;++v){var m=n[v];c.skipNulls&&null===r[m]||l(h,f(r[m],m,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var g=h.join(c.delimiter),b=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),g.length>0?b+g:""}},function(e,t,n){"use strict";var r=n(66),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var l=0;null!==(a=i.exec(r))&&l<n.depth;){if(l+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=r:i[s]=r:i={0:r}}r=i}return r}(c,t,n)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,s={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=c.split(t.delimiter,l),d=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<u.length;++n)0===u[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[n]?f="utf-8":"utf8=%26%2310003%3B"===u[n]&&(f="iso-8859-1"),d=n,n=u.length);for(n=0;n<u.length;++n)if(n!==d){var h,p,v=u[n],m=v.indexOf("]="),g=-1===m?v.indexOf("="):m+1;-1===g?(h=t.decoder(v,i.decoder,f),p=t.strictNullHandling?null:""):(h=t.decoder(v.slice(0,g),i.decoder,f),p=t.decoder(v.slice(g+1),i.decoder,f)),p&&t.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&t.comma&&p.indexOf(",")>-1&&(p=p.split(",")),o.call(s,h)?s[h]=r.combine(s[h],p):s[h]=p}return s}(e,n):e,l=n.plainObjects?Object.create(null):{},u=Object.keys(c),d=0;d<u.length;++d){var f=u[d],h=s(f,c[f],n);l=r.merge(l,h,n)}return r.compact(l)}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,s;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(s=e[a=n[i]])&&!t.hasOwnProperty(a)||s!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new T(r||[]);return i._invoke=function(e,t,n){var r=u;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return D()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var c=l(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=c;var u="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function v(){}function m(){}function g(){}var b={};b[i]=function(){return this};var y=Object.getPrototypeOf,k=y&&y(y(x([])));k&&k!==n&&r.call(k,i)&&(b=k);var _=g.prototype=v.prototype=Object.create(b);function w(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function O(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var s=l(e[n],e,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){c.value=e,i(c)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return p;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,p;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,p):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function x(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:D}}function D(){return{value:t,done:!0}}return m.prototype=_.constructor=g,g.constructor=m,g[s]=m.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(O.prototype),O.prototype[a]=function(){return this},e.AsyncIterator=O,e.async=function(t,n,r,o){var i=new O(c(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},w(_),_[s]="Generator",_[i]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:x(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(144)),o=i(n(39));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(a(e),a(r.default)),n=function e(n){var r=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],a=function(n){var o=function(e){return function(t){try{var o=e?n.throw(t):n.next(t),s=o.value;if(o.done)return r(s);a(s)}catch(c){return i(c)}}},a=function n(r){t.some((function(t){return t(r,n,e,o(!1),o(!0))}))};o(!1)()},s=o.default.iterator(n)?n:regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))();a(s,r,i)};return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var r,o=n(39),i=(r=o)&&r.__esModule?r:{default:r};var a=t.any=function(e,t,n,r){return r(e),!0},s=t.error=function(e,t,n,r,o){return!!i.default.error(e)&&(o(e.error),!0)},c=t.object=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.obj(e.value))return!1;var a={},s=Object.keys(e.value),c=0,l=!1;return s.map((function(t){n(e.value[t],(function(e){return function(e,t){l||(a[e]=t,++c===s.length&&r(a))}(t,e)}),(function(e){return function(e,t){l||(l=!0,o(t))}(0,e)}))})),!0},l=t.array=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.array(e.value))return!1;var a=[],s=0,c=!1;return e.value.map((function(t,i){n(t,(function(t){return function(t,n){c||(a[t]=n,++s===e.value.length&&r(a))}(i,t)}),(function(e){return function(e,t){c||(c=!0,o(t))}(0,e)}))})),!0},u=t.iterator=function(e,t,n,r,o){return!!i.default.iterator(e)&&(n(e,t,o),!0)};t.default=[s,u,l,c,a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var r=a(n(39)),o=n(68),i=a(n(146));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.promise=function(e,t,n,o,i){return!!r.default.promise(e)&&(e.then(t,i),!0)},c=new Map,l=t.fork=function(e,t,n){if(!r.default.fork(e))return!1;var a=Symbol("fork"),s=(0,i.default)();c.set(a,s),n(e.iterator.apply(null,e.args),(function(e){return s.dispatch(e)}),(function(e){return s.dispatch((0,o.error)(e))}));var l=s.subscribe((function(){l(),c.delete(a)}));return t(a),!0},u=t.join=function(e,t,n,o,i){if(!r.default.join(e))return!1;var a,s=c.get(e.task);return s?a=s.subscribe((function(e){a(),t(e)})):i("join error : task not found"),!0},d=t.race=function(e,t,n,o,i){if(!r.default.race(e))return!1;var a,s=!1,c=function(e,n,r){s||(s=!0,e[n]=r,t(e))},l=function(e){s||i(e)};return r.default.array(e.competitors)?(a=e.competitors.map((function(){return!1})),e.competitors.forEach((function(e,t){n(e,(function(e){return c(a,t,e)}),l)}))):function(){var t=Object.keys(e.competitors).reduce((function(e,t){return e[t]=!1,e}),{});Object.keys(e.competitors).forEach((function(r){n(e.competitors[r],(function(e){return c(t,r,e)}),l)}))}(),!0};t.default=[s,l,u,d,function(e,t){if(!r.default.subscribe(e))return!1;if(!r.default.channel(e.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=e.channel.subscribe((function(e){n&&n(),t(e)}));return!0}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},dispatch:function(t){e.slice().forEach((function(e){return e(t)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var r,o=n(39),i=(r=o)&&r.__esModule?r:{default:r};var a=t.call=function(e,t,n,r,o){if(!i.default.call(e))return!1;try{t(e.func.apply(e.context,e.args))}catch(a){o(a)}return!0},s=t.cps=function(e,t,n,r,o){var a;return!!i.default.cps(e)&&((a=e.func).call.apply(a,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args),[function(e,n){e?o(e):t(n)}])),!0)};t.default=[a,s]},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,s;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(s=e[a=n[i]])&&!t.hasOwnProperty(a)||s!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){e.exports=function(e){function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let n;function a(...e){if(!a.enabled)return;const t=a,o=Number(new Date),i=o-(n||o);t.diff=i,t.prev=n,t.curr=o,n=o,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,o)=>{if("%%"===n)return n;s++;const i=r.formatters[o];if("function"==typeof i){const r=e[s];n=i.call(t,r),e.splice(s,1),s--}return n}),r.formatArgs.call(t,e),(t.log||r.log).apply(t,e)}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function o(){const e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){const n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){const e=[...r.names.map(a),...r.skips.map(a).map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){let t;r.save(e),r.names=[],r.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){const e=r.instances[t];e.enabled=r.enabled(e.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(152),Object.keys(e).forEach(t=>{r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t){var n=1e3,r=60*n,o=60*r,i=24*o,a=7*i,s=365.25*i;function c(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var c=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*o;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return c(e,t,i,"day");if(t>=o)return c(e,t,o,"hour");if(t>=r)return c(e,t,r,"minute");if(t>=n)return c(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(e[a=n[i]]!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,u=l&&l(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=l(n);f&&f!==u&&e(t,f,d)}var h=a(n);s&&(h=h.concat(s(n)));for(var p=0;p<h.length;++p){var v=h[p];if(!(r[v]||o[v]||d&&d[v])){var m=c(n,v);try{i(t,v,m)}catch(g){}}}return t}return t}},function(e,t){!function(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){return!!this.paused||!t[o]&&!t[i]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}(Mousetrap)},function(e,t,n){n(158)},function(e,t,n){"use strict";var r,o=n(159);(0,((r=o)&&r.__esModule?r:{default:r}).default)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,o.default)(r.default)};var r=i(n(160)),o=i(n(181));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){e.exports=n(161).default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(162)),o=c(n(177)),i=n(178),a=c(n(179)),s=c(n(180));function c(e){return e&&e.__esModule?e:{default:e}}t.default={create:function(e){var t={},n=Object.keys(e),r=(o.default.get(i.GLOBAL_CACHE_KEY)||{}).namespace,s=void 0===r?"":r;return n.forEach((function(e){var n=(0,a.default)(s,e);t[e]=n})),t},resolve:function(e){var t=(0,r.default)(e,1/0),n=(0,s.default)(t),o=n.classNames,i=n.hasInlineStyles,a=n.inlineStyles,c={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return i&&(c.style=a),c}}},function(e,t,n){"use strict";var r=n(19),o=n(22),i=n(71),a=n(81),s=a(),c=n(176),l=o.call(Function.call,s);r(l,{getPolyfill:a,implementation:i,shim:c}),e.exports=l},function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(70),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),l=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=l&&n;if(s&&e.length>0&&!o.call(e,0))for(var v=0;v<e.length;++v)f.push(String(v));if(r&&e.length>0)for(var m=0;m<e.length;++m)f.push(String(m));else for(var g in e)p&&"prototype"===g||!o.call(e,g)||f.push(String(g));if(c)for(var b=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(t){return!1}}(e),y=0;y<u.length;++y)b&&"constructor"===u[y]||!o.call(e,u[y])||f.push(u[y]);return f}}e.exports=r},function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(r+t);for(var n,a=o.call(arguments,1),s=function(){if(this instanceof n){var r=t.apply(this,a.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(o.call(arguments)))},c=Math.max(0,t.length-a.length),l=[],u=0;u<c;u++)l.push("$"+u);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},function(e,t,n){"use strict";var r=n(22),o=n(72),i=n(55),a=n(175),s=n(40),c=s("%TypeError%"),l=r.call(Function.call,s("%ObjectPrototype%").propertyIsEnumerable),u=r.call(Function.apply,s("%ArrayPrototype%").push),d=i(i({},o),{ToIndex:function(e){if(void 0===e)return 0;var t=this.ToInteger(e);if(t<0)throw new RangeError("index must be >= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n},EnumerableOwnProperties:function(e,t){var n=o.EnumerableOwnNames(e);if("key"===t)return n;if("value"===t||"key+value"===t){var r=[];return a(n,(function(n){l(e,n)&&u(r,["value"===t?e[n]:[n,e[n]]])})),r}throw new c('Assertion failed: "kind" is not "key", "value", or "key+value": '+t)}});delete d.EnumerableOwnNames,e.exports=d},function(e,t,n){"use strict";var r=n(32),o=n(167),i=n(53),a=n(40),s=a("%TypeError%"),c=a("%SyntaxError%"),l=a("%Array%"),u=a("%String%"),d=a("%Object%"),f=a("%Number%"),h=a("%Symbol%",!0),p=a("%RegExp%"),v=!!h,m=n(76),g=n(77),b=n(78),y=f.MAX_SAFE_INTEGER||Math.pow(2,53)-1,k=n(55),_=n(79),w=n(80),O=n(171),S=parseInt,E=n(22),C=E.call(Function.call,l.prototype.slice),T=E.call(Function.call,u.prototype.slice),x=E.call(Function.call,p.prototype.test,/^0b[01]+$/i),D=E.call(Function.call,p.prototype.test,/^0o[0-7]+$/i),M=E.call(Function.call,p.prototype.exec),j=new p("["+["
","",""].join("")+"]","g"),I=E.call(Function.call,p.prototype.test,j),P=E.call(Function.call,p.prototype.test,/^[-+]0x[0-9a-f]+$/i),N=E.call(Function.call,u.prototype.charCodeAt),R=E.call(Function.call,Object.prototype.toString),L=E.call(Function.call,a("%NumberPrototype%").valueOf),A=E.call(Function.call,a("%BooleanPrototype%").valueOf),z=E.call(Function.call,a("%StringPrototype%").valueOf),F=E.call(Function.call,a("%DatePrototype%").valueOf),H=Math.floor,V=Math.abs,B=Object.create,U=d.getOwnPropertyDescriptor,W=d.isExtensible,K=d.defineProperty,Y=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),$=new RegExp("(^["+Y+"]+)|(["+Y+"]+$)","g"),q=E.call(Function.call,u.prototype.replace),G=n(172),Z=n(174),X=k(k({},G),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new s(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=O(e)?e:o(e,f);if("symbol"==typeof t)throw new s("Cannot convert a Symbol value to a number");if("string"==typeof t){if(x(t))return this.ToNumber(S(T(t,2),2));if(D(t))return this.ToNumber(S(T(t,2),8));if(I(t)||P(t))return NaN;var n=function(e){return q(e,$,"")}(t);if(n!==t)return this.ToNumber(n)}return f(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(g(t)||0===t||!b(t))return 0;var n=_(t)*H(V(t));return w(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(g(t)||t<=0)return 0;if(t>=255)return 255;var n=H(e);return n+.5<t?n+1:t<n+.5?n:n%2!=0?n+1:n},ToString:function(e){if("symbol"==typeof e)throw new s("Cannot convert a Symbol value to a string");return u(e)},ToObject:function(e){return this.RequireObjectCoercible(e),d(e)},ToPropertyKey:function(e){var t=this.ToPrimitive(e,u);return"symbol"==typeof t?t:this.ToString(t)},ToLength:function(e){var t=this.ToInteger(e);return t<=0?0:t>y?y:t},CanonicalNumericIndexString:function(e){if("[object String]"!==R(e))throw new s("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:G.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===R(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!O(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||g(e)||!b(e))return!1;var t=V(e);return H(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(v){var t=e[h.match];if(void 0!==t)return G.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||g(e)&&g(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new s(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":G.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new s("O.constructor is not an Object");var r=v&&h.species?n[h.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new s("no constructor found")},CompletePropertyDescriptor:function(e){return m(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");if("Boolean"!==this.Type(r))throw new s("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(o){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(v&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");var n=C(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!v)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new s("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new s("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new s("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var i=this.Call(o,e,[])}catch(a){throw n=r(),r=null,a}if(n=r(),r=null,"Object"!==this.Type(i))throw new s("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new s("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new s("R must be an Object");if("String"!==this.Type(t))throw new s("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new s('"exec" method must return `null` or an Object')}return M(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new s("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&v&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new s("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=U(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(K(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new s("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new s("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!B)throw new c("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new s("S must be a String");if(!this.IsInteger(t)||t<0||t>y)throw new s("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new s("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=N(e,t);if(r<55296||r>56319)return t+1;var o=N(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!K(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!K(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");return i(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:L(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:A(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:z(e)},thisTimeValue:function(e){return F(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(168)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(73),i=n(54),a=n(169),s=n(74),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")},l=function(e,t){var n=e[t];if(null!=n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var i=t.call(e,n);if(o(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=window.Symbol,o=n(75);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(40),o=r("%Object%"),i=r("%TypeError%"),a=r("%String%"),s=n(76),c=n(77),l=n(78),u=n(79),d=n(80),f=n(54),h=n(173),p=n(32),v={ToPrimitive:h,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return c(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return a(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new i(t||"Cannot call method on "+e);return e},IsCallable:f,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new i("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(s(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new i("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new i("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=v},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(73),i=n(54),a=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,a,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(i(e[s[a]])&&(n=e[s[a]](),o(n)))return n;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")};e.exports=function(e){return o(e)?e:arguments.length>1?a(e,arguments[1]):a(e)}},function(e,t,n){"use strict";var r=n(32),o=RegExp.prototype.exec,i=Object.getOwnPropertyDescriptor,a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===a.call(e);var t=i(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(n){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";e.exports=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)}},function(e,t,n){"use strict";var r=n(19),o=n(81);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";var r=n(19),o=n(74),i="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(i=Symbol.for(i));var a=function(){return!0},s=function(){if(!window[i]){var e={};e[i]={};var t={};t[i]=a,r(window,e,t)}return window[i]},c=s(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete window[i],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var i={};return i[n]=a,r(c,o,i),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var i=e[o];i&&("string"==typeof i?t.push(i):(Object.assign(r,i),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r.default.registerInterface(e),r.default.registerTheme(o.default)};var r=i(n(82)),o=i(n(83));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56);Object.defineProperty(t,"CalendarDay",{enumerable:!0,get:function(){return O(r).default}});var o=n(87);Object.defineProperty(t,"CalendarMonth",{enumerable:!0,get:function(){return O(o).default}});var i=n(89);Object.defineProperty(t,"CalendarMonthGrid",{enumerable:!0,get:function(){return O(i).default}});var a=n(203);Object.defineProperty(t,"DateRangePicker",{enumerable:!0,get:function(){return O(a).default}});var s=n(104);Object.defineProperty(t,"DateRangePickerInput",{enumerable:!0,get:function(){return O(s).default}});var c=n(103);Object.defineProperty(t,"DateRangePickerInputController",{enumerable:!0,get:function(){return O(c).default}});var l=n(96);Object.defineProperty(t,"DateRangePickerShape",{enumerable:!0,get:function(){return O(l).default}});var u=n(63);Object.defineProperty(t,"DayPicker",{enumerable:!0,get:function(){return O(u).default}});var d=n(112);Object.defineProperty(t,"DayPickerRangeController",{enumerable:!0,get:function(){return O(d).default}});var f=n(115);Object.defineProperty(t,"DayPickerSingleDateController",{enumerable:!0,get:function(){return O(f).default}});var h=n(226);Object.defineProperty(t,"SingleDatePicker",{enumerable:!0,get:function(){return O(h).default}});var p=n(117);Object.defineProperty(t,"SingleDatePickerInput",{enumerable:!0,get:function(){return O(p).default}});var v=n(116);Object.defineProperty(t,"SingleDatePickerShape",{enumerable:!0,get:function(){return O(v).default}});var m=n(35);Object.defineProperty(t,"isInclusivelyAfterDay",{enumerable:!0,get:function(){return O(m).default}});var g=n(227);Object.defineProperty(t,"isInclusivelyBeforeDay",{enumerable:!0,get:function(){return O(g).default}});var b=n(113);Object.defineProperty(t,"isNextDay",{enumerable:!0,get:function(){return O(b).default}});var y=n(25);Object.defineProperty(t,"isSameDay",{enumerable:!0,get:function(){return O(y).default}});var k=n(42);Object.defineProperty(t,"toISODateString",{enumerable:!0,get:function(){return O(k).default}});var _=n(61);Object.defineProperty(t,"toLocalizedDateString",{enumerable:!0,get:function(){return O(_).default}});var w=n(26);function O(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"toMomentObject",{enumerable:!0,get:function(){return O(w).default}})},function(e,t,n){"use strict";var r=n(19),o=n(85);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},function(e,t,n){"use strict";var r=n(185);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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:i,resetWarningCache:o};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){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){var r=n(6);e.exports={isValidMoment:function(e){return!("function"==typeof r.isMoment&&!r.isMoment(e))&&("function"==typeof e.isValid?e.isValid():!isNaN(e))}}},function(e,t){var n={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}var i=-1;e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,a,s){return r((function(r,c,l,u,d,f,h){var p=l[u],v=typeof p,m=function(e,t,n,r){var a=void 0===r,s=null===r;if(e){if(a)return o(n,t,"undefined");if(s)return o(n,t,"null")}return a||s?null:i}(r,d=d||n.anonymousMessage,h=h||u,p);if(m!==i)return m;if(t&&!t(p))return new Error(n.invalidTypeCore+": `"+u+"` of type `"+v+"` supplied to `"+d+"`, expected `"+e+"`.");if(!a(p))return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+v+"` supplied to `"+d+"`, expected `"+s+"`.");if(c&&!c(p)){var g=c.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+f+" `"+u+"` of type `"+v+"` supplied to `"+d+"`. "+n.predicateFailureCore+" `"+g+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(191),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),v=c(n),m=0;m<a.length;++m){var g=a[m];if(!(i[g]||r&&r[g]||v&&v[g]||s&&s[g])){var b=f(n,g);try{l(t,g,b)}catch(y){}}}return t}return t}},function(e,t,n){"use strict";e.exports=n(192)},function(e,t,n){"use strict"; -/** @license React v16.8.6 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116;function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case a:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case l:return e;default:return t}}case m:case v:case i:return t}}}function b(e){return g(e)===f}t.typeOf=g,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h)},t.isAsyncMode=function(e){return b(e)||g(e)===d},t.isConcurrentMode=b,t.isContextConsumer=function(e){return g(e)===u},t.isContextProvider=function(e){return g(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return g(e)===h},t.isFragment=function(e){return g(e)===a},t.isLazy=function(e){return g(e)===m},t.isMemo=function(e){return g(e)===v},t.isPortal=function(e){return g(e)===i},t.isProfiler=function(e){return g(e)===c},t.isStrictMode=function(e){return g(e)===s},t.isSuspense=function(e){return g(e)===p}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default.shape({getState:i.default.func,setState:i.default.func,subscribe:i.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=n(12),i=s(n(56)),a=s(n(197));function s(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(i.default),(0,o.childrenOfType)(a.default)]).isRequired});function l(e){var t=e.children;return r.default.createElement("tr",null,t)}l.propTypes=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=g(n(13)),a=g(n(1)),s=g(n(4)),c=g(n(24)),l=g(n(20)),u=n(12),d=n(16),f=g(n(6)),h=n(14),p=g(n(15)),v=g(n(86)),m=n(7);function g(e){return e&&e.__esModule?e:{default:e}}var b=g(n(83)).default.reactDates.color;function y(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var k=s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string,hover:s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string})}),_=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:s.default.instanceOf(Set),isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,defaultStyles:k,outsideStyles:k,todayStyles:k,firstDayOfWeekStyles:k,lastDayOfWeekStyles:k,highlightedCalendarStyles:k,blockedMinNightsStyles:k,blockedCalendarStyles:k,blockedOutOfRangeStyles:k,hoveredSpanStyles:k,selectedSpanStyles:k,lastInRangeStyles:k,selectedStyles:k,selectedStartStyles:k,selectedEndStyles:k,afterHoveredStartStyles:k,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),w=t.defaultStyles={border:"1px solid "+String(b.core.borderLight),color:b.text,background:b.background,hover:{background:b.core.borderLight,border:"1px double "+String(b.core.borderLight),color:"inherit"}},O=t.outsideStyles={background:b.outside.backgroundColor,border:0,color:b.outside.color},S=t.highlightedCalendarStyles={background:b.highlighted.backgroundColor,color:b.highlighted.color,hover:{background:b.highlighted.backgroundColor_hover,color:b.highlighted.color_active}},E=t.blockedMinNightsStyles={background:b.minimumNights.backgroundColor,border:"1px solid "+String(b.minimumNights.borderColor),color:b.minimumNights.color,hover:{background:b.minimumNights.backgroundColor_hover,color:b.minimumNights.color_active}},C=t.blockedCalendarStyles={background:b.blocked_calendar.backgroundColor,border:"1px solid "+String(b.blocked_calendar.borderColor),color:b.blocked_calendar.color,hover:{background:b.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(b.blocked_calendar.borderColor),color:b.blocked_calendar.color_active}},T=t.blockedOutOfRangeStyles={background:b.blocked_out_of_range.backgroundColor,border:"1px solid "+String(b.blocked_out_of_range.borderColor),color:b.blocked_out_of_range.color,hover:{background:b.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(b.blocked_out_of_range.borderColor),color:b.blocked_out_of_range.color_active}},x=t.hoveredSpanStyles={background:b.hoveredSpan.backgroundColor,border:"1px solid "+String(b.hoveredSpan.borderColor),color:b.hoveredSpan.color,hover:{background:b.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(b.hoveredSpan.borderColor),color:b.hoveredSpan.color_active}},D=t.selectedSpanStyles={background:b.selectedSpan.backgroundColor,border:"1px solid "+String(b.selectedSpan.borderColor),color:b.selectedSpan.color,hover:{background:b.selectedSpan.backgroundColor_hover,border:"1px solid "+String(b.selectedSpan.borderColor),color:b.selectedSpan.color_active}},M=t.lastInRangeStyles={borderRight:b.core.primary},j=t.selectedStyles={background:b.selected.backgroundColor,border:"1px solid "+String(b.selected.borderColor),color:b.selected.color,hover:{background:b.selected.backgroundColor_hover,border:"1px solid "+String(b.selected.borderColor),color:b.selected.color_active}},I={day:(0,f.default)(),daySize:m.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",defaultStyles:w,outsideStyles:O,todayStyles:{},highlightedCalendarStyles:S,blockedMinNightsStyles:E,blockedCalendarStyles:C,blockedOutOfRangeStyles:T,hoveredSpanStyles:x,selectedSpanStyles:D,lastInRangeStyles:M,selectedStyles:j,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:h.CalendarDayPhrases},P=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=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,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.state={isHovered:!1},i.setButtonRef=i.setButtonRef.bind(i),i}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),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){var n=this.props.onDayMouseEnter;this.setState({isHovered:!0}),n(e,t)}},{key:"onDayMouseLeave",value:function(e,t){var n=this.props.onDayMouseLeave;this.setState({isHovered:!1}),n(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.tabIndex,u=t.renderDayContents,f=t.styles,h=t.phrases,p=t.defaultStyles,m=t.outsideStyles,g=t.todayStyles,b=t.firstDayOfWeekStyles,k=t.lastDayOfWeekStyles,_=t.highlightedCalendarStyles,w=t.blockedMinNightsStyles,O=t.blockedCalendarStyles,S=t.blockedOutOfRangeStyles,E=t.hoveredSpanStyles,C=t.selectedSpanStyles,T=t.lastInRangeStyles,x=t.selectedStyles,D=t.selectedStartStyles,M=t.selectedEndStyles,j=t.afterHoveredStartStyles,I=this.state.isHovered;if(!n)return a.default.createElement("td",null);var P=(0,v.default)(n,o,i,c,h),N=P.daySizeStyles,R=P.useDefaultCursor,L=P.selected,A=P.hoveredSpan,z=P.isOutsideRange,F=P.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,R&&f.CalendarDay__defaultCursor,N,y(p,I),s&&y(m,I),c.has("today")&&y(g,I),c.has("first-day-of-week")&&y(b,I),c.has("last-day-of-week")&&y(k,I),c.has("highlighted-calendar")&&y(_,I),c.has("blocked-minimum-nights")&&y(w,I),c.has("blocked-calendar")&&y(O,I),A&&y(E,I),c.has("after-hovered-start")&&y(j,I),c.has("selected-span")&&y(C,I),c.has("last-in-range")&&y(T,I),L&&y(x,I),c.has("selected-start")&&y(D,I),c.has("selected-end")&&y(M,I),z&&y(S,I)),{role:"button",ref:this.setButtonRef,"aria-label":F,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:l}),u?u(n,c):n.format("D"))}}]),t}(a.default.Component);P.propTypes=_,P.defaultProps=I,t.PureCustomizableCalendarDay=P,t.default=(0,d.withStyles)((function(e){return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:e.reactDates.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"}}}))(P)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default.localeData().firstDayOfWeek();if(!i.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===a.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day").diff(l,"days")+1,d=l.clone(),f=[],h=0;h<u;h+=1){h%7==0&&f.push([]);var p=null;(h>=s&&h<u-c||t)&&(p=d.clone()),f[f.length-1].push(p),d.add(1,"day")}return f};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!!("undefined"!=typeof window&&"TransitionEvent"in window)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{transform:e,msTransform:e,MozTransform:e,WebkitTransform:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().subtract(1,"month"),t)};var r=i(n(6)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().add(1,"month"),t)};var r=i(n(6)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDateRangePicker=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(24)),c=C(n(6)),l=n(16),u=n(118),d=n(12),f=n(43),h=C(n(28)),p=C(n(57)),v=C(n(96)),m=n(14),g=C(n(100)),b=C(n(101)),y=C(n(59)),k=C(n(35)),_=C(n(102)),w=C(n(103)),O=C(n(112)),S=C(n(37)),E=n(7);function C(e){return e&&e.__esModule?e:{default:e}}var T=(0,d.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,v.default)),x={startDate:null,endDate:null,focusedInput:null,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDates:!1,showDefaultInputIcon:!1,inputIconPosition:E.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,keepFocusOnInput:!1,renderMonthText:null,orientation:E.HORIZONTAL_ORIENTATION,anchorDirection:E.ANCHOR_LEFT,openDirection:E.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,renderCalendarInfo:null,calendarInfoPosition:E.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:E.DAY_SIZE,isRTL:!1,firstDayOfWeek:null,verticalHeight:null,transitionDuration:void 0,verticalSpacing:E.DEFAULT_VERTICAL_SPACING,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,minimumNights:1,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,k.default)(e,(0,c.default)())},isDayHighlighted:function(){return!1},displayFormat:function(){return c.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:m.DateRangePickerPhrases,dayAriaLabelFormat:void 0},D=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.state={dayPickerContainerStyles:{},isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1},n.isTouchDevice=!1,n.onOutsideClick=n.onOutsideClick.bind(n),n.onDateRangePickerInputFocus=n.onDateRangePickerInputFocus.bind(n),n.onDayPickerFocus=n.onDayPickerFocus.bind(n),n.onDayPickerBlur=n.onDayPickerBlur.bind(n),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind(n),n.responsivizePickerPosition=n.responsivizePickerPosition.bind(n),n.disableScroll=n.disableScroll.bind(n),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,f.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focusedInput&&this.setState({isDateRangePickerInputFocused:!0}),this.isTouchDevice=(0,h.default)()}},{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.focusedInput;!e.focusedInput&&t&&this.isOpened()?(this.responsivizePickerPosition(),this.disableScroll()):!e.focusedInput||t||this.isOpened()||this.enableScroll&&this.enableScroll()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()}},{key:"onOutsideClick",value:function(e){var t=this.props,n=t.onFocusChange,r=t.onClose,o=t.startDate,i=t.endDate,a=t.appendToBody;this.isOpened()&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1}),n(null),r({startDate:o,endDate:i})))}},{key:"onDateRangePickerInputFocus",value:function(e){var t=this.props,n=t.onFocusChange,r=t.readOnly,o=t.withPortal,i=t.withFullScreenPortal,a=t.keepFocusOnInput;e&&(o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur()),n(e)}},{key:"onDayPickerFocus",value:function(){var e=this.props,t=e.focusedInput,n=e.onFocusChange;t||n(E.START_DATE),this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})}},{key:"onDayPickerBlur",value:function(){this.setState({isDateRangePickerInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})}},{key:"setDayPickerContainerRef",value:function(e){this.dayPickerContainer=e}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"isOpened",value:function(){var e=this.props.focusedInput;return e===E.START_DATE||e===E.END_DATE}},{key:"disableScroll",value:function(){var e=this.props,t=e.appendToBody,n=e.disableScroll;(t||n)&&this.isOpened()&&(this.enableScroll=(0,_.default)(this.container))}},{key:"responsivizePickerPosition",value:function(){if(this.setState({dayPickerContainerStyles:{}}),this.isOpened()){var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,a=e.withFullScreenPortal,s=e.appendToBody,c=this.state.dayPickerContainerStyles,l=n===E.ANCHOR_LEFT;if(!o&&!a){var u=this.dayPickerContainer.getBoundingClientRect(),d=c[n]||0,f=l?u[E.ANCHOR_RIGHT]:u[E.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:(0,i.default)({},(0,g.default)(n,d,f,r),s&&(0,b.default)(t,n,this.container))})}}}},{key:"showKeyboardShortcutsPanel",value:function(){this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})}},{key:"maybeRenderDayPickerWithPortal",value:function(){var e=this.props,t=e.withPortal,n=e.withFullScreenPortal,r=e.appendToBody;return this.isOpened()?t||n||r?a.default.createElement(u.Portal,null,this.renderDayPicker()):this.renderDayPicker():null}},{key:"renderDayPicker",value:function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,o=e.isDayBlocked,i=e.isDayHighlighted,s=e.isOutsideRange,u=e.numberOfMonths,d=e.orientation,f=e.monthFormat,h=e.renderMonthText,p=e.navPrev,v=e.navNext,m=e.onPrevMonthClick,g=e.onNextMonthClick,b=e.onDatesChange,k=e.onFocusChange,_=e.withPortal,w=e.withFullScreenPortal,C=e.daySize,T=e.enableOutsideDays,x=e.focusedInput,D=e.startDate,M=e.endDate,j=e.minimumNights,I=e.keepOpenOnDateSelect,P=e.renderCalendarDay,N=e.renderDayContents,R=e.renderCalendarInfo,L=e.renderMonthElement,A=e.calendarInfoPosition,z=e.firstDayOfWeek,F=e.initialVisibleMonth,H=e.hideKeyboardShortcutsPanel,V=e.customCloseIcon,B=e.onClose,U=e.phrases,W=e.dayAriaLabelFormat,K=e.isRTL,Y=e.weekDayFormat,$=e.styles,q=e.verticalHeight,G=e.transitionDuration,Z=e.verticalSpacing,X=e.small,Q=e.disabled,J=e.theme.reactDates,ee=this.state,te=ee.dayPickerContainerStyles,ne=ee.isDayPickerFocused,re=ee.showKeyboardShortcuts,oe=!w&&_?this.onOutsideClick:void 0,ie=F||function(){return D||M||(0,c.default)()},ae=V||a.default.createElement(S.default,(0,l.css)($.DateRangePicker_closeButton_svg)),se=(0,y.default)(J,X),ce=_||w;return a.default.createElement("div",r({ref:this.setDayPickerContainerRef},(0,l.css)($.DateRangePicker_picker,t===E.ANCHOR_LEFT&&$.DateRangePicker_picker__directionLeft,t===E.ANCHOR_RIGHT&&$.DateRangePicker_picker__directionRight,d===E.HORIZONTAL_ORIENTATION&&$.DateRangePicker_picker__horizontal,d===E.VERTICAL_ORIENTATION&&$.DateRangePicker_picker__vertical,!ce&&n===E.OPEN_DOWN&&{top:se+Z},!ce&&n===E.OPEN_UP&&{bottom:se+Z},ce&&$.DateRangePicker_picker__portal,w&&$.DateRangePicker_picker__fullScreenPortal,K&&$.DateRangePicker_picker__rtl,te),{onClick:oe}),a.default.createElement(O.default,{orientation:d,enableOutsideDays:T,numberOfMonths:u,onPrevMonthClick:m,onNextMonthClick:g,onDatesChange:b,onFocusChange:k,onClose:B,focusedInput:x,startDate:D,endDate:M,monthFormat:f,renderMonthText:h,withPortal:ce,daySize:C,initialVisibleMonth:ie,hideKeyboardShortcutsPanel:H,navPrev:p,navNext:v,minimumNights:j,isOutsideRange:s,isDayHighlighted:i,isDayBlocked:o,keepOpenOnDateSelect:I,renderCalendarDay:P,renderDayContents:N,renderCalendarInfo:R,renderMonthElement:L,calendarInfoPosition:A,isFocused:ne,showKeyboardShortcuts:re,onBlur:this.onDayPickerBlur,phrases:U,dayAriaLabelFormat:W,isRTL:K,firstDayOfWeek:z,weekDayFormat:Y,verticalHeight:q,transitionDuration:G,disabled:Q}),w&&a.default.createElement("button",r({},(0,l.css)($.DateRangePicker_closeButton),{type:"button",onClick:this.onOutsideClick,"aria-label":U.closeDatePicker}),ae))}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,i=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,u=e.focusedInput,d=e.screenReaderInputMessage,f=e.showClearDates,h=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,g=e.customArrowIcon,b=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,O=e.openDirection,S=e.phrases,C=e.isOutsideRange,T=e.minimumNights,x=e.withPortal,D=e.withFullScreenPortal,M=e.displayFormat,j=e.reopenPickerOnClearDates,I=e.keepOpenOnDateSelect,P=e.onDatesChange,N=e.onClose,R=e.isRTL,L=e.noBorder,A=e.block,z=e.verticalSpacing,F=e.small,H=e.regular,V=e.styles,B=this.state.isDateRangePickerInputFocused,U=!x&&!D,W=z<E.FANG_HEIGHT_PX,K=a.default.createElement(w.default,{startDate:t,startDateId:n,startDatePlaceholderText:o,isStartDateFocused:u===E.START_DATE,endDate:i,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:u===E.END_DATE,displayFormat:M,showClearDates:f,showCaret:!x&&!D&&!W,showDefaultInputIcon:h,inputIconPosition:v,customInputIcon:m,customArrowIcon:g,customCloseIcon:b,disabled:y,required:k,readOnly:_,openDirection:O,reopenPickerOnClearDates:j,keepOpenOnDateSelect:I,isOutsideRange:C,minimumNights:T,withFullScreenPortal:D,onDatesChange:P,onFocusChange:this.onDateRangePickerInputFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,onClose:N,phrases:S,screenReaderMessage:d,isFocused:B,isRTL:R,noBorder:L,block:A,small:F,regular:H,verticalSpacing:z});return a.default.createElement("div",r({ref:this.setContainerRef},(0,l.css)(V.DateRangePicker,A&&V.DateRangePicker__block)),U&&a.default.createElement(p.default,{onOutsideClick:this.onOutsideClick},K,this.maybeRenderDayPickerWithPortal()),!U&&K,!U&&this.maybeRenderDayPickerWithPortal())}}]),t}(a.default.Component);D.propTypes=T,D.defaultProps=x,t.PureDateRangePicker=D,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{DateRangePicker:{position:"relative",display:"inline-block"},DateRangePicker__block:{display:"block"},DateRangePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},DateRangePicker_picker__rtl:{direction:"rtl"},DateRangePicker_picker__directionLeft:{left:0},DateRangePicker_picker__directionRight:{right:0},DateRangePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:0,height:"100%",width:"100%"},DateRangePicker_picker__fullScreenPortal:{backgroundColor:n.background},DateRangePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:0,padding:15,zIndex:r+2,":hover":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"},":focus":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"}},DateRangePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}))(D)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),i=u(n(4)),a=n(12),s=n(43),c=u(n(58)),l=u(n(207));function u(e){return e&&e.__esModule?e:{default:e}}var d={BLOCK:"block",FLEX:"flex",INLINE_BLOCK:"inline-block"},f=(0,a.forbidExtraProps)({children:i.default.node.isRequired,onOutsideClick:i.default.func.isRequired,disabled:i.default.bool,useCapture:i.default.bool,display:i.default.oneOf((0,c.default)(d))}),h={disabled:!1,useCapture:!0,display:d.BLOCK},p=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=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,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.onMouseDown=i.onMouseDown.bind(i),i.onMouseUp=i.onMouseUp.bind(i),i.setChildNodeRef=i.setChildNodeRef.bind(i),i}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(){var e=this.props,t=e.disabled,n=e.useCapture;t||this.addMouseDownEventListener(n)}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled,n=e.useCapture;this.props.disabled!==t&&(t?this.removeEventListeners():this.addMouseDownEventListener(n))}},{key:"componentWillUnmount",value:function(){this.removeEventListeners()}},{key:"onMouseDown",value:function(e){var t=this.props.useCapture;this.childNode&&(0,l.default)(this.childNode,e.target)||(this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),this.removeMouseUp=(0,s.addEventListener)(document,"mouseup",this.onMouseUp,{capture:t}))}},{key:"onMouseUp",value:function(e){var t=this.props.onOutsideClick,n=this.childNode&&(0,l.default)(this.childNode,e.target);this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),n||t(e)}},{key:"setChildNodeRef",value:function(e){this.childNode=e}},{key:"addMouseDownEventListener",value:function(e){this.removeMouseDown=(0,s.addEventListener)(document,"mousedown",this.onMouseDown,{capture:e})}},{key:"removeEventListeners",value:function(){this.removeMouseDown&&this.removeMouseDown(),this.removeMouseUp&&this.removeMouseUp()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.display;return o.default.createElement("div",{ref:this.setChildNodeRef,style:n!==d.BLOCK&&(0,c.default)(d).includes(n)?{display:n}:void 0},t)}}]),t}(o.default.Component);t.default=p,p.propTypes=f,p.defaultProps=h},function(e,t,n){"use strict";e.exports=n(72)},function(e,t,n){"use strict";var r=n(93),o=n(19);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(19),o=n(94),i=n(95),a=i(),s=function(e,t){return a.apply(e,[t])};r(s,{getPolyfill:i,implementation:o,shim:n(208)}),e.exports=s},function(e,t,n){"use strict";var r=n(19),o=n(95);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(60),o=n(210),i=n(212),a="Expected a function",s=Math.max,c=Math.min;e.exports=function(e,t,n){var l,u,d,f,h,p,v=0,m=!1,g=!1,b=!0;if("function"!=typeof e)throw new TypeError(a);function y(t){var n=l,r=u;return l=u=void 0,v=t,f=e.apply(r,n)}function k(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-v>=d}function _(){var e=o();if(k(e))return w(e);h=setTimeout(_,function(e){var n=t-(e-p);return g?c(n,d-(e-v)):n}(e))}function w(e){return h=void 0,b&&l?y(e):(l=u=void 0,f)}function O(){var e=o(),n=k(e);if(l=arguments,u=this,p=e,n){if(void 0===h)return function(e){return v=e,h=setTimeout(_,t),m?y(e):f}(p);if(g)return clearTimeout(h),h=setTimeout(_,t),y(p)}return void 0===h&&(h=setTimeout(_,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,d=(g="maxWait"in n)?s(i(n.maxWait)||0,t):d,b="trailing"in n?!!n.trailing:b),O.cancel=function(){void 0!==h&&clearTimeout(h),v=0,l=p=u=h=void 0},O.flush=function(){return void 0===h?f:w(o())},O}},function(e,t,n){var r=n(107);e.exports=function(){return r.Date.now()}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(60),o=n(213),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=c.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?i:+e}},function(e,t,n){var r=n(214),o=n(217),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(108),o=n(215),i=n(216),a="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:c&&c in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(108),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=g(n(13)),i=g(n(1)),a=g(n(4)),s=n(12),c=n(16),l=n(14),u=g(n(15)),d=g(n(110)),f=g(n(109)),h=g(n(220)),p=g(n(221)),v=g(n(27)),m=n(7);function g(e){return e&&e.__esModule?e:{default:e}}function b(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var y=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{navPrev:a.default.node,navNext:a.default.node,orientation:v.default,onPrevMonthClick:a.default.func,onNextMonthClick:a.default.func,phrases:a.default.shape((0,u.default)(l.DayPickerNavigationPhrases)),isRTL:a.default.bool})),k={navPrev:null,navNext:null,orientation:m.HORIZONTAL_ORIENTATION,onPrevMonthClick:function(){},onNextMonthClick:function(){},phrases:l.DayPickerNavigationPhrases,isRTL:!1};function _(e){var t=e.navPrev,n=e.navNext,o=e.onPrevMonthClick,a=e.onNextMonthClick,s=e.orientation,l=e.phrases,u=e.isRTL,v=e.styles,g=s===m.HORIZONTAL_ORIENTATION,y=s!==m.HORIZONTAL_ORIENTATION,k=s===m.VERTICAL_SCROLLABLE,_=t,w=n,O=!1,S=!1;if(!_){O=!0;var E=y?h.default:d.default;u&&!y&&(E=f.default),_=i.default.createElement(E,(0,c.css)(g&&v.DayPickerNavigation_svg__horizontal,y&&v.DayPickerNavigation_svg__vertical))}if(!w){S=!0;var C=y?p.default:f.default;u&&!y&&(C=d.default),w=i.default.createElement(C,(0,c.css)(g&&v.DayPickerNavigation_svg__horizontal,y&&v.DayPickerNavigation_svg__vertical))}var T=k?S:S||O;return i.default.createElement("div",c.css.apply(void 0,[v.DayPickerNavigation,g&&v.DayPickerNavigation__horizontal].concat(b(y&&[v.DayPickerNavigation__vertical,T&&v.DayPickerNavigation__verticalDefault]),b(k&&[v.DayPickerNavigation__verticalScrollable,T&&v.DayPickerNavigation__verticalScrollableDefault]))),!k&&i.default.createElement("div",r({role:"button",tabIndex:"0"},c.css.apply(void 0,[v.DayPickerNavigation_button,O&&v.DayPickerNavigation_button__default].concat(b(g&&[v.DayPickerNavigation_button__horizontal].concat(b(O&&[v.DayPickerNavigation_button__horizontalDefault,!u&&v.DayPickerNavigation_leftButton__horizontalDefault,u&&v.DayPickerNavigation_rightButton__horizontalDefault]))),b(y&&[v.DayPickerNavigation_button__vertical].concat(b(O&&[v.DayPickerNavigation_button__verticalDefault,v.DayPickerNavigation_prevButton__verticalDefault]))))),{"aria-label":l.jumpToPrevMonth,onClick:o,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||o(e)},onMouseUp:function(e){e.currentTarget.blur()}}),_),i.default.createElement("div",r({role:"button",tabIndex:"0"},c.css.apply(void 0,[v.DayPickerNavigation_button,S&&v.DayPickerNavigation_button__default].concat(b(g&&[v.DayPickerNavigation_button__horizontal].concat(b(S&&[v.DayPickerNavigation_button__horizontalDefault,u&&v.DayPickerNavigation_leftButton__horizontalDefault,!u&&v.DayPickerNavigation_rightButton__horizontalDefault]))),b(y&&[v.DayPickerNavigation_button__vertical,v.DayPickerNavigation_nextButton__vertical].concat(b(S&&[v.DayPickerNavigation_button__verticalDefault,v.DayPickerNavigation_nextButton__verticalDefault,k&&v.DayPickerNavigation_nextButton__verticalScrollableDefault]))))),{"aria-label":l.jumpToNextMonth,onClick:a,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||a(e)},onMouseUp:function(e){e.currentTarget.blur()}}),w))}_.propTypes=y,_.defaultProps=k,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color;return{DayPickerNavigation:{position:"relative",zIndex:t.zIndex+2},DayPickerNavigation__horizontal:{height:0},DayPickerNavigation__vertical:{},DayPickerNavigation__verticalScrollable:{},DayPickerNavigation__verticalDefault:{position:"absolute",width:"100%",height:52,bottom:0,left:0},DayPickerNavigation__verticalScrollableDefault:{position:"relative"},DayPickerNavigation_button:{cursor:"pointer",userSelect:"none",border:0,padding:0,margin:0},DayPickerNavigation_button__default:{border:"1px solid "+String(n.core.borderLight),backgroundColor:n.background,color:n.placeholderText,":focus":{border:"1px solid "+String(n.core.borderMedium)},":hover":{border:"1px solid "+String(n.core.borderMedium)},":active":{background:n.backgroundDark}},DayPickerNavigation_button__horizontal:{},DayPickerNavigation_button__horizontalDefault:{position:"absolute",top:18,lineHeight:.78,borderRadius:3,padding:"6px 9px"},DayPickerNavigation_leftButton__horizontalDefault:{left:22},DayPickerNavigation_rightButton__horizontalDefault:{right:22},DayPickerNavigation_button__vertical:{},DayPickerNavigation_button__verticalDefault:{padding:5,background:n.background,boxShadow:"0 0 5px 2px rgba(0, 0, 0, 0.1)",position:"relative",display:"inline-block",height:"100%",width:"50%"},DayPickerNavigation_prevButton__verticalDefault:{},DayPickerNavigation_nextButton__verticalDefault:{borderLeft:0},DayPickerNavigation_nextButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_svg__horizontal:{height:19,width:19,fill:n.core.grayLight,display:"block"},DayPickerNavigation_svg__vertical:{height:42,width:42,fill:n.text,display:"block"}}}))(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOTTOM_RIGHT=t.TOP_RIGHT=t.TOP_LEFT=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=p(n(13)),a=p(n(1)),s=p(n(4)),c=n(12),l=n(16),u=n(14),d=p(n(15)),f=p(n(223)),h=p(n(37));function p(e){return e&&e.__esModule?e:{default:e}}var v=t.TOP_LEFT="top-left",m=t.TOP_RIGHT="top-right",g=t.BOTTOM_RIGHT="bottom-right",b=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{block:s.default.bool,buttonLocation:s.default.oneOf([v,m,g]),showKeyboardShortcutsPanel:s.default.bool,openKeyboardShortcutsPanel:s.default.func,closeKeyboardShortcutsPanel:s.default.func,phrases:s.default.shape((0,d.default)(u.DayPickerKeyboardShortcutsPhrases))})),y={block:!1,buttonLocation:g,showKeyboardShortcutsPanel:!1,openKeyboardShortcutsPanel:function(){},closeKeyboardShortcutsPanel:function(){},phrases:u.DayPickerKeyboardShortcutsPhrases};function k(e){return[{unicode:"↵",label:e.enterKey,action:e.selectFocusedDate},{unicode:"←/→",label:e.leftArrowRightArrow,action:e.moveFocusByOneDay},{unicode:"↑/↓",label:e.upArrowDownArrow,action:e.moveFocusByOneWeek},{unicode:"PgUp/PgDn",label:e.pageUpPageDown,action:e.moveFocusByOneMonth},{unicode:"Home/End",label:e.homeEnd,action:e.moveFocustoStartAndEndOfWeek},{unicode:"Esc",label:e.escape,action:e.returnFocusToInput},{unicode:"?",label:e.questionMark,action:e.openThisPanel}]}var _=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=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,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),a=i.props.phrases;return i.keyboardShortcuts=k(a),i.onShowKeyboardShortcutsButtonClick=i.onShowKeyboardShortcutsButtonClick.bind(i),i.setShowKeyboardShortcutsButtonRef=i.setShowKeyboardShortcutsButtonRef.bind(i),i.setHideKeyboardShortcutsButtonRef=i.setHideKeyboardShortcutsButtonRef.bind(i),i.handleFocus=i.handleFocus.bind(i),i.onKeyDown=i.onKeyDown.bind(i),i}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),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.phrases;e.phrases!==t&&(this.keyboardShortcuts=k(e.phrases))}},{key:"componentDidUpdate",value:function(){this.handleFocus()}},{key:"onKeyDown",value:function(e){e.stopPropagation();var t=this.props.closeKeyboardShortcutsPanel;switch(e.key){case"Enter":case" ":case"Spacebar":case"Escape":t();break;case"ArrowUp":case"ArrowDown":break;case"Tab":case"Home":case"End":case"PageUp":case"PageDown":case"ArrowLeft":case"ArrowRight":e.preventDefault()}}},{key:"onShowKeyboardShortcutsButtonClick",value:function(){var e=this;(0,this.props.openKeyboardShortcutsPanel)((function(){e.showKeyboardShortcutsButton.focus()}))}},{key:"setShowKeyboardShortcutsButtonRef",value:function(e){this.showKeyboardShortcutsButton=e}},{key:"setHideKeyboardShortcutsButtonRef",value:function(e){this.hideKeyboardShortcutsButton=e}},{key:"handleFocus",value:function(){this.hideKeyboardShortcutsButton&&this.hideKeyboardShortcutsButton.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.block,o=t.buttonLocation,i=t.showKeyboardShortcutsPanel,s=t.closeKeyboardShortcutsPanel,c=t.styles,u=t.phrases,d=i?u.hideKeyboardShortcutsPanel:u.showKeyboardShortcutsPanel,p=o===g,b=o===m,y=o===v;return a.default.createElement("div",null,a.default.createElement("button",r({ref:this.setShowKeyboardShortcutsButtonRef},(0,l.css)(c.DayPickerKeyboardShortcuts_buttonReset,c.DayPickerKeyboardShortcuts_show,p&&c.DayPickerKeyboardShortcuts_show__bottomRight,b&&c.DayPickerKeyboardShortcuts_show__topRight,y&&c.DayPickerKeyboardShortcuts_show__topLeft),{type:"button","aria-label":d,onClick:this.onShowKeyboardShortcutsButtonClick,onKeyDown:function(t){"Enter"===t.key?t.preventDefault():"Space"===t.key&&e.onShowKeyboardShortcutsButtonClick(t)},onMouseUp:function(e){e.currentTarget.blur()}}),a.default.createElement("span",(0,l.css)(c.DayPickerKeyboardShortcuts_showSpan,p&&c.DayPickerKeyboardShortcuts_showSpan__bottomRight,b&&c.DayPickerKeyboardShortcuts_showSpan__topRight,y&&c.DayPickerKeyboardShortcuts_showSpan__topLeft),"?")),i&&a.default.createElement("div",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_panel),{role:"dialog","aria-labelledby":"DayPickerKeyboardShortcuts_title","aria-describedby":"DayPickerKeyboardShortcuts_description"}),a.default.createElement("div",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_title),{id:"DayPickerKeyboardShortcuts_title"}),u.keyboardShortcuts),a.default.createElement("button",r({ref:this.setHideKeyboardShortcutsButtonRef},(0,l.css)(c.DayPickerKeyboardShortcuts_buttonReset,c.DayPickerKeyboardShortcuts_close),{type:"button",tabIndex:"0","aria-label":u.hideKeyboardShortcutsPanel,onClick:s,onKeyDown:this.onKeyDown}),a.default.createElement(h.default,(0,l.css)(c.DayPickerKeyboardShortcuts_closeSvg))),a.default.createElement("ul",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_list),{id:"DayPickerKeyboardShortcuts_description"}),this.keyboardShortcuts.map((function(e){var t=e.unicode,r=e.label,o=e.action;return a.default.createElement(f.default,{key:r,unicode:t,label:r,action:o,block:n})})))))}}]),t}(a.default.Component);_.propTypes=b,_.defaultProps=y,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.zIndex;return{DayPickerKeyboardShortcuts_buttonReset:{background:"none",border:0,borderRadius:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",padding:0,cursor:"pointer",fontSize:r.size,":active":{outline:"none"}},DayPickerKeyboardShortcuts_show:{width:22,position:"absolute",zIndex:o+2},DayPickerKeyboardShortcuts_show__bottomRight:{borderTop:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),bottom:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topRight:{borderBottom:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),top:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topLeft:{borderBottom:"26px solid transparent",borderLeft:"33px solid "+String(n.core.primary),top:0,left:0,":hover":{borderLeft:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_showSpan:{color:n.core.white,position:"absolute"},DayPickerKeyboardShortcuts_showSpan__bottomRight:{bottom:0,right:-28},DayPickerKeyboardShortcuts_showSpan__topRight:{top:1,right:-28},DayPickerKeyboardShortcuts_showSpan__topLeft:{top:1,left:-28},DayPickerKeyboardShortcuts_panel:{overflow:"auto",background:n.background,border:"1px solid "+String(n.core.border),borderRadius:2,position:"absolute",top:0,bottom:0,right:0,left:0,zIndex:o+2,padding:22,margin:33},DayPickerKeyboardShortcuts_title:{fontSize:16,fontWeight:"bold",margin:0},DayPickerKeyboardShortcuts_list:{listStyle:"none",padding:0,fontSize:r.size},DayPickerKeyboardShortcuts_close:{position:"absolute",right:22,top:22,zIndex:o+2,":active":{outline:"none"}},DayPickerKeyboardShortcuts_closeSvg:{height:15,width:15,fill:n.core.grayLighter,":hover":{fill:n.core.grayLight},":focus":{fill:n.core.grayLight}}}}))(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=l(n(13)),i=l(n(1)),a=l(n(4)),s=n(12),c=n(16);function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{unicode:a.default.string.isRequired,label:a.default.string.isRequired,action:a.default.string.isRequired,block:a.default.bool}));function d(e){var t=e.unicode,n=e.label,o=e.action,a=e.block,s=e.styles;return i.default.createElement("li",(0,c.css)(s.KeyboardShortcutRow,a&&s.KeyboardShortcutRow__block),i.default.createElement("div",(0,c.css)(s.KeyboardShortcutRow_keyContainer,a&&s.KeyboardShortcutRow_keyContainer__block),i.default.createElement("span",r({},(0,c.css)(s.KeyboardShortcutRow_key),{role:"img","aria-label":String(n)+","}),t)),i.default.createElement("div",(0,c.css)(s.KeyboardShortcutRow_action),o))}d.propTypes=u,d.defaultProps={block:!1},t.default=(0,c.withStyles)((function(e){return{KeyboardShortcutRow:{listStyle:"none",margin:"6px 0"},KeyboardShortcutRow__block:{marginBottom:16},KeyboardShortcutRow_keyContainer:{display:"inline-block",whiteSpace:"nowrap",textAlign:"right",marginRight:6},KeyboardShortcutRow_keyContainer__block:{textAlign:"left",display:"inline"},KeyboardShortcutRow_key:{fontFamily:"monospace",fontSize:12,textTransform:"uppercase",background:e.reactDates.color.core.grayLightest,padding:"2px 6px"},KeyboardShortcutRow_action:{display:"inline",wordBreak:"break-word",marginLeft:8}}}))(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.default.localeData().firstDayOfWeek(),n=function(e,t){return(e.day()-t+7)%7}(e.clone().startOf("month"),t);return Math.ceil((n+e.daysInMonth())/7)};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(6)),c=n(16),l=n(118),u=n(12),d=n(43),f=T(n(28)),h=T(n(57)),p=T(n(116)),v=n(14),m=T(n(26)),g=T(n(61)),b=T(n(100)),y=T(n(101)),k=T(n(59)),_=T(n(35)),w=T(n(102)),O=T(n(117)),S=T(n(115)),E=T(n(37)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},c.withStylesPropTypes,p.default)),D={date:null,focused:!1,id:"date",placeholder:"Date",disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:C.ICON_BEFORE_POSITION,customInputIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:C.DEFAULT_VERTICAL_SPACING,keepFocusOnInput:!1,orientation:C.HORIZONTAL_ORIENTATION,anchorDirection:C.ANCHOR_LEFT,openDirection:C.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,firstDayOfWeek:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDate:!1,renderCalendarInfo:null,calendarInfoPosition:C.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:C.DAY_SIZE,isRTL:!1,verticalHeight:null,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,_.default)(e,(0,s.default)())},isDayHighlighted:function(){},displayFormat:function(){return s.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.SingleDatePickerPhrases,dayAriaLabelFormat:void 0},M=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.isTouchDevice=!1,n.state={dayPickerContainerStyles:{},isDayPickerFocused:!1,isInputFocused:!1,showKeyboardShortcuts:!1},n.onDayPickerFocus=n.onDayPickerFocus.bind(n),n.onDayPickerBlur=n.onDayPickerBlur.bind(n),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind(n),n.onChange=n.onChange.bind(n),n.onFocus=n.onFocus.bind(n),n.onClearFocus=n.onClearFocus.bind(n),n.clearDate=n.clearDate.bind(n),n.responsivizePickerPosition=n.responsivizePickerPosition.bind(n),n.disableScroll=n.disableScroll.bind(n),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,d.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focused&&this.setState({isInputFocused:!0}),this.isTouchDevice=(0,f.default)()}},{key:"componentDidUpdate",value:function(e){var t=this.props.focused;!e.focused&&t?(this.responsivizePickerPosition(),this.disableScroll()):e.focused&&!t&&this.enableScroll&&this.enableScroll()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()}},{key:"onChange",value:function(e){var t=this.props,n=t.isOutsideRange,r=t.keepOpenOnDateSelect,o=t.onDateChange,i=t.onFocusChange,a=t.onClose,s=(0,m.default)(e,this.getDisplayFormat());s&&!n(s)?(o(s),r||(i({focused:!1}),a({date:s}))):o(null)}},{key:"onFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange,r=e.readOnly,o=e.withPortal,i=e.withFullScreenPortal,a=e.keepFocusOnInput;o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur(),t||n({focused:!0})}},{key:"onClearFocus",value:function(e){var t=this.props,n=t.date,r=t.focused,o=t.onFocusChange,i=t.onClose,a=t.appendToBody;r&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isInputFocused:!1,isDayPickerFocused:!1}),o({focused:!1}),i({date:n})))}},{key:"onDayPickerFocus",value:function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})}},{key:"onDayPickerBlur",value:function(){this.setState({isInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,g.default)(e)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"setDayPickerContainerRef",value:function(e){this.dayPickerContainer=e}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"clearDate",value:function(){var e=this.props,t=e.onDateChange,n=e.reopenPickerOnClearDate,r=e.onFocusChange;t(null),n&&r({focused:!0})}},{key:"disableScroll",value:function(){var e=this.props,t=e.appendToBody,n=e.disableScroll,r=e.focused;(t||n)&&r&&(this.enableScroll=(0,w.default)(this.container))}},{key:"responsivizePickerPosition",value:function(){this.setState({dayPickerContainerStyles:{}});var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,a=e.withFullScreenPortal,s=e.appendToBody,c=e.focused,l=this.state.dayPickerContainerStyles;if(c){var u=n===C.ANCHOR_LEFT;if(!o&&!a){var d=this.dayPickerContainer.getBoundingClientRect(),f=l[n]||0,h=u?d[C.ANCHOR_RIGHT]:d[C.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:(0,i.default)({},(0,b.default)(n,f,h,r),s&&(0,y.default)(t,n,this.container))})}}}},{key:"showKeyboardShortcutsPanel",value:function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})}},{key:"maybeRenderDayPickerWithPortal",value:function(){var e=this.props,t=e.focused,n=e.withPortal,r=e.withFullScreenPortal,o=e.appendToBody;return t?n||r||o?a.default.createElement(l.Portal,null,this.renderDayPicker()):this.renderDayPicker():null}},{key:"renderDayPicker",value:function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,o=e.onDateChange,i=e.date,s=e.onFocusChange,l=e.focused,u=e.enableOutsideDays,d=e.numberOfMonths,f=e.orientation,h=e.monthFormat,p=e.navPrev,v=e.navNext,m=e.onPrevMonthClick,g=e.onNextMonthClick,b=e.onClose,y=e.withPortal,_=e.withFullScreenPortal,w=e.keepOpenOnDateSelect,O=e.initialVisibleMonth,T=e.renderMonthText,x=e.renderCalendarDay,D=e.renderDayContents,M=e.renderCalendarInfo,j=e.renderMonthElement,I=e.calendarInfoPosition,P=e.hideKeyboardShortcutsPanel,N=e.firstDayOfWeek,R=e.customCloseIcon,L=e.phrases,A=e.dayAriaLabelFormat,z=e.daySize,F=e.isRTL,H=e.isOutsideRange,V=e.isDayBlocked,B=e.isDayHighlighted,U=e.weekDayFormat,W=e.styles,K=e.verticalHeight,Y=e.transitionDuration,$=e.verticalSpacing,q=e.horizontalMonthPadding,G=e.small,Z=e.theme.reactDates,X=this.state,Q=X.dayPickerContainerStyles,J=X.isDayPickerFocused,ee=X.showKeyboardShortcuts,te=!_&&y?this.onClearFocus:void 0,ne=R||a.default.createElement(E.default,null),re=(0,k.default)(Z,G),oe=y||_;return a.default.createElement("div",r({ref:this.setDayPickerContainerRef},(0,c.css)(W.SingleDatePicker_picker,t===C.ANCHOR_LEFT&&W.SingleDatePicker_picker__directionLeft,t===C.ANCHOR_RIGHT&&W.SingleDatePicker_picker__directionRight,n===C.OPEN_DOWN&&W.SingleDatePicker_picker__openDown,n===C.OPEN_UP&&W.SingleDatePicker_picker__openUp,!oe&&n===C.OPEN_DOWN&&{top:re+$},!oe&&n===C.OPEN_UP&&{bottom:re+$},f===C.HORIZONTAL_ORIENTATION&&W.SingleDatePicker_picker__horizontal,f===C.VERTICAL_ORIENTATION&&W.SingleDatePicker_picker__vertical,oe&&W.SingleDatePicker_picker__portal,_&&W.SingleDatePicker_picker__fullScreenPortal,F&&W.SingleDatePicker_picker__rtl,Q),{onClick:te}),a.default.createElement(S.default,{date:i,onDateChange:o,onFocusChange:s,orientation:f,enableOutsideDays:u,numberOfMonths:d,monthFormat:h,withPortal:oe,focused:l,keepOpenOnDateSelect:w,hideKeyboardShortcutsPanel:P,initialVisibleMonth:O,navPrev:p,navNext:v,onPrevMonthClick:m,onNextMonthClick:g,onClose:b,renderMonthText:T,renderCalendarDay:x,renderDayContents:D,renderCalendarInfo:M,renderMonthElement:j,calendarInfoPosition:I,isFocused:J,showKeyboardShortcuts:ee,onBlur:this.onDayPickerBlur,phrases:L,dayAriaLabelFormat:A,daySize:z,isRTL:F,isOutsideRange:H,isDayBlocked:V,isDayHighlighted:B,firstDayOfWeek:N,weekDayFormat:U,verticalHeight:K,transitionDuration:Y,horizontalMonthPadding:q}),_&&a.default.createElement("button",r({},(0,c.css)(W.SingleDatePicker_closeButton),{"aria-label":L.closeDatePicker,type:"button",onClick:this.onClearFocus}),a.default.createElement("div",(0,c.css)(W.SingleDatePicker_closeButton_svg),ne)))}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.placeholder,o=e.disabled,i=e.focused,s=e.required,l=e.readOnly,u=e.openDirection,d=e.showClearDate,f=e.showDefaultInputIcon,p=e.inputIconPosition,v=e.customCloseIcon,m=e.customInputIcon,g=e.date,b=e.phrases,y=e.withPortal,k=e.withFullScreenPortal,_=e.screenReaderInputMessage,w=e.isRTL,S=e.noBorder,E=e.block,T=e.small,x=e.regular,D=e.verticalSpacing,M=e.styles,j=this.state.isInputFocused,I=this.getDateString(g),P=!y&&!k,N=D<C.FANG_HEIGHT_PX,R=a.default.createElement(O.default,{id:t,placeholder:n,focused:i,isFocused:j,disabled:o,required:s,readOnly:l,openDirection:u,showCaret:!y&&!k&&!N,onClearDate:this.clearDate,showClearDate:d,showDefaultInputIcon:f,inputIconPosition:p,customCloseIcon:v,customInputIcon:m,displayValue:I,onChange:this.onChange,onFocus:this.onFocus,onKeyDownShiftTab:this.onClearFocus,onKeyDownTab:this.onClearFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,screenReaderMessage:_,phrases:b,isRTL:w,noBorder:S,block:E,small:T,regular:x,verticalSpacing:D});return a.default.createElement("div",r({ref:this.setContainerRef},(0,c.css)(M.SingleDatePicker,E&&M.SingleDatePicker__block)),P&&a.default.createElement(h.default,{onOutsideClick:this.onClearFocus},R,this.maybeRenderDayPickerWithPortal()),!P&&R,!P&&this.maybeRenderDayPickerWithPortal())}}]),t}(a.default.Component);M.propTypes=x,M.defaultProps=D,t.PureSingleDatePicker=M,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{SingleDatePicker:{position:"relative",display:"inline-block"},SingleDatePicker__block:{display:"block"},SingleDatePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},SingleDatePicker_picker__rtl:{direction:"rtl"},SingleDatePicker_picker__directionLeft:{left:0},SingleDatePicker_picker__directionRight:{right:0},SingleDatePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:0,height:"100%",width:"100%"},SingleDatePicker_picker__fullScreenPortal:{backgroundColor:n.background},SingleDatePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:0,padding:15,zIndex:r+2,":hover":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"},":focus":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"}},SingleDatePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}))(M)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(46));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(229);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,c=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),h=r.offset(e),p=r.outerHeight(e),v=r.outerWidth(e),m=void 0,g=void 0,b=void 0,y=void 0,k=void 0,_=void 0,w=void 0,O=void 0,S=void 0,E=void 0;f?(w=t,E=r.height(w),S=r.width(w),O={left:r.scrollLeft(w),top:r.scrollTop(w)},k={left:h.left-O.left-l,top:h.top-O.top-c},_={left:h.left+v-(O.left+S)+d,top:h.top+p-(O.top+E)+u},y=O):(m=r.offset(t),g=t.clientHeight,b=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},k={left:h.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:h.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},_={left:h.left+v-(m.left+b+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:h.top+p-(m.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||_.top>0?!0===a?r.scrollTop(t,y.top+k.top):!1===a?r.scrollTop(t,y.top+_.top):k.top<0?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top):i||((a=void 0===a||!!a)?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top)),o&&(k.left<0||_.left>0?!0===s?r.scrollLeft(t,y.left+k.left):!1===s?r.scrollLeft(t,y.left+_.left):k.left<0?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="currentStyle",f="runtimeStyle",h="left",p="px";var v=void 0;function m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function g(e){return"border-box"===v(e,"boxSizing")}"undefined"!=typeof window&&(v=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e[d]&&e[d][t];if(l.test(n)&&!u.test(t)){var r=e.style,o=r[h],i=e[f][h];e[f][h]=e[d][h],r[h]="fontSize"===t?"1em":n||0,n=r.pixelLeft+p,r[h]=o,e[f][h]=i}return""===n?"auto":n});var b=["margin","border","padding"],y=-1,k=2,_=1;function w(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(v(e,s))||0}return r}function O(e){return null!=e&&e==e.window}var S={};function E(e,t,n){if(O(e))return"width"===t?S.viewportWidth(e):S.viewportHeight(e);if(9===e.nodeType)return"width"===t?S.docWidth(e):S.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(v(e),g(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=v(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?_:y);var s=void 0!==o||i,c=o||a;if(n===y)return s?c-w(e,["border","padding"],r):a;if(s){var l=n===k?-w(e,["border"],r):w(e,["margin"],r);return c+(n===_?0:l)}return a+w(e,b.slice(n),r)}m(["Width","Height"],(function(e){S["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],S["viewport"+e](n))},S["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var C={position:"absolute",visibility:"hidden",display:"block"};function T(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=E.apply(void 0,n):function(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}(e,C,(function(){t=E.apply(void 0,n)})),t}function x(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):v(e,t);for(var i in t)t.hasOwnProperty(i)&&x(e,i,t[i])}m(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);S["outer"+t]=function(t,n){return t&&T(t,e,n?0:_)};var n="width"===e?["Left","Right"]:["Top","Bottom"];S[e]=function(t,r){if(void 0===r)return t&&T(t,e,y);if(t){v(t);return g(t)&&(r+=w(t,["padding","border"],n)),x(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return c(e);!function(e,t){"static"===x(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(x(e,i))||0,r[i]=o+t[i]-n[i]);x(e,r)}(e,t)},isWindow:O,each:m,css:x,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(O(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(O(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},S)},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var s=n(1),c=n(4),l=n(233),u=n(234),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),s=(n.innerRef,a(n,["onResize","maxRows","onChange","style","innerRef"])),c=e.state.lineHeight,l=e.saveDOMNodeRef,u=r&&c?c*r:null;return i({},s,{saveDOMNodeRef:l,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout((function(){return l(e.textarea)})),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=a(e,["children","saveDOMNodeRef"]);return s.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(e){this.props.value===this.currentValue&&this.props.rows===e.rows||this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:c.number,maxRows:c.number,onResize:c.func,innerRef:c.func},t}(s.Component);t.default=d},function(e,t,n){var r,o,i; -/*! - autosize 4.0.2 - license: MIT - http://www.jacklmoore.com/autosize -*/o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(u){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,a=null,s=function(){e.clientWidth!==r&&d()},c=function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",c,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:c,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(l("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),a!==r){a=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(s){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function c(e){var t=o.get(e);t&&t.update()}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return a(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],c),e}),t.default=l,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(235);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=r(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var c=document.body;c.appendChild(a),n=a.offsetHeight,c.removeChild(a)}return n}},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=36,l=1,u=26,d=38,f=700,h=72,p=128,v="-",m=/^xn--/,g=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},k=c-l,_=Math.floor,w=String.fromCharCode;function O(e){throw RangeError(y[e])}function S(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+S((e=e.replace(b,".")).split("."),t).join(".")}function C(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function T(e){return S(e,(function(e){var t="";return e>65535&&(t+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=w(e)})).join("")}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function D(e,t,n){var r=0;for(e=n?_(e/f):e>>1,e+=_(e/t);e>k*u>>1;r+=c)e=_(e/k);return _(r+(k+1)*e/(e+d))}function M(e){var t,n,r,o,i,a,d,f,m,g,b,y=[],k=e.length,w=0,S=p,E=h;for((n=e.lastIndexOf(v))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&O("not-basic"),y.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<k;){for(i=w,a=1,d=c;o>=k&&O("invalid-input"),((f=(b=e.charCodeAt(o++))-48<10?b-22:b-65<26?b-65:b-97<26?b-97:c)>=c||f>_((s-w)/a))&&O("overflow"),w+=f*a,!(f<(m=d<=E?l:d>=E+u?u:d-E));d+=c)a>_(s/(g=c-m))&&O("overflow"),a*=g;E=D(w-i,t=y.length+1,0==i),_(w/t)>s-S&&O("overflow"),S+=_(w/t),w%=t,y.splice(w++,0,S)}return T(y)}function j(e){var t,n,r,o,i,a,d,f,m,g,b,y,k,S,E,T=[];for(y=(e=C(e)).length,t=p,n=0,i=h,a=0;a<y;++a)(b=e[a])<128&&T.push(w(b));for(r=o=T.length,o&&T.push(v);r<y;){for(d=s,a=0;a<y;++a)(b=e[a])>=t&&b<d&&(d=b);for(d-t>_((s-n)/(k=r+1))&&O("overflow"),n+=(d-t)*k,t=d,a=0;a<y;++a)if((b=e[a])<t&&++n>s&&O("overflow"),b==t){for(f=n,m=c;!(f<(g=m<=i?l:m>=i+u?u:m-i));m+=c)E=f-g,S=c-g,T.push(w(x(g+E%S,0))),f=_(E/S);T.push(w(x(f,0))),i=D(n,k,r==o),n=0,++r}++n,++t}return T.join("")}a={version:"1.3.2",ucs2:{decode:C,encode:T},decode:M,encode:j,toASCII:function(e){return E(e,(function(e){return g.test(e)?"xn--"+j(e):e}))},toUnicode:function(e){return E(e,(function(e){return m.test(e)?M(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(52)(e))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(239),t.encode=t.stringify=n(240)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++l){var u,d,f,h,p=e[l].replace(a,"%20"),v=p.indexOf(n);v>=0?(u=p.substr(0,v),d=p.substr(v+1)):(u=p,d=""),f=decodeURIComponent(u),h=decodeURIComponent(d),r(i,f)?Array.isArray(i[f])?i[f].push(h):i[f]=[i[f],h]:i[f]=h}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,o){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(o){var i=encodeURIComponent(r(o))+n;return Array.isArray(e[o])?e[o].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[o]))})).join(t):o?encodeURIComponent(r(o))+n+encodeURIComponent(r(e)):""}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getIsResolving",(function(){return mt})),n.d(r,"hasStartedResolution",(function(){return gt})),n.d(r,"hasFinishedResolution",(function(){return bt})),n.d(r,"isResolving",(function(){return yt})),n.d(r,"getCachedResolvers",(function(){return kt}));var o={};n.r(o),n.d(o,"startResolution",(function(){return _t})),n.d(o,"finishResolution",(function(){return wt})),n.d(o,"invalidateResolution",(function(){return Ot})),n.d(o,"invalidateResolutionForStore",(function(){return St})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return Et}));var i={};n.r(i),n.d(i,"getIsResolving",(function(){return vr})),n.d(i,"hasStartedResolution",(function(){return mr})),n.d(i,"hasFinishedResolution",(function(){return gr})),n.d(i,"isResolving",(function(){return br})),n.d(i,"getCachedResolvers",(function(){return yr}));var a={};n.r(a),n.d(a,"startResolution",(function(){return kr})),n.d(a,"finishResolution",(function(){return _r})),n.d(a,"invalidateResolution",(function(){return wr})),n.d(a,"invalidateResolutionForStore",(function(){return Or})),n.d(a,"invalidateResolutionForStoreSelector",(function(){return Sr}));var s={};n.r(s),n.d(s,"getFormatTypes",(function(){return ko})),n.d(s,"getFormatType",(function(){return _o})),n.d(s,"getFormatTypeForBareElement",(function(){return wo})),n.d(s,"getFormatTypeForClassName",(function(){return Oo}));var c={};n.r(c),n.d(c,"addFormatTypes",(function(){return So})),n.d(c,"removeFormatTypes",(function(){return Eo}));var l={};n.r(l),n.d(l,"find",(function(){return Fi}));var u={};n.r(u),n.d(u,"isTabbableIndex",(function(){return Vi})),n.d(u,"find",(function(){return Ki}));var d={};n.r(d),n.d(d,"getIsResolving",(function(){return Du})),n.d(d,"hasStartedResolution",(function(){return Mu})),n.d(d,"hasFinishedResolution",(function(){return ju})),n.d(d,"isResolving",(function(){return Iu})),n.d(d,"getCachedResolvers",(function(){return Pu}));var f={};n.r(f),n.d(f,"startResolution",(function(){return Nu})),n.d(f,"finishResolution",(function(){return Ru})),n.d(f,"invalidateResolution",(function(){return Lu})),n.d(f,"invalidateResolutionForStore",(function(){return Au})),n.d(f,"invalidateResolutionForStoreSelector",(function(){return zu}));var h={};n.r(h),n.d(h,"getBlockTypes",(function(){return pd})),n.d(h,"getBlockType",(function(){return vd})),n.d(h,"getBlockStyles",(function(){return md})),n.d(h,"getCategories",(function(){return gd})),n.d(h,"getDefaultBlockName",(function(){return bd})),n.d(h,"getFreeformFallbackBlockName",(function(){return yd})),n.d(h,"getUnregisteredFallbackBlockName",(function(){return kd})),n.d(h,"getChildBlockNames",(function(){return _d})),n.d(h,"getBlockSupport",(function(){return wd})),n.d(h,"hasBlockSupport",(function(){return Od})),n.d(h,"isMatchingSearchTerm",(function(){return Sd})),n.d(h,"hasChildBlocks",(function(){return Ed})),n.d(h,"hasChildBlocksWithInserterSupport",(function(){return Cd}));var p={};n.r(p),n.d(p,"addBlockTypes",(function(){return Td})),n.d(p,"removeBlockTypes",(function(){return xd})),n.d(p,"addBlockStyles",(function(){return Dd})),n.d(p,"removeBlockStyles",(function(){return Md})),n.d(p,"setDefaultBlockName",(function(){return jd})),n.d(p,"setFreeformFallbackBlockName",(function(){return Id})),n.d(p,"setUnregisteredFallbackBlockName",(function(){return Pd})),n.d(p,"setCategories",(function(){return Nd})),n.d(p,"updateCategory",(function(){return Rd}));var v={};n.r(v),n.d(v,"getIsResolving",(function(){return Up})),n.d(v,"hasStartedResolution",(function(){return Wp})),n.d(v,"hasFinishedResolution",(function(){return Kp})),n.d(v,"isResolving",(function(){return Yp})),n.d(v,"getCachedResolvers",(function(){return $p}));var m={};n.r(m),n.d(m,"startResolution",(function(){return qp})),n.d(m,"finishResolution",(function(){return Gp})),n.d(m,"invalidateResolution",(function(){return Zp})),n.d(m,"invalidateResolutionForStore",(function(){return Xp})),n.d(m,"invalidateResolutionForStoreSelector",(function(){return Qp}));var g={};n.r(g),n.d(g,"receiveUserQuery",(function(){return Xv})),n.d(g,"receiveCurrentUser",(function(){return Qv})),n.d(g,"addEntities",(function(){return Jv})),n.d(g,"receiveEntityRecords",(function(){return em})),n.d(g,"receiveThemeSupports",(function(){return tm})),n.d(g,"receiveEmbedPreview",(function(){return nm})),n.d(g,"saveEntityRecord",(function(){return rm})),n.d(g,"receiveUploadPermissions",(function(){return om})),n.d(g,"receiveUserPermission",(function(){return im})),n.d(g,"receiveAutosaves",(function(){return am}));var b={};n.r(b),n.d(b,"isRequestingEmbedPreview",(function(){return wm})),n.d(b,"getAuthors",(function(){return Om})),n.d(b,"getCurrentUser",(function(){return Sm})),n.d(b,"getUserQueryResults",(function(){return Em})),n.d(b,"getEntitiesByKind",(function(){return Cm})),n.d(b,"getEntity",(function(){return Tm})),n.d(b,"getEntityRecord",(function(){return xm})),n.d(b,"getEntityRecords",(function(){return Dm})),n.d(b,"getThemeSupports",(function(){return Mm})),n.d(b,"getEmbedPreview",(function(){return jm})),n.d(b,"isPreviewEmbedFallback",(function(){return Im})),n.d(b,"hasUploadPermissions",(function(){return Pm})),n.d(b,"canUser",(function(){return Nm})),n.d(b,"getAutosaves",(function(){return Rm})),n.d(b,"getAutosave",(function(){return Lm})),n.d(b,"hasFetchedAutosaves",(function(){return Am}));var y={};n.r(y),n.d(y,"getAuthors",(function(){return qm})),n.d(y,"getCurrentUser",(function(){return Gm})),n.d(y,"getEntityRecord",(function(){return Zm})),n.d(y,"getEntityRecords",(function(){return Xm})),n.d(y,"getThemeSupports",(function(){return Qm})),n.d(y,"getEmbedPreview",(function(){return Jm})),n.d(y,"hasUploadPermissions",(function(){return eg})),n.d(y,"canUser",(function(){return tg})),n.d(y,"getAutosaves",(function(){return ng})),n.d(y,"getAutosave",(function(){return rg}));var k={};n.r(k),n.d(k,"getIsResolving",(function(){return hg})),n.d(k,"hasStartedResolution",(function(){return pg})),n.d(k,"hasFinishedResolution",(function(){return vg})),n.d(k,"isResolving",(function(){return mg})),n.d(k,"getCachedResolvers",(function(){return gg}));var _={};n.r(_),n.d(_,"startResolution",(function(){return bg})),n.d(_,"finishResolution",(function(){return yg})),n.d(_,"invalidateResolution",(function(){return kg})),n.d(_,"invalidateResolutionForStore",(function(){return _g})),n.d(_,"invalidateResolutionForStoreSelector",(function(){return wg}));var w={};n.r(w),n.d(w,"setIsMatching",(function(){return Qg}));var O={};n.r(O),n.d(O,"isViewportMatch",(function(){return Jg}));var S={};n.r(S),n.d(S,"getIsResolving",(function(){return fb})),n.d(S,"hasStartedResolution",(function(){return hb})),n.d(S,"hasFinishedResolution",(function(){return pb})),n.d(S,"isResolving",(function(){return vb})),n.d(S,"getCachedResolvers",(function(){return mb}));var E={};n.r(E),n.d(E,"startResolution",(function(){return gb})),n.d(E,"finishResolution",(function(){return bb})),n.d(E,"invalidateResolution",(function(){return yb})),n.d(E,"invalidateResolutionForStore",(function(){return kb})),n.d(E,"invalidateResolutionForStoreSelector",(function(){return _b}));var C={};n.r(C),n.d(C,"resetBlocks",(function(){return Ry})),n.d(C,"receiveBlocks",(function(){return Ly})),n.d(C,"updateBlockAttributes",(function(){return Ay})),n.d(C,"updateBlock",(function(){return zy})),n.d(C,"selectBlock",(function(){return Fy})),n.d(C,"selectPreviousBlock",(function(){return Hy})),n.d(C,"selectNextBlock",(function(){return Vy})),n.d(C,"startMultiSelect",(function(){return By})),n.d(C,"stopMultiSelect",(function(){return Uy})),n.d(C,"multiSelect",(function(){return Wy})),n.d(C,"clearSelectedBlock",(function(){return Ky})),n.d(C,"toggleSelection",(function(){return Yy})),n.d(C,"replaceBlocks",(function(){return $y})),n.d(C,"replaceBlock",(function(){return qy})),n.d(C,"moveBlocksDown",(function(){return Zy})),n.d(C,"moveBlocksUp",(function(){return Xy})),n.d(C,"moveBlockToPosition",(function(){return Qy})),n.d(C,"insertBlock",(function(){return Jy})),n.d(C,"insertBlocks",(function(){return ek})),n.d(C,"showInsertionPoint",(function(){return tk})),n.d(C,"hideInsertionPoint",(function(){return nk})),n.d(C,"setTemplateValidity",(function(){return rk})),n.d(C,"synchronizeTemplate",(function(){return ok})),n.d(C,"mergeBlocks",(function(){return ik})),n.d(C,"removeBlocks",(function(){return ak})),n.d(C,"removeBlock",(function(){return sk})),n.d(C,"replaceInnerBlocks",(function(){return ck})),n.d(C,"toggleBlockMode",(function(){return lk})),n.d(C,"startTyping",(function(){return uk})),n.d(C,"stopTyping",(function(){return dk})),n.d(C,"enterFormattedText",(function(){return fk})),n.d(C,"exitFormattedText",(function(){return hk})),n.d(C,"selectionChange",(function(){return pk})),n.d(C,"insertDefaultBlock",(function(){return vk})),n.d(C,"updateBlockListSettings",(function(){return mk})),n.d(C,"updateSettings",(function(){return gk})),n.d(C,"__unstableSaveReusableBlock",(function(){return bk})),n.d(C,"__unstableMarkLastChangeAsPersistent",(function(){return yk}));var T={};function x(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){x(e,t,n[t])}))}return e}function M(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function j(e,t){if(null==e)return{};var n,r,o=M(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.r(T),n.d(T,"INSERTER_UTILITY_HIGH",(function(){return kk})),n.d(T,"INSERTER_UTILITY_MEDIUM",(function(){return _k})),n.d(T,"INSERTER_UTILITY_LOW",(function(){return wk})),n.d(T,"INSERTER_UTILITY_NONE",(function(){return Ok})),n.d(T,"getBlockDependantsCacheBust",(function(){return Ck})),n.d(T,"getBlockName",(function(){return Tk})),n.d(T,"isBlockValid",(function(){return xk})),n.d(T,"getBlockAttributes",(function(){return Dk})),n.d(T,"getBlock",(function(){return Mk})),n.d(T,"__unstableGetBlockWithoutInnerBlocks",(function(){return jk})),n.d(T,"getBlocks",(function(){return Ik})),n.d(T,"getClientIdsOfDescendants",(function(){return Pk})),n.d(T,"getClientIdsWithDescendants",(function(){return Nk})),n.d(T,"getGlobalBlockCount",(function(){return Rk})),n.d(T,"getBlocksByClientId",(function(){return Lk})),n.d(T,"getBlockCount",(function(){return Ak})),n.d(T,"getSelectionStart",(function(){return zk})),n.d(T,"getSelectionEnd",(function(){return Fk})),n.d(T,"getBlockSelectionStart",(function(){return Hk})),n.d(T,"getBlockSelectionEnd",(function(){return Vk})),n.d(T,"getSelectedBlockCount",(function(){return Bk})),n.d(T,"hasSelectedBlock",(function(){return Uk})),n.d(T,"getSelectedBlockClientId",(function(){return Wk})),n.d(T,"getSelectedBlock",(function(){return Kk})),n.d(T,"getBlockRootClientId",(function(){return Yk})),n.d(T,"getBlockHierarchyRootClientId",(function(){return $k})),n.d(T,"getAdjacentBlockClientId",(function(){return qk})),n.d(T,"getPreviousBlockClientId",(function(){return Gk})),n.d(T,"getNextBlockClientId",(function(){return Zk})),n.d(T,"getSelectedBlocksInitialCaretPosition",(function(){return Xk})),n.d(T,"getSelectedBlockClientIds",(function(){return Qk})),n.d(T,"getMultiSelectedBlockClientIds",(function(){return Jk})),n.d(T,"getMultiSelectedBlocks",(function(){return e_})),n.d(T,"getFirstMultiSelectedBlockClientId",(function(){return t_})),n.d(T,"getLastMultiSelectedBlockClientId",(function(){return n_})),n.d(T,"isFirstMultiSelectedBlock",(function(){return o_})),n.d(T,"isBlockMultiSelected",(function(){return i_})),n.d(T,"isAncestorMultiSelected",(function(){return a_})),n.d(T,"getMultiSelectedBlocksStartClientId",(function(){return s_})),n.d(T,"getMultiSelectedBlocksEndClientId",(function(){return c_})),n.d(T,"getBlockOrder",(function(){return l_})),n.d(T,"getBlockIndex",(function(){return u_})),n.d(T,"isBlockSelected",(function(){return d_})),n.d(T,"hasSelectedInnerBlock",(function(){return f_})),n.d(T,"isBlockWithinSelection",(function(){return h_})),n.d(T,"hasMultiSelection",(function(){return p_})),n.d(T,"isMultiSelecting",(function(){return v_})),n.d(T,"isSelectionEnabled",(function(){return m_})),n.d(T,"getBlockMode",(function(){return g_})),n.d(T,"isTyping",(function(){return b_})),n.d(T,"isCaretWithinFormattedText",(function(){return y_})),n.d(T,"getBlockInsertionPoint",(function(){return k_})),n.d(T,"isBlockInsertionPointVisible",(function(){return __})),n.d(T,"isValidTemplate",(function(){return w_})),n.d(T,"getTemplate",(function(){return O_})),n.d(T,"getTemplateLock",(function(){return S_})),n.d(T,"canInsertBlockType",(function(){return C_})),n.d(T,"getInserterItems",(function(){return M_})),n.d(T,"hasInserterItems",(function(){return j_})),n.d(T,"getBlockListSettings",(function(){return I_})),n.d(T,"getSettings",(function(){return P_})),n.d(T,"isLastBlockChangePersistent",(function(){return N_})),n.d(T,"__unstableIsLastBlockChangeIgnored",(function(){return R_}));var I=n(1),P=n.n(I),N=n(0);function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t,n){return I.Children.forEach(t,(function(t,r){t&&"string"!=typeof t&&(t=Object(I.cloneElement)(t,{key:[n,r].join()})),e.push(t)})),e}),[])}var L=n(11),A=function(e){return!Object(N.isNumber)(e)&&(Object(N.isString)(e)||Object(N.isArray)(e)?!e.length:!e)};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e){return(F="function"==typeof Symbol&&"symbol"===z(Symbol.iterator)?function(e){return z(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":z(e)})(e)}var H=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function V(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function B(e){return function(e){return e.replace(/>/g,">")}(function(e){return e.replace(/"/g,""")}(V(e)))}function U(e){return function(e){return e.replace(/</g,"<")}(V(e))}function W(e){return!H.test(e)}function K(e){var t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",D({dangerouslySetInnerHTML:{__html:t}},n))}var Y=Object(I.createContext)(),$=Y.Provider,q=Y.Consumer,G=new Set(["string","boolean","number"]),Z=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),X=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),Q=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),J=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function ee(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function te(e){return"key"===e||"children"===e}function ne(e,t){switch(e){case"style":return function(e){if(!Object(N.isPlainObject)(e))return e;var t;for(var n in e){var r=e[n];if(null!=r){t?t+=";":t="";var o=oe(n),i=ie(n,r);t+=o+":"+i}}return t}(t)}return t}function re(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function oe(e){return Object(N.startsWith)(e,"--")?e:ee(e,["ms","O","Moz","Webkit"])?"-"+Object(N.kebabCase)(e):Object(N.kebabCase)(e)}function ie(e,t){return"number"!=typeof t||0===t||J.has(e)?t:t+"px"}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return ce(e,t,n);switch(F(e)){case"string":return U(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case I.StrictMode:case I.Fragment:return ce(o.children,t,n);case K:var i=o.children,a=j(o,["children"]);return se(Object(N.isEmpty)(a)?null:"div",D({},a,{dangerouslySetInnerHTML:{__html:i}}),t,n)}switch(F(r)){case"string":return se(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());return ae(o.render(),n,r)}(r,o,t,n):ae(r(o,n),t,n)}switch(r&&r.$$typeof){case $.$$typeof:return ce(o.children,o.value,n);case q.$$typeof:return ae(o.children(t||r._currentValue),t,n)}return""}function se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=ce(t.value,n,r),t=Object(N.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=ce(t.children,n,r)),!e)return o;var i=function(e){var t="";for(var n in e){var r=re(n);if(W(r)){var o=ne(n,e[n]);if(G.has(F(o))&&!te(n)){var i=X.has(r);if(!i||!1!==o){var a=i||ee(n,["data-","aria-"])||Q.has(r);("boolean"!=typeof o||a)&&(t+=" "+r,i||("string"==typeof o&&(o=B(o)),t+='="'+o+'"'))}}}}return t}(t);return Z.has(e)?"<"+e+i+"/>":"<"+e+i+">"+o+"</"+e+">"}function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(N.castArray)(e);for(var o=0;o<e.length;o++){r+=ae(e[o],t,n)}return r}var le=ae,ue=n(119),de=n(120),fe=n.n(de),he=function(e,t){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php esc_html_e( '".concat(e,"', '").concat(t,"' ) ?>")}})},pe=function(e,t,n,r){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _n( '".concat(e,"', '").concat(t,"', ").concat(n,", '").concat(r,"' ) ) ?>")}})},ve=function(e,t,n){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _x( '".concat(e,"', '").concat(t,"', '").concat(n,"' ) ) ?>")}})},me=function(e){return e},ge=n(31),be=/^(?:https?:)?\/\/\S+$/i;function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(Object(ge.parse)(e.substr(r+1)),t),n=n.substr(0,r)),n+"?"+Object(ge.stringify)(t)}function ke(e,t){return void 0!==function(e,t){var n=e.indexOf("?");return(-1!==n?Object(ge.parse)(e.substr(n+1)):{})[t]}(e,t)}var _e=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};var we=Object(I.createContext)();we.Provider,we.Consumer,Object(I.forwardRef)((function(){return null})),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ee(e,t,n){return t&&Se(e.prototype,t),n&&Se(e,n),e}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Te(e,t){return!t||"object"!==F(t)&&"function"!=typeof t?Ce(e):t}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(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&&De(e,t)}var je=n(50),Ie=n.n(je),Pe=_e((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Ie()(e,this.props)||!Ie()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!Ie()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());_e((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),_e((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");function Re(e){if(Array.isArray(e))return e}function Le(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Ae(e,t){return Re(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||Le()}window.navigator.userAgent.indexOf("Trident");var ze=n(9),Fe=n.n(ze),He=n(3),Ve=n.n(He);function Be(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function Ue(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Be(i,r,o,a,s,"next",e)}function s(e){Be(i,r,o,a,s,"throw",e)}a(void 0)}))}}var We=n(64),Ke=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ye={INIT:"@@redux/INIT"+Ke(),REPLACE:"@@redux/REPLACE"+Ke(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ke()}};function $e(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function qe(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(qe)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return l(),s.push(e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!$e(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return f({type:Ye.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,f({type:Ye.REPLACE})}})[We.a]=function(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[We.a]=function(){return this},e},r}function Ge(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xe(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(n,!0).forEach((function(t){Ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function et(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return Qe({},n,{dispatch:r=Je.apply(void 0,i)(n.dispatch)})}}}var tt=n(18),nt=n(10),rt=n.n(nt);function ot(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(c=t,!ot(s=n)||s.type!==c)return!1;var s,c,l=e(n);return rt()(l)?l.then(i,a):i(l),!0}}));n.push((function(e,n){return!!ot(e)&&(t(e),n(),!0)}));var r=Object(tt.create)(n);return function(e){return new Promise((function(n,o){return r(e,(function(e){ot(e)&&t(e),n(e)}),o)}))}}function at(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=it(e,t.dispatch);return function(e){return function(t){return(r=t)&&"Generator"===r[Symbol.toStringTag]?n(t):e(t);var r}}}}var st=function(){return function(e){return function(t){return rt()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}};function ct(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function lt(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||ct(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ut,dt=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Ae(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(lt(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},ft=n(8),ht=n.n(ft),pt=Object(N.flowRight)([(ut="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[ut];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:D({},t,x({},r,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ht.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new ht.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new ht.a(e);return o.delete(t.args),o}return e})),vt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return pt(e,t)}return e};function mt(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function gt(e,t){return void 0!==mt(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function bt(e,t){return!1===mt(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function yt(e,t){return!0===mt(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function kt(e){return e}function _t(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function wt(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Ot(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function St(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Et(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Ct(e,t,n){var i,a=t.reducer,s=function(e,t,n){var r=[dt(n,e),st];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(at(o))}var i=[et.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return qe(Fe()({metadata:vt,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),c=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},o,t.actions),s),l=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s,n);if(t.resolvers){var u=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ue(Ve.a.mark((function e(){var t,s;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!gt(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(_t(o,a)),e.next=9,Tt.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(wt(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,l,s);i=u.resolvers,l=u.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var d=s&&function(e){var t=s.__unstableOriginalGetState();s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:a,store:s,actions:c,selectors:l,resolvers:i,getSelectors:function(){return l},getActions:function(){return c},subscribe:d}}function Tt(e,t,n){return xt.apply(this,arguments)}function xt(){return(xt=Ue(Ve.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Dt=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Mt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var a,s={registerGenericStore:i,stores:n,namespaces:n,subscribe:function(e){return r.push(e),function(){r=Object(N.without)(r,e)}},select:function(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)},dispatch:function(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)},use:function(e,t){return s=D({},s,e(s,t))}};return s.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Ct(e,t,s);return i(e,n),n.store},i("core/data",Dt(s)),Object.entries(e).forEach((function(e){var t=Ae(e,2),n=t[0],r=t[1];return s.registerStore(n,r)})),t&&t.subscribe(o),a=s,Object(N.mapValues)(a,(function(e,t){return"function"!=typeof e?e:function(){return s[t].apply(null,arguments)}}))}();var jt=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var It=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var Pt=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(It(t)&&jt(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,s=e[t].handlers;for(a=s.length;a>0&&!(o>=s[a-1].priority);a--);a===s.length?s[a]=i:s.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Vt("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var Nt=function(e,t){return function(n,r){if(It(n)&&(t||jt(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},s=i.length-1;s>=0;s--)a(s);return"hookRemoved"!==n&&Vt("hookRemoved",n,r),o}}};var Rt=function(e){return function(t){return t in e}};var Lt=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var s={name:n,currentIndex:0};for(e.__current.push(s);s.currentIndex<r.length;){var c=r[s.currentIndex],l=c.callback.apply(null,i);t&&(i[0]=l),s.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var At=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var zt=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var Ft=function(e){return function(t){if(It(t))return e[t]&&e[t].runs?e[t].runs:0}};var Ht=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:Pt(e),addFilter:Pt(t),removeAction:Nt(e),removeFilter:Nt(t),hasAction:Rt(e),hasFilter:Rt(t),removeAllActions:Nt(e,!0),removeAllFilters:Nt(t,!0),doAction:Lt(e),applyFilters:Lt(t,!0),currentAction:At(e),currentFilter:At(t),doingAction:zt(e),doingFilter:zt(t),didAction:Ft(e),didFilter:Ft(t),actions:e,filters:t}}(),Vt=(Ht.addAction,Ht.addFilter,Ht.removeAction,Ht.removeFilter,Ht.hasAction,Ht.hasFilter,Ht.removeAllActions,Ht.removeAllFilters,Ht.doAction);Ht.applyFilters,Ht.currentAction,Ht.currentFilter,Ht.doingAction,Ht.doingFilter,Ht.didAction,Ht.didFilter,Ht.actions,Ht.filters,Object.create(null);var Bt,Ut,Wt={getItem:function(e){return Bt&&Bt[e]?Bt[e]:null},setItem:function(e,t){Bt||Wt.clear(),Bt[e]=String(t)},clear:function(){Bt=Object.create(null)}},Kt=Wt;try{(Ut=window.localStorage).setItem("__wpDataTestLocalStorage",""),Ut.removeItem("__wpDataTestLocalStorage")}catch(WE){Ut=Kt}var Yt=Ut,$t="WP_DATA",qt=function(e){return function(t,n){return n.nextState===t?t:e(t,n)}};function Gt(e){var t,n=e.storage,r=void 0===n?Yt:n,o=e.storageKey,i=void 0===o?$t:o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(WE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Zt=function(e,t){var n=Gt(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o;if(Array.isArray(r)){var i=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});o=qt(Fe()(i))}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var r=o(a,{nextState:e()});r!==a&&(n.set(t,r),a=r)}}(a.getState,t,r.persist)),a}}};Zt.__unstableMigrate=function(e){var t=Gt(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Xt=Object(I.createContext)();Xt.Provider,Xt.Consumer,Object(I.forwardRef)((function(){return null})),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);var Qt=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Jt=n(122),en=Object(I.createContext)(Mt),tn=en.Consumer,nn=(en.Provider,tn);function rn(){return Object(I.useContext)(en)}var on=Object(I.createContext)(!1);on.Consumer,on.Provider;var an,sn,cn,ln,un="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,dn=(an=[],sn=new WeakMap,cn=!1,ln=function e(t){do{if(0===an.length)return void(cn=!1);var n=an.shift();sn.get(n)(),sn.delete(n)}while(t&&t.timeRemaining&&t.timeRemaining()>0);Qt(e)},{add:function(e,t){sn.has(e)||an.push(e),sn.set(e,t),cn||(cn=!0,Qt(ln))},flush:function(e){if(!sn.has(e))return!1;sn.delete(e);var t=an.indexOf(e);return an.splice(t,1),!0}});function fn(e,t){var n,r=Object(I.useCallback)(e,t),o=rn(),i=Object(I.useContext)(on),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Ae(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(WE){var h="An error occurred while running 'mapSelect': ".concat(WE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return un((function(){c.current=r,l.current!==i&&(l.current=i,dn.flush(a)),u.current=n,d.current=void 0,f.current=!0})),un((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(Jt.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(WE){d.current=WE}s({})}};l.current?dn.add(a,e):e();var t=o.subscribe((function(){l.current?dn.add(a,e):e()}));return function(){f.current=!1,t(),dn.flush(a)}}),[o]),n}var hn=function(e){return _e((function(t){return Pe((function(n){var r=fn((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Ne({},n,r))}))}),"withSelect")},pn="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,vn=function(e,t){var n=rn(),r=Object(I.useRef)(e);return pn((function(){r.current=e})),Object(I.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(lt(t)))},mn=function(e){return _e((function(t){return function(n){var r=vn((function(t,r){return e(t,n,r)}),[]);return Object(I.createElement)(t,Ne({},n,r))}}),"withDispatch")};_e((function(e){return function(t){return Object(I.createElement)(nn,null,(function(n){return Object(I.createElement)(e,Ne({},t,{registry:n}))}))}}),"withRegistry");Mt.select,Mt.dispatch,Mt.subscribe,Mt.registerGenericStore;var gn=Mt.registerStore,bn=(Mt.use,n(123)),yn={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var kn,_n,wn=function(e){if(e in yn)return yn[e];throw new Error("config key `"+e+"` does not exist")},On=n.n(bn)()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var Sn={initialize:function(e,t,n){Sn.setUser(e,t),Sn.setSuperProps(n),Sn.identifyUser()},setUser:function(e,t){_n={ID:e,username:t}},setSuperProps:function(e){kn=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);On("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),On('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);wn("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);On("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),On('Built stat "%s" in group "%s"',t,e);return n}(e,t);wn("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){Sn.tracks.recordPageView(e),Sn.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,i,a){Sn.ga.recordPurchase(e,t,n,r,o,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(kn&&(On("- Super Props: %o",kn),t=Object(N.assign)(t,kn)),On('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):On('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};Sn.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){Sn.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){On("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};Sn.ga.initialized||(_n&&(e={userId:"u-"+_n.ID}),window.ga("create",wn("google_analytics_key"),"auto",e),Sn.ga.initialized=!0)},recordPageView:function(e,t){Sn.ga.initialize(),On("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),wn("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){Sn.ga.initialize();var o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),On(o),wn("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){_n&&window._tkq.push(["identifyUser",_n.ID,_n.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},En=Sn,Cn=n(124),Tn=n.n(Cn),xn=function(e){return Object(I.createElement)("g",e)},Dn=function(e){return Object(I.createElement)("path",e)},Mn=function(e){return Object(I.createElement)("polygon",e)},jn=function(e){var t=D({},e,{role:"img","aria-hidden":"true",focusable:"false"});return Object(I.createElement)("svg",t)},In=n(2),Pn=n.n(In);var Nn=function(e){var t=e.type,n=e.options,r=void 0===n?{}:n,o=e.children;if("appear"===t){var i,a=r.origin,s=Ae((void 0===a?"top":a).split(" "),2),c=s[0],l=s[1],u=void 0===l?"center":l;return o({className:Pn()("components-animate__appear",(i={},x(i,"is-from-"+u,"center"!==u),x(i,"is-from-"+c,"middle"!==c),i))})}if("slide-in"===t){var d=r.origin,f=void 0===d?"left":d;return o({className:Pn()("components-animate__slide-in","is-from-"+f)})}return o({})};function Rn(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).navigator.platform;return-1!==e.indexOf("Mac")||Object(N.includes)(["iPad","iPhone"],e)}var Ln=8,An=9,zn=13,Fn=27,Hn=32,Vn=37,Bn=38,Un=39,Wn=40,Kn=46,Yn="alt",$n="ctrl",qn="shift",Gn={primary:function(e){return e()?["meta"]:[$n]},primaryShift:function(e){return e()?[qn,"meta"]:[$n,qn]},primaryAlt:function(e){return e()?[Yn,"meta"]:[$n,Yn]},secondary:function(e){return e()?[qn,Yn,"meta"]:[$n,qn,Yn]},access:function(e){return e()?[$n,Yn]:[qn,Yn]},ctrl:function(){return[$n]},alt:function(){return[Yn]},ctrlShift:function(){return[$n,qn]},shift:function(){return[qn]},shiftAlt:function(){return[qn,Yn]}},Zn=Object(N.mapValues)(Gn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rn;return[].concat(lt(e(n)),[t.toLowerCase()]).join("+")}})),Xn=Object(N.mapValues)(Gn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rn,o=r(),i=(x(n={},Yn,o?"⌥":"Alt"),x(n,$n,o?"^":"Ctrl"),x(n,"meta","⌘"),x(n,qn,o?"⇧":"Shift"),n),a=e(r).reduce((function(e,t){var n=Object(N.get)(i,t,t);return[].concat(lt(e),o?[n]:[n,"+"])}),[]),s=Object(N.capitalize)(t);return[].concat(lt(a),[s])}})),Qn=Object(N.mapValues)(Xn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rn;return e(t,n).join("")}})),Jn=(Object(N.mapValues)(Gn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rn,o=r(),i=(x(n={},qn,"Shift"),x(n,"meta",o?"Command":"Control"),x(n,$n,"Control"),x(n,Yn,o?"Option":"Alt"),x(n,",",he("Comma")),x(n,".",he("Period")),x(n,"`",he("Backtick")),n);return[].concat(lt(e(r)),[t]).map((function(e){return Object(N.capitalize)(Object(N.get)(i,e,e))})).join(o?" ":" + ")}})),Object(N.mapValues)(Gn,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rn,o=e(r);return!!o.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(N.includes)(o,t.key.toLowerCase()))}})));var er=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},tr=n(5),nr=n.n(tr),rr=er((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!nr()(e,this.props)||!nr()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!nr()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),or=new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());var ir=function(e){return er((function(t){var n=function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).handleEvent=e.handleEvent.bind(Ce(e)),e.handleRef=e.handleRef.bind(Ce(e)),e}return Me(r,n),Ee(r,[{key:"componentDidMount",value:function(){var t=this;Object(N.forEach)(e,(function(e,n){or.add(n,t)}))}},{key:"componentWillUnmount",value:function(){var t=this;Object(N.forEach)(e,(function(e,n){or.remove(n,t)}))}},{key:"handleEvent",value:function(t){var n=e[t.type];"function"==typeof this.wrappedRef[n]&&this.wrappedRef[n](t)}},{key:"handleRef",value:function(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}},{key:"render",value:function(){return Object(I.createElement)(t,Ne({},this.props.ownProps,{ref:this.handleRef}))}}]),r}(I.Component);return Object(I.forwardRef)((function(e,t){return Object(I.createElement)(n,{ownProps:e,forwardedRef:t})}))}),"withGlobalEvents")},ar=er((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),sr=er((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");function cr(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function lr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(c=t,!cr(s=n)||s.type!==c)return!1;var s,c,l=e(n);return rt()(l)?l.then(i,a):i(l),!0}}));n.push((function(e,n){return!!cr(e)&&(t(e),n(),!0)}));var r=Object(tt.create)(n);return function(e){return new Promise((function(n,o){return r(e,(function(e){cr(e)&&t(e),n(e)}),o)}))}}function ur(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=lr(e,t.dispatch);return function(e){return function(t){return(r=t)&&"Generator"===r[Symbol.toStringTag]?n(t):e(t);var r}}}}var dr=function(){return function(e){return function(t){return rt()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},fr=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Ae(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(lt(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},hr=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ht.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new ht.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new ht.a(e);return o.delete(t.args),o}return e})),pr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return hr(e,t)}return e};function vr(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function mr(e,t){return void 0!==vr(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function gr(e,t){return!1===vr(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function br(e,t){return!0===vr(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function yr(e){return e}function kr(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function _r(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function wr(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Or(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Sr(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Er(e,t,n){var r,o=t.reducer,s=function(e,t,n){var r=[fr(n,e),dr];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(ur(o))}var i=[et.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return qe(Fe()({metadata:pr,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),c=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},a,t.actions),s),l=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(i,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s,n);if(t.resolvers){var u=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ue(Ve.a.mark((function e(){var t,s;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!mr(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(kr(o,a)),e.next=9,Cr.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(_r(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,l,s);r=u.resolvers,l=u.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var d=s&&function(e){var t=s.__unstableOriginalGetState();s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:s,actions:c,selectors:l,resolvers:r,getSelectors:function(){return l},getActions:function(){return c},subscribe:d}}function Cr(e,t,n){return Tr.apply(this,arguments)}function Tr(){return(Tr=Ue(Ve.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var xr=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Dr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var a,s={registerGenericStore:i,stores:n,namespaces:n,subscribe:function(e){return r.push(e),function(){r=Object(N.without)(r,e)}},select:function(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)},dispatch:function(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)},use:function(e,t){return s=D({},s,e(s,t))}};return s.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Er(e,t,s);return i(e,n),n.store},i("core/data",xr(s)),Object.entries(e).forEach((function(e){var t=Ae(e,2),n=t[0],r=t[1];return s.registerStore(n,r)})),t&&t.subscribe(o),a=s,Object(N.mapValues)(a,(function(e,t){return"function"!=typeof e?e:function(){return s[t].apply(null,arguments)}}))}();var Mr=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var jr=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var Ir=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(jr(t)&&Mr(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,s=e[t].handlers;for(a=s.length;a>0&&!(o>=s[a-1].priority);a--);a===s.length?s[a]=i:s.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Kr("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var Pr=function(e,t){return function(n,r){if(jr(n)&&(t||Mr(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},s=i.length-1;s>=0;s--)a(s);return"hookRemoved"!==n&&Kr("hookRemoved",n,r),o}}};var Nr=function(e){return function(t){return t in e}};var Rr=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var s={name:n,currentIndex:0};for(e.__current.push(s);s.currentIndex<r.length;){var c=r[s.currentIndex],l=c.callback.apply(null,i);t&&(i[0]=l),s.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var Lr=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var Ar=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var zr=function(e){return function(t){if(jr(t))return e[t]&&e[t].runs?e[t].runs:0}};var Fr=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:Ir(e),addFilter:Ir(t),removeAction:Pr(e),removeFilter:Pr(t),hasAction:Nr(e),hasFilter:Nr(t),removeAllActions:Pr(e,!0),removeAllFilters:Pr(t,!0),doAction:Rr(e),applyFilters:Rr(t,!0),currentAction:Lr(e),currentFilter:Lr(t),doingAction:Ar(e),doingFilter:Ar(t),didAction:zr(e),didFilter:zr(t),actions:e,filters:t}},Hr=Fr(),Vr=Hr.addAction,Br=Hr.addFilter,Ur=Hr.removeAction,Wr=(Hr.removeFilter,Hr.hasAction,Hr.hasFilter),Kr=(Hr.removeAllActions,Hr.removeAllFilters,Hr.doAction),Yr=Hr.applyFilters,$r=(Hr.currentAction,Hr.currentFilter,Hr.doingAction,Hr.doingFilter,Hr.didAction,Hr.didFilter,Hr.actions,Hr.filters,Object.create(null));function qr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,r=t.alternative,o=t.plugin,i=t.link,a=t.hint,s=o?" from ".concat(o):"",c=n?"".concat(s," in ").concat(n):"",l=r?" Please use ".concat(r," instead."):"",u=i?" See: ".concat(i):"",d=a?" Note: ".concat(a):"",f="".concat(e," is deprecated and will be removed").concat(c,".").concat(l).concat(u).concat(d);f in $r||(Kr("deprecated",e,t,f),console.warn(f),$r[f]=!0)}var Gr,Zr,Xr={getItem:function(e){return Gr&&Gr[e]?Gr[e]:null},setItem:function(e,t){Gr||Xr.clear(),Gr[e]=String(t)},clear:function(){Gr=Object.create(null)}},Qr=Xr;try{(Zr=window.localStorage).setItem("__wpDataTestLocalStorage",""),Zr.removeItem("__wpDataTestLocalStorage")}catch(WE){Zr=Qr}var Jr=Zr,eo="WP_DATA",to=function(e){return function(t,n){return n.nextState===t?t:e(t,n)}};function no(e){var t,n=e.storage,r=void 0===n?Jr:n,o=e.storageKey,i=void 0===o?eo:o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(WE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ro=function(e,t){var n=no(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o;if(Array.isArray(r)){var i=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});o=to(Fe()(i))}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var r=o(a,{nextState:e()});r!==a&&(n.set(t,r),a=r)}}(a.getState,t,r.persist)),a}}};ro.__unstableMigrate=function(e){var t=no(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var oo=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};oo((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!nr()(e,this.props)||!nr()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!nr()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());oo((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),oo((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var io=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,ao=Object(I.createContext)(Dr),so=ao.Consumer,co=(ao.Provider,so);var lo=Object(I.createContext)(!1);lo.Consumer,lo.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);io(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,oo((function(e){return function(t){return Object(I.createElement)(co,null,(function(n){return Object(I.createElement)(e,Ne({},t,{registry:n}))}))}}),"withRegistry");var uo=Dr.select,fo=(Dr.dispatch,Dr.subscribe,Dr.registerGenericStore,Dr.registerStore);Dr.use;var ho,po,vo=Fe()({formatTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return D({},e,Object(N.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(N.omit)(e,t.names)}return e}});function mo(e){return[e]}function go(){var e={clear:function(){e.head=null}};return e}function bo(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}ho={},po="undefined"!=typeof WeakMap;var yo=function(e,t){var n,r;function o(){n=po?new WeakMap:go()}function i(){var n,o,i,a,s,c=arguments.length;for(a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];for(s=t.apply(null,a),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!bo(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),o=n.head;o;){if(bo(o.args,a,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,a)},a[0]=null,o.args=a,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=mo),r=po?function(e){var t,r,o,i,a,s=n,c=!0;for(t=0;t<e.length;t++){if(r=e[t],!(a=r)||"object"!=typeof a){c=!1;break}s.has(r)?s=s.get(r):(o=new WeakMap,s.set(r,o),s=o)}return s.has(ho)||((i=go()).isUniqueByDependants=c,s.set(ho,i)),s.get(ho)}:function(){return n},i.getDependants=t,i.clear=o,o(),i},ko=yo((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function _o(e,t){return e.formatTypes[t]}function wo(e,t){return Object(N.find)(ko(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function Oo(e,t){return Object(N.find)(ko(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function So(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(N.castArray)(e)}}function Eo(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(N.castArray)(e)}}function Co(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var o=Object.keys(n),i=Object.keys(r);if(o.length!==i.length)return!1;for(var a=o.length,s=0;s<a;s++){var c=o[s];if(n[c]!==r[c])return!1}return!0}function To(e){var t=e.formats.slice();return t.forEach((function(e,n){var r=t[n-1];if(r){var o=e.slice();o.forEach((function(e,t){var n=r[t];Co(e,n)&&(o[t]=n)})),t[n]=o}})),D({},e,{formats:t})}function xo(e,t,n){return(e=e.slice())[t]=n,e}function Do(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var s=Object(N.find)(a[n],{type:t.type});if(s){for(var c=a[n].indexOf(s);a[n]&&a[n][c]===s;)a[n]=xo(a[n],c,t),n--;for(r++;a[r]&&a[r][c]===s;)a[r]=xo(a[r],c,t),r++}}else{for(var l=1/0,u=n;u<r;u++)if(a[u]){a[u]=a[u].filter((function(e){return e.type!==t.type}));var d=a[u].length;d<l&&(l=d)}else a[u]=[],l=0;for(var f=n;f<r;f++)a[f].splice(l,0,t)}return To(D({},e,{formats:a,activeFormats:[].concat(lt(Object(N.reject)(i,{type:t.type})),[t])}))}function Mo(e,t){var n=e.implementation;return Mo.body||(Mo.body=n.createHTMLDocument("").body),Mo.body.innerHTML=t,Mo.body}fo("core/rich-text",{reducer:vo,selectors:s,actions:c});var jo="\u2028",Io="",Po=window.Node,No=Po.TEXT_NODE,Ro=Po.ELEMENT_NODE;function Lo(e,t){for(var n in e)if(e[n]===t)return n}function Ao(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,o=e.range,i=e.multilineTag,a=e.multilineWrapperTags,s=e.__unstableIsEditableTree;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=Mo(document,r)),"object"!==F(t)?{formats:[],replacements:[],text:""}:i?Vo({element:t,range:o,multilineTag:i,multilineWrapperTags:a,isEditableTree:s}):Ho({element:t,range:o,isEditableTree:s}))}function zo(e,t,n,r){if(n){var o=t.parentNode,i=n.startContainer,a=n.startOffset,s=n.endContainer,c=n.endOffset,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===i&&t.nodeType===No?e.start=l+a:o===i&&t===i.childNodes[a]?e.start=l:o===i&&t===i.childNodes[a-1]?e.start=l+r.text.length:t===i&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===s&&t.nodeType===No?e.end=l+c:o===s&&t===s.childNodes[c-1]?e.end=l+r.text.length:o===s&&t===s.childNodes[c]?e.end=l:t===s&&(e.end=l+c)}}function Fo(e){return e.replace(/[\n\r\t]+/g," ")}function Ho(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,s=e.isEditableTree,c={formats:[],replacements:[],text:""};if(!t)return c;if(!t.hasChildNodes())return zo(c,t,n,{formats:[],replacements:[],text:""}),c;for(var l=t.childNodes.length,u=function(e){var i=t.childNodes[e],l=i.nodeName.toLowerCase();if(i.nodeType===No){var u=Fo(i.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,o=t.endContainer,i=t.startOffset,a=t.endOffset;return e===r&&(i=n(e.nodeValue.slice(0,i)).length),e===o&&(a=n(e.nodeValue.slice(0,a)).length),{startContainer:r,startOffset:i,endContainer:o,endOffset:a}}}(i,n,Fo),zo(c,i,n,{text:u}),c.formats.length+=u.length,c.replacements.length+=u.length,c.text+=u,"continue"}if(i.nodeType!==Ro)return"continue";if(i.getAttribute("data-rich-text-padding")||s&&"br"===l&&!i.getAttribute("data-rich-text-line-break"))return zo(c,i,n,{formats:[],replacements:[],text:""}),"continue";if("br"===l)return zo(c,i,n,{formats:[],replacements:[],text:""}),Uo(c,Ao({text:"\n"})),"continue";var d=c.formats[c.formats.length-1],f=d&&d[d.length-1],h=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=uo("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=uo("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var o={},i={};for(var a in r){var s=Lo(t.attributes,a);s?o[s]=r[a]:i[a]=r[a]}return{type:t.name,attributes:o,unregisteredAttributes:i}}({type:l,attributes:Bo({element:i})}),p=Co(h,f)?f:h;if(o&&-1!==o.indexOf(l)){var v=Vo({element:i,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:[].concat(lt(a),[p]),isEditableTree:s});return zo(c,i,n,v),Uo(c,v),"continue"}var m=Ho({element:i,range:n,multilineTag:r,multilineWrapperTags:o,isEditableTree:s});zo(c,i,n,m),p?0===m.text.length?p.attributes&&Uo(c,{formats:[,],replacements:[p],text:Io}):Uo(c,D({},m,{formats:Array.from(m.formats,(function(e){return e?[p].concat(lt(e)):[p]}))})):Uo(c,m)},d=0;d<l;d++)u(d);return c}function Vo(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,s=e.isEditableTree,c={formats:[],replacements:[],text:""};if(!t||!t.hasChildNodes())return c;for(var l=t.children.length,u=0;u<l;u++){var d=t.children[u];if(d.nodeName.toLowerCase()===r){var f=Ho({element:d,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a,isEditableTree:s});(0!==u||a.length>0)&&Uo(c,{formats:[,],replacements:a.length>0?[a]:[,],text:jo}),zo(c,d,n,f),Uo(c,f)}}return c}function Bo(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,o=0;o<r;o++){var i=t.attributes[o],a=i.name,s=i.value;0!==a.indexOf("data-rich-text-")&&((n=n||{})[a]=s)}return n}}function Uo(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function Wo(e){var t=e.formats,n=e.start,r=e.end,o=e.activeFormats;if(void 0===n)return[];if(n===r){if(o)return o;var i=t[n-1]||[],a=t[n]||[];return i.length<a.length?i:a}return t[n]||[]}function Ko(e,t){return Object(N.find)(Wo(e),{type:t})}function Yo(e){return e.text}function $o(e){for(var t=e.start,n=e.text,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;r--;)if(n[r]===jo)return r}function qo(e){var t=e.replacements[$o(e,e.start)];return!t||t.length<1}function Go(e,t,n){var r=e.replacements[$o(e,e.start)];return r&&0!==r.length?r[r.length-1].type===t:t===n}function Zo(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function Xo(e){return 0===e.text.length}function Qo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var s=Object(N.find)(a[n],{type:t});if(s){for(;Object(N.find)(a[n],s);)Jo(a,n,t),n--;for(r++;Object(N.find)(a[r],s);)Jo(a,r,t),r++}}else for(var c=n;c<r;c++)a[c]&&Jo(a,c,t);return To(D({},e,{formats:a,activeFormats:Object(N.reject)(i,{type:t})}))}function Jo(e,t,n){var r=e[t].filter((function(e){return e.type!==n}));r.length?e[t]=r:delete e[t]}function ei(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.replacements,a=e.text;"string"==typeof t&&(t=Ao({text:t}));var s=n+t.text.length;return To({formats:o.slice(0,n).concat(t.formats,o.slice(r)),replacements:i.slice(0,n).concat(t.replacements,i.slice(r)),text:a.slice(0,n)+t.text+a.slice(r),start:s,end:s})}function ti(e,t,n){return ei(e,Ao(),t,n)}function ni(e,t,n){var r=e.formats,o=e.replacements,i=e.text,a=e.start,s=e.end;return i=i.replace(t,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),c=1;c<t;c++)i[c-1]=arguments[c];var l,u,d=i[i.length-2],f=n;return"function"==typeof f&&(f=n.apply(void 0,[e].concat(i))),"object"===F(f)?(l=f.formats,u=f.replacements,f=f.text):(l=Array(f.length),u=Array(f.length),r[d]&&(l=l.fill(r[d]))),r=r.slice(0,d).concat(l,r.slice(d+e.length)),o=o.slice(0,d).concat(u,o.slice(d+e.length)),a&&(a=s=d+f.length),f})),To({formats:r,replacements:o,text:i,start:a,end:s})}function ri(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,o=e.replacements,i=e.text;return void 0===t||void 0===n?D({},e):{formats:r.slice(t,n),replacements:o.slice(t,n),text:i.slice(t,n)}}function oi(e,t){var n=e.formats,r=e.replacements,o=e.text,i=e.start,a=e.end;if("string"!=typeof t)return ii.apply(void 0,arguments);var s=0;return o.split(t).map((function(e){var o=s,c={formats:n.slice(o,o+e.length),replacements:r.slice(o,o+e.length),text:e};return s+=t.length+e.length,void 0!==i&&void 0!==a&&(i>=o&&i<s?c.start=i-o:i<o&&a>o&&(c.start=0),a>=o&&a<s?c.end=a-o:i<s&&a>s&&(c.end=e.length)),c}))}function ii(e){var t=e.formats,n=e.replacements,r=e.text,o=e.start,i=e.end,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,c={formats:t.slice(0,a),replacements:n.slice(0,a),text:r.slice(0,a)},l={formats:t.slice(s),replacements:n.slice(s),text:r.slice(s),start:0,end:0};return[ni(c,/\u2028+$/,""),ni(l,/^\u2028+/,"")]}function ai(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,o=e.object,i=e.boundaryClass,a=function(e){return uo("core/rich-text").getFormatType(e)}(t),s={};if(i&&(s["data-rich-text-format-boundary"]="true"),!a)return n&&(s=D({},n,s)),{type:t,attributes:s,object:o};for(var c in s=D({},r,s),n){var l=!!a.attributes&&a.attributes[c];l?s[l]=n[c]:s[c]=n[c]}return a.className&&(s.class?s.class="".concat(a.className," ").concat(s.class):s.class=a.className),{type:a.tagName,object:a.object,attributes:s}}var si={type:"br",attributes:{"data-rich-text-padding":"true"},object:!0};function ci(e){var t,n,r,o=e.value,i=e.multilineTag,a=e.createEmpty,s=e.append,c=e.getLastChild,l=e.getParent,u=e.isText,d=e.getText,f=e.remove,h=e.appendText,p=e.onStartIndex,v=e.onEndIndex,m=e.isEditableTree,g=o.formats,b=o.replacements,y=o.text,k=o.start,_=o.end,w=g.length+1,O=a(),S={type:i},E=Wo(o),C=E[E.length-1];i?(s(s(O,{type:i}),""),n=t=[S]):s(O,"");for(var T=function(e){var o=y.charAt(e),a=m&&(!r||r===jo||"\n"===r),w=g[e];i&&(w=o===jo?t=(b[e]||[]).reduce((function(e,t){return e.push(t,S),e}),[S]):[].concat(lt(t),lt(w||[])));var E=c(O);if(a&&o===jo){for(var T=E;!u(T);)T=c(T);s(l(T),si),s(l(T),"")}if(r===jo){for(var x=E;!u(x);)x=c(x);p&&k===e&&p(O,x),v&&_===e&&v(O,x)}if(w&&w.forEach((function(e,t){if(!E||!n||e!==n[t]||o===jo&&w.length-1===t){var r=e.type,i=e.attributes,a=e.unregisteredAttributes,h=m&&o!==jo&&e===C,p=l(E),v=s(p,ai({type:r,attributes:i,unregisteredAttributes:a,boundaryClass:h}));u(E)&&0===d(E).length&&f(E),E=s(v,"")}else E=c(E)})),o===jo)return n=w,r=o,"continue";0===e&&(p&&0===k&&p(O,E),v&&0===_&&v(O,E)),o===Io?(E=s(l(E),ai(D({},b[e],{object:!0}))),E=s(l(E),"")):"\n"===o?(E=s(l(E),{type:"br",attributes:m?{"data-rich-text-line-break":"true"}:void 0,object:!0}),E=s(l(E),"")):u(E)?h(E,o):E=s(l(E),o),p&&k===e+1&&p(O,E),v&&_===e+1&&v(O,E),a&&e===y.length&&s(l(E),si),n=w,r=o},x=0;x<w;x++)T(x);return O}var li=window.Node.TEXT_NODE;function ui(e,t,n){for(var r=e.parentNode,o=0;e=e.previousSibling;)o++;return n=[o].concat(lt(n)),r!==t&&(n=ui(r,t,n)),n}function di(e,t){for(t=lt(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var fi=function(){return Mo(document,"")};function hi(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,o=n.attributes;if(r)for(var i in t=e.ownerDocument.createElement(r),o)t.setAttribute(i,o[i]);return e.appendChild(t)}function pi(e,t){e.appendData(t)}function vi(e){return e.lastChild}function mi(e){return e.parentNode}function gi(e){return e.nodeType===li}function bi(e){return e.nodeValue}function yi(e){return e.parentNode.removeChild(e)}function ki(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,o=e.isEditableTree,i=void 0===o||o,a=[],s=[];return r&&(t=D({},t,{formats:r(t)})),{body:ci({value:t,multilineTag:n,createEmpty:fi,append:hi,getLastChild:vi,getParent:mi,isText:gi,getText:bi,remove:yi,appendText:pi,onStartIndex:function(e,t){a=ui(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){s=ui(t,e,[t.nodeValue.length])},isEditableTree:i}),selection:{startPath:a,endPath:s}}}function _i(e){var t=e.value,n=e.current,r=e.multilineTag,o=e.prepareEditableTree,i=e.__unstableDomOnly,a=ki({value:t,multilineTag:r,prepareEditableTree:o}),s=a.body,c=a.selection;!function e(t,n){var r=0;var o;for(;o=t.firstChild;){var i=n.childNodes[r];if(i)if(i.isEqualNode(o))t.removeChild(o);else if(i.nodeName!==o.nodeName||i.nodeType===li&&i.data!==o.data)n.replaceChild(o,i);else{var a=i.attributes,s=o.attributes;if(a)for(var c=a.length;c--;){var l=a[c].name;o.getAttribute(l)||i.removeAttribute(l)}if(s)for(var u=0;u<s.length;u++){var d=s[u],f=(l=d.name,d.value);i.getAttribute(l)!==f&&i.setAttribute(l,f)}e(o,i),t.removeChild(o)}else n.appendChild(o);r++}for(;n.childNodes[r];)n.removeChild(n.childNodes[r])}(s,n),void 0===t.start||i||function(e,t){var n=e.startPath,r=e.endPath,o=di(t,n),i=o.node,a=o.offset,s=di(t,r),c=s.node,l=s.offset,u=window.getSelection(),d=t.ownerDocument,f=d.createRange();f.setStart(i,a),f.setEnd(c,l),d.activeElement!==t&&t.focus();if(u.rangeCount>0){if(h=f,p=u.getRangeAt(0),h.startContainer===p.startContainer&&h.startOffset===p.startOffset&&h.endContainer===p.endContainer&&h.endOffset===p.endOffset)return;u.removeAllRanges()}var h,p;u.addRange(f)}(c,n)}function wi(e){return ji(ci({value:e.value,multilineTag:e.multilineTag,createEmpty:Oi,append:Ei,getLastChild:Si,getParent:Ti,isText:xi,getText:Di,remove:Mi,appendText:Ci}).children)}function Oi(){return{}}function Si(e){var t=e.children;return t&&t[t.length-1]}function Ei(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function Ci(e,t){e.text+=t}function Ti(e){return e.parent}function xi(e){return"string"==typeof e.text}function Di(e){return e.text}function Mi(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function ji(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((function(e){return void 0===e.text?function(e){var t=e.type,n=e.attributes,r=e.object,o=e.children,i="";for(var a in n)W(a)&&(i+=" ".concat(a,'="').concat(B(n[a]),'"'));return r?"<".concat(t).concat(i,">"):"<".concat(t).concat(i,">").concat(ji(o),"</").concat(t,">")}(e):U(e.text)})).join("")}function Ii(e,t){var n=$o(e);if(void 0===n)return e;var r=e.text,o=e.replacements,i=e.end,a=$o(e,n),s=o[n]||[],c=o[a]||[];if(s.length>c.length)return e;for(var l=o.slice(),u=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;)if(n[i]===jo){var a=r[i]||[];if(a.length===o.length+1)return i;if(a.length<=o.length)return}}(e,n),d=n;d<i;d++)if(r[d]===jo)if(u){var f=o[u]||[];l[d]=f.concat((l[d]||[]).slice(f.length-1))}else{var h=o[a]||[],p=h[h.length-1]||t;l[d]=h.concat([p],(l[d]||[]).slice(h.length))}return D({},e,{replacements:l})}function Pi(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;){if(n[i]===jo)if((r[i]||[]).length===o.length-1)return i}}function Ni(e){var t=e.text,n=e.replacements,r=e.start,o=e.end,i=$o(e,r);if(void 0===n[i])return e;for(var a=n.slice(0),s=n[Pi(e,i)]||[],c=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t,a=t||0;a<n.length;a++)if(n[a]===jo){if(!((r[a]||[]).length>=o.length))return i;i=a}return i}(e,$o(e,o)),l=i;l<=c;l++)if(t[l]===jo){var u=a[l]||[];a[l]=s.concat(u.slice(s.length+1)),0===a[l].length&&delete a[l]}return D({},e,{replacements:a})}function Ri(e,t){for(var n,r=e.text,o=e.replacements,i=e.start,a=e.end,s=$o(e,i),c=o[s]||[],l=o[$o(e,a)]||[],u=Pi(e,s),d=o.slice(),f=c.length-1,h=l.length-1,p=u+1||0;p<r.length;p++)if(r[p]===jo){if((d[p]||[]).length<=f)break;d[p]&&(n=!0,d[p]=d[p].map((function(e,n){return n<f||n>h?e:t})))}return n?D({},e,{replacements:d}):e}function Li(e){var t=e.value,n=e.start,r=e.end,o=e.formats,i=t.formats[n-1]||[],a=t.formats[r]||[];for(t.activeFormats=o.map((function(e,t){if(i[t]){if(Co(e,i[t]))return i[t]}else if(a[t]&&Co(e,a[t]))return a[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}var Ai=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function zi(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function Fi(e){return lt(e.querySelectorAll(Ai)).filter((function(e){return!!zi(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&zi(n)}(e))}))}function Hi(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function Vi(e){return-1!==Hi(e)}function Bi(e,t){return{element:e,index:t}}function Ui(e){return e.element}function Wi(e,t){var n=Hi(e.element),r=Hi(t.element);return n===r?e.index-t.index:n-r}function Ki(e){return Fi(e).filter(Vi).map(Bi).sort(Wi).map(Ui).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var s=t.hasOwnProperty(a);if(!i&&s)return e;if(s){var c=t[a];e=Object(N.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var Yi=window.getComputedStyle,$i=window.Node,qi=$i.TEXT_NODE,Gi=($i.ELEMENT_NODE,$i.DOCUMENT_POSITION_PRECEDING),Zi=$i.DOCUMENT_POSITION_FOLLOWING;function Xi(e,t,n){if(Object(N.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&Gi)&&(!!(i&Zi)||(0!==i||r<=o))}(r),a=r.isCollapsed;a||o.collapse(!i);var s=ea(o);if(!s)return!1;var c=window.getComputedStyle(e),l=parseInt(c.lineHeight,10)||0;if(!a&&s.height>l&&i===t)return!1;var u=parseInt(c["padding".concat(t?"Top":"Bottom")],10)||0,d=3*parseInt(l,10)/4,f=e.getBoundingClientRect();if(!(t?f.top+u>s.top-d:f.bottom-u<s.bottom+d))return!1;if(n)return!0;var h="rtl"===c.direction?!t:t,p=h?f.left+1:f.right-1,v=t?f.top+d:f.bottom-d,m=na(document,p,v,e);if(!m)return!1;var g=h?"left":"right",b=ea(m);return Math.round(b[g])===Math.round(s[g])}function Qi(e,t){return Xi(e,t)}function Ji(e,t){return Xi(e,t,!0)}function ea(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var o=e.getClientRects()[0];if(!o){var i=document.createTextNode("");(e=e.cloneRange()).insertNode(i),o=e.getClientRects()[0],i.parentNode.removeChild(i)}return o}function ta(e,t){if(e){if(Object(N.includes)(["INPUT","TEXTAREA"],e.tagName))return e.focus(),void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0));if(e.focus(),e.isContentEditable){var n=e[t?"lastChild":"firstChild"];if(n){var r=window.getSelection(),o=document.createRange();o.selectNodeContents(n),o.collapse(!t),r.removeAllRanges(),r.addRange(o)}}}}function na(e,t,n,r){r.style.zIndex="10000";var o=function(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(e,t,n);return r.style.zIndex=null,o}function ra(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(WE){return!1}}function oa(e){if(Object(N.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var s=e.lastChild,c=s.nodeType===qi?s.data.length:s.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function ia(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return ia(e.parentNode)}}function aa(e,t){ca(t,e.parentNode),sa(e)}function sa(e){e.parentNode.removeChild(e)}function ca(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function la(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function ua(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function da(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}var fa={focusable:l,tabbable:u},ha=["button","submit"];var pa=er((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).bindNode=e.bindNode.bind(Ce(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Ce(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Ce(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e)}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(N.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(N.includes)(ha,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(I.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(I.createElement)(e,Ne({ref:this.bindNode},this.props)))}}]),n}(I.Component)}),"withFocusOutside");var va=Object(I.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,i=e.isLarge,a=e.isSmall,s=e.isTertiary,c=e.isToggled,l=e.isBusy,u=e.isDefault,d=e.isLink,f=e.isDestructive,h=e.className,p=e.disabled,v=j(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isToggled","isBusy","isDefault","isLink","isDestructive","className","disabled"]),m=Pn()("components-button",h,{"is-button":u||o||i||a,"is-default":u||i||a,"is-primary":o,"is-large":i,"is-small":a,"is-tertiary":s,"is-toggled":c,"is-busy":l,"is-link":d,"is-destructive":f}),g=void 0===n||p?"button":"a",b="a"===g?{href:n,target:r}:{type:"button",disabled:p};return Object(I.createElement)(g,D({},b,v,{className:m,ref:t}))})),ma=10,ga=function(){return window.innerWidth<782},ba=function(){return"rtl"===document.documentElement.dir};function ya(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Ae(n.split(" "),2),i=o[0],a=o[1],s=void 0===a?"center":a,c=function(e,t,n){var r,o=t.height,i=e.top+e.height/2,a={popoverTop:i,contentHeight:(i-o/2>0?o/2:i)+(i+o/2>window.innerHeight?window.innerHeight-i:o/2)},s={popoverTop:e.top,contentHeight:e.top-ma-o>0?o:e.top-ma},c={popoverTop:e.bottom,contentHeight:e.bottom+ma+o>window.innerHeight?window.innerHeight-ma-e.bottom:o},l=null;if("middle"===n&&a.contentHeight===o)r="middle";else if("top"===n&&s.contentHeight===o)r="top";else if("bottom"===n&&c.contentHeight===o)r="bottom";else{var u="top"===(r=s.contentHeight>c.contentHeight?"top":"bottom")?s.contentHeight:c.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?a.popoverTop:"top"===r?s.popoverTop:c.popoverTop,contentHeight:l}}(e,t,i),l=function(e,t,n,r){var o=t.width;"left"===n&&ba()?n="right":"right"===n&&ba()&&(n="left");var i,a=Math.round(e.left+e.width/2),s={popoverLeft:a,contentWidth:(a-o/2>0?o/2:a)+(a+o/2>window.innerWidth?window.innerWidth-a:o/2)},c="middle"===r?e.left:a,l={popoverLeft:c,contentWidth:c-o>0?o:c},u="middle"===r?e.right:a,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},f=null;if("center"===n&&s.contentWidth===o)i="center";else if("left"===n&&l.contentWidth===o)i="left";else if("right"===n&&d.contentWidth===o)i="right";else{var h="left"===(i=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;f=h!==o?h:null}return{xAxis:i,popoverLeft:"center"===i?s.popoverLeft:"left"===i?l.popoverLeft:d.popoverLeft,contentWidth:f}}(e,t,s,c.yAxis);return D({isMobile:ga()&&r},l,c)}var ka=Object(I.createContext)({focusHistory:[]}),_a=ka.Provider,wa=ka.Consumer;_a.displayName="FocusReturnProvider",wa.displayName="FocusReturnConsumer";I.Component;var Oa=er((function e(t){if((r=t)instanceof I.Component||"function"==typeof r){var n=t;return e({})(n)}var r,o=t.onFocusReturn,i=void 0===o?N.stubTrue:o;return function(e){var t=function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var r,o=[].concat(lt(N.without.apply(void 0,[this.props.focusHistory].concat(lt(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(I.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(I.createElement)(e,this.props))}}]),n}(I.Component);return function(e){return Object(I.createElement)(wa,null,(function(n){return Object(I.createElement)(t,Ne({},e,n))}))}}}),"withFocusReturn"),Sa=er((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).focusContainRef=Object(I.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===An){var t=fa.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(I.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(I.createElement)(e,this.props))}}]),n}(I.Component)}),"withConstrainedTabbing"),Ea=n(47),Ca=n.n(Ea),Ta=function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(I.Component),xa=Ca()(Ta);var Da=function(e){var t,n,r=e.shortcut,o=e.className;return r?(Object(N.isString)(r)&&(t=r),Object(N.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(I.createElement)("span",{className:o,"aria-label":n},t)):null},Ma=700,ja=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).delayedSetIsOver=Object(N.debounce)((function(t){return e.setState({isOver:t})}),Ma),e.state={isOver:!1},e}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===I.Children.count(n)){var r=I.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!r.currentTarget.disabled){n.delayedSetIsOver.cancel();var o=Object(N.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==I.Children.count(t))return t;var i=I.Children.only(t),a=this.state.isOver;return Object(I.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:R(i.props.children,a&&Object(I.createElement)(Ga,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(I.createElement)(Da,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),t}(I.Component),Ia=function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,o=void 0===r?20:r,i=t.className,a=(t.ariaPressed,j(t,["icon","size","className","ariaPressed"]));switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var s=function(e,t){return["dashicon","dashicons-"+e,t].filter(Boolean).join(" ")}(n,i);return Object(I.createElement)(jn,Ne({"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 20 20"},a),Object(I.createElement)(Dn,{d:e}))}}]),t}(I.Component);var Pa=Object(I.forwardRef)((function(e,t){var n=e.icon,r=e.children,o=e.label,i=e.className,a=e.tooltip,s=e.shortcut,c=e.labelPosition,l=j(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),u=l["aria-pressed"],d=Pn()("components-icon-button",i,{"has-text":r}),f=a||o,h=!l.disabled&&(a||s||!!o&&(!r||Object(N.isArray)(r)&&!r.length)&&!1!==a),p=Object(I.createElement)(va,Ne({"aria-label":o},l,{className:d,ref:t}),Object(N.isString)(n)?Object(I.createElement)(Ia,{icon:n,ariaPressed:u}):n,r);return h&&(p=Object(I.createElement)(ja,{text:f,shortcut:s,position:c},p)),p}));var Na=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,i=0,a=0;function s(e){var t=n.scrollingElement||n.body;e&&(a=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=a)}return function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){0===i&&s(!0),++i}},{key:"componentWillUnmount",value:function(){1===i&&s(!1),--i}},{key:"render",value:function(){return null}}]),t}(I.Component)}(),Ra=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",Ne({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(I.Component),La=Object(I.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),Aa=La.Provider,za=La.Consumer,Fa=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(Ce(e)),e.registerFill=e.registerFill.bind(Ce(e)),e.unregisterSlot=e.unregisterSlot.bind(Ce(e)),e.unregisterFill=e.unregisterFill.bind(Ce(e)),e.getSlot=e.getSlot.bind(Ce(e)),e.getFills=e.getFills.bind(Ce(e)),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Me(t,e),Ee(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(lt(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.forceUpdateFills(e))}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(N.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(N.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(N.forEach)(this.fills[e],(function(e){e.occurrence=void 0}))}},{key:"forceUpdateFills",value:function(e){Object(N.forEach)(this.fills[e],(function(e){e.forceUpdate()}))}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(I.createElement)(Aa,{value:this.state},this.props.children)}}]),t}(I.Component),Ha=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).bindNode=e.bindNode.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.bubblesVirtually,o=void 0!==r&&r,i=e.fillProps,a=void 0===i?{}:i,s=e.getFills;if(o)return Object(I.createElement)("div",{ref:this.bindNode});var c=Object(N.map)(s(n,this),(function(e){var t=e.occurrence,n=Object(N.isFunction)(e.children)?e.children(a):e.children;return I.Children.map(n,(function(e,n){if(!e||Object(N.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(I.cloneElement)(e,{key:r})}))})).filter(Object(N.negate)(A));return Object(I.createElement)(I.Fragment,null,Object(N.isFunction)(t)?t(c):c)}}]),t}(I.Component),Va=function(e){return Object(I.createElement)(za,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return Object(I.createElement)(Ha,Ne({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},Ba=0;function Ua(e){var t=e.name,n=e.getSlot,r=e.children,o=e.registerFill,i=e.unregisterFill,a=Ae(Object(I.useState)({}),2)[1],s=function(){return a({})},c=Object(I.useRef)({name:t,children:r});c.current.occurrence||(c.current.occurrence=++Ba),Object(I.useLayoutEffect)((function(){return c.current.forceUpdate=s,o(t,c.current),function(){return i(t,c.current)}}),[]),Object(I.useLayoutEffect)((function(){c.current.children=r;var e=n(t);e&&!e.props.bubblesVirtually&&e.forceUpdate()}),[r]),Object(I.useLayoutEffect)((function(){t!==c.current.name&&(i(c.current.name,c.current),c.current.name=t,o(t,c.current))}),[t]);var l=n(t);return l&&l.node&&l.props.bubblesVirtually?(Object(N.isFunction)(r)&&(r=r(l.props.fillProps)),Object(L.createPortal)(r,l.node)):null}var Wa=function(e){return Object(I.createElement)(za,null,(function(t){var n=t.getSlot,r=t.registerFill,o=t.unregisterFill;return Object(I.createElement)(Ua,Ne({},e,{getSlot:n,registerFill:r,unregisterFill:o}))}))};function Ka(e){var t=function(t){return Object(I.createElement)(Wa,Ne({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(I.createElement)(Va,Ne({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var Ya=Sa(Oa((function(e){return e.children})));function $a(e,t){Object(I.useEffect)((function(){var n,r=function(r){window.cancelAnimationFrame(n),t&&r&&"scroll"===r.type&&t.current.contains(r.target)||(n=window.requestAnimationFrame(e))};return window.addEventListener("resize",r),window.addEventListener("scroll",r),function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r)}}),[])}var qa=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,i=e.className,a=e.onClickOutside,s=void 0===a?n:a,c=e.noArrow,l=void 0!==c&&c,u=e.position,d=void 0===u?"top":u,f=(e.range,e.focusOnMount),h=void 0===f?"firstElement":f,p=e.anchorRect,v=e.getAnchorRect,m=e.expandOnMobile,g=e.animate,b=void 0===g||g,y=j(e,["headerTitle","onClose","onKeyDown","children","className","onClickOutside","noArrow","position","range","focusOnMount","anchorRect","getAnchorRect","expandOnMobile","animate"]),k=Object(I.useRef)(null),_=Object(I.useRef)(null),w=Ae(Object(I.useState)(!1),2),O=w[0],S=w[1],E=function(e,t,n,r){var o=Ae(Object(I.useState)(null),2),i=o[0],a=o[1],s=function(){if(e.current){var t;if(n)t=n;else if(r)t=r(e.current);else{var o=e.current.parentNode.getBoundingClientRect(),s=window.getComputedStyle(e.current.parentNode),c=s.paddingTop,l=s.paddingBottom,u=parseInt(c,10),d=parseInt(l,10);t={x:o.left,y:o.top+u,width:o.width,height:o.height-u-d,left:o.left,right:o.right,top:o.top+u,bottom:o.bottom-d}}!nr()(t,i)&&a(t)}};return Object(I.useEffect)(s,[n,r]),Object(I.useEffect)((function(){if(!n){var e=setInterval(s,500);return function(){return clearInterval(e)}}}),[n]),$a(s,t),i}(k,_,p,v),C=function(e){var t=Ae(Object(I.useState)(null),2),n=t[0],r=t[1];return Object(I.useEffect)((function(){var t=e.current.getBoundingClientRect();r({width:t.width,height:t.height})}),[]),n}(_);Object(I.useEffect)((function(){C&&S(!0)}),[C]);var T=function(e,t,n,r,o){var i=Ae(Object(I.useState)({popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1}),2),a=i[0],s=i[1],c=function(){if(e&&t){var o=ya(e,t,n,r);a.yAxis===o.yAxis&&a.xAxis===o.xAxis&&a.popoverLeft===o.popoverLeft&&a.popoverTop===o.popoverTop&&a.contentHeight===o.contentHeight&&a.contentWidth===o.contentWidth&&a.isMobile===o.isMobile||s(o)}};return Object(I.useEffect)(c,[e,t]),$a(c,o),a}(E,C,d,m,_);!function(e,t){Object(I.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=fa.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(h,_);var x=function(e){e.keyCode===Fn&&n&&(e.stopPropagation(),n()),r&&r(e)},D={top:"bottom",bottom:"top"}[T.yAxis]||"middle",M={left:"right",right:"left"}[T.xAxis]||"center",P=Pn()("components-popover",i,"is-"+T.yAxis,"is-"+T.xAxis,{"is-mobile":T.isMobile,"is-without-arrow":l||"center"===T.xAxis&&"middle"===T.yAxis}),N=Object(I.createElement)(xa,{onClickOutside:s},Object(I.createElement)(Nn,{type:b&&O?"appear":null,options:{origin:D+" "+M}},(function(e){var r=e.className;return Object(I.createElement)(Ra,Ne({className:Pn()(P,r),style:{top:!T.isMobile&&T.popoverTop?T.popoverTop+"px":void 0,left:!T.isMobile&&T.popoverLeft?T.popoverLeft+"px":void 0,visibility:C?void 0:"hidden"}},y,{onKeyDown:x}),T.isMobile&&Object(I.createElement)("div",{className:"components-popover__header"},Object(I.createElement)("span",{className:"components-popover__header-title"},t),Object(I.createElement)(Pa,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(I.createElement)("div",{ref:_,className:"components-popover__content",style:{maxHeight:!T.isMobile&&T.contentHeight?T.contentHeight+"px":void 0,maxWidth:!T.isMobile&&T.contentWidth?T.contentWidth+"px":void 0},tabIndex:"-1"},o))})));return h&&(N=Object(I.createElement)(Ya,null,N)),Object(I.createElement)(za,null,(function(e){var t=e.getSlot;return t&&t("Popover")&&(N=Object(I.createElement)(Wa,{name:"Popover"},N)),Object(I.createElement)("span",{ref:k},N,T.isMobile&&m&&Object(I.createElement)(Na,null))}))};qa.Slot=function(){return Object(I.createElement)(Va,{bubblesVirtually:!0,name:"Popover"})};var Ga=qa,Za=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},Xa=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},Qa="",Ja=function(e){return e=e.replace(/<[^<>]+>/g," "),Qa===e&&(e+=" "),Qa=e,e};(function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)})((function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=Za("polite")),null===t&&(t=Za("assertive"))}));var es=function(e,t){Xa(),e=Ja(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)},ts=er((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).debouncedSpeak=Object(N.debounce)(e.speak.bind(Ce(e)),500),e}return Me(n,t),Ee(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";es(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(I.Component)}),"withSpokenMessages");function ns(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o<t.length;o++){var i=t[o],a=i.keywords,s=void 0===a?[]:a;if("string"==typeof i.label&&(s=[].concat(lt(s),[i.label])),s.some((function(t){return e.test(Object(N.deburr)(t))}))&&(r.push(i),r.length===n))break}return r}function rs(){var e=window.getSelection().getRangeAt(0);if(e)return ea(e)}var os=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).bindNode=e.bindNode.bind(Ce(e)),e.select=e.select.bind(Ce(e)),e.reset=e.reset.bind(Ce(e)),e.resetWhenSuppressed=e.resetWhenSuppressed.bind(Ce(e)),e.handleKeyDown=e.handleKeyDown.bind(Ce(e)),e.debouncedLoadOptions=Object(N.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return Me(t,e),Ee(t,null,[{key:"getInitialState",value:function(){return{search:/./,selectedIndex:0,suppress:void 0,open:void 0,query:void 0,filteredOptions:[]}}}]),Ee(t,[{key:"bindNode",value:function(e){this.node=e}},{key:"insertCompletion",value:function(e){var t=this.state,n=t.open,r=t.query,o=this.props,i=o.record,a=o.onChange,s=i.start,c=s-n.triggerPrefix.length-r.length;a(ei(i,Ao({html:le(e)}),c,s))}},{key:"select",value:function(e){var t=this.props.onReplace,n=this.state,r=n.open,o=n.query,i=(r||{}).getOptionCompletion;if(!e.isDisabled){if(i){var a=i(e.value,o),s=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a,c=s.action,l=s.value;"replace"===c?t([l]):"insert-at-caret"===c&&this.insertCompletion(l)}this.reset()}}},{key:"reset",value:function(){!!this.node&&this.setState(this.constructor.getInitialState())}},{key:"resetWhenSuppressed",value:function(){var e=this.state,t=e.open,n=e.suppress;t&&n===t.idx&&this.reset()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(me(pe("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t(he("No results."),"assertive"))}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,o=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(o===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(e.idx,"-").concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}})),a=ns(n.state.search,i),s=a.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((x(r={},"options_"+e.idx,i),x(r,"filteredOptions",a),x(r,"selectedIndex",s),r)),n.announce(a)}}))}},{key:"handleKeyDown",value:function(e){var t=this.state,n=t.open,r=t.suppress,o=t.selectedIndex,i=t.filteredOptions;if(n)if(r!==n.idx){if(0!==i.length){var a;switch(e.keyCode){case Bn:a=(0===o?i.length:o)-1,this.setState({selectedIndex:a});break;case Wn:a=(o+1)%i.length,this.setState({selectedIndex:a});break;case Fn:this.setState({suppress:n.idx});break;case zn:this.select(i[o]);break;case Vn:case Un:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()}}else switch(e.keyCode){case Hn:var s=e.ctrlKey,c=e.shiftKey,l=e.altKey,u=e.metaKey;s&&!(c||l||u)&&(this.setState({suppress:void 0}),e.preventDefault(),e.stopPropagation());break;case Bn:case Wn:case Vn:case Un:this.reset()}}},{key:"toggleKeyEvents",value:function(e){var t=e?"addEventListener":"removeEventListener";this.node[t]("keydown",this.handleKeyDown,!0)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.record,o=n.completers,i=e.record,a=t.open;if(!this.state.open!=!a&&this.toggleKeyEvents(!!this.state.open),Zo(r)){var s=Object(N.deburr)(Yo(ri(r,0))),c=Object(N.deburr)(Yo(ri(i,0)));if(s!==c){var l=Yo(ri(r,void 0,Yo(r).length)),u=Object(N.map)(o,(function(e,t){return D({},e,{idx:t})})),d=Object(N.find)(u,(function(e){var t=e.triggerPrefix,n=e.allowContext,r=s.lastIndexOf(t);return-1!==r&&(!(n&&!n(s.slice(0,r),l))&&/^\S*$/.test(s.slice(r+t.length)))}));if(!d)return void this.reset();var f=Object(N.escapeRegExp)(d.triggerPrefix),h=s.match(new RegExp("".concat(f,"(\\S*)$"))),p=h&&h[1],v=this.state,m=v.open,g=v.suppress,b=v.query;!d||m&&d.idx===m.idx&&p===b||(d.isDebounced?this.debouncedLoadOptions(d,p):this.loadOptions(d,p));var y=d?new RegExp("(?:\\b|\\s|^)"+Object(N.escapeRegExp)(p),"i"):/./,k=d?ns(y,this.state["options_"+d.idx]):[],_=d&&g===d.idx?g:void 0;(m||d)&&this.setState({selectedIndex:0,filteredOptions:k,suppress:_,search:y,open:d,query:p}),d&&this.state["options_"+d.idx]&&this.announce(k)}}}},{key:"componentWillUnmount",value:function(){this.toggleKeyEvents(!1),this.debouncedLoadOptions.cancel()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.instanceId,o=this.state,i=o.open,a=o.suppress,s=o.selectedIndex,c=o.filteredOptions,l=(c[s]||{}).key,u=void 0===l?"":l,d=i||{},f=d.className,h=a!==d.idx&&c.length>0,p=h?"components-autocomplete-listbox-".concat(r):null,v=h?"components-autocomplete-item-".concat(r,"-").concat(u):null;return Object(I.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:h,listBoxId:p,activeId:v}),h&&Object(I.createElement)(Ga,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:rs},Object(I.createElement)("div",{id:p,role:"listbox",className:"components-autocomplete__results"},h&&Object(N.map)(c,(function(t,n){return Object(I.createElement)(va,{key:t.key,id:"components-autocomplete-item-".concat(r,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:Pn()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(I.Component),is=Object(N.flowRight)([ts,ar,pa])(os);function as(e){var t=e.id,n=e.label,r=e.help,o=e.className,i=e.children;return Object(I.createElement)("div",{className:Pn()("components-base-control",o)},Object(I.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(I.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(I.createElement)(as.VisualLabel,null,n),i),!!r&&Object(I.createElement)("p",{id:t+"__help",className:"components-base-control__help"},r))}as.VisualLabel=function(e){var t=e.className,n=e.children;return t=Pn()("components-base-control__label",t),Object(I.createElement)("span",{className:t},n)};var ss=as;ar((function(e){var t=e.label,n=e.className,r=e.heading,o=e.checked,i=e.help,a=e.instanceId,s=e.onChange,c=j(e,["label","className","heading","checked","help","instanceId","onChange"]),l="inspector-checkbox-control-".concat(a);return Object(I.createElement)(ss,{label:r,id:l,help:i,className:n},Object(I.createElement)("input",Ne({id:l,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(e.target.checked)},checked:o,"aria-describedby":i?l+"__help":void 0},c)),Object(I.createElement)("label",{className:"components-checkbox-control__label",htmlFor:l},t))}));var cs=n(125),ls=n.n(cs),us=(I.Component,function(e){var t=e.className,n=e.colorValue,r=j(e,["className","colorValue"]);return Object(I.createElement)("span",Ne({className:Pn()("component-color-indicator",t),style:{background:n}},r))}),ds=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).toggle=e.toggle.bind(Ce(e)),e.close=e.close.bind(Ce(e)),e.closeIfClickOutside=e.closeIfClickOutside.bind(Ce(e)),e.containerRef=Object(I.createRef)(),e.state={isOpen:!1},e}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,o=t.position,i=void 0===o?"bottom":o,a=t.className,s=t.contentClassName,c=t.expandOnMobile,l=t.headerTitle,u=t.focusOnMount,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(I.createElement)("div",{className:a,ref:this.containerRef},r(d),e&&Object(I.createElement)(Ga,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:c,headerTitle:l,focusOnMount:u},n(d)))}}]),t}(I.Component),fs=n(17),hs=n.n(fs);function ps(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?hs()(e.hex):hs()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var i=n.toRgb(),a=n.toHex();return 0===r.s&&(r.h=t||0,o.h=t||0),{color:n,hex:"000000"===a&&0===i.a?"transparent":"#".concat(a),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:i,source:e.source}}function vs(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,i=n.width,a=n.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,c="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r+window.pageXOffset),u=c-(o+window.pageYOffset);return l<0?l=0:l>i?l=i:u<0?u=0:u>a&&(u=a),{top:u,left:l,width:i,height:a}}function ms(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&hs()(e).isValid()}var gs=n(126),bs=n.n(gs);n(156);var ys=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new bs.a(n),Object(N.forEach)(this.props.shortcuts,(function(t,n){var r=e.props,o=r.bindGlobal,i=r.eventName,a=o?"bindGlobal":"bind";e.mousetrap[a](n,t,i)}))}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return I.Children.count(e)?Object(I.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(I.Component),ks=rr(function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).container=Object(I.createRef)(),e.increase=e.increase.bind(Ce(e)),e.decrease=e.decrease.bind(Ce(e)),e.handleChange=e.handleChange.bind(Ce(e)),e.handleMouseDown=e.handleMouseDown.bind(Ce(e)),e.handleMouseUp=e.handleMouseUp.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r;e=parseInt(100*e,10);var i={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i=parseInt(100*n.a,10)-parseInt(100*e,10),a={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:i/100,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=vs(e,n),o=r.left,i=r.width,a=o<0?0:Math.round(100*o/i)/100;return t.hsl.a!==a?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==An&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(I.createElement)(ys,{shortcuts:i},Object(I.createElement)("div",{className:"components-color-picker__alpha"},Object(I.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(I.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(I.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":he("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(I.Component)),_s=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).container=Object(I.createRef)(),e.increase=e.increase.bind(Ce(e)),e.decrease=e.decrease.bind(Ce(e)),e.handleChange=e.handleChange.bind(Ce(e)),e.handleMouseDown=e.handleMouseDown.bind(Ce(e)),e.handleMouseUp=e.handleMouseUp.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=vs(e,n),o=r.left,i=r.width,a=o>=i?359:360*(100*o/i)/100;return t.hsl.h!==a?{h:a,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==An&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,i={left:"".concat(100*r.h/360,"%")},a={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(I.createElement)(ys,{shortcuts:a},Object(I.createElement)("div",{className:"components-color-picker__hue"},Object(I.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(I.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(I.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":he("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(I.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(o)},he("Move the arrow left or right to change hue.")))))}}]),t}(I.Component),ws=Object(N.flowRight)(rr,ar)(_s);var Os=ar((function(e){var t=e.label,n=e.value,r=e.help,o=e.className,i=e.instanceId,a=e.onChange,s=e.type,c=void 0===s?"text":s,l=j(e,["label","value","help","className","instanceId","onChange","type"]),u="inspector-text-control-".concat(i);return Object(I.createElement)(ss,{label:t,id:u,help:r,className:o},Object(I.createElement)("input",Ne({className:"components-text-control__input",type:c,id:u,value:n,onChange:function(e){return a(e.target.value)},"aria-describedby":r?u+"__help":void 0},l)))})),Ss=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(Ce(e)),e.handleChange=e.handleChange.bind(Ce(e)),e.handleKeyDown=e.handleKeyDown.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&ms(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(t===zn||t===Bn||t===Wn){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,o=j(t,["label","value"]);return Object(I.createElement)(Os,Ne({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(N.omit)(o,["onChange","valueKey","source"])))}}]),t}(I.Component),Es=rr(Pa),Cs=function(e){function t(e){var n,r=e.hsl;Oe(this,t),n=Te(this,xe(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(Ce(n)),n.resetDraftValues=n.resetDraftValues.bind(Ce(n)),n.handleChange=n.handleChange.bind(Ce(n)),n.normalizeValue=n.normalizeValue.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),es(he("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),es(he("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),es(he("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),es(he("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t>0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(Ss,{source:this.state.view,label:he("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"screen-reader-text"},he("Color value in RGB")),Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(Ss,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(I.createElement)(Ss,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(I.createElement)(Ss,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(I.createElement)(Ss,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"screen-reader-text"},he("Color value in HSL")),Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(Ss,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(I.createElement)(Ss,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(I.createElement)(Ss,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(I.createElement)(Ss,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(I.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(I.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(I.createElement)(Es,{icon:"arrow-down-alt2",label:he("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(I.Component),Ts=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).call(this,e))).throttle=Object(N.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(I.createRef)(),n.saturate=n.saturate.bind(Ce(n)),n.brighten=n.brighten.bind(Ce(n)),n.handleChange=n.handleChange.bind(Ce(n)),n.handleMouseDown=n.handleMouseDown.bind(Ce(n)),n.handleMouseUp=n.handleMouseUp.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?N.noop:r,i=Object(N.clamp)(n.s+Math.round(100*e),0,100),a={h:n.h,s:i,v:n.v,a:n.a,source:"rgb"};o(a)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?N.noop:r,i=Object(N.clamp)(n.v+Math.round(100*e),0,100),a={h:n.h,s:n.s,v:i,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=vs(e,n),o=r.top,i=r.left,a=r.width,s=r.height,c=i<0?0:100*i/a,l=o>=s?0:-100*o/s+100;return l<1&&(l=0),{h:t.hsl.h,s:c,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){e.keyCode!==An&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},a={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(I.createElement)(ys,{shortcuts:a},Object(I.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(I.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(I.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(I.createElement)("button",{"aria-label":he("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(I.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(o)},he("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(I.Component),xs=Object(N.flowRight)(rr,ar)(Ts),Ds=function(e){return String(e).toLowerCase()},Ms=function(e){return e.hex?ms(e.hex):(t=e,n=0,r=0,Object(N.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},js=function(e,t){var n=t.source,r=t.valueKey,o=t.value;return"hex"===n?x({source:n},n,o):D({source:n},D({},e[n],x({},r,o)))},Is=function(e){function t(e){var n,r=e.color,o=void 0===r?"0071a1":r;Oe(this,t),n=Te(this,xe(t).apply(this,arguments));var i=ps(o);return n.state=D({},i,{draftHex:Ds(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(Ce(n)),n.setDraftValues=n.setDraftValues.bind(Ce(n)),n.resetDraftValues=n.resetDraftValues.bind(Ce(n)),n.handleInputChange=n.handleInputChange.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,r=t.onChangeComplete,o=void 0===r?N.noop:r;if(Ms(e)){var i=ps(e,e.h||n);this.setState(D({},i,{draftHex:Ds(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(N.debounce)(Object(N.partial)(o,i),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:Ds(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=js(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(js(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,o=r.color,i=r.hsl,a=r.hsv,s=r.rgb,c=r.draftHex,l=r.draftHsl,u=r.draftRgb,d=Pn()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(I.createElement)("div",{className:d},Object(I.createElement)("div",{className:"components-color-picker__saturation"},Object(I.createElement)(xs,{hsl:i,hsv:a,onChange:this.commitValues})),Object(I.createElement)("div",{className:"components-color-picker__body"},Object(I.createElement)("div",{className:"components-color-picker__controls"},Object(I.createElement)("div",{className:"components-color-picker__swatch"},Object(I.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:o&&o.toRgbString()}})),Object(I.createElement)("div",{className:"components-color-picker__toggles"},Object(I.createElement)(ws,{hsl:i,onChange:this.commitValues}),n?null:Object(I.createElement)(ks,{rgb:s,hsl:i,onChange:this.commitValues}))),Object(I.createElement)(Cs,{rgb:u,hsl:l,hex:c,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(I.Component);n(157);var Ps=n(6),Ns=n.n(Ps),Rs=n(127),Ls=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?Ns()(n):Ns()(),i={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(i).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?Ns()(e):Ns()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(I.createElement)("div",{className:"components-datetime__date"},Object(I.createElement)(Rs.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())}}))}}]),t}(I.Component),As=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(Ce(e)),e.updateMonth=e.updateMonth.bind(Ce(e)),e.onChangeMonth=e.onChangeMonth.bind(Ce(e)),e.updateDay=e.updateDay.bind(Ce(e)),e.onChangeDay=e.onChangeDay.bind(Ce(e)),e.updateYear=e.updateYear.bind(Ce(e)),e.onChangeYear=e.onChangeYear.bind(Ce(e)),e.updateHours=e.updateHours.bind(Ce(e)),e.updateMinutes=e.updateMinutes.bind(Ce(e)),e.onChangeHours=e.onChangeHours.bind(Ce(e)),e.onChangeMinutes=e.onChangeMinutes.bind(Ce(e)),e.renderMonth=e.renderMonth.bind(Ce(e)),e.renderDay=e.renderDay.bind(Ce(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?Ns()(t):Ns()(),o=r.format("DD"),i=r.format("MM"),a=r.format("YYYY"),s=r.format("mm"),c=r.format("A"),l=r.format(n?"hh":"HH"),u=t?Ns()(t):Ns()();this.setState({day:o,month:i,year:a,minutes:s,hours:l,am:c,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,o=t.date,i=parseInt(r,10);if(!Object(N.isInteger)(i)||e&&(i<1||i>12)||!e&&(i<0||i>23))this.syncState(this.props);else{var a=e?o.clone().hours("AM"===n?i%12:(i%12+12)%24):o.clone().hours(i);this.changeDate(a)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var o=n.clone().minutes(r);this.changeDate(o)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var o=n.clone().date(r);this.changeDate(o)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var o=n.clone().month(r-1);this.changeDate(o)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var o=n.clone().year(r);this.changeDate(o)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,i=r.date,a=r.hours;o!==e&&(n="PM"===e?i.clone().hours((parseInt(a,10)%12+12)%24):i.clone().hours(parseInt(a,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(I.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(I.createElement)("select",{"aria-label":he("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(I.createElement)("option",{value:"01"},he("January")),Object(I.createElement)("option",{value:"02"},he("February")),Object(I.createElement)("option",{value:"03"},he("March")),Object(I.createElement)("option",{value:"04"},he("April")),Object(I.createElement)("option",{value:"05"},he("May")),Object(I.createElement)("option",{value:"06"},he("June")),Object(I.createElement)("option",{value:"07"},he("July")),Object(I.createElement)("option",{value:"08"},he("August")),Object(I.createElement)("option",{value:"09"},he("September")),Object(I.createElement)("option",{value:"10"},he("October")),Object(I.createElement)("option",{value:"11"},he("November")),Object(I.createElement)("option",{value:"12"},he("December"))))}},{key:"renderDay",value:function(e){return Object(I.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(I.createElement)("input",{"aria-label":he("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,o=t.hours,i=t.am;return Object(I.createElement)("div",{className:Pn()("components-datetime__time")},Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"components-datetime__time-legend invisible"},he("Date")),Object(I.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(I.createElement)("input",{"aria-label":he("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"components-datetime__time-legend invisible"},he("Time")),Object(I.createElement)("div",{className:"components-datetime__time-wrapper"},Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(I.createElement)("input",{"aria-label":he("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:o,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(I.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(I.createElement)("input",{"aria-label":he("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(I.createElement)(va,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},he("AM")),Object(I.createElement)(va,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},he("PM"))))))}}]),t}(I.Component),zs=(I.Component,Object(I.createContext)(!1)),Fs=zs.Consumer,Hs=zs.Provider,Vs=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Bs=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).bindNode=e.bindNode.bind(Ce(e)),e.disable=e.disable.bind(Ce(e)),e.debouncedDisable=Object(N.debounce)(e.disable,{leading:!0}),e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){fa.focusable.find(this.node).forEach((function(e){Object(N.includes)(Vs,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=j(e,["className"]);return Object(I.createElement)(Hs,{value:!0},Object(I.createElement)("div",Ne({ref:this.bindNode,className:Pn()(t,"components-disabled")},n),this.props.children))}}]),t}(I.Component);Bs.Consumer=Fs;var Us=Bs,Ws=sr(function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(Ce(e)),e.onDragOver=e.onDragOver.bind(Ce(e)),e.onDragEnd=e.onDragEnd.bind(Ce(e)),e.resetDragState=e.resetDragState.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?N.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,i=void 0===o?N.noop:o,a=document.getElementById(n);if(a){if("function"==typeof e.dataTransfer.setDragImage){var s=document.createElement("div");s.id="drag-image-".concat(n),s.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0),this.props.setTimeout((function(){document.body.removeChild(s)}))}e.dataTransfer.setData("text",JSON.stringify(r));var c=a.getBoundingClientRect(),l=a.parentNode,u=parseInt(c.top,10),d=parseInt(c.left,10),f=a.cloneNode(!0);f.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(c.width+40,"px"),c.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),lt(f.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(f),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(i)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(I.Component)),Ks=Object(I.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Ys=Ks.Provider,$s=Ks.Consumer,qs=function(e){var t=e.dataTransfer;if(t){if(Object(N.includes)(t.types,"Files"))return"file";if(Object(N.includes)(t.types,"text/html"))return"html"}return"default"},Gs=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},Zs=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(Ce(e)),e.onDrop=e.onDrop.bind(Ce(e)),e.addDropZone=e.addDropZone.bind(Ce(e)),e.removeDropZone=e.removeDropZone.bind(Ce(e)),e.resetDragState=e.resetDragState.bind(Ce(e)),e.toggleDraggingOverDocument=Object(N.throttle)(e.toggleDraggingOverDocument.bind(Ce(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(N.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,o=Object(N.filter)(this.dropZones,(function(e){return Gs(t,e)&&function(e,t,n){var r=e.getBoundingClientRect();return r.bottom!==r.top&&r.left!==r.right&&(t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom)}(e.element,r.clientX,r.clientY)})),i=Object(N.find)(o,(function(e){return!Object(N.some)(o,(function(t){return t!==e&&e.element.parentElement.contains(t.element)}))})),a=this.dropZones.indexOf(i),s=null;if(i){var c=i.element.getBoundingClientRect();s={x:r.clientX-c.left<c.right-r.clientX?"left":"right",y:r.clientY-c.top<c.bottom-r.clientY?"top":"bottom"}}var l=[];this.state.isDraggingOverDocument?a!==this.state.hoveredDropZone?(-1!==this.state.hoveredDropZone&&l.push(this.dropZones[this.state.hoveredDropZone]),i&&l.push(i)):i&&a===this.state.hoveredDropZone&&!Object(N.isEqual)(s,this.state.position)&&l.push(i):l=this.dropZones,l.forEach((function(e){var r=n.dropZones.indexOf(e)===a;e.setState({isDraggingOverDocument:Gs(t,e),isDraggingOverElement:r,position:r?s:null,type:r?t:null})}));var u={isDraggingOverDocument:!0,hoveredDropZone:a,position:s};nr()(u,this.state)||this.setState(u)}},{key:"onDragOver",value:function(e){this.toggleDraggingOverDocument(e,qs(e)),e.preventDefault()}},{key:"onDrop",value:function(e){e.dataTransfer&&e.dataTransfer.files.length;var t=this.state,n=t.position,r=t.hoveredDropZone,o=qs(e),i=this.dropZones[r];if(this.resetDragState(),i)switch(o){case"file":i.onFilesDrop(lt(e.dataTransfer.files),n);break;case"html":i.onHTMLDrop(e.dataTransfer.getData("text/html"),n);break;case"default":i.onDrop(e,n)}e.stopPropagation(),e.preventDefault()}},{key:"render",value:function(){return Object(I.createElement)("div",{onDrop:this.onDrop,className:"components-drop-zone__provider"},Object(I.createElement)(Ys,{value:this.dropZoneCallbacks},this.props.children))}}]),t}(I.Component),Xs=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).dropZoneElement=Object(I.createRef)(),e.dropZone={element:null,onDrop:e.props.onDrop,onFilesDrop:e.props.onFilesDrop,onHTMLDrop:e.props.onHTMLDrop,setState:e.setState.bind(Ce(e))},e.state={isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.dropZone.element=this.dropZoneElement.current,this.props.addDropZone(this.dropZone)}},{key:"componentWillUnmount",value:function(){this.props.removeDropZone(this.dropZone)}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.label,o=this.state,i=o.isDraggingOverDocument,a=o.isDraggingOverElement,s=o.position,c=o.type,l=Pn()("components-drop-zone",n,x({"is-active":i||a,"is-dragging-over-document":i,"is-dragging-over-element":a,"is-close-to-top":s&&"top"===s.y,"is-close-to-bottom":s&&"bottom"===s.y,"is-close-to-left":s&&"left"===s.x,"is-close-to-right":s&&"right"===s.x},"is-dragging-".concat(c),!!c));return a&&(e=Object(I.createElement)("div",{className:"components-drop-zone__content"},Object(I.createElement)(Ia,{icon:"upload",size:"40",className:"components-drop-zone__content-icon"}),Object(I.createElement)("span",{className:"components-drop-zone__content-text"},r||he("Drop files to upload")))),Object(I.createElement)("div",{ref:this.dropZoneElement,className:l},e)}}]),t}(I.Component),Qs=function(e){return Object(I.createElement)($s,null,(function(t){var n=t.addDropZone,r=t.removeDropZone;return Object(I.createElement)(Xs,Ne({addDropZone:n,removeDropZone:r},e))}))};var Js=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Ce(e)),e.bindContainer=e.bindContainer.bind(Ce(e)),e.getFocusableContext=e.getFocusableContext.bind(Ce(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(N.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?fa.tabbable:fa.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,i=n.eventToOffset,a=n.onNavigate,s=void 0===a?N.noop:a,c=n.stopNavigationEvents,l=i(e);if(void 0!==l&&c&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,f=u.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(d,f.length,l):d+l;h>=0&&h<f.length&&(f[h].focus(),s(h,f[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",Ne({ref:this.bindContainer},Object(N.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","cycle","onlyBrowserTabstops","forwardedRef"]),{onKeyDown:this.onKeyDown,onFocus:this.onFocus}),t)}}]),t}(I.Component),ec=function(e,t){return Object(I.createElement)(Js,Ne({},e,{forwardedRef:t}))};ec.displayName="NavigableContainer";var tc=Object(I.forwardRef)(ec);var nc=Object(I.forwardRef)((function(e,t){var n=e.role,r=void 0===n?"menu":n,o=e.orientation,i=void 0===o?"vertical":o,a=j(e,["role","orientation"]);return Object(I.createElement)(tc,Ne({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:r,"aria-orientation":"presentation"===r?null:i,eventToOffset:function(e){var t=e.keyCode,n=[Wn],r=[Bn];return"horizontal"===i&&(n=[Un],r=[Vn]),"both"===i&&(n=[Un,Wn],r=[Vn,Bn]),Object(N.includes)(n,t)?1:Object(N.includes)(r,t)?-1:void 0}},a))}));Object(I.forwardRef)((function(e,t){var n=e.eventToOffset,r=j(e,["eventToOffset"]);return Object(I.createElement)(tc,Ne({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:function(e){var t=e.keyCode,r=e.shiftKey;return An===t?r?-1:1:n?n(e):void 0}},r))}));var rc=function(e){var t,n=e.children,r=e.className,o=e.controls,i=e.icon,a=void 0===i?"menu":i,s=e.label,c=e.menuLabel,l=e.position,u=e.__unstableLabelPosition,d=e.__unstableMenuClassName,f=e.__unstablePopoverClassName,h=e.__unstableToggleClassName;return Object(N.isEmpty)(o)&&!Object(N.isFunction)(n)?null:(Object(N.isEmpty)(o)||(t=o,Array.isArray(t[0])||(t=[t])),Object(I.createElement)(ds,{className:Pn()("components-dropdown-menu",r),contentClassName:Pn()("components-dropdown-menu__popover",f),position:l,renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(Pa,{className:Pn()("components-dropdown-menu__toggle",h,{"is-opened":t}),icon:a,onClick:n,onKeyDown:function(e){t||e.keyCode!==Wn||(e.preventDefault(),e.stopPropagation(),n())},"aria-haspopup":"true","aria-expanded":t,label:s,labelPosition:u,tooltip:s},!a&&Object(I.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){return Object(I.createElement)(nc,{className:Pn()("components-dropdown-menu__menu",d),role:"menu","aria-label":c||s},Object(N.isFunction)(n)?n(e):null,Object(N.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(I.createElement)(Pa,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:Pn()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,role:"menuitem",disabled:t.isDisabled},t.title)}))})))}}))};Object(I.forwardRef)((function(e,t){var n=e.href,r=e.children,o=e.className,i=e.rel,a=void 0===i?"":i,s=j(e,["href","children","className","rel"]);a=Object(N.uniq)(Object(N.compact)([].concat(lt(a.split(" ")),["external","noreferrer","noopener"]))).join(" ");var c=Pn()("components-external-link",o);return(Object(I.createElement)("a",Ne({},s,{className:c,href:n,target:"_blank",rel:a,ref:t}),r,Object(I.createElement)("span",{className:"screen-reader-text"},he("(opens in a new tab)")),Object(I.createElement)(Ia,{icon:"external",className:"components-external-link__icon"})))}));var oc=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).call(this,e))).onMouseMove=n.onMouseMove.bind(Ce(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(I.createRef)(),n.imageRef=Object(I.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(Ce(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(Ce(n)),n.onLoad=n.onLoad.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,i=r.height/n;return i>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*i,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var i=this.pickerDimensions(),a={left:e.pageX-i.left,top:e.pageY-i.top},s=Math.max(r.left,Math.min(a.left,r.right)),c=Math.max(r.top,Math.min(a.top,r.bottom)),l={x:(s-r.left)/(i.width-2*r.left),y:(c-r.top)/(i.height-2*r.top)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=o?o/100:0,this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.url,o=t.value,i=t.label,a=t.help,s=t.className,c=this.state,l=c.bounds,u=c.isDragging,d=c.percentages,f=this.pickerDimensions(),h={left:o.x*(f.width-2*l.left)+l.left,top:o.y*(f.height-2*l.top)+l.top},p={left:"".concat(h.left,"px"),top:"".concat(h.top,"px")},v=Pn()("components-focal-point-picker__icon_container",u?"is-dragging":null),m="inspector-focal-point-picker-control-".concat(n),g="inspector-focal-point-picker-control-horizontal-position-".concat(n),b="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(I.createElement)(ss,{label:i,id:m,help:a,className:s},Object(I.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(I.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(I.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:r,draggable:"false"}),Object(I.createElement)("div",{className:v,style:p},Object(I.createElement)(jn,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(I.createElement)(Dn,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(I.createElement)(Dn,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(I.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(I.createElement)(ss,{label:he("Horizontal Pos."),id:g},Object(I.createElement)("input",{className:"components-text-control__input",id:g,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(d.x)}),Object(I.createElement)("span",null,"%")),Object(I.createElement)(ss,{label:he("Vertical Pos."),id:b},Object(I.createElement)("input",{className:"components-text-control__input",id:b,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(d.y)}),Object(I.createElement)("span",null,"%"))))}}]),t}(I.Component);oc.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};Object(N.flowRight)([ar,pa])(oc);var ic=window.FocusEvent,ac=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(Ce(n)),n.node=e.iframeRef||Object(I.createRef)(),n}return Me(t,e),Ee(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new ic("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(I.createElement)("iframe",Ne({ref:this.node},Object(N.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(I.Component),sc=ir({blur:"checkFocus"})(ac);var cc=Object(N.flowRight)([ar,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return er((function(t){return function(n){function r(){var t;return Oe(this,r),(t=Te(this,xe(r).apply(this,arguments))).setState=t.setState.bind(Ce(t)),t.state=e,t}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(t,Ne({},this.props,this.state,{setState:this.setState}))}}]),r}(I.Component)}),"withState")}({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,o=e.value,i=e.instanceId,a=e.onChange,s=e.beforeIcon,c=e.afterIcon,l=e.help,u=e.allowReset,d=e.initialPosition,f=e.min,h=e.max,p=e.setState,v=j(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),m="inspector-range-control-".concat(i),g=null===n?o:n,b=function(){null!==n&&p({currentInput:null})},y=function(e){var t=e.target.value;e.target.checkValidity()?(b(),a(""===t?void 0:parseFloat(t))):p({currentInput:t})},k=Object(N.isFinite)(g)?g:d||"";return Object(I.createElement)(ss,{label:r,id:m,help:l,className:Pn()("components-range-control",t)},s&&Object(I.createElement)(Ia,{icon:s}),Object(I.createElement)("input",Ne({className:"components-range-control__slider",id:m,type:"range",value:k,onChange:y,"aria-describedby":l?m+"__help":void 0,min:f,max:h},v)),c&&Object(I.createElement)(Ia,{icon:c}),Object(I.createElement)("input",Ne({className:"components-range-control__number",type:"number",onChange:y,"aria-label":r,value:g,min:f,max:h,onBlur:b},v)),u&&Object(I.createElement)(va,{onClick:function(){b(),a()},disabled:void 0===o,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},he("Reset")))}));var lc=function(e){var t=e.fallbackFontSize,n=e.fontSizes,r=void 0===n?[]:n,o=e.disableCustomFontSizes,i=void 0!==o&&o,a=e.onChange,s=e.value,c=e.withSlider,l=void 0!==c&&c;if(i&&!r.length)return null;var u=r.find((function(e){return e.size===s})),d=u&&u.name||!s&&ve("Normal","font size name")||ve("Custom","font size name");return Object(I.createElement)(ss,null,Object(I.createElement)(ss.VisualLabel,null,he("Font Size")),Object(I.createElement)("div",{className:"components-font-size-picker__buttons"},r.length>0&&Object(I.createElement)(ds,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(va,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":me(he("Font size: %s"),d)},d)},renderContent:function(){return Object(I.createElement)(nc,null,Object(N.map)(r,(function(e){var t=e.name,n=e.size,r=e.slug,o=s===n||!s&&"normal"===r;return Object(I.createElement)(va,{key:r,onClick:function(){return a("normal"===r?void 0:n)},className:"is-font-".concat(r),role:"menuitemradio","aria-checked":o},o&&Object(I.createElement)(Ia,{icon:"saved"}),Object(I.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))})))}}),!l&&!i&&Object(I.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;a(""!==t?Number(t):void 0)},"aria-label":he("Custom font size"),value:s||""}),Object(I.createElement)(va,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return a(void 0)},isSmall:!0,isDefault:!0},he("Reset"))),l&&Object(I.createElement)(cc,{className:"components-font-size-picker__custom-input",label:he("Custom Size"),value:s||"",initialPosition:t,onChange:a,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},uc=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(Ce(e)),e.bindInput=e.bindInput.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.icon,o=void 0===r?"upload":r,i=e.multiple,a=void 0!==i&&i,s=e.onChange,c=e.render,l=j(e,["accept","children","icon","multiple","onChange","render"]),u=c?c({openFileDialog:this.openFileDialog}):Object(I.createElement)(Pa,Ne({icon:o,onClick:this.openFileDialog},l),n);return Object(I.createElement)("div",{className:"components-form-file-upload"},u,Object(I.createElement)("input",{type:"file",ref:this.bindInput,multiple:a,style:{display:"none"},accept:t,onChange:s}))}}]),t}(I.Component);var dc=function(e){var t=e.className,n=e.checked,r=e.id,o=e.onChange,i=void 0===o?N.noop:o,a=j(e,["className","checked","id","onChange"]),s=Pn()("components-form-toggle",t,{"is-checked":n});return Object(I.createElement)("span",{className:s},Object(I.createElement)("input",Ne({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},a)),Object(I.createElement)("span",{className:"components-form-toggle__track"}),Object(I.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(I.createElement)(jn,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(I.createElement)(Dn,{d:"M0 0h2v6H0z"})):Object(I.createElement)(jn,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(I.createElement)(Dn,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))};var fc=ar((function(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,i=e.isBorderless,a=void 0!==i&&i,s=e.disabled,c=void 0!==s&&s,l=e.onClickRemove,u=void 0===l?N.noop:l,d=e.onMouseEnter,f=e.onMouseLeave,h=e.messages,p=e.termPosition,v=e.termsCount,m=e.instanceId,g=Pn()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":a,"is-disabled":c}),b=o(t),y=me(he("%1$s (%2$s of %3$s)"),b,p,v);return Object(I.createElement)("span",{className:g,onMouseEnter:d,onMouseLeave:f,title:r},Object(I.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(m)},Object(I.createElement)("span",{className:"screen-reader-text"},y),Object(I.createElement)("span",{"aria-hidden":"true"},b)),Object(I.createElement)(Pa,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!c&&function(){return u({value:t})},label:h.remove,"aria-describedby":"components-form-token-field__token-text-".concat(m)}))})),hc=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onChange=e.onChange.bind(Ce(e)),e.bindInput=e.bindInput.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,o=e.selectedSuggestionIndex,i=j(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),a=t.length+1;return Object(I.createElement)("input",Ne({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:a,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==o?"components-form-token-suggestions-".concat(r,"-").concat(o):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(I.Component),pc=n(21),vc=n.n(pc),mc=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(Ce(e)),e.bindList=e.bindList.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,vc()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(I.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(N.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),o=Pn()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(I.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:o,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(I.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(I.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(I.Component);mc.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var gc=sr(mc),bc={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},yc=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state=bc,e.onKeyDown=e.onKeyDown.bind(Ce(e)),e.onKeyPress=e.onKeyPress.bind(Ce(e)),e.onFocus=e.onFocus.bind(Ce(e)),e.onBlur=e.onBlur.bind(Ce(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(Ce(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(Ce(e)),e.addCurrentToken=e.addCurrentToken.bind(Ce(e)),e.onContainerTouched=e.onContainerTouched.bind(Ce(e)),e.renderToken=e.renderToken.bind(Ce(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(Ce(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(Ce(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(Ce(e)),e.onInputChange=e.onInputChange.bind(Ce(e)),e.bindInput=e.bindInput.bind(Ce(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(bc)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case Ln:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case zn:t=this.addCurrentToken();break;case Vn:t=this.handleLeftArrowKey();break;case Bn:t=this.handleUpArrowKey();break;case Un:t=this.handleRightArrowKey();break;case Wn:t=this.handleDownArrowKey();break;case Kn:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case Hn:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case Fn:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(N.last)(r)||"",i=o.trim().length>1,a=this.getMatchingSuggestions(o),s=i&&!!a.length;r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(o),i&&(this.setState({isExpanded:s}),a.length?this.props.debouncedSpeak(me(pe("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",a.length),a.length),"assertive"):this.props.debouncedSpeak(he("No results."),"assertive"))}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}},{key:"addCurrentToken",value:function(){var e=!1,t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}},{key:"addNewTokens",value:function(e){var t=this,n=Object(N.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((function(e){return!t.valueContainsToken(e)})));if(n.length>0){var r=Object(N.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===F(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,i=o(e),a=[],s=[];return 0===i.length?t=Object(N.difference)(t,n):(i=i.toLocaleLowerCase(),Object(N.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(i);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&s.push(e))})),t=a.concat(s)),Object(N.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(N.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"renderTokensAndInput",value:function(){var e=Object(N.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),o=e.status?e.status:void 0,i=t+1,a=n.length;return Object(I.createElement)(fc,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:a,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,r=e.maxLength,o=e.value,i={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return r&&o.length>=r||(i=D({},i,{onChange:this.onInputChange})),Object(I.createElement)(hc,i)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?he("Add item"):n,o=e.instanceId,i=e.className,a=this.state.isExpanded,s=Pn()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),c={className:"components-form-token-field",tabIndex:"-1"},l=this.getMatchingSuggestions();return t||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(I.createElement)("div",c,Object(I.createElement)("label",{htmlFor:"components-form-token-input-".concat(o),className:"components-form-token-field__label"},r),Object(I.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),a&&Object(I.createElement)(gc,{instanceId:o,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:l,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(I.createElement)("p",{id:"components-form-token-suggestions-howto-".concat(o),className:"components-form-token-field__help"},this.props.tokenizeOnSpace?he("Separate with commas, spaces, or the Enter key."):he("Separate with commas or the Enter key.")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(I.Component);yc.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:N.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:he("Item added."),removed:he("Item removed."),remove:he("Remove item")}};ts(ar(yc));var kc=function(e){var t,n=e.icon,r=void 0===n?null:n,o=e.size,i=j(e,["icon","size"]);if("string"==typeof r)return t=o||20,Object(I.createElement)(Ia,Ne({icon:r,size:t},i));if(t=o||24,"function"==typeof r)return r.prototype instanceof I.Component?Object(I.createElement)(r,D({size:t},i)):r(D({size:t},i));if(r&&("svg"===r.type||r.type===jn)){var a=D({width:t,height:t},r.props,i);return Object(I.createElement)(jn,a)}return Object(I.isValidElement)(r)?Object(I.cloneElement)(r,D({size:t},i)):r};var _c=ar((function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.instanceId,i=e.label;if(!I.Children.count(t))return null;var a="components-menu-group-label-".concat(o),s=Pn()(r,"components-menu-group");return Object(I.createElement)("div",{className:s},i&&Object(I.createElement)("div",{className:"components-menu-group__label",id:a,"aria-hidden":"true"},i),Object(I.createElement)("div",{role:"group","aria-labelledby":i?a:null},t))}));var wc=function(e){var t=e.children,n=e.info,r=e.className,o=e.icon,i=e.shortcut,a=e.isSelected,s=e.role,c=void 0===s?"menuitem":s,l=j(e,["children","info","className","icon","shortcut","isSelected","role"]);r=Pn()("components-menu-item__button",r,{"has-icon":o}),n&&(t=Object(I.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(I.createElement)("span",{className:"components-menu-item__info"},n)));var u=va;return o&&(Object(N.isString)(o)||(o=Object(I.cloneElement)(o,{className:"components-menu-items__item-icon",height:20,width:20})),u=Pa,l.icon=o),Object(I.createElement)(u,D({"aria-checked":"menuitemcheckbox"===c||"menuitemradio"===c?a:void 0,role:c,className:r},l),t,Object(I.createElement)(Da,{className:"components-menu-item__shortcut",shortcut:i}))};var Oc=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).containerRef=Object(I.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(Ce(e)),e.handleClickOutside=e.handleClickOutside.bind(Ce(e)),e.focusFirstTabbable=e.focusFirstTabbable.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=fa.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){e.keyCode===Fn&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.contentLabel,n=e.aria,r=n.describedby,o=n.labelledby,i=e.children,a=e.className,s=e.role,c=e.style;return Object(I.createElement)("div",{className:a,style:c,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:o,"aria-describedby":r,tabIndex:"-1"},i)}}]),t}(I.Component),Sc=Object(N.flowRight)([Oa,Sa,Ca.a,ir({keydown:"handleKeyDown"})])(Oc),Ec=function(e){var t=e.icon,n=e.title,r=e.onClose,o=e.closeLabel,i=e.headingId,a=e.isDismissable,s=o||he("Close dialog");return Object(I.createElement)("div",{className:"components-modal__header"},Object(I.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(I.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(I.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),a&&Object(I.createElement)(Pa,{onClick:r,icon:"no-alt",label:s}))},Cc=new Set(["alert","status","log","marquee","timer"]),Tc=[],xc=!1;function Dc(e){if(!xc){var t=document.body.children;Object(N.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||Cc.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),Tc.push(t))})),xc=!0}}var Mc,jc=0,Ic=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).call(this,e))).prepareDOM(),n}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){1===++jc&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--jc&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){Mc||(Mc=document.createElement("div"),document.body.appendChild(Mc)),this.node=document.createElement("div"),Mc.appendChild(this.node)}},{key:"cleanDOM",value:function(){Mc.removeChild(this.node)}},{key:"openFirstModal",value:function(){Dc(Mc),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),xc&&(Object(N.forEach)(Tc,(function(e){e.removeAttribute("aria-hidden")})),Tc=[],xc=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,r=e.onRequestClose,o=e.title,i=e.icon,a=e.closeButtonLabel,s=e.children,c=e.aria,l=e.instanceId,u=e.isDismissable,d=j(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=c.labelledby||"components-modal-header-".concat(l);return Object(L.createPortal)(Object(I.createElement)(Ra,{className:Pn()("components-modal__screen-overlay",t)},Object(I.createElement)(Sc,Ne({className:Pn()("components-modal__frame",n),onRequestClose:r,aria:{labelledby:o?f:null,describedby:c.describedby}},d),Object(I.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(I.createElement)(Ec,{closeLabel:a,headingId:f,icon:i,isDismissable:u,onClose:r,title:o}),s))),this.node)}}]),t}(I.Component);Ic.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:N.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var Pc=ar(Ic);var Nc=function(e){var t=e.className,n=e.status,r=e.children,o=e.onRemove,i=void 0===o?N.noop:o,a=e.isDismissible,s=void 0===a||a,c=e.actions,l=void 0===c?[]:c,u=e.__unstableHTML,d=Pn()(t,"components-notice","is-"+n,{"is-dismissible":s});return u&&(r=Object(I.createElement)(K,null,r)),Object(I.createElement)("div",{className:d},Object(I.createElement)("div",{className:"components-notice__content"},r,l.map((function(e,t){var n=e.className,r=e.label,o=e.noDefaultClasses,i=void 0!==o&&o,a=e.onClick,s=e.url;return Object(I.createElement)(va,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:a,className:Pn()("components-notice__action",n)},r)}))),s&&Object(I.createElement)(Pa,{className:"components-notice__dismiss",icon:"no",label:he("Dismiss this notice"),onClick:i,tooltip:!1}))};var Rc=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?N.noop:n,o=e.className,i=e.children;return o=Pn()("components-notice-list",o),Object(I.createElement)("div",{className:o},i,lt(t).reverse().map((function(e){return Object(I.createElement)(Nc,Ne({},Object(N.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t})))};var Lc=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState((function(e){return{opened:!e.opened}})),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,s=void 0===r?this.state.opened:r,c=Pn()("components-panel__body",o,{"is-opened":s});return Object(I.createElement)("div",{className:c,ref:a},!!t&&Object(I.createElement)("h2",{className:"components-panel__body-title"},Object(I.createElement)(va,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":s},Object(I.createElement)("span",{"aria-hidden":"true"},s?Object(I.createElement)(jn,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(I.createElement)(xn,null,Object(I.createElement)(Dn,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(I.createElement)(xn,null,Object(I.createElement)(Dn,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(I.createElement)(jn,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(I.createElement)(xn,null,Object(I.createElement)(Dn,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(I.createElement)(xn,null,Object(I.createElement)(Dn,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,i&&Object(I.createElement)(kc,{icon:i,className:"components-panel__icon",size:20}))),s&&n)}}]),t}(I.Component),Ac=function(e,t){return Object(I.createElement)(Lc,Ne({},e,{forwardedRef:t}))};Ac.displayName="PanelBody";var zc=Object(I.forwardRef)(Ac);var Fc=function(e){var t=e.icon,n=e.children,r=e.label,o=e.instructions,i=e.className,a=e.notices,s=e.preview,c=e.isColumnLayout,l=j(e,["icon","children","label","instructions","className","notices","preview","isColumnLayout"]),u=Pn()("components-placeholder",i),d=Pn()("components-placeholder__fieldset",{"is-column-layout":c});return Object(I.createElement)("div",Ne({},l,{className:u}),a,s&&Object(I.createElement)("div",{className:"components-placeholder__preview"},s),Object(I.createElement)("div",{className:"components-placeholder__label"},Object(N.isString)(t)?Object(I.createElement)(Ia,{icon:t}):t,r),!!o&&Object(I.createElement)("div",{className:"components-placeholder__instructions"},o),Object(I.createElement)("div",{className:d},n))};ar((function(e){var t=e.label,n=e.className,r=e.selected,o=e.help,i=e.instanceId,a=e.onChange,s=e.options,c=void 0===s?[]:s,l="inspector-radio-control-".concat(i),u=function(e){return a(e.target.value)};return!Object(N.isEmpty)(c)&&Object(I.createElement)(ss,{label:t,id:l,help:o,className:Pn()(n,"components-radio-control")},c.map((function(e,t){return Object(I.createElement)("div",{key:"".concat(l,"-").concat(t),className:"components-radio-control__option"},Object(I.createElement)("input",{id:"".concat(l,"-").concat(t),className:"components-radio-control__input",type:"radio",name:l,value:e.value,onChange:u,checked:e.value===r,"aria-describedby":o?"".concat(l,"__help"):void 0}),Object(I.createElement)("label",{htmlFor:"".concat(l,"-").concat(t)},e.label))})))}));var Hc=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Vc=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Bc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uc=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},Wc={base:{position:"absolute",userSelect:"none",MsUserSelect:"none"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},Kc=function(e){return Object(I.createElement)("div",{className:e.className,style:Bc({},Wc.base,Wc[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}},e.children)},Yc={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},$c={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},qc=function(e,t,n){return Math.max(Math.min(e,n),t)},Gc=function(e,t){return Math.round(e/t)*t},Zc=function(e,t){return t.reduce((function(t,n){return Math.abs(n-e)<Math.abs(t-e)?n:t}))},Xc=function(e,t){return e.substr(e.length-t.length,t.length)===t},Qc=function(e){return"auto"===e.toString()?e.toString():Xc(e.toString(),"px")?e.toString():Xc(e.toString(),"%")?e.toString():Xc(e.toString(),"vh")?e.toString():Xc(e.toString(),"vw")?e.toString():Xc(e.toString(),"vmax")?e.toString():Xc(e.toString(),"vmin")?e.toString():e+"px"},Jc=["style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio"],el=function(e){function t(e){Hc(this,t);var n=Uc(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isResizing:!1,resizeCursor:"auto",width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("mouseleave",n.onMouseUp),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),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),Vc(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce((function(t,n){return-1!==Jc.indexOf(n)?t:(t[n]=e[n],t)}),{})}},{key:"getParentSize",value:function(){var e=this.base;if(!e)return{width:window.innerWidth,height:window.innerHeight};var t=!1,n=this.parentNode.style.flexWrap,r=e.style.minWidth;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var o={width:e.offsetWidth,height:e.offsetHeight};return e.style.position="absolute",t&&(this.parentNode.style.flexWrap=n),e.style.minWidth=r,o}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=this.parentNode;if(t instanceof HTMLElement&&!this.base){var n=document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="absolute",n.style.transform="scale(0, 0)",n.style.left="0",n.style.flex="0",n.classList?n.classList.add("__resizable_base__"):n.className+="__resizable_base__",t.appendChild(n)}}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseleave",this.onMouseUp),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=this.base;if(!t||!e)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"calculateNewSize",value:function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,resizeCursor:window.getComputedStyle(e.target).cursor,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,c=this.props,l=c.lockAspectRatio,u=c.lockAspectRatioExtraHeight,d=c.lockAspectRatioExtraWidth,f=this.props.scale||1,h=this.props,p=h.maxWidth,v=h.maxHeight,m=h.minWidth,g=h.minHeight,b=this.props.resizeRatio||1,y=this.getParentSize();if(p&&"string"==typeof p&&Xc(p,"%")){var k=Number(p.replace("%",""))/100;p=y.width*k}if(v&&"string"==typeof v&&Xc(v,"%")){var _=Number(v.replace("%",""))/100;v=y.height*_}if(m&&"string"==typeof m&&Xc(m,"%")){var w=Number(m.replace("%",""))/100;m=y.width*w}if(g&&"string"==typeof g&&Xc(g,"%")){var O=Number(g.replace("%",""))/100;g=y.height*O}p=void 0===p?void 0:Number(p),v=void 0===v?void 0:Number(v),m=void 0===m?void 0:Number(m),g=void 0===g?void 0:Number(g);var S="number"==typeof l?l:i.width/i.height,E=i.width,C=i.height;if(/right/i.test(o)&&(E=i.width+(t-i.x)*b/f,l&&(C=(E-d)/S+u)),/left/i.test(o)&&(E=i.width-(t-i.x)*b/f,l&&(C=(E-d)/S+u)),/bottom/i.test(o)&&(C=i.height+(n-i.y)*b/f,l&&(E=(C-u)*S+d)),/top/i.test(o)&&(C=i.height-(n-i.y)*b/f,l&&(E=(C-u)*S+d)),"parent"===this.props.bounds){var T=this.parentNode;if(T instanceof HTMLElement){var x=T.getBoundingClientRect(),D=x.left,M=x.top,j=this.resizable.getBoundingClientRect(),I=j.left,P=j.top,N=T.offsetWidth+(D-I),R=T.offsetHeight+(M-P);p=p&&p<N?p:N,v=v&&v<R?v:R}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),A=L.left,z=L.top,F=window.innerWidth-A,H=window.innerHeight-z;p=p&&p<F?p:F,v=v&&v<H?v:H}}else if(this.props.bounds instanceof HTMLElement){var V=this.props.bounds.getBoundingClientRect(),B=V.left,U=V.top,W=this.resizable.getBoundingClientRect(),K=W.left,Y=W.top;if(!(this.props.bounds instanceof HTMLElement))return;var $=this.props.bounds.offsetWidth+(B-K),q=this.props.bounds.offsetHeight+(U-Y);p=p&&p<$?p:$,v=v&&v<q?v:q}var G=void 0===m?10:m,Z=void 0===p||p<0?E:p,X=void 0===g?10:g,Q=void 0===v||v<0?C:v;if(l){var J=(X-u)*S+d,ee=(Q-u)*S+d,te=(G-d)/S+u,ne=(Z-d)/S+u,re=Math.max(G,J),oe=Math.min(Z,ee),ie=Math.max(X,te),ae=Math.min(Q,ne);E=qc(E,re,oe),C=qc(C,ie,ae)}else E=qc(E,G,Z),C=qc(C,X,Q);this.props.grid&&(E=Gc(E,this.props.grid[0])),this.props.grid&&(C=Gc(C,this.props.grid[1])),this.props.snap&&this.props.snap.x&&(E=Zc(E,this.props.snap.x)),this.props.snap&&this.props.snap.y&&(C=Zc(C,this.props.snap.y));var se={width:E-i.width,height:C-i.height};if(a&&"string"==typeof a&&Xc(a,"%"))E=E/y.width*100+"%";if(s&&"string"==typeof s&&Xc(s,"%"))C=C/y.height*100+"%";this.setState({width:this.calculateNewSize(E,"width"),height:this.calculateNewSize(C,"height")}),this.props.onResize&&this.props.onResize(e,o,this.resizable,se)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1,resizeCursor:"auto"})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?Object(I.createElement)(Kc,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?Object(I.createElement)(s[t]):null):null}));return Object(I.createElement)("span",{className:a,style:i},c)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?Yc:$c;return Object(I.createElement)("div",Bc({ref:function(t){t&&(e.resizable=t)},style:Bc({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.state.isResizing&&Object(I.createElement)("div",{style:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:""+(this.state.resizeCursor||"auto"),opacity:"0",position:"fixed",zIndex:"9999",top:"0",left:"0",bottom:"0",right:"0"}}),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"base",get:function(){var e=this.parentNode;if(e)for(var t=[].slice.call(e.children),n=0;n<t.length;n+=1){var r=t[n];if(r instanceof HTMLElement&&r.classList.contains("__resizable_base__"))return r}}},{key:"size",get:function(){var e=0,t=0;if("undefined"!=typeof window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=o}return{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&Xc(e.propsSize[t].toString(),"%")){if(Xc(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return Qc(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Qc(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Qc(t.height):n("height")}}}]),t}(I.Component);el.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1};var tl=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(Ce(e)),e.checkMessageForResize=e.checkMessageForResize.bind(Ce(e)),e.iframe=Object(I.createRef)(),e.state={width:0,height:0},e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(u){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,i=r.width,a=r.height,s=this.state,c=s.width,l=s.height;"resize"!==o||c===i&&l===a||this.setState({width:i,height:a})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(I.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(I.createElement)("head",null,Object(I.createElement)("title",null,this.props.title),Object(I.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(I.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(I.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(I.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(I.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(I.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write("<!DOCTYPE html>"+le(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(I.createElement)(sc,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(I.Component);tl=ir({message:"checkMessageForResize"})(tl);ar((function(e){var t=e.help,n=e.instanceId,r=e.label,o=e.multiple,i=void 0!==o&&o,a=e.onChange,s=e.options,c=void 0===s?[]:s,l=e.className,u=j(e,["help","instanceId","label","multiple","onChange","options","className"]),d="inspector-select-control-".concat(n);return!Object(N.isEmpty)(c)&&Object(I.createElement)(ss,{label:r,id:d,help:t,className:l},Object(I.createElement)("select",Ne({id:d,className:"components-select-control__input",onChange:function(e){if(i){var t=lt(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));a(t)}else a(e.target.value)},"aria-describedby":t?"".concat(d,"__help"):void 0,multiple:i},u),c.map((function(e,t){return Object(I.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}));var nl=1e4;Object(I.forwardRef)((function(e,t){var n=e.className,r=e.children,o=e.actions,i=void 0===o?[]:o,a=e.onRemove,s=void 0===a?N.noop:a;Object(I.useEffect)((function(){var e=setTimeout((function(){s()}),nl);return function(){return clearTimeout(e)}}),[]);var c=Pn()(n,"components-snackbar");return Object(I.createElement)("div",{ref:t,className:c,onClick:s,tabIndex:"0",role:"button",onKeyPress:s,label:he("Dismiss this notice")},Object(I.createElement)("div",{className:"components-snackbar__content"},r,i.map((function(e,t){var n=e.className,r=e.label,o=e.onClick,i=e.url;return Object(I.createElement)(va,{key:t,href:i,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:Pn()("components-snackbar__action",n)},r)}))))}));const rl={arr:Array.isArray,obj:e=>"[object Object]"===Object.prototype.toString.call(e),fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e,nul:e=>null===e,set:e=>e instanceof Set,map:e=>e instanceof Map,equ(e,t){if(typeof e!=typeof t)return!1;if(rl.str(e)||rl.num(e))return e===t;if(rl.obj(e)&&rl.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!rl.und(n)||e===t}};function ol(){const e=Object(I.useState)(!1)[1];return Object(I.useCallback)(()=>e(e=>!e),[])}function il(e,t){return rl.und(e)||rl.nul(e)?t:e}function al(e){return rl.und(e)?[]:rl.arr(e)?e:[e]}function sl(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return rl.fun(e)?e(...n):e}function cl(e){const t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,M(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(rl.und(t))return Ne({to:t},e);const n=Object.keys(e).reduce((n,r)=>rl.und(t[r])?Ne({},n,{[r]:e[r]}):n,{});return Ne({to:t},n)}class ll{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(e){0===this.children.length&&this.attach(),this.children.push(e)}removeChild(e){const t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}class ul extends ll{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(e=>e instanceof ll&&e.addChild(this)),this.detach=()=>this.payload.forEach(e=>e instanceof ll&&e.removeChild(this))}}class dl extends ll{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(e=>e instanceof ll&&e.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(e=>e instanceof ll&&e.removeChild(this))}getValue(e){void 0===e&&(e=!1);const t={};for(const n in this.payload){const r=this.payload[n];(!e||r instanceof ll)&&(t[n]=r instanceof ll?r[e?"getAnimatedValue":"getValue"]():r)}return t}getAnimatedValue(){return this.getValue(!0)}}let fl,hl;function pl(e,t){fl={fn:e,transform:t}}function vl(e){hl=e}let ml,gl=e=>"undefined"!=typeof window?window.requestAnimationFrame(e):-1;function bl(e){ml=e}let yl,kl=()=>Date.now();function _l(e){yl=e}let wl,Ol,Sl=e=>e.current;function El(e){wl=e}class Cl extends dl{constructor(e,t){super(),this.update=void 0,this.payload=e.style?Ne({},e,{style:wl(e.style)}):e,this.update=t,this.attach()}}let Tl=!1;const xl=new Set,Dl=()=>{if(!Tl)return!1;let e=kl();for(let t of xl){let n=!1;for(let r=0;r<t.configs.length;r++){let o,i,a=t.configs[r];for(let t=0;t<a.animatedValues.length;t++){let r=a.animatedValues[t];if(r.done)continue;let s=a.fromValues[t],c=a.toValues[t],l=r.lastPosition,u=c instanceof ll,d=Array.isArray(a.initialVelocity)?a.initialVelocity[t]:a.initialVelocity;if(u&&(c=c.getValue()),a.immediate)r.setValue(c),r.done=!0;else if("string"!=typeof s&&"string"!=typeof c){if(void 0!==a.duration)l=s+a.easing((e-r.startTime)/a.duration)*(c-s),o=e>=r.startTime+a.duration;else if(a.decay)l=s+d/(1-.998)*(1-Math.exp(-(1-.998)*(e-r.startTime))),(o=Math.abs(r.lastPosition-l)<.1)&&(c=l);else{i=void 0!==r.lastTime?r.lastTime:e,d=void 0!==r.lastVelocity?r.lastVelocity:a.initialVelocity,e>i+64&&(i=e);let t=Math.floor(e-i);for(let e=0;e<t;++e){l+=1*(d+=1*((-a.tension*(l-c)+-a.friction*d)/a.mass)/1e3)/1e3}let n=!(!a.clamp||0===a.tension)&&(s<c?l>c:l<c),u=Math.abs(d)<=a.precision,f=0===a.tension||Math.abs(c-l)<=a.precision;o=n||u&&f,r.lastVelocity=d,r.lastTime=e}u&&!a.toValues[t].done&&(o=!1),o?(r.value!==c&&(l=c),r.done=!0):n=!0,r.setValue(l),r.lastPosition=l}else r.setValue(c),r.done=!0}t.props.onFrame&&(t.values[a.name]=a.interpolation.getValue())}t.props.onFrame&&t.props.onFrame(t.values),n||(xl.delete(t),t.stop(!0))}return xl.size?Ol?Ol():gl(Dl):Tl=!1,Tl},Ml=e=>{xl.has(e)||xl.add(e),Tl||(Tl=!0,gl(Ol||Dl))},jl=e=>{xl.has(e)&&xl.delete(e)};function Il(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return Il({range:e,output:t,extrapolate:n});if(ml&&"string"==typeof e.output[0])return ml(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,c){let l=c?c(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=i(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,i[t],i[t+1],o[t],o[t+1],c,a,s,r.map)}}class Pl extends ul{constructor(e,t,n,r){super(),this.calc=void 0,this.payload=e instanceof ul&&!(e instanceof Pl)?e.getPayload():Array.isArray(e)?e:[e],this.calc=Il(t,n,r)}getValue(){return this.calc(...this.payload.map(e=>e.getValue()))}updateConfig(e,t,n){this.calc=Il(e,t,n)}interpolate(e,t,n){return new Pl(this,e,t,n)}}class Nl extends ll{constructor(e){var t;super(),t=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(e,n){void 0===n&&(n=!0),t.value=e,n&&t.flush()},this.value=e,this.startPosition=e,this.lastPosition=e}flush(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach(t=>e(t,n))}(this,this.animatedStyles),this.animatedStyles.forEach(e=>e.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(e,t,n){return new Pl(this,e,t,n)}}class Rl extends ul{constructor(e){super(),this.payload=e.map(e=>new Nl(e))}setValue(e,t){void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((e,n)=>this.payload[n].setValue(e,t)):this.payload.forEach(n=>n.setValue(e,t))}getValue(){return this.payload.map(e=>e.getValue())}interpolate(e,t){return new Pl(this,e,t)}}let Ll=0;class Al extends dl{constructor(e){void 0===e&&(e={}),super(),!e.transform||e.transform instanceof ll||(e=fl.transform(e)),this.payload=e}}const zl={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Fl="[-+]?\\d*\\.?\\d+",Hl=Fl+"%";function Vl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const Bl=new RegExp("rgb"+Vl(Fl,Fl,Fl)),Ul=new RegExp("rgba"+Vl(Fl,Fl,Fl,Fl)),Wl=new RegExp("hsl"+Vl(Fl,Hl,Hl)),Kl=new RegExp("hsla"+Vl(Fl,Hl,Hl,Fl)),Yl=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,$l=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ql=/^#([0-9a-fA-F]{6})$/,Gl=/^#([0-9a-fA-F]{8})$/;function Zl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Xl(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=Zl(o,r,e+1/3),a=Zl(o,r,e),s=Zl(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Ql(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Jl(e){return(parseFloat(e)%360+360)%360/360}function eu(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function tu(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function nu(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ql.exec(e))?parseInt(t[1]+"ff",16)>>>0:zl.hasOwnProperty(e)?zl[e]:(t=Bl.exec(e))?(Ql(t[1])<<24|Ql(t[2])<<16|Ql(t[3])<<8|255)>>>0:(t=Ul.exec(e))?(Ql(t[1])<<24|Ql(t[2])<<16|Ql(t[3])<<8|eu(t[4]))>>>0:(t=Yl.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Gl.exec(e))?parseInt(t[1],16)>>>0:(t=$l.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Wl.exec(e))?(255|Xl(Jl(t[1]),tu(t[2]),tu(t[3])))>>>0:(t=Kl.exec(e))?(Xl(Jl(t[1]),tu(t[2]),tu(t[3]))|eu(t[4]))>>>0:null}(e);return null===t?e:`rgba(${(4278190080&(t=t||0))>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`}const ru=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ou=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,iu=new RegExp(`(${Object.keys(zl).join("|")})`,"g");let au={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const su=["Webkit","Ms","Moz","O"];function cu(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||au.hasOwnProperty(e)&&au[e]?(""+t).trim():t+"px"}au=Object.keys(au).reduce((e,t)=>(su.forEach(n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t]),e),au);const lu={};El(e=>new Al(e)),_l("div"),bl(e=>{const t=e.output.map(e=>e.replace(ou,nu)).map(e=>e.replace(iu,nu)),n=t[0].match(ru).map(()=>[]);t.forEach(e=>{e.match(ru).forEach((e,t)=>n[t].push(+e))});const r=t[0].match(ru).map((t,r)=>Il(Ne({},e,{output:n[r]})));return e=>{let n=0;return t[0].replace(ru,()=>r[n++](e)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`)}}),vl(zl),pl((e,t)=>{if(!e.nodeType||void 0===e.setAttribute)return!1;{const o=t.style,i=t.children,a=t.scrollTop,s=t.scrollLeft,c=M(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s),void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=cu(t,o[t],n);"float"===t&&(t="cssFloat"),n?e.style.setProperty(t,r):e.style[t]=r}for(let t in c){const n=l?t:lu[t]||(lu[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase()));void 0!==e.getAttribute(n)&&e.setAttribute(n,c[t])}}},e=>e);var uu,du;(uu=e=>Object(I.forwardRef)((t,n)=>{const r=ol(),o=Object(I.useRef)(!0),i=Object(I.useRef)(null),a=Object(I.useRef)(null),s=Object(I.useCallback)(e=>{const t=i.current;i.current=new Cl(e,()=>{let e=!1;a.current&&(e=fl.fn(a.current,i.current.getAnimatedValue())),a.current&&!1!==e||r()}),t&&t.detach()},[]);Object(I.useEffect)(()=>()=>{o.current=!1,i.current&&i.current.detach()},[]),Object(I.useImperativeHandle)(n,()=>Sl(a,o,r)),s(t);const c=i.current.getValue(),l=(c.scrollTop,c.scrollLeft,M(c,["scrollTop","scrollLeft"])),u=(e=>rl.fun(e)&&!(e.prototype instanceof P.a.Component))(e)?void 0:e=>a.current=function(e,t){return t&&(rl.fun(t)?t(e):rl.obj(t)&&(t.current=e)),e}(e,n);return P.a.createElement(e,Ne({},l,{ref:u}))}),void 0===(du=!1)&&(du=!0),e=>(rl.arr(e)?e:Object.keys(e)).reduce((e,t)=>{const n=du?t[0].toLowerCase()+t.substring(1):t;return e[n]=uu(n),e},uu))(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);function fu(){return Object(I.createElement)("span",{className:"components-spinner"})}var hu=function(e){var t=e.tabId,n=e.onClick,r=e.children,o=e.selected,i=j(e,["tabId","onClick","children","selected"]);return Object(I.createElement)(va,Ne({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},i),r)};ar(function(e){function t(){var e;Oe(this,t);var n=(e=Te(this,xe(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(Ce(e)),e.onNavigate=e.onNavigate.bind(Ce(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Me(t,e),Ee(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?N.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,o=void 0===r?"is-active":r,i=n.className,a=n.instanceId,s=n.orientation,c=void 0===s?"horizontal":s,l=n.tabs,u=Object(N.find)(l,{name:t}),d=a+"-"+u.name;return Object(I.createElement)("div",{className:i},Object(I.createElement)(nc,{role:"tablist",orientation:c,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},l.map((function(n){return Object(I.createElement)(hu,{className:"".concat(n.className," ").concat(n.name===t?o:""),tabId:a+"-"+n.name,"aria-controls":a+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(N.partial)(e.handleClick,n.name)},n.title)}))),u&&Object(I.createElement)("div",{"aria-labelledby":d,role:"tabpanel",id:d+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(u)))}}]),t}(I.Component));ar((function(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,i=e.onChange,a=e.rows,s=void 0===a?4:a,c=e.className,l=j(e,["label","value","help","instanceId","onChange","rows","className"]),u="inspector-textarea-control-".concat(o);return Object(I.createElement)(ss,{label:t,id:u,help:r,className:c},Object(I.createElement)("textarea",Ne({className:"components-textarea-control__input",id:u,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":r?u+"__help":void 0,value:n},l)))})),ar(function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onChange=e.onChange.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,o=n.checked,i=n.help,a=n.instanceId,s=n.className,c="inspector-toggle-control-".concat(a);return i&&(e=c+"__help",t=Object(N.isFunction)(i)?i(o):i),Object(I.createElement)(ss,{id:c,help:t,className:Pn()("components-toggle-control",s)},Object(I.createElement)(dc,{id:c,checked:o,onChange:this.onChange,"aria-describedby":e}),Object(I.createElement)("label",{htmlFor:c,className:"components-toggle-control__label"},r))}}]),t}(I.Component));var pu=function(e){return Object(I.createElement)("div",{className:e.className},e.children)};var vu=function(e){var t=e.containerClassName,n=e.icon,r=e.title,o=e.shortcut,i=e.subscript,a=e.onClick,s=e.className,c=e.isActive,l=e.isDisabled,u=e.extraProps,d=e.children;return Object(I.createElement)(pu,{className:t},Object(I.createElement)(Pa,Ne({icon:n,label:r,shortcut:o,"data-subscript":i,onClick:function(e){e.stopPropagation(),a()},className:Pn()("components-toolbar__control",s,{"is-active":c}),"aria-pressed":c,disabled:l},u)),d)},mu=function(e){return Object(I.createElement)("div",{className:e.className},e.children)};var gu=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,o=e.className,i=e.isCollapsed,a=e.icon,s=e.label,c=j(e,["controls","children","className","isCollapsed","icon","label"]);if(!(n&&n.length||r))return null;var l=n;return Array.isArray(l[0])||(l=[l]),i?Object(I.createElement)(rc,{icon:a,label:s,controls:l,className:Pn()("components-toolbar",o)}):Object(I.createElement)(mu,Ne({className:Pn()("components-toolbar",o)},c),Object(N.flatMap)(l,(function(e,t){return e.map((function(e,n){return Object(I.createElement)(vu,Ne({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)},bu=(er((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(Ce(e)),e.focusNextRegion=e.focusRegion.bind(Ce(e),1),e.focusPreviousRegion=e.focusRegion.bind(Ce(e),-1),e.onClick=e.onClick.bind(Ce(e)),e.state={isFocusingRegions:!1},e}return Me(n,t),Ee(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=lt(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t,n=Pn()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(I.createElement)("div",{ref:this.bindContainer,className:n,onClick:this.onClick},Object(I.createElement)(ys,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},x(t,Zn.access("n"),this.focusNextRegion),x(t,"ctrl+shift+`",this.focusPreviousRegion),x(t,Zn.access("p"),this.focusPreviousRegion),t)}),Object(I.createElement)(e,this.props))}}]),n}(I.Component)}),"navigateRegions"),16);function yu(e){return er((function(t){var n,r="core/with-filters/"+e;var o=function(o){function i(){var r;return Oe(this,i),r=Te(this,xe(i).apply(this,arguments)),void 0===n&&(n=Yr(e,t)),r}return Me(i,o),Ee(i,[{key:"componentDidMount",value:function(){i.instances.push(this),1===i.instances.length&&(Vr("hookRemoved",r,a),Vr("hookAdded",r,a))}},{key:"componentWillUnmount",value:function(){i.instances=Object(N.without)(i.instances,this),0===i.instances.length&&(Ur("hookRemoved",r),Ur("hookAdded",r))}},{key:"render",value:function(){return Object(I.createElement)(n,this.props)}}]),i}(I.Component);o.instances=[];var i=Object(N.debounce)((function(){n=Yr(e,t),o.instances.forEach((function(e){e.forceUpdate()}))}),bu);function a(t){t===e&&i()}return o}),"withFilters")}var ku=n(38),_u=n.n(ku);er((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).createNotice=e.createNotice.bind(Ce(e)),e.createErrorNotice=e.createErrorNotice.bind(Ce(e)),e.removeNotice=e.removeNotice.bind(Ce(e)),e.removeAllNotices=e.removeAllNotices.bind(Ce(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Me(n,t),Ee(n,[{key:"createNotice",value:function(e){var t=e.id?e:D({},e,{id:_u()()});this.setState((function(e){return{noticeList:[].concat(lt(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(I.createElement)(e,Ne({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(I.createElement)(Rc,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(I.Component)}));function wu(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function Ou(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(c=t,!wu(s=n)||s.type!==c)return!1;var s,c,l=e(n);return rt()(l)?l.then(i,a):i(l),!0}}));n.push((function(e,n){return!!wu(e)&&(t(e),n(),!0)}));var r=Object(tt.create)(n);return function(e){return new Promise((function(n,o){return r(e,(function(e){wu(e)&&t(e),n(e)}),o)}))}}function Su(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=Ou(e,t.dispatch);return function(e){return function(t){return(r=t)&&"Generator"===r[Symbol.toStringTag]?n(t):e(t);var r}}}}var Eu=function(){return function(e){return function(t){return rt()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},Cu=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Ae(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(lt(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},Tu=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ht.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new ht.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new ht.a(e);return o.delete(t.args),o}return e})),xu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return Tu(e,t)}return e};function Du(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function Mu(e,t){return void 0!==Du(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function ju(e,t){return!1===Du(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function Iu(e,t){return!0===Du(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function Pu(e){return e}function Nu(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Ru(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Lu(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Au(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function zu(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Fu(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[Cu(n,e),Eu];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(Su(o))}var i=[et.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return qe(Fe()({metadata:xu,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},f,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(d,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ue(Ve.a.mark((function e(){var t,s;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!Mu(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(Nu(o,a)),e.next=9,Hu.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Ru(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Hu(e,t,n){return Vu.apply(this,arguments)}function Vu(){return(Vu=Ue(Ve.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Bu=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Uu,Wu,Ku=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var a,s={registerGenericStore:i,stores:n,namespaces:n,subscribe:function(e){return r.push(e),function(){r=Object(N.without)(r,e)}},select:function(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)},dispatch:function(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)},use:function(e,t){return s=D({},s,e(s,t))}};return s.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Fu(e,t,s);return i(e,n),n.store},i("core/data",Bu(s)),Object.entries(e).forEach((function(e){var t=Ae(e,2),n=t[0],r=t[1];return s.registerStore(n,r)})),t&&t.subscribe(o),a=s,Object(N.mapValues)(a,(function(e,t){return"function"!=typeof e?e:function(){return s[t].apply(null,arguments)}}))}(),Yu={getItem:function(e){return Uu&&Uu[e]?Uu[e]:null},setItem:function(e,t){Uu||Yu.clear(),Uu[e]=String(t)},clear:function(){Uu=Object.create(null)}},$u=Yu;try{(Wu=window.localStorage).setItem("__wpDataTestLocalStorage",""),Wu.removeItem("__wpDataTestLocalStorage")}catch(WE){Wu=$u}var qu=Wu,Gu="WP_DATA",Zu=function(e){return function(t,n){return n.nextState===t?t:e(t,n)}};function Xu(e){var t,n=e.storage,r=void 0===n?qu:n,o=e.storageKey,i=void 0===o?Gu:o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(WE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Qu=function(e,t){var n=Xu(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o;if(Array.isArray(r)){var i=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});o=Zu(Fe()(i))}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var r=o(a,{nextState:e()});r!==a&&(n.set(t,r),a=r)}}(a.getState,t,r.persist)),a}}};Qu.__unstableMigrate=function(e){var t=Xu(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Ju=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};Ju((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!nr()(e,this.props)||!nr()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!nr()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());Ju((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Ju((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var ed=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,td=Object(I.createContext)(Ku),nd=td.Consumer,rd=(td.Provider,nd);var od=Object(I.createContext)(!1);od.Consumer,od.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);ed(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Ju((function(e){return function(t){return Object(I.createElement)(rd,null,(function(n){return Object(I.createElement)(e,Ne({},t,{registry:n}))}))}}),"withRegistry");var id=Ku.select,ad=(Ku.dispatch,Ku.subscribe,Ku.registerGenericStore,Ku.registerStore),sd=(Ku.use,[{slug:"common",title:he("Common Blocks")},{slug:"formatting",title:he("Formatting")},{slug:"layout",title:he("Layout Elements")},{slug:"widgets",title:he("Widgets")},{slug:"embed",title:he("Embeds")},{slug:"reusable",title:he("Reusable Blocks")}]);function cd(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"REMOVE_BLOCK_TYPES":return-1!==n.names.indexOf(t)?null:t;case e:return n.name||null}return t}}var ld=cd("SET_DEFAULT_BLOCK_NAME"),ud=cd("SET_FREEFORM_FALLBACK_BLOCK_NAME"),dd=cd("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var fd=Fe()({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return D({},e,Object(N.keyBy)(Object(N.map)(t.blockTypes,(function(e){return Object(N.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(N.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return D({},e,Object(N.mapValues)(Object(N.keyBy)(t.blockTypes,"name"),(function(t){return Object(N.uniqBy)([].concat(lt(Object(N.get)(t,["styles"],[])),lt(Object(N.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return D({},e,x({},t.blockName,Object(N.uniqBy)([].concat(lt(Object(N.get)(e,[t.blockName],[])),lt(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return D({},e,x({},t.blockName,Object(N.filter)(Object(N.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},defaultBlockName:ld,freeformFallbackBlockName:ud,unregisteredFallbackBlockName:dd,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sd,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(N.isEmpty)(t.category))return e;if(Object(N.find)(e,["slug",t.slug]))return Object(N.map)(e,(function(e){return e.slug===t.slug?D({},e,t.category):e}))}return e}}),hd=function(e,t){return"string"==typeof t?vd(e,t):t},pd=yo((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function vd(e,t){return e.blockTypes[t]}function md(e,t){return e.blockStyles[t]}function gd(e){return e.categories}function bd(e){return e.defaultBlockName}function yd(e){return e.freeformFallbackBlockName}function kd(e){return e.unregisteredFallbackBlockName}var _d=yo((function(e,t){return Object(N.map)(Object(N.filter)(e.blockTypes,(function(e){return Object(N.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),wd=function(e,t,n,r){var o=hd(e,t);return Object(N.get)(o,["supports",n],r)};function Od(e,t,n,r){return!!wd(e,t,n,r)}function Sd(e,t,n){var r=hd(e,t),o=Object(N.flow)([N.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=o(n),a=Object(N.flow)([o,function(e){return Object(N.includes)(e,i)}]);return a(r.title)||Object(N.some)(r.keywords,a)||a(r.category)}var Ed=function(e,t){return _d(e,t).length>0},Cd=function(e,t){return Object(N.some)(_d(e,t),(function(t){return Od(e,t,"inserter",!0)}))};function Td(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(N.castArray)(e)}}function xd(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(N.castArray)(e)}}function Dd(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(N.castArray)(t),blockName:e}}function Md(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(N.castArray)(t),blockName:e}}function jd(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function Id(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function Pd(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function Nd(e){return{type:"SET_CATEGORIES",categories:e}}function Rd(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}ad("core/blocks",{reducer:fd,selectors:h,actions:p});function Ld(e){var t=Hd();if(e.name!==t)return!1;Ld.block&&Ld.block.name===t||(Ld.block=$d(t));var n=Ld.block,r=Vd(t);return Object(N.every)(r.attributes,(function(t,r){return n.attributes[r]===e.attributes[r]}))}function Ad(e){return Object(N.isString)(e)?Vd(e):e}function zd(){return id("core/blocks").getFreeformFallbackBlockName()}function Fd(){return id("core/blocks").getUnregisteredFallbackBlockName()}function Hd(){return id("core/blocks").getDefaultBlockName()}function Vd(e){return id("core/blocks").getBlockType(e)}function Bd(){return id("core/blocks").getBlockTypes()}function Ud(e,t,n){return id("core/blocks").getBlockSupport(e,t,n)}function Wd(e,t,n){return id("core/blocks").hasBlockSupport(e,t,n)}function Kd(e){return"core/block"===e.name}var Yd=function(e){return id("core/blocks").hasChildBlocksWithInserterSupport(e)};function $d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Vd(e),o=Object(N.reduce)(r.attributes,(function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.hasOwnProperty("default")&&(e[r]=n.default),-1!==["node","children"].indexOf(n.source)&&("string"==typeof e[r]?e[r]=[e[r]]:Array.isArray(e[r])||(e[r]=[])),e}),{});return{clientId:_u()(),name:e,isValid:!0,attributes:o,innerBlocks:n}}var qd=function(e,t,n){if(Object(N.isEmpty)(n))return!1;var r=n.length>1,o=Object(N.first)(n).name;if(!(Xd(e)||!r||e.isMultiBlock))return!1;if(!Xd(e)&&!Object(N.every)(n,{name:o}))return!1;if(!("block"===e.type))return!1;var i=Object(N.first)(n);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||Xd(e)))return!1;if(!r&&Qd(i.name)&&Qd(e.blockName))return!1;if(Object(N.isFunction)(e.isMatch)){var a=e.isMultiBlock?n.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(a))return!1}return!0},Gd=function(e){if(Object(N.isEmpty)(e))return[];var t=Bd();return Object(N.filter)(t,(function(t){return!!ef(tf("from",t.name),(function(t){return qd(t,"from",e)}))}))},Zd=function(e){if(Object(N.isEmpty)(e))return[];var t=tf("to",Vd(Object(N.first)(e).name).name),n=Object(N.filter)(t,(function(t){return t&&qd(t,"to",e)}));return Object(N.flatMap)(n,(function(e){return e.blocks})).map((function(e){return Vd(e)}))},Xd=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},Qd=function(e){return"core/group"===e},Jd=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(N.every)(e,["name",t])};function ef(e,t){for(var n=Fr(),r=function(r){var o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),(function(e){return e||o}),o.priority)},o=0;o<e.length;o++)r(o);return n.applyFilters("transform",null)}function tf(e,t){if(void 0===t)return Object(N.flatMap)(Bd(),(function(t){var n=t.name;return tf(e,n)}));var n=Ad(t)||{},r=n.name,o=n.transforms;return o&&Array.isArray(o[e])?o[e].map((function(e){return D({},e,{blockName:r})})):[]}function nf(e,t){var n=Object(N.castArray)(e),r=n.length>1,o=n[0],i=o.name;if(!Qd(t)&&r&&!Jd(n))return null;var a,s=tf("from",t),c=ef(tf("to",i),(function(e){return"block"===e.type&&(Xd(e)||-1!==e.blocks.indexOf(t))&&(!r||e.isMultiBlock)}))||ef(s,(function(e){return"block"===e.type&&(Xd(e)||-1!==e.blocks.indexOf(i))&&(!r||e.isMultiBlock)}));if(!c)return null;if(a=c.isMultiBlock?Object(N.has)(c,"__experimentalConvert")?c.__experimentalConvert(n):c.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(N.has)(c,"__experimentalConvert")?c.__experimentalConvert(o):c.transform(o.attributes,o.innerBlocks),!Object(N.isObjectLike)(a))return null;if((a=Object(N.castArray)(a)).some((function(e){return!Vd(e.name)})))return null;var l=Object(N.findIndex)(a,(function(e){return e.name===t}));return l<0?null:a.map((function(t,n){var r=D({},t,{clientId:n===l?o.clientId:t.clientId});return Yr("blocks.switchToBlockType.transformedBlock",r,e)}))}var rf,of=function(){return rf||(rf=document.implementation.createHTMLDocument("")),rf};function af(e,t){if(t){if("string"==typeof e){var n=of();n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(n,r){return n[r]=af(e,t[r]),n}),{})}}function sf(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return function(e,t){for(var n,r=t.split(".");n=r.shift();){if(!(n in e))return;e=e[n]}return e}(r,t)}}var cf,lf,uf,df,ff=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function hf(e,t){for(var n=function(e){for(var t,n=[],r=e;t=r.match(ff);)n.push(r.slice(0,t.index)),n.push(t[0]),r=r.slice(t.index+t[0].length);return r.length&&n.push(r),n}(e),r=!1,o=Object.keys(t),i=1;i<n.length;i+=2)for(var a=0;a<o.length;a++){var s=o[a];if(-1!==n[i].indexOf(s)){n[i]=n[i].replace(new RegExp(s,"g"),t[s]),r=!0;break}}return r&&(e=n.join("")),e}var pf=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function vf(e,t,n,r,o){return{blockName:e,attrs:t,innerBlocks:n,innerHTML:r,innerContent:o}}function mf(e){return vf(null,{},[],e,[e])}function gf(){var e=function(){var e=pf.exec(cf);if(null===e)return["no-more-tokens"];var t=e.index,n=Ae(e,7),r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=n[6],l=r.length,u=!!o,d=!!c,f=(i||"core/")+a,h=!!s,p=h?function(e){try{return JSON.parse(e)}catch(t){return null}}(s):{};if(d)return["void-block",f,p,t,l];if(u)return["block-closer",f,null,t,l];return["block-opener",f,p,t,l]}(),t=Ae(e,5),n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=df.length,c=i>lf?lf:null;switch(n){case"no-more-tokens":if(0===s)return bf(),!1;if(1===s)return kf(),!1;for(;0<df.length;)kf();return!1;case"void-block":return 0===s?(null!==c&&uf.push(mf(cf.substr(c,i-c))),uf.push(vf(r,o,[],"",[])),lf=i+a,!0):(yf(vf(r,o,[],"",[]),i,a),lf=i+a,!0);case"block-opener":return df.push(function(e,t,n,r,o){return{block:e,tokenStart:t,tokenLength:n,prevOffset:r||t+n,leadingHtmlStart:o}}(vf(r,o,[],"",[]),i,a,i+a,c)),lf=i+a,!0;case"block-closer":if(0===s)return bf(),!1;if(1===s)return kf(i),lf=i+a,!0;var l=df.pop(),u=cf.substr(l.prevOffset,i-l.prevOffset);return l.block.innerHTML+=u,l.block.innerContent.push(u),l.prevOffset=i+a,yf(l.block,l.tokenStart,l.tokenLength,i+a),lf=i+a,!0;default:return bf(),!1}}function bf(e){var t=e||cf.length-lf;0!==t&&uf.push(mf(cf.substr(lf,t)))}function yf(e,t,n,r){var o=df[df.length-1];o.block.innerBlocks.push(e);var i=cf.substr(o.prevOffset,t-o.prevOffset);i&&(o.block.innerHTML+=i,o.block.innerContent.push(i)),o.block.innerContent.push(null),o.prevOffset=r||t+n}function kf(e){var t=df.pop(),n=t.block,r=t.leadingHtmlStart,o=t.prevOffset,i=t.tokenStart,a=e?cf.substr(o,e-o):cf.substr(o);a&&(n.innerHTML+=a,n.innerContent.push(a)),null!==r&&uf.push(mf(cf.substr(r,i-r))),uf.push(n)}var _f=/^#[xX]([A-Fa-f0-9]+)$/,wf=/^#([0-9]+)$/,Of=/^([A-Za-z0-9]+)$/,Sf=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(_f);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(wf))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(Of))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Ef=/[A-Za-z]/,Cf=/\r\n?/g;function Tf(e){return Sf.test(e)}function xf(e){return Ef.test(e)}var Df,Mf=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer.toLowerCase();"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||xf(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();Tf(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();Tf(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();Tf(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();Tf(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();Tf(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();Tf(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();Tf(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();Tf(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||xf(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(Cf,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer.toLowerCase();return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),jf=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Mf(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();function If(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===Df&&(Df=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),Df.innerHTML=e;var t=Df.textContent;return Df.innerHTML="",t}var Pf=Object(I.createContext)((function(){})),Nf=Pf.Consumer,Rf=Pf.Provider,Lf=Ju((function(e){return function(t){return Object(I.createElement)(Nf,null,(function(n){return Object(I.createElement)(e,Ne({},t,{BlockContent:n}))}))}}),"withBlockContentContext"),Af=function(e){var t=e.children,n=e.innerBlocks;return Object(I.createElement)(Rf,{value:function(){var e=Wf(n);return Object(I.createElement)(K,null,e)}},t)};function zf(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Yr("blocks.getBlockDefaultClassName",t,e)}function Ff(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Ad(e),o=r.save;if(o.prototype instanceof I.Component){var i=new o({attributes:t});o=i.render.bind(i)}var a=o({attributes:t,innerBlocks:n});if(Object(N.isObject)(a)&&Wr("blocks.getSaveContent.extraProps")){var s=Yr("blocks.getSaveContent.extraProps",D({},a.props),r,t);nr()(s,a.props)||(a=Object(I.cloneElement)(a,s))}return a=Yr("blocks.getSaveElement",a,r,t),Object(I.createElement)(Af,{innerBlocks:n},a)}function Hf(e,t,n){var r=Ad(e);return le(Ff(r,t,n))}function Vf(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=Hf(e.name,e.attributes,e.innerBlocks)}catch(WE){}return t}function Bf(e,t,n){var r=Object(N.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",o=Object(N.startsWith)(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:".concat(o," ").concat(r,"--\x3e\n")+n+"\n\x3c!-- /wp:".concat(o," --\x3e"):"\x3c!-- wp:".concat(o," ").concat(r,"/--\x3e")}function Uf(e){var t=e.name,n=Vf(e);switch(t){case zd():case Fd():return n;default:return Bf(t,function(e,t){return Object(N.reduce)(e.attributes,(function(e,n,r){var o=t[r];return void 0===o?e:void 0!==n.source?e:"default"in n&&n.default===o?e:(e[r]=o,e)}),{})}(Vd(t),e.attributes),n)}}function Wf(e){return Object(N.castArray)(e).map(Uf).join("\n\n")}var Kf=/[\t\n\r\v\f ]+/g,Yf=/^[\t\n\r\v\f ]*$/,$f=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,qf=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Gf=[].concat(qf,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Zf=[N.identity,function(e){return nh(e).join(" ")}],Xf=/^[\da-z]+$/i,Qf=/^#\d+$/,Jf=/^#x[\da-f]+$/i;var eh=function(){function e(){Oe(this,e)}return Ee(e,[{key:"parse",value:function(e){if(t=e,Xf.test(t)||Qf.test(t)||Jf.test(t))return If("&"+e+";");var t}}]),e}(),th=function(){function e(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}();function nh(e){return e.trim().split(Kf)}function rh(e){return e.attributes.filter((function(e){var t=Ae(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||Object(N.includes)(Gf,n)}))}function oh(e,t){for(var n=e.chars,r=t.chars,o=0;o<Zf.length;o++){var i=Zf[o];if((n=i(n))===(r=i(r)))return!0}return th.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function ih(e){return e.replace($f,"url($1)")}function ah(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t,n=e.split(":"),r=Re(t=n)||ct(t)||Le(),o=r[0],i=r.slice(1).join(":");return[o.trim(),ih(i.trim())]}));return Object(N.fromPairs)(t)}var sh=D({class:function(e,t){return!N.xor.apply(void 0,lt([e,t].map(nh))).length},style:function(e,t){return N.isEqual.apply(void 0,lt([e,t].map(ah)))}},Object(N.fromPairs)(qf.map((function(e){return[e,N.stubTrue]}))));function ch(e,t){if(e.length!==t.length)return th.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=Ae([e,t].map(N.fromPairs),2),r=n[0],o=n[1];for(var i in r){if(!o.hasOwnProperty(i))return th.warning("Encountered unexpected attribute `%s`.",i),!1;var a=r[i],s=o[i],c=sh[i];if(c){if(!c(a,s))return th.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,s,a),!1}else if(a!==s)return th.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,s,a),!1}return!0}var lh={StartTag:function(e,t){return e.tagName!==t.tagName?(th.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):ch.apply(void 0,lt([e,t].map(rh)))},Chars:oh,Comment:oh};function uh(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!Yf.test(t.chars))return t}}function dh(e){try{return new jf(new eh).tokenize(e)}catch(t){th.warning("Malformed HTML detected: %s",e)}return null}function fh(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function hh(e,t,n){var r,o=Ad(e);try{r=Hf(o,t)}catch(WE){return th.error("Block validation failed because an error occurred while generating block content:\n\n%s",WE.toString()),!1}var i=function(e,t){var n,r,o=Ae([e,t].map(dh),2),i=o[0],a=o[1];if(!i||!a)return!1;for(;n=uh(i);){if(!(r=uh(a)))return th.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==r.type)return th.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",r.type,r,n.type,n),!1;var s=lh[n.type];if(s&&!s(n,r))return!1;fh(n,a[0])?uh(a):fh(r,i[0])&&uh(i)}return!(r=uh(a))||(th.warning("Expected %o, instead saw end of content.",r),!1)}(n,r);return i||th.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,r,n),i}function ph(e){for(var t=[],n=0;n<e.length;n++)try{t.push(wh(e[n]))}catch(WE){}return t}function vh(e){var t=function(e){return e}(e);return le(t)}function mh(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?ph(n.childNodes):[]}}var gh={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var n=Object(N.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),r=0;r<n.length;r++){var o=n[r];"string"==typeof o&&"string"==typeof e[e.length-1]?e[e.length-1]+=o:e.push(o)}return e},getChildrenArray:function(e){return e},fromDOM:ph,toHTML:vh,matcher:mh},bh=window.Node,yh=bh.TEXT_NODE,kh=bh.ELEMENT_NODE;function _h(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r.name,i=r.value;t[o]=i}return t}function wh(e){if(e.nodeType===yh)return e.nodeValue;if(e.nodeType!==kh)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:D({},_h(e.attributes),{children:ph(e.childNodes)})}}function Oh(e){return function(t){var n=t;e&&(n=t.querySelector(e));try{return wh(n)}catch(WE){return null}}}new Set(["attribute","html","text","tag"]);var Sh=function(e){return Object(N.flow)([e,function(e){return void 0!==e}])};function Eh(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}function Ch(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=sf(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=Sh(t)),t;case"html":return r=e.selector,o=e.multiline,function(e){var t=e;if(r&&(t=e.querySelector(r)),!t)return"";if(o){for(var n="",i=t.children.length,a=0;a<i;a++){var s=t.children[a];s.nodeName.toLowerCase()===o&&(n+=s.outerHTML)}return n}return t.innerHTML};case"text":return function(e){return sf(e,"textContent")}(e.selector);case"children":return mh(e.selector);case"node":return Oh(e.selector);case"query":var n=Object(N.mapValues)(e.query,Ch);return function(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,(function(e){return af(e,t)}))}}(e.selector,n);case"tag":return Object(N.flow)([sf(e.selector,"nodeName"),function(e){return e.toLowerCase()}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var r,o}function Th(e,t){return af(e,Ch(t))}function xh(e,t,n,r){var o,i=t.type,a=t.enum;switch(t.source){case void 0:o=r?r[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":o=Th(n,t)}return function(e,t){return void 0===t||Eh(e,Object(N.castArray)(t))}(o,i)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(o,a)||(o=void 0),void 0===o?t.default:o}function Dh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Ad(e),o=Object(N.mapValues)(r.attributes,(function(e,r){return xh(r,e,t,n)}));return Yr("blocks.getBlockAttributes",o,r,t,n)}function Mh(e){var t=e.blockName,n=e.attrs,r=e.innerBlocks,o=void 0===r?[]:r,i=e.innerHTML,a=zd(),s=Fd()||a;n=n||{},i=i.trim();var c=t||a;"core/cover-image"===c&&(c="core/cover"),"core/text"!==c&&"core/cover-text"!==c||(c="core/paragraph"),c===a&&(i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var r=e.split("</pre>"),o=r.pop();e="";for(var i=0;i<r.length;i++){var a=r[i],s=a.indexOf("<pre");if(-1!==s){var c="<pre wp-pre-tag-"+i+"></pre>";n.push([c,a.substr(s)+"</pre>"]),e+=a.substr(0,s)+c}else e+=a}e+=o}var l="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=hf(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+l+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+l+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var u=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",u.forEach((function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+l+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+l+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+l+"[^>]*>)\\s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")}))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(function(e,t){return t?e:"<br />\n"}))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+l+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach((function(t){var n=Ae(t,2),r=n[0],o=n[1];e=e.replace(r,o)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}(i).trim());var l=Vd(c);if(!l){var u=i;c&&(i=Bf(c,n,i)),n={originalName:t,originalUndelimitedContent:u},l=Vd(c=s)}o=o.map(Mh);var d=c===a||c===s;if(l&&(i||!d)){var f=$d(c,Dh(l,i,n),o);return d||(f.isValid=hh(l,f.attributes,i)),f.originalContent=i,f=function(e,t){var n=Vd(e.name),r=n.deprecated;if(!r||!r.length)return e;for(var o=e,i=o.originalContent,a=o.innerBlocks,s=0;s<r.length;s++){var c=r[s].isEligible,l=void 0===c?N.stubFalse:c;if(!e.isValid||l(t,a)){var u=Object.assign(Object(N.omit)(n,["attributes","save","supports"]),r[s]),d=Dh(u,i,t);if(hh(u,d,i)){e=D({},e,{isValid:!0});var f=a,h=u.migrate;if(h){var p=Ae(Object(N.castArray)(h(d,a)),2),v=p[0];d=void 0===v?t:v;var m=p[1];f=void 0===m?a:m}e.attributes=d,e.innerBlocks=f}}}return e}(f,n)}}var jh,Ih=(jh=function(e){cf=e,lf=0,uf=[],df=[],pf.lastIndex=0;do{}while(gf());return uf},function(e){return jh(e).reduce((function(e,t){var n=Mh(t);return n&&e.push(n),e}),[])}),Ph={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function Nh(){return Ph}function Rh(e){var t=e.nodeName.toLowerCase();return Nh().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach((function(e){Ph[e].children=Object(N.omit)(Ph,e)}));var Lh=window.Node,Ah=Lh.ELEMENT_NODE,zh=Lh.TEXT_NODE;function Fh(e){var t=e.map((function(e){var t=e.isMatch,n=e.blockName,r=e.schema,o=Wd(n,"anchor");return o||t?Object(N.mapValues)(r,(function(e){var n=e.attributes||[];return o&&(n=[].concat(lt(n),["id"])),D({},e,{attributes:n,isMatch:t||void 0})})):r}));return N.mergeWith.apply(void 0,[{}].concat(lt(t),[function(e,t,n){switch(n){case"children":return"*"===e||"*"===t?"*":D({},e,t);case"attributes":case"require":return[].concat(lt(e||[]),lt(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function Hh(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===zh?!e.nodeValue.trim():e.nodeType!==Ah||("BR"===e.nodeName||!e.hasAttributes()&&Hh(e))}))}function Vh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,function e(t,n,r,o){Array.from(t).forEach((function(t){e(t.childNodes,n,r,o),n.forEach((function(e){r.contains(t)&&e(t,r,o)}))}))}(r.body.childNodes,t,r,n),r.body.innerHTML}function Bh(e,t,n){var r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,function e(t,n,r,o){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!r.hasOwnProperty(i)||r[i].isMatch&&!r[i].isMatch(t))e(t.childNodes,n,r,o),o&&!Rh(t)&&t.nextElementSibling&&ca(n.createElement("br"),t),la(t);else if(t.nodeType===Ah){var a=r[i],s=a.attributes,c=void 0===s?[]:s,l=a.classes,u=void 0===l?[]:l,d=a.children,f=a.require,h=void 0===f?[]:f,p=a.allowEmpty;if(d&&!p&&Hh(t))return void sa(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var n=e.name;"class"===n||Object(N.includes)(c,n)||t.removeAttribute(n)})),t.classList&&t.classList.length)){var v=u.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:N.noop}));Array.from(t.classList).forEach((function(e){v.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===d)return;if(d)h.length&&!t.querySelector(h.join(","))?(e(t.childNodes,n,r,o),la(t)):"BODY"===t.parentNode.nodeName&&Rh(t)?(e(t.childNodes,n,r,o),Array.from(t.childNodes).some((function(e){return!Rh(e)}))&&la(t)):e(t.childNodes,n,d,o);else for(;t.firstChild;)sa(t.firstChild)}}}))}(r.body.childNodes,r,t,n),r.body.innerHTML}var Uh=window.Node,Wh=Uh.ELEMENT_NODE,Kh=Uh.TEXT_NODE,Yh=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),r=t.body,o=n.body;for(r.innerHTML=e;r.firstChild;){var i=r.firstChild;i.nodeType===Kh?i.nodeValue.trim()?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):r.removeChild(i):i.nodeType===Wh?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(o.appendChild(n.createElement("P")),r.removeChild(i.nextSibling)),o.lastChild&&"P"===o.lastChild.nodeName&&o.lastChild.hasChildNodes()?o.lastChild.appendChild(i):r.removeChild(i)):"P"===i.nodeName?Hh(i)?r.removeChild(i):o.appendChild(i):Rh(i)?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):o.appendChild(i):r.removeChild(i)}return o.innerHTML},$h=window.Node.COMMENT_NODE,qh=function(e,t){if(e.nodeType===$h)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var n=e.nodeValue.slice(4).trim(),r=e,o=!1;r=r.nextSibling;)if(r.nodeType===$h&&"noteaser"===r.nodeValue){o=!0,sa(r);break}aa(e,function(e,t,n){var r=n.createElement("wp-block");r.dataset.block="core/more",e&&(r.dataset.customText=e);t&&(r.dataset.noTeaser="");return r}(n,o,t))}}else aa(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Gh(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Zh=function(e){if(Gh(e)){var t=e,n=e.previousElementSibling;if(n&&n.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)n.appendChild(t.firstChild);t.parentNode.removeChild(t)}var r,o=e.parentNode;if(o&&"LI"===o.nodeName&&1===o.children.length&&!/\S/.test((r=o,lt(r.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=o,a=i.previousElementSibling,s=i.parentNode;a?(a.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(o&&Gh(o)){var c=e.previousElementSibling;c?c.appendChild(e):la(e)}}},Xh=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=Yh(e.innerHTML))};var Qh=function(e,t,n){if(function(e,t){var n=e.nodeName.toLowerCase();return"figcaption"!==n&&!Rh(e)&&Object(N.has)(t,["figure","children",n])}(e,n)){var r=e,o=e.parentNode;(function(e,t){var n=e.nodeName.toLowerCase();return Object(N.has)(t,["figure","children","a","children",n])})(e,n)&&"A"===o.nodeName&&1===o.childNodes.length&&(r=e.parentNode);for(var i=r;i&&"P"!==i.nodeName;)i=i.parentElement;var a=t.createElement("figure");i?i.parentNode.insertBefore(a,i):r.parentNode.insertBefore(a,r),a.appendChild(r)}},Jh=n(48),ep=n.n(Jh);function tp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=np(e);r.lastIndex=n;var o=r.exec(t);if(o){if("["===o[1]&&"]"===o[7])return tp(e,t,r.lastIndex);var i={index:o.index,content:o[0],shortcode:op(o)};return o[1]&&(i.content=i.content.slice(1),i.index++),o[7]&&(i.content=i.content.slice(0,-1)),i}}function np(e){return new RegExp("\\[(\\[?)("+e+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var rp=ep()((function(e){var t,n={},r=[],o=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(e=e.replace(/[\u00a0\u200b]/g," ");t=o.exec(e);)t[1]?n[t[1].toLowerCase()]=t[2]:t[3]?n[t[3].toLowerCase()]=t[4]:t[5]?n[t[5].toLowerCase()]=t[6]:t[7]?r.push(t[7]):t[8]?r.push(t[8]):t[9]&&r.push(t[9]);return{named:n,numeric:r}}));function op(e){var t;return t=e[4]?"self-closing":e[6]?"closed":"single",new ip({tag:e[2],attrs:e[3],type:t,content:e[5]})}var ip=Object(N.extend)((function(e){var t=this;Object(N.extend)(this,Object(N.pick)(e||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(N.isString)(n)?this.attrs=rp(n):Object(N.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(N.forEach)(n,(function(e,n){t.set(n,e)})))}),{next:tp,replace:function(e,t,n){var r=arguments;return t.replace(np(e),(function(e,t,o,i,a,s,c,l){if("["===t&&"]"===l)return e;var u=n(op(r));return u?t+u+l:e}))},string:function(e){return new ip(e).string()},regexp:np,attrs:rp,fromMatch:op});Object(N.extend)(ip.prototype,{get:function(e){return this.attrs[Object(N.isNumber)(e)?"numeric":"named"][e]},set:function(e,t){return this.attrs[Object(N.isNumber)(e)?"numeric":"named"][e]=t,this},string:function(){var e="["+this.tag;return Object(N.forEach)(this.attrs.numeric,(function(t){/\s/.test(t)?e+=' "'+t+'"':e+=" "+t})),Object(N.forEach)(this.attrs.named,(function(t,n){e+=" "+n+'="'+t+'"'})),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});var ap=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=ef(tf("from"),(function(e){return"shortcode"===e.type&&Object(N.some)(Object(N.castArray)(e.tag),(function(e){return np(e).test(t)}))}));if(!r)return[t];var o,i=Object(N.castArray)(r.tag),a=Object(N.first)(i);if(o=tp(a,t,n)){var s=t.substr(0,o.index);if(n=o.index+o.content.length,!Object(N.includes)(o.shortcode.content||"","<")&&!/(\n|<p>)\s*$/.test(s))return e(t,n);var c=Object(N.mapValues)(Object(N.pickBy)(r.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(o.shortcode.attrs,o)}));return[s,$d(r.blockName,Dh(D({},Vd(r.blockName),{attributes:r.attributes}),o.shortcode.content,c))].concat(lt(e(t.substr(n))))}return[t]},sp=window.Node.COMMENT_NODE,cp=function(e){e.nodeType===sp&&sa(e)};function lp(e,t){return e.every((function(e){return function(e,t){if(Rh(e))return!0;if(!t)return!1;var n=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(N.difference)([n,t],e).length}))}(e,t)&&lp(Array.from(e.children),t)}))}function up(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var dp=function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var r=Array.from(n.body.children);return!r.some(up)&&lp(r,t)},fp=function(e,t){if("SPAN"===e.nodeName&&e.style){var n=e.style,r=n.fontWeight,o=n.fontStyle,i=n.textDecorationLine,a=n.verticalAlign;"bold"!==r&&"700"!==r||da(t.createElement("strong"),e),"italic"===o&&da(t.createElement("em"),e),"line-through"===i&&da(t.createElement("s"),e),"super"===a?da(t.createElement("sup"),e):"sub"===a&&da(t.createElement("sub"),e)}else"B"===e.nodeName?e=ua(e,"strong"):"I"===e.nodeName?e=ua(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},hp=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},pp=window.parseInt;function vp(e){return"OL"===e.nodeName||"UL"===e.nodeName}var mp=function(e,t){if("P"===e.nodeName){var n=e.getAttribute("style");if(n&&-1!==n.indexOf("mso-list")){var r=/mso-list\s*:[^;]+level([0-9]+)/i.exec(n);if(r){var o=pp(r[1],10)-1||0,i=e.previousElementSibling;if(!i||!vp(i)){var a=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(a),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",a),e.parentNode.insertBefore(c,e)}var l=e.previousElementSibling,u=l.nodeName,d=t.createElement("li"),f=l;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)vp(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);vp(f)||(f=f.appendChild(t.createElement(u))),f.appendChild(d),e.parentNode.removeChild(e)}}}},gp=window.URL,bp=gp.createObjectURL,yp=(gp.revokeObjectURL,{});function kp(e){var t=bp(e);return yp[t]=e,t}var _p=window,wp=_p.atob,Op=_p.File,Sp=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,n=Ae(e.src.split(","),2),r=n[0],o=n[1],i=Ae(r.slice(5).split(";"),1)[0];if(!o||!i)return void(e.src="");try{t=wp(o)}catch(u){return void(e.src="")}for(var a=new Uint8Array(t.length),s=0;s<a.length;s++)a[s]=t.charCodeAt(s);var c=i.replace("/","."),l=new Op([a],c,{type:i});e.src=kp(l)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},Ep=n(128),Cp=new(n.n(Ep).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});var Tp=function(e){return Cp.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,n,r){return"".concat(t,"\n").concat(n,"\n").concat(r)}))}(e))},xp=function(e){"IFRAME"===e.nodeName&&sa(e)},Dp=function(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&la(e)},Mp=window.console;function jp(e){return e=Bh(e=Vh(e,[Dp,fp,cp]),Nh(),{inline:!0}),Mp.log("Processed inline HTML:\n\n",e),e}function Ip(e){var t=e.HTML,n=void 0===t?"":t,r=e.plainText,o=void 0===r?"":r,i=e.mode,a=void 0===i?"AUTO":i,s=e.tagName,c=e.canUserUseUnfilteredHTML,l=void 0!==c&&c;if(n=n.replace(/<meta[^>]+>/,""),"INLINE"!==a){var u=n||o;if(-1!==u.indexOf("\x3c!-- wp:"))return Ih(u)}if(String.prototype.normalize&&(n=n.normalize()),!o||n&&!function(e){return!/<(?!br[ />])/i.test(e)}(n)||(n=Tp(o),"AUTO"===a&&-1===o.indexOf("\n")&&0!==o.indexOf("<p>")&&0===n.indexOf("<p>")&&(a="INLINE")),"INLINE"===a)return jp(n);var d=ap(n),f=d.length>1;if("AUTO"===a&&!f&&dp(n,s))return jp(n);var h=Object(N.filter)(tf("from"),{type:"raw"}).map((function(e){return e.isMatch?e:D({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),p=Nh(),v=Fh(h),m=Object(N.compact)(Object(N.flatMap)(d,(function(e){if("string"!=typeof e)return e;var t=[Dp,mp,hp,Zh,Sp,fp,qh,cp,Qh,Xh];l||t.unshift(xp);var n=D({},v,p);return e=Bh(e=Vh(e,t,v),n),e=Yh(e),Mp.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=ef(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return $d("core/html",Dh("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):$d(o,Dh(o,e.outerHTML))}))}({html:e,rawTransforms:h})})));if("AUTO"===a&&1===m.length){var g=o.trim();if(""!==g&&-1===g.indexOf("\n"))return Bh(Vf(m[0]),p)}return m}function Pp(e){var t=e.HTML,n=void 0===t?"":t;if(-1!==n.indexOf("\x3c!-- wp:"))return Ih(n);var r=ap(n),o=Object(N.filter)(tf("from"),{type:"raw"}).map((function(e){return e.isMatch?e:D({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=Fh(o);return Object(N.compact)(Object(N.flatMap)(r,(function(e){return"string"!=typeof e?e:(e=Vh(e,[Zh,qh,Qh,Xh],i),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=ef(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return $d("core/html",Dh("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):$d(o,Dh(o,e.outerHTML))}))}({html:e=Yh(e),rawTransforms:o}))})))}function Np(){return id("core/blocks").getCategories()}function Rp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(N.map)(t,(function(t,n){var r=Ae(t,3),o=r[0],i=r[1],a=r[2],s=e[n];if(s&&s.name===o)return D({},s,{innerBlocks:Rp(s.innerBlocks,a)});var c=Vd(o),l=function(e,t){return Object(N.mapValues)(t,(function(t,n){return u(e[n],t)}))},u=function(e,t){return n=e,"html"===Object(N.get)(n,["source"])&&Object(N.isArray)(t)?le(t):function(e){return"query"===Object(N.get)(e,["source"])}(e)&&t?t.map((function(t){return l(e.query,t)})):t;var n};return $d(o,l(Object(N.get)(c,["attributes"],{}),i),Rp([],a))})):e}function Lp(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function Ap(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(c=t,!Lp(s=n)||s.type!==c)return!1;var s,c,l=e(n);return rt()(l)?l.then(i,a):i(l),!0}}));n.push((function(e,n){return!!Lp(e)&&(t(e),n(),!0)}));var r=Object(tt.create)(n);return function(e){return new Promise((function(n,o){return r(e,(function(e){Lp(e)&&t(e),n(e)}),o)}))}}function zp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=Ap(e,t.dispatch);return function(e){return function(t){return(r=t)&&"Generator"===r[Symbol.toStringTag]?n(t):e(t);var r}}}}var Fp=function(){return function(e){return function(t){return rt()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},Hp=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Ae(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(lt(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},Vp=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ht.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new ht.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new ht.a(e);return o.delete(t.args),o}return e})),Bp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return Vp(e,t)}return e};function Up(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function Wp(e,t){return void 0!==Up(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function Kp(e,t){return!1===Up(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function Yp(e,t){return!0===Up(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function $p(e){return e}function qp(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Gp(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Zp(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Xp(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Qp(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Jp(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[Hp(n,e),Fp];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(zp(o))}var i=[et.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return qe(Fe()({metadata:Bp,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},m,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(v,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ue(Ve.a.mark((function e(){var t,s;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!Wp(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(qp(o,a)),e.next=9,ev.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Gp(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function ev(e,t,n){return tv.apply(this,arguments)}function tv(){return(tv=Ue(Ve.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var nv=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var rv,ov,iv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var a,s={registerGenericStore:i,stores:n,namespaces:n,subscribe:function(e){return r.push(e),function(){r=Object(N.without)(r,e)}},select:function(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)},dispatch:function(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)},use:function(e,t){return s=D({},s,e(s,t))}};return s.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Jp(e,t,s);return i(e,n),n.store},i("core/data",nv(s)),Object.entries(e).forEach((function(e){var t=Ae(e,2),n=t[0],r=t[1];return s.registerStore(n,r)})),t&&t.subscribe(o),a=s,Object(N.mapValues)(a,(function(e,t){return"function"!=typeof e?e:function(){return s[t].apply(null,arguments)}}))}(),av={getItem:function(e){return rv&&rv[e]?rv[e]:null},setItem:function(e,t){rv||av.clear(),rv[e]=String(t)},clear:function(){rv=Object.create(null)}},sv=av;try{(ov=window.localStorage).setItem("__wpDataTestLocalStorage",""),ov.removeItem("__wpDataTestLocalStorage")}catch(WE){ov=sv}var cv=ov,lv="WP_DATA",uv=function(e){return function(t,n){return n.nextState===t?t:e(t,n)}};function dv(e){var t,n=e.storage,r=void 0===n?cv:n,o=e.storageKey,i=void 0===o?lv:o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(WE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var fv=function(e,t){var n=dv(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o;if(Array.isArray(r)){var i=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});o=uv(Fe()(i))}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var r=o(a,{nextState:e()});r!==a&&(n.set(t,r),a=r)}}(a.getState,t,r.persist)),a}}};fv.__unstableMigrate=function(e){var t=dv(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var hv=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};hv((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!nr()(e,this.props)||!nr()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!nr()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());hv((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),hv((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var pv=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,vv=Object(I.createContext)(iv),mv=vv.Consumer,gv=(vv.Provider,mv);var bv=Object(I.createContext)(!1);bv.Consumer,bv.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);pv(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,hv((function(e){return function(t){return Object(I.createElement)(gv,null,(function(n){return Object(I.createElement)(e,Ne({},t,{registry:n}))}))}}),"withRegistry");function yv(e){return e.isRegistrySelector=!0,e}function kv(e){return e.isRegistryControl=!0,e}iv.select,iv.dispatch,iv.subscribe,iv.registerGenericStore;var _v=iv.registerStore,wv=(iv.use,function(e){return function(t){return function(n,r){return void 0===n||e(r)?t(n,r):n}}}),Ov=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}},Sv=function(e){return function(t){return function(n,r){return t(n,e(r))}}};function Ev(e){return{type:"RECEIVE_ITEMS",items:Object(N.castArray)(e)}}var Cv=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(N.isObjectLike)(n)&&t.set(n,r)),r}}((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r<n.length;r++){var o=n[r],i=e[o];switch(o){case"page":t[o]=Number(i);break;case"per_page":t.perPage=Number(i);break;default:t.stableKey+=(t.stableKey?"&":"")+ye("",x({},o,i)).slice(1)}}return t})),Tv=new WeakMap;function xv(e,t){var n=Cv(t),r=n.stableKey,o=n.page,i=n.perPage;if(!e.queries[r])return null;var a=e.queries[r];if(!a)return null;for(var s=-1===i?0:(o-1)*i,c=-1===i?a.length:Math.min(s+i,a.length),l=[],u=s;u<c;u++){var d=a[u];l.push(e.items[d])}return l}var Dv=yo((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Tv.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new ht.a,Tv.set(e,n);var o=xv(e,t);return n.set(t,o),o}));var Mv=function(e){function t(e,n){var r=e.headers,o=void 0===r?{}:r;for(var i in o)if("x-wp-nonce"===i.toLowerCase())return n(e);return n(D({},e,{headers:D({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},jv=function(e,t){var n,r,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),o=(r=e.endpoint.replace(/^\//,""))?n+"/"+r:n),delete e.namespace,delete e.endpoint,t(D({},e,{path:o}))},Iv=function(e){return function(t,n){return jv(t,(function(t){var r,o=t.url,i=t.path;return"string"==typeof i&&(r=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(i=i.replace("?","&")),o=r+i),n(D({},t,{url:o}))}))}},Pv=function(e){return function(t,n){var r=t.parse,o=void 0===r||r;if("string"==typeof t.path){var i=t.method||"GET",a=function(e){var t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):r}(t.path);if(o&&"GET"===i&&e[a])return Promise.resolve(e[a].body);if("OPTIONS"===i&&e[i]&&e[i][a])return Promise.resolve(e[i][a])}return n(t)}},Nv=function(e){return e.json?e.json():Promise.reject(e)},Rv=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},Lv=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),n=e.url&&-1!==e.url.indexOf("per_page=-1");return t||n},Av=function(){var e=Ue(Ve.a.mark((function e(t,n){var r,o,i,a,s,c;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",n(t));case 2:if(Lv(t)){e.next=4;break}return e.abrupt("return",n(t));case 4:return e.next=6,n(D({},(u={per_page:100},d=void 0,f=void 0,d=(l=t).path,f=l.url,D({},j(l,["path","url"]),{url:f&&ye(f,u),path:d&&ye(d,u)})),{parse:!1}));case 6:return r=e.sent,e.next=9,Nv(r);case 9:if(o=e.sent,Array.isArray(o)){e.next=12;break}return e.abrupt("return",o);case 12:if(i=Rv(r)){e.next=15;break}return e.abrupt("return",o);case 15:a=[].concat(o);case 16:if(!i){e.next=27;break}return e.next=19,n(D({},t,{path:void 0,url:i,parse:!1}));case 19:return s=e.sent,e.next=22,Nv(s);case 22:c=e.sent,a=a.concat(c),i=Rv(s),e.next=16;break;case 27:return e.abrupt("return",a);case 28:case"end":return e.stop()}var l,u,d,f}),e)})));return function(t,n){return e.apply(this,arguments)}}(),zv=new Set(["PATCH","PUT","DELETE"]),Fv="GET";var Hv={Accept:"application/json, */*;q=0.1"},Vv={credentials:"include"},Bv=[function(e,t){return"string"!=typeof e.url||ke(e.url,"_locale")||(e.url=ye(e.url,{_locale:"user"})),"string"!=typeof e.path||ke(e.path,"_locale")||(e.path=ye(e.path,{_locale:"user"})),t(e,t)},jv,function(e,t){var n=e.method,r=void 0===n?Fv:n;return zv.has(r.toUpperCase())&&(e=D({},e,{headers:D({},e.headers,{"X-HTTP-Method-Override":r,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},Av];var Uv=function(e){var t=e.url,n=e.path,r=e.data,o=e.parse,i=void 0===o||o,a=j(e,["url","path","data","parse"]),s=e.body,c=e.headers;c=D({},Hv,c),r&&(s=JSON.stringify(r),c["Content-Type"]="application/json");return window.fetch(t||n,D({},Vv,a,{body:s,headers:c})).then((function(e){if(e.status>=200&&e.status<300)return e;throw e})).then((function(e){return i?204===e.status?null:e.json?e.json():Promise.reject(e):e})).catch((function(e){if(!i)throw e;var t={code:"invalid_json",message:he("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t})).then((function(e){var t={code:"unknown_error",message:he("An unknown error occurred.")};throw e||t}))}))};function Wv(e){var t=[].concat(Bv,[Uv]);return function e(n){return function(r){var o=t[n];return n===t.length-1?o(r):o(r,e(n+1))}}(0)(e)}Wv.use=function(e){Bv.unshift(e)},Wv.setFetchHandler=function(e){Uv=e},Wv.createNonceMiddleware=Mv,Wv.createPreloadingMiddleware=Pv,Wv.createRootURLMiddleware=Iv,Wv.fetchAllMiddleware=Av;var Kv=Wv;function Yv(e){return{type:"API_FETCH",request:e}}function $v(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"SELECT",selectorName:e,args:n}}function qv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"RESOLVE_SELECT",selectorName:e,args:n}}var Gv={API_FETCH:function(e){var t=e.request;return Kv(t)},SELECT:kv((function(e){return function(t){var n,r=t.selectorName,o=t.args;return(n=e.select("core"))[r].apply(n,lt(o))}})),RESOLVE_SELECT:kv((function(e){return function(t){var n=t.selectorName,r=t.args;return new Promise((function(t){var o=function(){return e.select("core/data").hasFinishedResolution("core",n,r)},i=function(){return e.select("core")[n].apply(null,r)},a=i();if(o())return t(a);var s=e.subscribe((function(){o()&&(s(),t(i()))}))}))}}))},Zv=Ve.a.mark(rm);function Xv(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(N.castArray)(t),queryID:e}}function Qv(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function Jv(e){return{type:"ADD_ENTITIES",entities:e}}function em(e,t,n,r){var o,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return o=r?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return D({},Ev(e),{query:t})}(n,r):Ev(n),D({},o,{kind:e,name:t,invalidateCache:i})}function tm(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function nm(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function rm(e,t,n){var r,o,i,a,s;return Ve.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,mm(e);case 2:if(r=c.sent,o=Object(N.find)(r,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return i=o.key||um,a=n[i],c.next=10,Yv({path:"".concat(o.baseURL).concat(a?"/"+a:""),method:a?"PUT":"POST",data:n});case 10:return s=c.sent,c.next=13,em(e,t,s,void 0,!0);case 13:return c.abrupt("return",s);case 14:case"end":return c.stop()}}),Zv)}function om(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function im(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function am(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(N.castArray)(t)}}var sm=Ve.a.mark(hm),cm=Ve.a.mark(pm),lm=Ve.a.mark(mm),um="id",dm=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas"}],fm=[{name:"postType",loadEntities:hm},{name:"taxonomy",loadEntities:pm}];function hm(){var e;return Ve.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Yv({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(N.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),sm)}function pm(){var e;return Ve.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Yv({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(N.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),cm)}var vm=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(N.find)(dm,{kind:e,name:t}),i="root"===e?"":Object(N.upperFirst)(Object(N.camelCase)(e)),a=Object(N.upperFirst)(Object(N.camelCase)(t))+(r?"s":""),s=r&&o.plural?Object(N.upperFirst)(Object(N.camelCase)(o.plural)):a;return"".concat(n).concat(i).concat(s)};function mm(e){var t,n;return Ve.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,$v("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(N.find)(fm,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,Jv(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),lm)}function gm(e,t,n,r){for(var o=(n-1)*r,i=Math.max(e.length,o+t.length),a=new Array(i),s=0;s<i;s++){var c=s>=o&&s<o+t.length;a[s]=c?t[s-o]:e[s]}return a}var bm=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:Ye.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:Ye.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+Ye.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(s){i=s}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=e[c],d=l(u,t);if(void 0===d){var f=Ge(c,t);throw new Error(f)}o[c]=d,r=r||d!==u}return r?o:e}}({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return D({},e,Object(N.keyBy)(t.items,t.key||um))}return e},queries:Object(N.flowRight)([wv((function(e){return"query"in e})),Sv((function(e){return e.query?D({},e,Cv(e.query)):e})),Ov("stableKey")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,o=t.perPage,i=t.key,a=void 0===i?um:i;return"RECEIVE_ITEMS"!==n?e:gm(e||[],Object(N.map)(t.items,a),r,o)}))});function ym(e){return Object(N.flowRight)([wv((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),Sv((function(t){return D({},t,{key:e.key||um})}))])(bm)}function km(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:dm,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(lt(e),lt(t.entities))}return e}var _m=Fe()({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return D({},e,x({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:D({},e.byId,Object(N.keyBy)(t.users,"id")),queries:D({},e.queries,x({},t.queryID,Object(N.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return D({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=km(e.config,t),r=e.reducer;if(!r||n!==e.config){var o=Object(N.groupBy)(n,"kind");r=Fe()(Object.entries(o).reduce((function(e,t){var n=Ae(t,2),r=n[0],o=n[1],i=Fe()(o.reduce((function(e,t){return D({},e,x({},t.name,ym(t)))}),{}));return e[r]=i,e}),{}))}var i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":return D({},e,x({},t.url,t.preview))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return D({},e,x({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":return D({},e,x({},t.postId,t.autosaves))}return e}}),wm=yv((function(e){return function(t,n){return e("core/data").isResolving("core","getEmbedPreview",[n])}}));function Om(e){return Em(e,"authors")}function Sm(e){return e.currentUser}var Em=yo((function(e,t){var n=e.users.queries[t];return Object(N.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Cm(e,t){return Object(N.filter)(e.entities.config,{kind:t})}function Tm(e,t,n){return Object(N.find)(e.entities.config,{kind:t,name:n})}function xm(e,t,n,r){return Object(N.get)(e.entities.data,[t,n,"items",r])}function Dm(e,t,n,r){var o=Object(N.get)(e.entities.data,[t,n]);return o?Dv(o,r):[]}function Mm(e){return e.themeSupports}function jm(e,t){return e.embedPreviews[t]}function Im(e,t){var n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function Pm(e){return qr("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(N.defaultTo)(Nm(e,"create","media"),!0)}function Nm(e,t,n,r){var o=Object(N.compact)([t,n,r]).join("/");return Object(N.get)(e,["userPermissions",o])}function Rm(e,t,n){return e.autosaves[n]}function Lm(e,t,n,r){if(void 0!==r){var o=e.autosaves[n];return Object(N.find)(o,{author:r})}}var Am=yv((function(e){return function(t,n,r){return e("core").hasFinishedResolution("getAutosaves",[n,r])}})),zm=Ve.a.mark(qm),Fm=Ve.a.mark(Gm),Hm=Ve.a.mark(Zm),Vm=Ve.a.mark(Xm),Bm=Ve.a.mark(Qm),Um=Ve.a.mark(Jm),Wm=Ve.a.mark(eg),Km=Ve.a.mark(tg),Ym=Ve.a.mark(ng),$m=Ve.a.mark(rg);function qm(){var e;return Ve.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Yv({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,Xv("authors",e);case 5:case"end":return t.stop()}}),zm)}function Gm(){var e;return Ve.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Yv({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,Qv(e);case 5:case"end":return t.stop()}}),Fm)}function Zm(e,t,n){var r,o,i;return Ve.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,mm(e);case 2:if(r=a.sent,o=Object(N.find)(r,{kind:e,name:t})){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,Yv({path:"".concat(o.baseURL,"/").concat(n,"?context=edit")});case 8:return i=a.sent,a.next=11,em(e,t,i);case 11:case"end":return a.stop()}}),Hm)}function Xm(e,t){var n,r,o,i,a,s=arguments;return Ve.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:{},c.next=3,mm(e);case 3:if(r=c.sent,o=Object(N.find)(r,{kind:e,name:t})){c.next=7;break}return c.abrupt("return");case 7:return i=ye(o.baseURL,D({},n,{context:"edit"})),c.next=10,Yv({path:i});case 10:return a=c.sent,c.next=13,em(e,t,Object.values(a),n);case 13:case"end":return c.stop()}}),Vm)}function Qm(){var e;return Ve.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Yv({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,tm(e[0].theme_supports);case 5:case"end":return t.stop()}}),Bm)}function Jm(e){var t;return Ve.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,Yv({path:ye("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,nm(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,nm(e,!1);case 12:case"end":return n.stop()}}),Um,null,[[0,8]])}function eg(){return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return qr("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(tg("create","media"),"t0",2);case 2:case"end":return e.stop()}}),Wm)}function tg(e,t,n){var r,o,i,a,s,c;return Ve.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){l.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return o=n?"/wp/v2/".concat(t,"/").concat(n):"/wp/v2/".concat(t),l.prev=5,l.next=8,Yv({path:o,method:n?"GET":"OPTIONS",parse:!1});case 8:i=l.sent,l.next=14;break;case 11:return l.prev=11,l.t0=l.catch(5),l.abrupt("return");case 14:return a=Object(N.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(N.get)(i,["headers","Allow"],""),s=Object(N.compact)([e,t,n]).join("/"),c=Object(N.includes)(a,r),l.next=19,im(s,c);case 19:case"end":return l.stop()}}),Km,null,[[5,11]])}function ng(e,t){var n,r,o;return Ve.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,qv("getPostType",e);case 2:return n=i.sent,r=n.rest_base,i.next=6,Yv({path:"/wp/v2/".concat(r,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(o=i.sent)||!o.length){i.next=10;break}return i.next=10,am(t,o);case 10:case"end":return i.stop()}}),Ym)}function rg(e,t){return Ve.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,qv("getAutosaves",e,t);case 2:case"end":return n.stop()}}),$m)}Xm.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var og=dm.reduce((function(e,t){var n=t.kind,r=t.name;return e[vm(n,r)]=function(e,t){return xm(e,n,r,t)},e[vm(n,r,"get",!0)]=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return Dm.apply(b,[e,n,r].concat(o))},e}),{}),ig=dm.reduce((function(e,t){var n=t.kind,r=t.name;e[vm(n,r)]=function(e){return Zm(n,r,e)};var o=vm(n,r,"get",!0);return e[o]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Xm.apply(y,[n,r].concat(t))},e[o].shouldInvalidate=function(e){for(var t,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(t=Xm).shouldInvalidate.apply(t,[e,n,r].concat(i))},e}),{});function ag(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function sg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(c=t,!ag(s=n)||s.type!==c)return!1;var s,c,l=e(n);return rt()(l)?l.then(i,a):i(l),!0}}));n.push((function(e,n){return!!ag(e)&&(t(e),n(),!0)}));var r=Object(tt.create)(n);return function(e){return new Promise((function(n,o){return r(e,(function(e){ag(e)&&t(e),n(e)}),o)}))}}function cg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=sg(e,t.dispatch);return function(e){return function(t){return(r=t)&&"Generator"===r[Symbol.toStringTag]?n(t):e(t);var r}}}}_v("core",{reducer:_m,controls:Gv,actions:D({},g,dm.reduce((function(e,t){var n=t.kind,r=t.name;return e[vm(n,r,"save")]=function(e){return rm(n,r,e)},e}),{})),selectors:D({},b,og),resolvers:D({},y,ig)});var lg=function(){return function(e){return function(t){return rt()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},ug=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Ae(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(lt(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},dg=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ht.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new ht.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new ht.a(e);return o.delete(t.args),o}return e})),fg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return dg(e,t)}return e};function hg(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function pg(e,t){return void 0!==hg(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function vg(e,t){return!1===hg(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function mg(e,t){return!0===hg(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function gg(e){return e}function bg(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function yg(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function kg(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function _g(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function wg(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Og(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[ug(n,e),lg];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(cg(o))}var i=[et.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return qe(Fe()({metadata:fg,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},_,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(k,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ue(Ve.a.mark((function e(){var t,s;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!pg(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(bg(o,a)),e.next=9,Sg.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(yg(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Sg(e,t,n){return Eg.apply(this,arguments)}function Eg(){return(Eg=Ue(Ve.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Cg=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Tg,xg,Dg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var a,s={registerGenericStore:i,stores:n,namespaces:n,subscribe:function(e){return r.push(e),function(){r=Object(N.without)(r,e)}},select:function(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)},dispatch:function(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)},use:function(e,t){return s=D({},s,e(s,t))}};return s.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Og(e,t,s);return i(e,n),n.store},i("core/data",Cg(s)),Object.entries(e).forEach((function(e){var t=Ae(e,2),n=t[0],r=t[1];return s.registerStore(n,r)})),t&&t.subscribe(o),a=s,Object(N.mapValues)(a,(function(e,t){return"function"!=typeof e?e:function(){return s[t].apply(null,arguments)}}))}(),Mg={getItem:function(e){return Tg&&Tg[e]?Tg[e]:null},setItem:function(e,t){Tg||Mg.clear(),Tg[e]=String(t)},clear:function(){Tg=Object.create(null)}},jg=Mg;try{(xg=window.localStorage).setItem("__wpDataTestLocalStorage",""),xg.removeItem("__wpDataTestLocalStorage")}catch(WE){xg=jg}var Ig=xg,Pg="WP_DATA",Ng=function(e){return function(t,n){return n.nextState===t?t:e(t,n)}};function Rg(e){var t,n=e.storage,r=void 0===n?Ig:n,o=e.storageKey,i=void 0===o?Pg:o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(WE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Lg=function(e,t){var n=Rg(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o;if(Array.isArray(r)){var i=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});o=Ng(Fe()(i))}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var r=o(a,{nextState:e()});r!==a&&(n.set(t,r),a=r)}}(a.getState,t,r.persist)),a}}};Lg.__unstableMigrate=function(e){var t=Rg(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Ag=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},zg=function(e){return Ag((function(t){return function(n){return e(n)?Object(I.createElement)(t,n):null}}),"ifCondition")},Fg=Ag((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!nr()(e,this.props)||!nr()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!nr()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());Ag((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Ag((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var Hg=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Vg=Object(I.createContext)(Dg),Bg=Vg.Consumer,Ug=(Vg.Provider,Bg);function Wg(){return Object(I.useContext)(Vg)}var Kg=Object(I.createContext)(!1);Kg.Consumer,Kg.Provider;var Yg="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,$g=function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);Hg(r)};return{add:function(o,i){t.has(o)||e.push(o),t.set(o,i),n||(n=!0,Hg(r))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}();function qg(e,t){var n,r=Object(I.useCallback)(e,t),o=Wg(),i=Object(I.useContext)(Kg),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Ae(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(WE){var h="An error occurred while running 'mapSelect': ".concat(WE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return Yg((function(){c.current=r,l.current!==i&&(l.current=i,$g.flush(a)),u.current=n,d.current=void 0,f.current=!0})),Yg((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(tr.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(WE){d.current=WE}s({})}};l.current?$g.add(a,e):e();var t=o.subscribe((function(){l.current?$g.add(a,e):e()}));return function(){f.current=!1,t(),$g.flush(a)}}),[o]),n}var Gg=function(e){return Ag((function(t){return Fg((function(n){var r=qg((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Ne({},n,r))}))}),"withSelect")};"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Ag((function(e){return function(t){return Object(I.createElement)(Ug,null,(function(n){return Object(I.createElement)(e,Ne({},t,{registry:n}))}))}}),"withRegistry");Dg.select;var Zg=Dg.dispatch,Xg=(Dg.subscribe,Dg.registerGenericStore,Dg.registerStore);Dg.use;function Qg(e){return{type:"SET_IS_MATCHING",values:e}}function Jg(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}Xg("core/viewport",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_MATCHING":return t.values}return e},actions:w,selectors:O});var eb=function(e){return Ag(Gg((function(t){return Object(N.mapValues)(e,(function(e){return t("core/viewport").isViewportMatch(e)}))})),"withViewportMatch")},tb=function(e){return Ag(Object(N.flowRight)([eb({isViewportMatch:e}),zg((function(e){return e.isViewportMatch}))]),"ifViewportMatches")},nb={"<":"max-width",">=":"min-width"},rb=Object(N.debounce)((function(){var e=Object(N.mapValues)(ob,(function(e){return e.matches}));Zg("core/viewport").setIsMatching(e)}),{leading:!0}),ob=Object(N.reduce)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},(function(e,t,n){return Object(N.forEach)(nb,(function(r,o){var i=window.matchMedia("(".concat(r,": ").concat(t,"px)"));i.addListener(rb);var a=[o,n].join(" ");e[a]=i})),e}),{});function ib(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function ab(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(c=t,!ib(s=n)||s.type!==c)return!1;var s,c,l=e(n);return rt()(l)?l.then(i,a):i(l),!0}}));n.push((function(e,n){return!!ib(e)&&(t(e),n(),!0)}));var r=Object(tt.create)(n);return function(e){return new Promise((function(n,o){return r(e,(function(e){ib(e)&&t(e),n(e)}),o)}))}}function sb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=ab(e,t.dispatch);return function(e){return function(t){return(r=t)&&"Generator"===r[Symbol.toStringTag]?n(t):e(t);var r}}}}window.addEventListener("orientationchange",rb),rb(),rb.flush();var cb=function(){return function(e){return function(t){return rt()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},lb=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Ae(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(lt(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},ub=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new ht.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new ht.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new ht.a(e);return o.delete(t.args),o}return e})),db=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return ub(e,t)}return e};function fb(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function hb(e,t){return void 0!==fb(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function pb(e,t){return!1===fb(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function vb(e,t){return!0===fb(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function mb(e){return e}function gb(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function bb(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function yb(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function kb(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function _b(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function wb(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[lb(n,e),cb];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(sb(o))}var i=[et.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return qe(Fe()({metadata:db,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},E,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(S,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ue(Ve.a.mark((function e(){var t,s;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!hb(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(gb(o,a)),e.next=9,Ob.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(bb(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Ob(e,t,n){return Sb.apply(this,arguments)}function Sb(){return(Sb=Ue(Ve.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Eb=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function Cb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}function i(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var a,s={registerGenericStore:i,stores:n,namespaces:n,subscribe:function(e){return r.push(e),function(){r=Object(N.without)(r,e)}},select:function(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)},dispatch:function(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)},use:function(e,t){return s=D({},s,e(s,t))}};return s.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=wb(e,t,s);return i(e,n),n.store},i("core/data",Eb(s)),Object.entries(e).forEach((function(e){var t=Ae(e,2),n=t[0],r=t[1];return s.registerStore(n,r)})),t&&t.subscribe(o),a=s,Object(N.mapValues)(a,(function(e,t){return"function"!=typeof e?e:function(){return s[t].apply(null,arguments)}}))}var Tb,xb,Db=Cb(),Mb={getItem:function(e){return Tb&&Tb[e]?Tb[e]:null},setItem:function(e,t){Tb||Mb.clear(),Tb[e]=String(t)},clear:function(){Tb=Object.create(null)}},jb=Mb;try{(xb=window.localStorage).setItem("__wpDataTestLocalStorage",""),xb.removeItem("__wpDataTestLocalStorage")}catch(WE){xb=jb}var Ib=xb,Pb="WP_DATA",Nb=function(e){return function(t,n){return n.nextState===t?t:e(t,n)}};function Rb(e){var t,n=e.storage,r=void 0===n?Ib:n,o=e.storageKey,i=void 0===o?Pb:o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(WE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Lb=function(e,t){var n=Rb(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o;if(Array.isArray(r)){var i=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});o=Nb(Fe()(i))}else o=function(e,t){return t.nextState};var a=o(void 0,{nextState:e()});return function(){var r=o(a,{nextState:e()});r!==a&&(n.set(t,r),a=r)}}(a.getState,t,r.persist)),a}}};Lb.__unstableMigrate=function(e){var t=Rb(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Ab=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},zb=function(e){return Ab((function(t){return function(n){return e(n)?Object(I.createElement)(t,n):null}}),"ifCondition")},Fb=Ab((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e,t){return!nr()(e,this.props)||!nr()(t,this.state)}}]),t}(e):function(t){function n(){return Oe(this,n),Te(this,xe(n).apply(this,arguments))}return Me(n,t),Ee(n,[{key:"shouldComponentUpdate",value:function(e){return!nr()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");new(function(){function e(){Oe(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Ee(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());var Hb=Ab((function(e){var t=0;return(function(n){function r(){var e;return Oe(this,r),(e=Te(this,xe(r).apply(this,arguments))).instanceId=t++,e}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Vb=Ab((function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(Ce(e)),e.clearTimeout=e.clearTimeout.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Ne({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var Bb=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Ub=Object(I.createContext)(Db),Wb=Ub.Consumer,Kb=Ub.Provider,Yb=Wb,$b=Kb;function qb(){return Object(I.useContext)(Ub)}var Gb=Object(I.createContext)(!1),Zb=(Gb.Consumer,Gb.Provider);var Xb="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Qb=function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);Bb(r)};return{add:function(o,i){t.has(o)||e.push(o),t.set(o,i),n||(n=!0,Bb(r))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}();function Jb(e,t){var n,r=Object(I.useCallback)(e,t),o=qb(),i=Object(I.useContext)(Gb),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Ae(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(WE){var h="An error occurred while running 'mapSelect': ".concat(WE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return Xb((function(){c.current=r,l.current!==i&&(l.current=i,Qb.flush(a)),u.current=n,d.current=void 0,f.current=!0})),Xb((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(tr.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(WE){d.current=WE}s({})}};l.current?Qb.add(a,e):e();var t=o.subscribe((function(){l.current?Qb.add(a,e):e()}));return function(){f.current=!1,t(),Qb.flush(a)}}),[o]),n}var ey=function(e){return Ab((function(t){return Fb((function(n){var r=Jb((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Ne({},n,r))}))}),"withSelect")},ty="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,ny=function(e,t){var n=qb(),r=Object(I.useRef)(e);return ty((function(){r.current=e})),Object(I.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(lt(t)))},ry=function(e){return Ab((function(t){return function(n){var r=ny((function(t,r){return e(t,n,r)}),[]);return Object(I.createElement)(t,Ne({},n,r))}}),"withDispatch")},oy=Ab((function(e){return function(t){return Object(I.createElement)(Yb,null,(function(n){return Object(I.createElement)(e,Ne({},t,{registry:n}))}))}}),"withRegistry");Db.select,Db.dispatch,Db.subscribe,Db.registerGenericStore;var iy=Db.registerStore,ay=(Db.use,{insertUsage:{}}),sy={alignWide:!1,colors:[{name:he("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:he("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:he("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:he("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:he("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:he("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:he("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:he("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:he("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:he("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:he("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:ve("Small","font size name"),size:13,slug:"small"},{name:ve("Normal","font size name"),size:16,slug:"normal"},{name:ve("Medium","font size name"),size:20,slug:"medium"},{name:ve("Large","font size name"),size:36,slug:"large"},{name:ve("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:he("Thumbnail")},{slug:"medium",label:he("Medium")},{slug:"large",label:he("Large")},{slug:"full",label:he("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1};function cy(e,t,n){return[].concat(lt(e.slice(0,n)),lt(Object(N.castArray)(t)),lt(e.slice(n)))}function ly(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=lt(e);return o.splice(t,r),cy(o,e.slice(t,t+r),n)}function uy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=x({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,uy(o,r))})),n}function dy(e,t){for(var n={},r=lt(e);r.length;){var o=r.shift(),i=o.innerBlocks,a=j(o,["innerBlocks"]);r.push.apply(r,lt(i)),n[a.clientId]=t(a)}return n}function fy(e){return dy(e,(function(e){return Object(N.omit)(e,"attributes")}))}function hy(e){return dy(e,(function(e){return e.attributes}))}function py(e,t){return e===t?D({},e):t}function vy(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(N.isEqual)(Object(N.keys)(n),Object(N.keys)(r)));var n,r}var my=Object(N.flow)(Fe.a,(function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=lt(n.clientIds),o=0;o<r.length;o++)r.push.apply(r,lt(t.order[r[o]]));n=D({},n,{clientIds:r})}return e(t,n)}}),(function(e){return function(t,n){if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);var r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",clientIds:t.order[n.rootClientId]}));var o=r;return n.blocks.length&&(o=e(o,D({},n,{type:"INSERT_BLOCKS",index:0}))),o}}),(function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(N.reduce)(t[n],(function(n,r){return[].concat(lt(n),[r],lt(e(t,r)))}),[])}(t.order);return D({},t,{byClientId:D({},Object(N.omit)(t.byClientId,r),fy(n.blocks)),attributes:D({},Object(N.omit)(t.attributes,r),hy(n.blocks)),order:D({},Object(N.omit)(t.order,r),uy(n.blocks))})}return e(t,n)}}),(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=D({},t)).attributes=Object(N.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?D({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var a=Object(N.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===a?n:D({},o,{isPersistentChange:a})}return o=D({},o,{isPersistentChange:i||!vy(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return fy(t.blocks);case"RECEIVE_BLOCKS":return D({},e,fy(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(N.omit)(t.updates,"attributes");return Object(N.isEmpty)(n)?e:D({},e,x({},t.clientId,D({},e[t.clientId],n)));case"INSERT_BLOCKS":return D({},e,fy(t.blocks));case"REPLACE_BLOCKS":return t.blocks?D({},Object(N.omit)(e,t.clientIds),fy(t.blocks)):e;case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return hy(t.blocks);case"RECEIVE_BLOCKS":return D({},e,hy(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?D({},e,x({},t.clientId,D({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(N.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=py(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:D({},e,x({},t.clientId,n));case"INSERT_BLOCKS":return D({},e,hy(t.blocks));case"REPLACE_BLOCKS":return t.blocks?D({},Object(N.omit)(e,t.clientIds),hy(t.blocks)):e;case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return uy(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Object(N.omit)(uy(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=uy(t.blocks,r),a=t.index,s=void 0===a?o.length:a;return D({},e,i,x({},r,cy(o,i[r],s)));case"MOVE_BLOCK_TO_POSITION":var c,l=t.fromRootClientId,u=void 0===l?"":l,d=t.toRootClientId,f=void 0===d?"":d,h=t.clientId,p=t.index,v=void 0===p?e[f].length:p;if(u===f){var m=e[f],g=m.indexOf(h);return D({},e,x({},f,ly(e[f],g,v)))}return D({},e,(x(c={},u,Object(N.without)(e[u],h)),x(c,f,cy(e[f],h,v)),c));case"MOVE_BLOCKS_UP":var b=t.clientIds,y=t.rootClientId,k=void 0===y?"":y,_=Object(N.first)(b),w=e[k];if(!w.length||_===Object(N.first)(w))return e;var O=w.indexOf(_);return D({},e,x({},k,ly(w,O,O-1,b.length)));case"MOVE_BLOCKS_DOWN":var S=t.clientIds,E=t.rootClientId,C=void 0===E?"":E,T=Object(N.first)(S),M=Object(N.last)(S),j=e[C];if(!j.length||M===Object(N.last)(j))return e;var I=j.indexOf(T);return D({},e,x({},C,ly(j,I,I+1,S.length)));case"REPLACE_BLOCKS":var P=t.clientIds;if(!t.blocks)return e;var R=uy(t.blocks);return Object(N.flow)([function(e){return Object(N.omit)(e,P)},function(e){return D({},e,Object(N.omit)(R,""))},function(e){return Object(N.mapValues)(e,(function(e){return Object(N.reduce)(e,(function(e,t){return t===P[0]?[].concat(lt(e),lt(R[""])):(-1===P.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS":return Object(N.flow)([function(e){return Object(N.omit)(e,t.clientIds)},function(e){return Object(N.mapValues)(e,(function(e){return N.without.apply(void 0,[e].concat(lt(t.clientIds)))}))}])(e)}return e}});var gy={},by={start:gy,end:gy,isMultiSelecting:!1,isEnabled:!0,initialPosition:null};var yy=Fe()({blocks:my,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:by,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return by;case"START_MULTI_SELECT":return e.isMultiSelecting?e:D({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?D({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return D({},by,{isMultiSelecting:e.isMultiSelecting,start:{clientId:t.start},end:{clientId:t.end}});case"SELECT_BLOCK":return t.clientId===e.start.clientId&&t.clientId===e.end.clientId?e:D({},by,{initialPosition:t.initialPosition,start:{clientId:t.clientId},end:{clientId:t.clientId}});case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?D({},by,{start:{clientId:t.blocks[0].clientId},end:{clientId:t.blocks[0].clientId}}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start.clientId)?by:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.start.clientId&&r.clientId===e.end.clientId?e:D({},by,{start:{clientId:r.clientId},end:{clientId:r.clientId}}):by;case"TOGGLE_SELECTION":return D({},by,{isEnabled:t.isSelectionEnabled});case"SELECTION_CHANGE":return D({},by,{start:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},end:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return D({},e,x({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(N.isEqual)(e[n],t.settings)?e:D({},e,x({},n,t.settings)):e.hasOwnProperty(n)?Object(N.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return D({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sy,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return D({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ay,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Kd(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),D({},e,{insertUsage:D({},e.insertUsage,x({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e}}),ky=n(129),_y=n.n(ky),wy=n(130),Oy=n.n(wy);function Sy(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"SELECT",storeName:e,selectorName:t,args:r}}var Ey,Cy={SELECT:(Ey=function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,lt(i))}},Ey.isRegistryControl=!0,Ey)},Ty=Ve.a.mark(Ny),xy=Ve.a.mark(Hy),Dy=Ve.a.mark(Vy),My=Ve.a.mark($y),jy=Ve.a.mark(Qy),Iy=Ve.a.mark(ek),Py=Ve.a.mark(ak);function Ny(){return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Sy("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,vk();case 6:case"end":return e.stop()}}),Ty)}function Ry(e){return{type:"RESET_BLOCKS",blocks:e}}function Ly(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function Ay(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function zy(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function Fy(e){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function Hy(e){var t;return Ve.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Sy("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Fy(t,-1);case 6:case"end":return n.stop()}}),xy)}function Vy(e){var t;return Ve.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Sy("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,Fy(t);case 6:case"end":return n.stop()}}),Dy)}function By(){return{type:"START_MULTI_SELECT"}}function Uy(){return{type:"STOP_MULTI_SELECT"}}function Wy(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function Ky(){return{type:"CLEAR_SELECTED_BLOCK"}}function Yy(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function $y(e,t,n){var r,o,i;return Ve.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return e=Object(N.castArray)(e),t=Object(N.castArray)(t),a.next=4,Sy("core/block-editor","getBlockRootClientId",Object(N.first)(e));case 4:r=a.sent,o=0;case 6:if(!(o<t.length)){a.next=16;break}return i=t[o],a.next=10,Sy("core/block-editor","canInsertBlockType",i.name,r);case 10:if(a.sent){a.next=13;break}return a.abrupt("return");case 13:o++,a.next=6;break;case 16:return a.next=18,{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n};case 18:return a.delegateYield(Ny(),"t0",19);case 19:case"end":return a.stop()}}),My)}function qy(e,t){return $y(e,t)}function Gy(e){return function(t,n){return{clientIds:Object(N.castArray)(t),type:e,rootClientId:n}}}var Zy=Gy("MOVE_BLOCKS_DOWN"),Xy=Gy("MOVE_BLOCKS_UP");function Qy(e){var t,n,r,o,i,a=arguments;return Ve.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=a.length>1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,s.next=5,Sy("core/block-editor","getTemplateLock",t);case 5:if("all"!==s.sent){s.next=8;break}return s.abrupt("return");case 8:if(o={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){s.next=13;break}return s.next=12,o;case 12:return s.abrupt("return");case 13:return s.next=15,Sy("core/block-editor","getBlockName",e);case 15:return i=s.sent,s.next=18,Sy("core/block-editor","canInsertBlockType",i,n);case 18:if(!s.sent){s.next=22;break}return s.next=22,o;case 22:case"end":return s.stop()}}),jy)}function Jy(e,t,n){return ek([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function ek(e,t,n){var r,o,i,a,s,c,l,u,d=arguments;return Ve.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:r=!(d.length>3&&void 0!==d[3])||d[3],e=Object(N.castArray)(e),o=[],i=!0,a=!1,s=void 0,f.prev=6,c=e[Symbol.iterator]();case 8:if(i=(l=c.next()).done){f.next=17;break}return u=l.value,f.next=12,Sy("core/block-editor","canInsertBlockType",u.name,n);case 12:f.sent&&o.push(u);case 14:i=!0,f.next=8;break;case 17:f.next=23;break;case 19:f.prev=19,f.t0=f.catch(6),a=!0,s=f.t0;case 23:f.prev=23,f.prev=24,i||null==c.return||c.return();case 26:if(f.prev=26,!a){f.next=29;break}throw s;case 29:return f.finish(26);case 30:return f.finish(23);case 31:if(!o.length){f.next=33;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 33:case"end":return f.stop()}}),Iy,null,[[6,19,23,31],[24,,26,30]])}function tk(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function nk(){return{type:"HIDE_INSERTION_POINT"}}function rk(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function ok(){return{type:"SYNCHRONIZE_TEMPLATE"}}function ik(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function ak(e){var t,n=arguments;return Ve.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(N.castArray)(e),!t){r.next=5;break}return r.next=5,Hy(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(Ny(),"t0",8);case 8:case"end":return r.stop()}}),Py)}function sk(e,t){return ak([e],t)}function ck(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function lk(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function uk(){return{type:"START_TYPING"}}function dk(){return{type:"STOP_TYPING"}}function fk(){return{type:"ENTER_FORMATTED_TEXT"}}function hk(){return{type:"EXIT_FORMATTED_TEXT"}}function pk(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function vk(e,t,n){var r=Hd();if(r)return Jy($d(r,e),n,t)}function mk(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function gk(e){return{type:"UPDATE_SETTINGS",settings:e}}function bk(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function yk(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var kk=3,_k=2,wk=1,Ok=0,Sk=[],Ek={},Ck=yo((function(){return[]}),(function(e,t){return Object(N.map)(l_(e,t),(function(t){return Mk(e,t)}))}));function Tk(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function xk(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Dk=yo((function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var r=e.blocks.attributes[t],o=Vd(n.name);return o&&(r=Object(N.reduce)(o.attributes,(function(t,n,o){return"meta"===n.source&&(t===r&&(t=D({},t)),t[o]=L_(e,n.meta)),t}),r)),r}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],L_(e)]})),Mk=yo((function(e,t){var n=e.blocks.byClientId[t];return n?D({},n,{attributes:Dk(e,t),innerBlocks:Ik(e,t)}):null}),(function(e,t){return[].concat(lt(Dk.getDependants(e,t)),[Ck(e,t)])})),jk=yo((function(e,t){var n=e.blocks.byClientId[t];return n?D({},n,{attributes:Dk(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t]].concat(lt(Dk.getDependants(e,t)))})),Ik=yo((function(e,t){return Object(N.map)(l_(e,t),(function(t){return Mk(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Pk=function e(t,n){return Object(N.flatMap)(n,(function(n){var r=l_(t,n);return[].concat(lt(r),lt(e(t,r)))}))},Nk=yo((function(e){var t=l_(e);return[].concat(lt(t),lt(Pk(e,t)))}),(function(e){return[e.blocks.order]})),Rk=yo((function(e,t){var n=Nk(e);return t?Object(N.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),Lk=yo((function(e,t){return Object(N.map)(Object(N.castArray)(t),(function(t){return Mk(e,t)}))}),(function(e){return[L_(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function Ak(e,t){return l_(e,t).length}function zk(e){return e.blockSelection.start}function Fk(e){return e.blockSelection.end}function Hk(e){return e.blockSelection.start.clientId}function Vk(e){return e.blockSelection.end.clientId}function Bk(e){var t=Jk(e).length;return t||(e.blockSelection.start.clientId?1:0)}function Uk(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n.clientId&&n.clientId===r.clientId}function Wk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId&&n.clientId===r.clientId&&e.blocks.byClientId[n.clientId]?n.clientId:null}function Kk(e){var t=Wk(e);return t?Mk(e,t):null}var Yk=yo((function(e,t){var n=e.blocks.order;for(var r in n)if(Object(N.includes)(n[r],t))return r;return null}),(function(e){return[e.blocks.order]})),$k=yo((function(e,t){for(var n=t,r=t;n;)n=Yk(e,r=n);return r}),(function(e){return[e.blocks.order]}));function qk(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Wk(e)),void 0===t&&(t=n<0?t_(e):n_(e)),!t)return null;var r=Yk(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function Gk(e,t){return qk(e,t,-1)}function Zk(e,t){return qk(e,t,1)}function Xk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId&&n.clientId?e.blockSelection.initialPosition:null}var Qk=yo((function(e){var t=e.blockSelection,n=t.start,r=t.end;if(void 0===n.clientId||void 0===r.clientId)return Sk;if(n.clientId===r.clientId)return[n.clientId];var o=Yk(e,n.clientId);if(null===o)return Sk;var i=l_(e,o),a=i.indexOf(n.clientId),s=i.indexOf(r.clientId);return a>s?i.slice(s,a+1):i.slice(a,s+1)}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function Jk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?Sk:Qk(e)}var e_=yo((function(e){var t=Jk(e);return t.length?t.map((function(t){return Mk(e,t)})):Sk}),(function(e){return[].concat(lt(Qk.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,L_(e)])}));function t_(e){return Object(N.first)(Jk(e))||null}function n_(e){return Object(N.last)(Jk(e))||null}var r_=yo((function(e,t,n){for(var r=n;t!==r&&r;)r=Yk(e,r);return t===r}),(function(e){return[e.blocks.order]}));function o_(e,t){return t_(e)===t}function i_(e,t){return-1!==Jk(e).indexOf(t)}var a_=yo((function(e,t){for(var n=t,r=!1;n&&!r;)r=i_(e,n=Yk(e,n));return r}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function s_(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:n.clientId||null}function c_(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:r.clientId||null}function l_(e,t){return e.blocks.order[t||""]||Sk}function u_(e,t,n){return l_(e,n).indexOf(t)}function d_(e,t){var n=e.blockSelection,r=n.start,o=n.end;return r.clientId===o.clientId&&r.clientId===t}function f_(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(N.some)(l_(e,t),(function(t){return d_(e,t)||i_(e,t)||n&&f_(e,t,n)}))}function h_(e,t){if(!t)return!1;var n=Jk(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function p_(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId!==r.clientId}function v_(e){return e.blockSelection.isMultiSelecting}function m_(e){return e.blockSelection.isEnabled}function g_(e,t){return e.blocksMode[t]||"visual"}function b_(e){return e.isTyping}function y_(e){return e.isCaretWithinFormattedText}function k_(e){var t,n,r=e.insertionPoint,o=e.blockSelection;if(null!==r)return r;var i=o.end;return i.clientId?(t=Yk(e,i.clientId)||void 0,n=u_(e,i.clientId,t)+1):n=l_(e).length,{rootClientId:t,index:n}}function __(e){return null!==e.insertionPoint}function w_(e){return e.template.isValid}function O_(e){return e.settings.template}function S_(e,t){if(!t)return e.settings.templateLock;var n=I_(e,t);return n?n.templateLock:null}var E_=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(N.isBoolean)(e)?e:Object(N.isArray)(e)?Object(N.includes)(e,t):n},o=Vd(t);if(!o)return!1;var i=P_(e),a=i.allowedBlockTypes,s=r(a,t,!0);if(!s)return!1;var c=!!S_(e,n);if(c)return!1;var l=I_(e,n),u=Object(N.get)(l,["allowedBlocks"]),d=r(u,t),f=o.parent,h=Tk(e,n),p=r(f,h);return null!==d&&null!==p?d||p:null!==d?d:null===p||p},C_=yo(E_,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function T_(e,t){return Object(N.get)(e.preferences.insertUsage,[t],null)}var x_=function(e,t,n){return!!Wd(t,"inserter",!0)&&E_(e,t.name,n)},D_=function(e,t,n){if(!E_(e,"core/block",n))return!1;var r=Tk(e,t.clientId);return!!r&&(!!Vd(r)&&(!!E_(e,r,n)&&!r_(e,t.clientId,n)))},M_=yo((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?kk:t>0?_k:"common"===e?wk:Ok},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,i=!1;Wd(t.name,"multiple",!0)||(i=Object(N.some)(Lk(e,Nk(e)),{name:t.name}));var a=Object(N.isArray)(t.parent),s=T_(e,o)||{},c=s.time,l=s.count,u=void 0===l?0:l;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:i,utility:n(t.category,u,a),frecency:r(c,u),hasChildBlocksWithInserterSupport:Yd(t.name)}},i=function(t){var o="core/block/".concat(t.id),i=Vd(Tk(e,t.clientId)),a=T_(e,o)||{},s=a.time,c=a.count,l=void 0===c?0:c,u=n("reusable",l,!1),d=r(s,l);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:i.icon,category:"reusable",keywords:[],isDisabled:!1,utility:u,frecency:d}},a=Bd().filter((function(n){return x_(e,n,t)})).map(o),s=A_(e).filter((function(n){return D_(e,n,t)})).map(i);return Object(N.orderBy)([].concat(lt(a),lt(s)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,A_(e),Bd()]})),j_=yo((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(N.some)(Bd(),(function(n){return x_(e,n,t)}));if(n)return!0;var r=Object(N.some)(A_(e),(function(n){return D_(e,n,t)}));return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,A_(e),Bd()]}));function I_(e,t){return e.blockListSettings[t]}function P_(e){return e.settings}function N_(e){return e.blocks.isPersistentChange}function R_(e){return e.blocks.isIgnoredChange}function L_(e,t){return void 0===t?Object(N.get)(e,["settings","__experimentalMetaSource","value"],Ek):Object(N.get)(e,["settings","__experimentalMetaSource","value",t])}function A_(e){return Object(N.get)(e,["settings","__experimentalReusableBlocks"],Sk)}var z_={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Ae(e.blocks,2),i=o[0],a=o[1],s=Mk(r,i),c=Vd(s.name);if(c.merge){var l=Mk(r,a),u=Vd(l.name),d=zk(r),f=d.clientId,h=d.attributeKey,p=d.offset,v=f===i||f===a,m=f===i?s:l,g=m.attributes[h];if(v){var b=(f===i?c:u).attributes[h].multiline,y=ei(Ao({html:g,multilineTag:b}),"",p,p);m.attributes[h]=wi({value:y,multilineTag:b})}var k=s.name===l.name?[l]:nf(l,s.name);if(k&&k.length){var _=c.merge(s.attributes,k[0].attributes);if(v){var w=Object(N.findKey)(_,(function(e){return"string"==typeof e&&-1!==e.indexOf("")})),O=_[w],S=c.attributes[w].multiline,E=Ao({html:O,multilineTag:S}),C=E.text.indexOf(""),T=wi({value:ti(E,C,C+1),multilineTag:S});_[w]=T,m.attributes[h]=g,n(pk(s.clientId,w,C,C))}n($y([s.clientId,l.clientId],[D({},s,{attributes:D({},s.attributes,_)})].concat(lt(k.slice(1)))))}}else n(Fy(s.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=O_(n),o=S_(n),i=!r||"all"!==o||function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length===n.length&&Object(N.every)(n,(function(n,r){var o=Ae(n,3),i=o[0],a=o[2],s=t[r];return i===s.name&&e(s.innerBlocks,a)}))}(e.blocks,r);if(i!==w_(n))return rk(i)}],MULTI_SELECT:function(e,t){var n=Bk((0,t.getState)());es(me(pe("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)();return Ry(Rp(Ik(n),O_(n)))}};var F_=function(e){var t,n=[_y()(z_),Oy.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=N.flowRight.apply(void 0,lt(t))(e.dispatch),e.dispatch=r,e},H_={reducer:yy,selectors:T,actions:C,controls:Cy},V_=iy("core/block-editor",D({},H_,{persist:["preferences"]}));F_(V_);var B_=function(e,t){return Object(N.find)(e,{color:t})};ey((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(lc);var U_=Object(I.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:N.noop,clientId:null}),W_=U_.Consumer,K_=U_.Provider,Y_=function(e){return Ab((function(t){return function(n){return Object(I.createElement)(W_,null,(function(r){return Object(I.createElement)(t,Ne({},n,e(r,n)))}))}}),"withBlockEditContext")},$_=Ab((function(e){return function(t){return Object(I.createElement)(W_,null,(function(n){return n.isSelected&&Object(I.createElement)(e,t)}))}}),"ifBlockEditSelected"),q_=[{icon:"editor-alignleft",title:he("Align text left"),align:"left"},{icon:"editor-aligncenter",title:he("Align text center"),align:"center"},{icon:"editor-alignright",title:he("Align text right"),align:"right"}];Object(N.flowRight)(Y_((function(e){return{clientId:e.clientId}})),eb({isLargeViewport:"medium"}),ey((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=i.getSettings;return{isCollapsed:o||!r||!s().hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.alignmentControls,i=void 0===o?q_:o;function a(e){return function(){return r(n===e?void 0:e)}}var s=Object(N.find)(i,(function(e){return e.align===n}));return Object(I.createElement)(gu,{isCollapsed:t,icon:s?s.icon:"editor-alignleft",label:he("Change Text Alignment"),controls:i.map((function(e){var t=e.align;return D({},e,{isActive:n===t,onClick:a(t)})}))})}));var G_=[];var Z_=Object(N.flowRight)([Y_((function(e){return{blockName:e.name}})),function(e){return function(t){function n(){var e;return Oe(this,n),(e=Te(this,xe(n).call(this))).state={completers:G_},e.saveParentRef=e.saveParentRef.bind(Ce(e)),e.onFocus=e.onFocus.bind(Ce(e)),e}return Me(n,t),Ee(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,r=n;Wr("editor.Autocomplete.completers")&&(n=Yr("editor.Autocomplete.completers",n&&n.map(N.clone),t)),this.setState({lastFilteredCompletersProp:r,completers:n||G_})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=D({},this.props,{completers:t});return Object(I.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(I.createElement)(e,Ne({onFocus:this.onFocus},n)))}}]),n}(I.Component)}])(is),X_={left:{icon:"align-left",title:he("Align left")},center:{icon:"align-center",title:he("Align center")},right:{icon:"align-right",title:he("Align right")},wide:{icon:"align-wide",title:he("Wide width")},full:{icon:"align-full-width",title:he("Full width")}},Q_=["left","center","right","wide","full"],J_=["wide","full"];var ew=Object(N.flowRight)(Y_((function(e){return{clientId:e.clientId}})),eb({isLargeViewport:"medium"}),ey((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=(0,i.getSettings)();return{wideControlsEnabled:s.alignWide,isCollapsed:o||!r||!s.hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?Q_:o,a=e.wideControlsEnabled,s=void 0!==a&&a?i:i.filter((function(e){return-1===J_.indexOf(e)})),c=X_[n];return Object(I.createElement)(gu,{isCollapsed:t,icon:c?c.icon:"align-left",label:he("Change Alignment"),controls:s.map((function(e){return D({},X_[e],{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})})),tw=Ka("BlockControls"),nw=tw.Fill,rw=tw.Slot,ow=$_((function(e){var t=e.controls,n=e.children;return Object(I.createElement)(nw,null,Object(I.createElement)(gu,{controls:t}),n)}));ow.Slot=rw;var iw=ow,aw=yu("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Vd(r);if(!o)return null;var i=Wd(o,"className",!0)?zf(r):null,a=Pn()(i,n.className),s=o.edit||o.save;return Object(I.createElement)(s,Ne({},e,{className:a}))})),sw=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).propsToContext=ep()(e.propsToContext.bind(Ce(e)),{maxSize:1}),e}return Me(t,e),Ee(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,a=this.propsToContext(t,n,r,o,i);return Object(I.createElement)(K_,{value:a},Object(I.createElement)(aw,this.props))}}]),t}(I.Component),cw=Ka("BlockFormatControls"),lw=cw.Fill,uw=cw.Slot,dw=$_(lw);dw.Slot=uw;var fw=dw;function hw(e){var t=e.icon,n=e.showColors,r=void 0!==n&&n,o=e.className;"block-default"===Object(N.get)(t,["src"])&&(t={src:Object(I.createElement)(jn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(Dn,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(I.createElement)(kc,{icon:t&&t.src?t.src:t}),a=r?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(I.createElement)("span",{style:a,className:Pn()("editor-block-icon block-editor-block-icon",o,{"has-colors":r})},i)}function pw(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showNestedBlocks;return(Object(I.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(N.map)(t,(function(e){var t=Vd(e.name),i=e.clientId===n;return Object(I.createElement)("li",{key:e.clientId},Object(I.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(I.createElement)(va,{className:Pn()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":i}),onClick:function(){return r(e.clientId)}},Object(I.createElement)(hw,{icon:t.icon,showColors:!0}),t.title,i&&Object(I.createElement)("span",{className:"screen-reader-text"},he("(selected block)")))),o&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(I.createElement)(pw,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,showNestedBlocks:!0}))}))))}var vw=Object(N.flowRight)(ey((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,a=n();return{rootBlocks:i(),rootBlock:a?o(r(a)):null,selectedBlockClientId:a}})),ry((function(e,t){var n=t.onSelect,r=void 0===n?N.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(I.createElement)(nc,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(I.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},he("Block Navigation")),i&&Object(I.createElement)(pw,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(I.createElement)(pw,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),mw=Object(I.createElement)(jn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(I.createElement)(Dn,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));ey((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.isDisabled,r=t&&!n;return Object(I.createElement)(ds,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(I.Fragment,null,r&&Object(I.createElement)(ys,{bindGlobal:!0,shortcuts:x({},Zn.access("o"),n)}),Object(I.createElement)(Pa,{icon:mw,"aria-expanded":t,onClick:r?n:void 0,label:he("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Qn.access("o"),"aria-disabled":!r}))},renderContent:function(e){var t=e.onClose;return Object(I.createElement)(vw,{onSelect:t})}})}));var gw=Object(I.createElement)(jn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(Dn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(Dn,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),bw=Object(I.createElement)(jn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(Dn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(Dn,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),yw={top:{icon:Object(I.createElement)(jn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(Dn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(Dn,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:ve("Vertically Align Top","Block vertical alignment setting")},center:{icon:bw,title:ve("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:gw,title:ve("Vertically Align Bottom","Block vertical alignment setting")}},kw=["top","center","bottom"],_w="top";Object(N.flowRight)(Y_((function(e){return{clientId:e.clientId}})),eb({isLargeViewport:"medium"}),ey((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=i.getSettings;return{isCollapsed:o||!r||!s().hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?kw:o,a=yw[n],s=yw[_w];return Object(I.createElement)(gu,{isCollapsed:t,icon:a?a.icon:s.icon,label:ve("Change Alignment","Block vertical alignment setting label"),controls:i.map((function(e){return D({},yw[e],{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})}));var ww=ey((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),Ow=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(Ce(e)),e.onHTMLDrop=e.onHTMLDrop.bind(Ce(e)),e.onDrop=e.onDrop.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,r=t.rootClientId,o=t.getBlockIndex;if(void 0!==n){var i=o(n,r);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=ef(tf("from"),(function(t){return"files"===t.type&&t.isMatch(e)}));if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=Ip({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,r=n.rootClientId,o=n.clientId,i=n.getClientIdsOfDescendants,a=n.getBlockIndex,s=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(n){return t}return t}(e),c=s.srcRootClientId,l=s.srcClientId,u=s.srcIndex,d=s.type;if("block"===d&&l!==o&&!function(e,t){return i([e]).some((function(e){return e===t}))}(l,o||r)){var f,h,p=o?a(o,r):void 0,v=this.getInsertIndex(t),m=p&&u<p&&((f=c)===(h=r)||1==!f&&1==!h)?v-1:v;this.props.moveBlockToPosition(l,c,m)}}},{key:"render",value:function(){var e=this.props,t=e.isLockedAll,n=e.index;if(t)return null;var r=void 0===n;return Object(I.createElement)(ww,null,Object(I.createElement)(Qs,{className:Pn()("editor-block-drop-zone block-editor-block-drop-zone",{"is-appender":r}),onFilesDrop:this.onFilesDrop,onHTMLDrop:this.onHTMLDrop,onDrop:this.onDrop}))}}]),t}(I.Component),Sw=Object(N.flowRight)(ry((function(e,t){var n=e("core/block-editor"),r=n.insertBlocks,o=n.updateBlockAttributes,i=n.moveBlockToPosition;return{insertBlocks:function(e,n){var o=t.rootClientId;r(e,n,o)},updateBlockAttributes:function(){o.apply(void 0,arguments)},moveBlockToPosition:function(e,n,r){var o=t.rootClientId;i(e,n,o,r)}}})),ey((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getClientIdsOfDescendants,i=r.getTemplateLock,a=r.getBlockIndex;return{isLockedAll:"all"===i(n),getClientIdsOfDescendants:o,getBlockIndex:a}})),yu("editor.BlockDropZone"))(Ow),Ew=Ab((function(e){return oy((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=j(t,["useSubRegistry","registry"]);if(!r)return Object(I.createElement)(e,Ne({registry:o},i));var a=Ae(Object(I.useState)(null),2),s=a[0],c=a[1];return Object(I.useEffect)((function(){var e=Cb({},o),t=e.registerStore("core/block-editor",H_);F_(t),c(e)}),[o]),s?Object(I.createElement)($b,{value:s},Object(I.createElement)(e,Ne({registry:s},i))):null}))}),"withRegistryProvider"),Cw=function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,a=t.registry;n!==e.settings&&r(n),a!==e.registry&&this.attachChangeObserver(a),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:o!==e.value&&(this.isSyncingIncomingValue=!0,i(o))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.isLastBlockChangePersistent,i=n.__unstableIsLastBlockChangeIgnored,a=r(),s=o();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,c=e.onInput,l=r(),u=o();if(l!==a&&(t.isSyncingIncomingValue||i()))return t.isSyncingIncomingValue=!1,a=l,void(s=u);(l!==a||u&&!s)&&(l!==a&&(t.isSyncingOutcomingValue=!0),a=l,(s=u)?n(a):c(a))}))}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)(Fa,null,Object(I.createElement)(Zs,null,e))}}]),t}(I.Component),Tw=Object(N.flowRight)([Ew,ry((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}))])(Cw),xw=function(e){var t=e.children,n=e.clientId,r=e.isBlockInSelection,o=Jb((function(e){return e("core/block-editor").hasSelectedInnerBlock(n,!0)})),i=r||o;return Object(I.createElement)(Zb,{value:!i},t)};function Dw(e,t,n,r,o,i){var a=n+1;return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return he("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return he("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return me(pe("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(o>0&&!r)return me(pe("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,r,o,i):r&&o?me(he("Block %s is the only block, and cannot be moved"),t):i>0&&!o?me(he("Move %1$s block from position %2$d down to position %3$d"),t,a,a+1):i>0&&o?me(he("Block %s is at the end of the content and can’t be moved down"),t):i<0&&!r?me(he("Move %1$s block from position %2$d up to position %3$d"),t,a,a-1):i<0&&r?me(he("Block %s is at the beginning of the content and can’t be moved up"),t):void 0}var Mw=Object(I.createElement)(jn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Mn,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),jw=Object(I.createElement)(jn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Mn,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),Iw=Object(I.createElement)(jn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Dn,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),Pw=ey((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlockIndex,i=(0,r.getBlockRootClientId)(n);return{index:o(n,i),rootClientId:i}}))((function(e){var t=e.children,n=e.clientId,r=e.rootClientId,o=e.blockElementId,i=e.index,a=e.onDragStart,s=e.onDragEnd,c={type:"block",srcIndex:i,srcRootClientId:r,srcClientId:n};return Object(I.createElement)(Ws,{elementId:o,transferData:c,onDragStart:a,onDragEnd:s},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))})),Nw=function(e){var t=e.isVisible,n=e.className,r=e.icon,o=e.onDragStart,i=e.onDragEnd,a=e.blockElementId,s=e.clientId;if(!t)return null;var c=Pn()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(I.createElement)(Pw,{clientId:s,blockElementId:a,onDragStart:o,onDragEnd:i},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(I.createElement)("div",{className:c,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},r)}))},Rw=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Ce(e)),e.onBlur=e.onBlur.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.isFirst,o=e.isLast,i=e.isDraggable,a=e.onDragStart,s=e.onDragEnd,c=e.clientIds,l=e.blockElementId,u=e.blockType,d=e.firstIndex,f=e.isLocked,h=e.instanceId,p=e.isHidden,v=e.rootClientId,m=this.state.isFocused,g=Object(N.castArray)(c).length;return f||r&&o&&!v?null:Object(I.createElement)("div",{className:Pn()("editor-block-mover block-editor-block-mover",{"is-visible":m||!p})},Object(I.createElement)(Pa,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:t,icon:Mw,label:he("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(h),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(I.createElement)(Nw,{className:"editor-block-mover__control block-editor-block-mover__control",icon:Iw,clientId:c,blockElementId:l,isVisible:i,onDragStart:a,onDragEnd:s}),Object(I.createElement)(Pa,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:n,icon:jw,label:he("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(h),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(I.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Dw(g,u&&u.title,d,r,o,-1)),Object(I.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(h),className:"editor-block-mover__description block-editor-block-mover__description"},Dw(g,u&&u.title,d,r,o,1)))}}]),t}(I.Component),Lw=Object(N.flowRight)(ey((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockIndex,a=r.getTemplateLock,s=r.getBlockRootClientId,c=r.getBlockOrder,l=Object(N.castArray)(n),u=Object(N.first)(l),d=o(u),f=s(Object(N.first)(l)),h=c(f),p=i(u,f),v=i(Object(N.last)(l),f);return{blockType:d?Vd(d.name):null,isLocked:"all"===a(f),rootClientId:f,firstIndex:p,isFirst:0===p,isLast:v===h.length-1}})),ry((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,a=o.moveBlocksUp;return{onMoveDown:Object(N.partial)(i,n,r),onMoveUp:Object(N.partial)(a,n,r)}})),Hb)(Rw);var Aw=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(I.createElement)("div",{className:Pn()(t,"editor-warning block-editor-warning")},Object(I.createElement)("div",{className:"editor-warning__contents block-editor-warning__contents"},Object(I.createElement)("p",{className:"editor-warning__message block-editor-warning__message"},r),I.Children.count(n)>0&&Object(I.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},I.Children.map(n,(function(e,t){return Object(I.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)})))),o&&Object(I.createElement)(ds,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(Pa,{icon:"ellipsis",label:he("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(I.createElement)(_c,null,o.map((function(e,t){return Object(I.createElement)(wc,{onClick:e.onClick,key:t},e.title)})))}}))},zw=n(131),Fw=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,a=e.className;return Object(I.createElement)("div",{className:a},Object(I.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(I.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(I.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(I.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(I.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(I.createElement)(va,{isLarge:!0,tabIndex:"0",onClick:o},i)))},Hw=function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"getDifference",value:function(e,t){return Object(zw.diffChars)(e,t).map((function(e,t){var n=Pn()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(I.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Ff(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(N.castArray)(e),n=t.map((function(e){return Hf(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Ff(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,a=this.getOriginalContent(t),s=this.getConvertedContent(o(t)),c=this.getDifference(a.rawContent,s.rawContent);return Object(I.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(I.createElement)(Fw,{title:he("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:he("Convert to HTML"),rawContent:a.rawContent,renderedContent:a.renderedContent}),Object(I.createElement)(Fw,{title:he("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:r,actionText:i,rawContent:c,renderedContent:s.renderedContent}))}}]),t}(I.Component),Vw=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Ce(n)),n.onCompareClose=n.onCompareClose.bind(Ce(n)),n}return Me(t,e),Ee(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,i=e.block,a=!!Vd("core/html"),s=this.state.compare,c=[{title:he("Convert to Classic Block"),onClick:r},{title:he("Attempt Block Recovery"),onClick:o}];return s?Object(I.createElement)(Pc,{title:he("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(I.createElement)(Hw,{block:i,onKeep:t,onConvert:n,convertor:Bw,convertButtonText:he("Convert to Blocks")})):Object(I.createElement)(Aw,{actions:[Object(I.createElement)(va,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},ve("Resolve","imperative verb")),a&&Object(I.createElement)(va,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},he("Convert to HTML"))],secondaryActions:c},he("This block contains unexpected or invalid content."))}}]),t}(I.Component),Bw=function(e){return Pp({HTML:e.originalContent})},Uw=Object(N.flowRight)([ey((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),ry((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return $d("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return $d("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,Bw(n))},attemptBlockRecovery:function(){var e;r(n.clientId,$d((e=n).name,e.attributes,e.innerBlocks))}}}))])(Vw),Ww=Object(I.createElement)(Aw,null,he("This block has encountered an error and cannot be previewed.")),Kw=function(){return Ww},Yw=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={hasError:!1},e}return Me(t,e),Ee(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(I.Component),$w=n(30),qw=n.n($w),Gw=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).apply(this,arguments))).onChange=n.onChange.bind(Ce(n)),n.onBlur=n.onBlur.bind(Ce(n)),n.state={html:e.block.isValid?Vf(e.block):e.block.originalContent},n}return Me(t,e),Ee(t,[{key:"componentDidUpdate",value:function(e){Object(N.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:Vf(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=Vd(this.props.block.name),n=Dh(t,e,this.props.block.attributes),r=e||Hf(t,n),o=!e||hh(t,n,r);this.props.onChange(this.props.clientId,n,r,o),e||this.setState({html:r})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(I.createElement)(qw.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(I.Component),Zw=Object(N.flowRight)([ey((function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}})),ry((function(e){return{onChange:function(t,n,r,o){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}}))])(Gw);var Xw=ey((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=Vd(t);return n?n.title:null})),Qw=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Ce(e)),e.onBlur=e.onBlur.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(I.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(I.createElement)(gu,null,n&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(Xw,{clientId:n}),Object(I.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(I.createElement)(Xw,{clientId:t})))}}]),t}(I.Component),Jw=Object(N.flowRight)([ey((function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}}))])(Qw),eO=window,tO=eO.Node,nO=eO.getSelection,rO=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(Ce(e)),e.focusSelection=e.focusSelection.bind(Ce(e)),e.switchOnKeyDown=Object(N.cond)([[Object(N.matchesProperty)(["keyCode"],Fn),e.focusSelection]]),e.toolbar=Object(I.createRef)(),e}return Me(t,e),Ee(t,[{key:"focusToolbar",value:function(){var e=fa.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=nO();if(e){var t=e.focusNode;t.nodeType!==tO.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)(nc,Ne({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(N.omit)(n,["focusOnMount"])),Object(I.createElement)(ys,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(I.Component);var oO=function(e){var t=e.focusOnMount;return Object(I.createElement)(rO,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":he("Block tools")},Object(I.createElement)(hE,null))};var iO=ey((function(e){var t=e("core/block-editor"),n=t.getMultiSelectedBlockClientIds,r=t.isMultiSelecting;return{multiSelectedBlockClientIds:n(),isSelecting:r()}}))((function(e){var t=e.multiSelectedBlockClientIds;return e.isSelecting?null:Object(I.createElement)(Lw,{clientIds:t})}));var aO=tb("< small")((function(e){var t=e.clientId;return Object(I.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(I.createElement)(RO,null),Object(I.createElement)(Lw,{clientIds:[t]}))})),sO=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(Ce(e)),e.onFocusInserter=e.onFocusInserter.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,r=t.rootClientId,o=t.clientId;return Object(I.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(I.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(I.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:Pn()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(I.createElement)(RO,{rootClientId:r,clientId:o})))}}]),t}(I.Component),cO=ey((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockIndex,a=o.getBlockInsertionPoint,s=o.isBlockInsertionPointVisible,c=i(n,r),l=a();return{showInsertionPoint:s()&&l.index===c&&l.rootClientId===r}}))(sO),lO=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(Ce(e)),e.eventMap={},e}return Me(t,e),Ee(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=j(t,["childHandledEvents","forwardedRef"]),a=Object(N.reduce)([].concat(lt(r),lt(Object.keys(i))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete i[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t}),{});return Object(I.createElement)("div",Ne({ref:o},i,a))}}]),t}(I.Component),uO=function(e,t){return Object(I.createElement)(lO,Ne({},e,{forwardedRef:t}))};uO.displayName="IgnoreNestedEvents";var dO=Object(I.forwardRef)(uO);var fO=Object(N.flowRight)(ey((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}})),ry((function(e,t){var n=t.clientId,r=t.rootClientId;return{onInsert:function(t){var o=$d(t.name,t.initialAttributes);n?e("core/block-editor").replaceBlocks(n,o):e("core/block-editor").insertBlock(o,void 0,r)}}})))((function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(N.filter)(t,(function(e){return!(e.isDisabled||e.name===Hd()&&Object(N.isEmpty)(e.initialAttributes))})).slice(0,3);return Object(I.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},o.map((function(e){return Object(I.createElement)(Pa,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:me(he("Add %s"),e.title),icon:Object(I.createElement)(hw,{icon:e.icon})})})))})),hO=function(e){var t=Ae(Object(I.useState)(null),2),n=t[0],r=t[1];return Object(I.useEffect)((function(){var t=function(){n&&r(null)},o=function(t){var n=e.current.getBoundingClientRect(),o=n.width,i=n.left,a=n.right,s=null;t.clientX-i<o/3?s="left":a-t.clientX<o/3&&(s="right"),r(s)};return e.current.addEventListener("mousemove",o),e.current.addEventListener("mouseleave",t),function(){e.current.removeEventListener("mousemove",o),e.current.removeEventListener("mouseleave",t)}}),[]),n};function pO(e){return document.querySelector('[data-block="'+e+'"]')}var vO=function(e){e.preventDefault()};var mO=ey((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,i=e("core/block-editor"),a=i.isBlockSelected,s=i.isAncestorMultiSelected,c=i.isBlockMultiSelected,l=i.isFirstMultiSelectedBlock,u=i.isTyping,d=i.isCaretWithinFormattedText,f=i.getBlockMode,h=i.isSelectionEnabled,p=i.getSelectedBlocksInitialCaretPosition,v=i.getSettings,m=i.hasSelectedInnerBlock,g=i.getTemplateLock,b=i.getBlockIndex,y=i.getBlockOrder,k=(0,i.__unstableGetBlockWithoutInnerBlocks)(n),_=a(n),w=v(),O=w.hasFixedToolbar,S=w.focusMode,E=w.isRTL,C=g(r),T=m(n,!0),x=b(n,r),D=y(r),M=k||{},j=M.name,I=M.attributes,P=M.isValid;return{isPartOfMultiSelection:c(n)||s(n),isFirstMultiSelected:l(n),isTypingWithinBlock:(_||T)&&u(),isCaretWithinFormattedText:d(),mode:f(n),isSelectionEnabled:h(),initialPosition:_?p():null,isEmptyDefaultBlock:j&&Ld({name:j,attributes:I}),isMovable:"all"!==C,isLocked:!!C,isFocusMode:S&&o,hasFixedToolbar:O&&o,isLast:x===D.length-1,isRTL:E,block:k,name:j,attributes:I,isValid:P,isSelected:_,isParentOfSelectedBlock:T}})),gO=ry((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.updateBlockAttributes,a=o.selectBlock,s=o.multiSelect,c=o.insertBlocks,l=o.insertDefaultBlock,u=o.removeBlock,d=o.mergeBlocks,f=o.replaceBlocks,h=o.toggleSelection;return{setAttributes:function(e){var n=t.name,o=t.clientId,a=Vd(n);var s=Object(N.reduce)(e,(function(e,t,n){return!function(e){return"meta"===Object(N.get)(a,["attributes",e,"source"])}(n)?e.blockAttributes[n]=t:e.metaAttributes[a.attributes[n].meta]=t,e}),{blockAttributes:{},metaAttributes:{}}),c=s.blockAttributes,l=s.metaAttributes;(Object(N.size)(c)&&i(o,c),Object(N.size)(l))&&(0,(0,r("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(l)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;c(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);l({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);c(e,i+1,o)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,a=o.getNextBlockClientId;if(e){var s=a(n);s&&d(n,s)}else{var c=i(n);c&&d(c,n)}},onReplace:function(e,n){f([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?s(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){h(e)}}})),bO=Object(N.flowRight)(Fb,eb({isLargeViewport:"medium"}),mO,gO,yu("editor.BlockListBlock"))((function(e){var t=e.blockRef,n=e.mode,r=e.isFocusMode,o=e.hasFixedToolbar,i=e.isLocked,a=e.clientId,s=e.rootClientId,c=e.isSelected,l=e.isPartOfMultiSelection,u=e.isFirstMultiSelected,d=e.isTypingWithinBlock,f=e.isCaretWithinFormattedText,h=e.isEmptyDefaultBlock,p=e.isMovable,v=e.isParentOfSelectedBlock,m=e.isDraggable,g=e.isSelectionEnabled,b=e.isRTL,y=e.className,k=e.name,_=e.isValid,w=e.isLast,O=e.attributes,S=e.initialPosition,E=e.wrapperProps,C=e.setAttributes,T=e.onReplace,x=e.onInsertBlocksAfter,M=e.onMerge,j=e.onSelect,P=e.onRemove,R=e.onInsertDefaultBlockAfter,L=e.toggleSelection,A=e.onShiftSelection,z=e.onSelectionStart,F=Ae(Object(I.useState)({}),2)[1],H=Object(I.useRef)(null);Object(I.useEffect)((function(){t(H.current,a)}),[]);var V=Object(I.useRef)(),B=hO(H),U=Object(I.useRef)(!1),W=Ae(Object(I.useState)(!1),2),K=W[0],Y=W[1],$=function(){K&&Y(!1)};Object(I.useEffect)((function(){(d||c)&&$()}));var q=Ae(Object(I.useState)(!1),2),G=q[0],Z=q[1],X=Ae(Object(I.useState)(!1),2),Q=X[0],J=X[1],ee=Object(I.useRef)(!1);Object(I.useEffect)((function(){ee.current&&(ee.current=!1)}));var te=Object(I.useRef)(!0);Object(I.useEffect)((function(){c&&function(e){if(!H.current.contains(document.activeElement)){var t=fa.tabbable.find(V.current).filter(ra).filter((function(t){return!e||(n=V.current,r=t,o=n.querySelector(".block-editor-block-list__layout"),n.contains(r)&&(!o||!o.contains(r)));var n,r,o})),n=-1===S,r=(n?N.last:N.first)(t);r?ta(r,n):H.current.focus()}}(!te.current),te.current=!1}),[c]),Object(I.useEffect)((function(){u&&H.current.focus()}),[u]);var ne=function(e){e&&!c&&j()},re=K&&!l,oe=Vd(k),ie=me(he("Block: %s"),oe.title),ae=k===Fd(),se=(c||re)&&h&&_,ce=(c||re||w)&&h&&_,le=!r&&!ce&&c&&!d,ue=!r&&!o&&re&&!h,de=(c||B===(b?"right":"left"))&&!ce&&!l&&!d,fe=!r&&re&&!h,pe=!o&&!ce&&(c&&(!d||f)||u),ve=le,ge=l&&u||!l,be=Pn()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!_||!!Q||ae,"is-selected":le,"is-multi-selected":l,"is-hovered":ue,"is-reusable":Kd(oe),"is-dragging":G,"is-typing":d,"is-focused":r&&(c||v),"is-focus-mode":r},y),ye=E;oe.getEditWrapperProps&&(ye=D({},ye,oe.getEditWrapperProps(O)));var ke="block-".concat(a),_e=Object(I.createElement)(sw,{name:k,isSelected:c,attributes:O,setAttributes:C,insertBlocksAfter:i?void 0:x,onReplace:i?void 0:T,mergeBlocks:i?void 0:M,clientId:a,isSelectionEnabled:g,toggleSelection:L});return"visual"!==n&&(_e=Object(I.createElement)("div",{style:{display:"none"}},_e)),Object(I.createElement)(dO,Ne({id:ke,ref:H,onMouseOver:function(){K||l||c||U.current||Y(!0)},onMouseOverHandled:$,onMouseLeave:$,className:be,"data-type":k,onTouchStart:function(){U.current=!0},onFocus:function(){c||l||j()},onClick:function(){U.current=!1},onKeyDown:function(e){var t=e.keyCode,n=e.target;if(c&&n===H.current&&!i)switch(t){case zn:R(),e.preventDefault();break;case Ln:case Kn:P(a),e.preventDefault()}},tabIndex:"0","aria-label":ie,childHandledEvents:["onDragStart","onMouseDown"]},ye),ge&&Object(I.createElement)(cO,{clientId:a,rootClientId:s}),Object(I.createElement)(Sw,{clientId:a,rootClientId:s}),u&&Object(I.createElement)(iO,{rootClientId:s}),Object(I.createElement)("div",{className:"editor-block-list__block-edit block-editor-block-list__block-edit"},de&&Object(I.createElement)(Lw,{clientIds:a,blockElementId:ke,isHidden:!(re||c)||B!==(b?"right":"left"),isDraggable:!1!==m&&!l&&p,onDragStart:function(){Z(!0)},onDragEnd:function(){Z(!1)}}),fe&&Object(I.createElement)(Jw,{clientId:a,isHidden:!(re||c)||B!==(b?"right":"left")}),(pe||ee.current)&&Object(I.createElement)(oO,{focusOnMount:ee.current}),!pe&&c&&!o&&!h&&Object(I.createElement)(ys,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":function(){ee.current=!0,F({})}}}),Object(I.createElement)(dO,{ref:V,onDragStart:vO,onMouseDown:function(e){0===e.button&&(e.shiftKey?c||(A(),e.preventDefault()):(z(a),l&&j()))},"data-block":a},Object(I.createElement)(Yw,{onError:function(){return J(!1)}},_&&_e,_&&"html"===n&&Object(I.createElement)(Zw,{clientId:a}),!_&&[Object(I.createElement)(Uw,{key:"invalid-warning",clientId:a}),Object(I.createElement)("div",{key:"invalid-preview"},Ff(oe,O))]),ve&&Object(I.createElement)(aO,{clientId:a}),!!Q&&Object(I.createElement)(Kw,null))),se&&Object(I.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(I.createElement)(fO,{clientId:a,rootClientId:s,onToggle:ne})),ce&&Object(I.createElement)("div",{className:"editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter"},Object(I.createElement)(RO,{position:"top right",onToggle:ne,rootClientId:s,clientId:a})))}));var yO=Object(N.flowRight)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ab((function(t){return function(n){function r(){var t;return Oe(this,r),(t=Te(this,xe(r).apply(this,arguments))).setState=t.setState.bind(Ce(t)),t.state=e,t}return Me(r,n),Ee(r,[{key:"render",value:function(){return Object(I.createElement)(t,Ne({},this.props,this.state,{setState:this.setState}))}}]),r}(I.Component)}),"withState")}({hovered:!1}),ey((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,i=n.isBlockValid,a=n.getSettings,s=n.getTemplateLock,c=!r(t.rootClientId),l=o(t.lastBlockClientId)===Hd(),u=i(t.lastBlockClientId),d=a().bodyPlaceholder;return{isVisible:c||!l||!u,showPrompt:c,isLocked:!!s(t.rootClientId),placeholder:d}})),ry((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,a=e.rootClientId,s=e.hovered,c=e.setState;if(t||!n)return null;var l=If(i)||he("Start writing or type / to choose a block");return Object(I.createElement)("div",{"data-root-client-id":a||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return c({hovered:!0})},onMouseLeave:function(){return c({hovered:!1})}},Object(I.createElement)(Sw,{rootClientId:a}),Object(I.createElement)(qw.a,{role:"button","aria-label":he("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?l:""}),s&&Object(I.createElement)(fO,{rootClientId:a}),Object(I.createElement)(RO,{rootClientId:a,position:"top right",isAppender:!0}))}));var kO=ey((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,i=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:i(Hd(),n)}}))((function(e){var t=e.blockClientIds,n=e.rootClientId,r=e.canInsertDefaultBlock,o=e.isLocked,i=e.renderAppender;return o?null:i?Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(i,null)):r?Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(dO,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(I.createElement)(yO,{rootClientId:n,lastBlockClientId:Object(N.last)(t)}))):Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(LO,{rootClientId:n,className:"block-list-appender__toggle"}))})),_O=function(e){function t(e){var n;return Oe(this,t),(n=Te(this,xe(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(Ce(n)),n.onSelectionEnd=n.onSelectionEnd.bind(Ce(n)),n.setBlockRef=n.setBlockRef.bind(Ce(n)),n.setLastClientY=n.setLastClientY.bind(Ce(n)),n.onPointerMove=Object(N.throttle)(n.onPointerMove.bind(Ce(n)),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=D({},this.nodes,x({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=pO(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(N.findLast)(this.coordMapKeys,(function(e){return e<r}));this.onSelectionChange(this.coordMap[o])}}},{key:"onSelectionStart",value:function(e){if(this.props.isSelectionEnabled){var t=this.nodes[e].getBoundingClientRect(),n=Object(N.mapValues)(this.nodes,(function(e){return e.getBoundingClientRect().top-t.top}));this.coordMap=Object(N.invert)(n),this.coordMapKeys=Object(N.sortBy)(Object.values(n)),this.selectionAtStart=e,window.addEventListener("mousemove",this.onPointerMove),window.addEventListener("scroll",this.onScroll,!0),window.addEventListener("mouseup",this.onSelectionEnd)}}},{key:"onSelectionChange",value:function(e){var t=this.props,n=t.onMultiSelect,r=t.selectionStart,o=t.selectionEnd,i=this.selectionAtStart,a=i===e;i&&this.props.isSelectionEnabled&&(a&&r&&n(null,null),a||o===e||n(i,e))}},{key:"onSelectionEnd",value:function(){this.onPointerMove.cancel(),delete this.coordMap,delete this.coordMapKeys,delete this.selectionAtStart,window.removeEventListener("mousemove",this.onPointerMove),window.removeEventListener("scroll",this.onScroll,!0),window.removeEventListener("mouseup",this.onSelectionEnd),this.props.isMultiSelecting&&this.props.onStopMultiSelect()}},{key:"render",value:function(){var e=this,t=this.props,n=t.blockClientIds,r=t.rootClientId,o=t.isDraggable,i=t.selectedBlockClientId,a=t.multiSelectedBlockClientIds,s=t.hasMultiSelection,c=t.renderAppender;return Object(I.createElement)("div",{className:"editor-block-list__layout block-editor-block-list__layout"},Object(N.map)(n,(function(t){var n=s?a.includes(t):i===t;return Object(I.createElement)(xw,{key:"block-"+t,clientId:t,isBlockInSelection:n},Object(I.createElement)(bO,{clientId:t,blockRef:e.setBlockRef,onSelectionStart:e.onSelectionStart,rootClientId:r,isDraggable:o}))})),Object(I.createElement)(kO,{rootClientId:r,renderAppender:c}))}}]),t}(I.Component),wO=Object(N.flowRight)([function(e){return function(t){return Object(I.createElement)(Zb,{value:!1},Object(I.createElement)(e,t))}},ey((function(e,t){var n=e("core/block-editor"),r=n.getBlockOrder,o=n.isSelectionEnabled,i=n.isMultiSelecting,a=n.getMultiSelectedBlocksStartClientId,s=n.getMultiSelectedBlocksEndClientId,c=n.getSelectedBlockClientId,l=n.getMultiSelectedBlockClientIds,u=n.hasMultiSelection;return{blockClientIds:r(t.rootClientId),selectionStart:a(),selectionEnd:s(),isSelectionEnabled:o(),isMultiSelecting:i(),selectedBlockClientId:c(),multiSelectedBlockClientIds:l(),hasMultiSelection:u()}})),ry((function(e){var t=e("core/block-editor");return{onStartMultiSelect:t.startMultiSelect,onStopMultiSelect:t.stopMultiSelect,onMultiSelect:t.multiSelect}}))])(_O);function OO(e){var t=e.name,n=e.attributes,r=e.innerBlocks,o=e.settings,i=$d(t,n,r);return Object(I.createElement)(Us,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(I.createElement)(Tw,{value:[i],settings:o},Object(I.createElement)(wO,null)))}var SO=ey((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){return Object(I.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(I.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},he("Preview")),Object(I.createElement)(OO,e))}));var EO=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,r=e.onClick,o=e.isDisabled,i=e.title,a=e.className,s=j(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),c=t?{backgroundColor:t.background,color:t.foreground}:{},l=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(I.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(I.createElement)("button",Ne({className:Pn()("editor-block-types-list__item block-editor-block-types-list__item",a,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),r()},disabled:o},s),Object(I.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:c},Object(I.createElement)(hw,{icon:t,showColors:!0}),n&&Object(I.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:l})),Object(I.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var CO=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,i=e.children;return(Object(I.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map((function(e){return Object(I.createElement)(EO,{key:e.id,className:(t=e.id,r="editor-block-list-item-"+t.replace(/\//,"-").replace(/^core-/,""),Yr("blocks.getBlockMenuDefaultClassName",r,t)),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title});var t,r})),i))};var TO=Object(N.flowRight)(zb((function(e){var t=e.items;return t&&t.length>0})),ey((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=j(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(I.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(I.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(I.createElement)(hw,{icon:t,showColors:!0}),n&&Object(I.createElement)("h2",null,n)),Object(I.createElement)(CO,Ne({items:r},o)))})),xO=function(e){return e.stopPropagation()},DO=function(e,t){var n=MO(t),r=function(e){return-1!==MO(e).indexOf(n)},o=Np();return e.filter((function(e){var t=Object(N.find)(o,{slug:e.category});return r(e.title)||Object(N.some)(e.keywords,r)||t&&r(t.title)}))},MO=function(e){return e=(e=(e=(e=Object(N.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},jO=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Ce(e)),e.onHover=e.onHover.bind(Ce(e)),e.panels={},e.inserterResults=Object(I.createRef)(),e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(N.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(lt(t.state.openPanels),[e])}),t.props.setTimeout((function(){vc()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,r=t.items,o=t.rootChildBlocks,i=DO(r,e),a=Object(N.filter)(i,(function(e){var t=e.name;return Object(N.includes)(o,t)})),s=[];if(!e){var c=this.props.maxSuggestedItems||9;s=Object(N.filter)(r,(function(e){return e.utility>0})).slice(0,c)}var l=Object(N.filter)(i,{category:"reusable"}),u=function(e){return Object(N.findIndex)(Np(),(function(t){return t.slug===e.category}))},d=Object(N.flow)((function(e){return Object(N.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(N.sortBy)(e,u)}),(function(e){return Object(N.groupBy)(e,"category")}))(i);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:s,reusableItems:l,itemsPerCategory:d,openPanels:this.filterOpenPanels(e,d,i,l)});var f=Object.keys(d).reduce((function(e,t){return e+d[t].length}),0),h=me(pe("%d result found.","%d results found.",f),f);n(h)}},{key:"onKeyDown",value:function(e){Object(N.includes)([Vn,Wn,Un,Bn,Ln,zn],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.onSelect,o=t.rootClientId,i=this.state,a=i.childItems,s=i.hoveredItem,c=i.itemsPerCategory,l=i.openPanels,u=i.reusableItems,d=i.suggestedItems,f=function(e){return-1!==l.indexOf(e)};return Object(I.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:xO,onKeyDown:this.onKeyDown},Object(I.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},he("Search for a block")),Object(I.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:he("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(I.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":he("Available block types")},Object(I.createElement)(TO,{rootClientId:o,items:a,onSelect:r,onHover:this.onHover}),!!d.length&&Object(I.createElement)(zc,{title:ve("Most Used","blocks"),opened:f("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(I.createElement)(CO,{items:d,onSelect:r,onHover:this.onHover})),Object(N.map)(Np(),(function(t){var n=c[t.slug];return n&&n.length?Object(I.createElement)(zc,{key:t.slug,title:t.title,icon:t.icon,opened:f(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(I.createElement)(CO,{items:n,onSelect:r,onHover:e.onHover})):null})),!!u.length&&Object(I.createElement)(zc,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:he("Reusable"),opened:f("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(I.createElement)(CO,{items:u,onSelect:r,onHover:this.onHover}),Object(I.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:ye("edit.php",{post_type:"wp_block"})},he("Manage All Reusable Blocks"))),Object(N.isEmpty)(d)&&Object(N.isEmpty)(u)&&Object(N.isEmpty)(c)&&Object(I.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},he("No blocks found."))),s&&Kd(s)&&Object(I.createElement)(SO,{name:s.name,attributes:s.initialAttributes}))}}]),t}(I.Component),IO=Object(N.flowRight)(ey((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=e("core/block-editor"),a=i.getInserterItems,s=i.getBlockName,c=i.getBlockRootClientId,l=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=o;if(!d&&!n&&!r){var f=l();f&&(d=c(f)||void 0)}return{rootChildBlocks:u(s(d)),items:a(d),destinationRootClientId:d}})),ry((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.showInsertionPoint,a=o.hideInsertionPoint;function s(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,a=t.clientId,s=t.destinationRootClientId,c=t.isAppender;if(a)return n(a,s);var l=o();return!c&&l?n(l,s)+1:i(s).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=s();i(t.destinationRootClientId,e)},hideInsertionPoint:a,onSelect:function(n){var o=e("core/block-editor"),i=o.replaceBlocks,a=o.insertBlock,c=r("core/block-editor").getSelectedBlock,l=t.isAppender,u=n.name,d=n.initialAttributes,f=c(),h=$d(u,d);!l&&f&&Ld(f)?i(f.clientId,h):a(h,s(),t.destinationRootClientId),t.onSelect()}}})),ts,Hb,Vb)(jO),PO=function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(I.createElement)(Pa,{icon:"insert",label:he("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n})},NO=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onToggle=e.onToggle.bind(Ce(e)),e.renderToggle=e.renderToggle.bind(Ce(e)),e.renderContent=e.renderContent.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.renderToggle,a=void 0===i?PO:i;return a({onToggle:t,isOpen:n,disabled:o})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender;return Object(I.createElement)(IO,{onSelect:t,rootClientId:r,clientId:o,isAppender:i})}},{key:"render",value:function(){var e=this.props.position;return Object(I.createElement)(ds,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:he("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(I.Component),RO=Object(N.flowRight)([ey((function(e,t){var n=t.rootClientId;return{hasItems:(0,e("core/block-editor").hasInserterItems)(n)}})),zb((function(e){return e.hasItems}))])(NO);var LO=function(e){var t=e.rootClientId,n=e.className;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(Sw,{rootClientId:t}),Object(I.createElement)(RO,{rootClientId:t,renderToggle:function(e){var t=e.onToggle,r=e.disabled,o=e.isOpen;return Object(I.createElement)(va,{className:Pn()(n,"block-editor-button-block-appender"),onClick:t,"aria-expanded":o,disabled:r},Object(I.createElement)("span",{className:"screen-reader-text"},he("Add Block")),Object(I.createElement)(kc,{icon:"insert"}))},isAppender:!0}))},AO=Ab(ey((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(N.isEmpty)(r)||!o}})),"withColorContext"),zO=AO((function(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,o=e.value,i=e.onChange,a=e.className;function s(e){return function(){return i(o===e?void 0:e)}}var c=he("Custom color picker"),l=Pn()("components-color-palette",a);return Object(I.createElement)("div",{className:l},Object(N.map)(t,(function(e){var t=e.color,n=e.name,r={color:t},i=Pn()("components-color-palette__item",{"is-active":o===t});return Object(I.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(I.createElement)(ja,{text:n||me(he("Color code: %s"),t)},Object(I.createElement)("button",{type:"button",className:i,style:r,onClick:s(t),"aria-label":n?me(he("Color: %s"),n):me(he("Color code: %s"),t),"aria-pressed":o===t})),o===t&&Object(I.createElement)(Ia,{icon:"saved"}))})),Object(I.createElement)("div",{className:"components-color-palette__custom-clear-wrapper"},!r&&Object(I.createElement)(ds,{className:"components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(va,{"aria-expanded":t,onClick:n,"aria-label":c,isLink:!0},he("Custom Color"))},renderContent:function(){return Object(I.createElement)(Is,{color:o,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(I.createElement)(va,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},he("Clear"))))}));var FO=Ab((function(e){return Y_((function(e){return Object(N.pick)(e,["clientId"])}))(e)}),"withClientId"),HO=FO((function(e){var t=e.clientId;return Object(I.createElement)(LO,{rootClientId:t})})),VO=Object(N.flowRight)([FO,ey((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(N.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(I.createElement)(dO,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(I.createElement)(yO,{rootClientId:t,lastBlockClientId:n}))})),BO=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Me(t,e),Ee(t,[{key:"getTemplateLock",value:function(){var e=this.props,t=e.templateLock,n=e.parentLock;return void 0===t?n:t}},{key:"componentDidMount",value:function(){0!==this.props.block.innerBlocks.length&&"all"!==this.getTemplateLock()||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block.innerBlocks;(this.updateNestedSettings(),0===r.length||"all"===this.getTemplateLock())&&(!Object(N.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,i=Rp(o,t);Object(N.isEqual)(i,o)||r(i)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o={allowedBlocks:n,templateLock:this.getTemplateLock()};nr()(t,o)||r(o)}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.hasOverlay,r=e.renderAppender,o=this.state.templateInProcess,i=Pn()("editor-inner-blocks block-editor-inner-blocks",{"has-overlay":n});return Object(I.createElement)("div",{className:i},!o&&Object(I.createElement)(wO,{rootClientId:t,renderAppender:r}))}}]),t}(I.Component);(BO=Object(N.flowRight)([Y_((function(e){return Object(N.pick)(e,["clientId"])})),ey((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,a=n.getBlockListSettings,s=n.getBlockRootClientId,c=n.getTemplateLock,l=t.clientId,u=i(l),d=s(l);return{block:u,blockListSettings:a(l),hasOverlay:"core/template"!==u.name&&!r(l)&&!o(l,!0),parentLock:c(d)}})),ry((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,a=t.clientId,s=t.templateInsertUpdatesSelection,c=void 0===s||s;return{replaceInnerBlocks:function(e){r(a,e,0===i.innerBlocks.length&&c)},updateNestedSettings:function(t){e(o(a,t))}}}))])(BO)).DefaultBlockAppender=VO,BO.ButtonBlockAppender=HO,BO.Content=Lf((function(e){var t=e.BlockContent;return Object(I.createElement)(t,null)}));var UO=Ka("InspectorAdvancedControls"),WO=UO.Fill,KO=UO.Slot,YO=$_(WO);YO.Slot=KO;var $O=YO,qO=Ka("InspectorControls"),GO=qO.Fill,ZO=qO.Slot,XO=$_(GO);XO.Slot=ZO;var QO=XO,JO=yu("editor.MediaUpload")((function(){return null})),eS=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Ce(e)),e.state={isSettingsExpanded:!1},e}return Me(t,e),Ee(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,r=e.position,o=void 0===r?"bottom center":r,i=e.focusOnMount,a=void 0===i?"firstElement":i,s=j(e,["children","renderSettings","position","focusOnMount"]),c=this.state.isSettingsExpanded,l=!!n&&c;return Object(I.createElement)(Ga,Ne({className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:o},s),Object(I.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(I.createElement)(Pa,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:he("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":c})),l&&Object(I.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(I.Component),tS=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(I.createElement)(eS,{onClose:o},Object(I.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:r},Object(I.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":he("URL"),placeholder:he("Paste or type URL"),onChange:n,value:t}),Object(I.createElement)(Pa,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:he("Apply"),type:"submit"})))},nS=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Ce(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Ce(e)),e.onUpload=e.onUpload.bind(Ce(e)),e.onFilesUpload=e.onFilesUpload.bind(Ce(e)),e.openURLInput=e.openURLInput.bind(Ce(e)),e.closeURLInput=e.closeURLInput.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(N.every)(e,(function(e){return"image"===e||Object(N.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(N.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(N.get)(e.value,["src"],"")!==Object(N.get)(this.props.value,["src"],"")&&this.setState({src:Object(N.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,a=n.multiple,s=n.onError,c=n.onSelect,l=n.value;if(a)if(r){var u=void 0===l?[]:l;t=function(e){c(u.concat(e))}}else t=c;else t=function(e){var t=Ae(e,1)[0];return c(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:s})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,a=n.icon,s=n.isAppender,c=n.labels,l=void 0===c?{}:c,u=n.onDoubleClick,d=n.mediaPreview,f=n.notices,h=n.onSelectURL,p=n.mediaUpload,v=l.instructions,m=l.title;if(p||h||(v=he("To edit this block, you need permission to upload media.")),void 0===v||void 0===m){var g=1===o.length,b=g&&"audio"===o[0],y=g&&"image"===o[0],k=g&&"video"===o[0];void 0===v&&p&&(v=he("Drag a media file, upload a new one or select a file from your library."),b?v=he("Drag an audio, upload a new one or select a file from your library."):y?v=he("Drag an image, upload a new one or select a file from your library."):k&&(v=he("Drag a video, upload a new one or select a file from your library."))),void 0===m&&(m=he("Media"),b?m=he("Audio"):y?m=he("Image"):k&&(m=he("Video")))}var _=Pn()("block-editor-media-placeholder","editor-media-placeholder",i,{"is-appender":s});return Object(I.createElement)(Fc,{icon:a,label:m,instructions:v,className:_,notices:f,onClick:t,onDoubleClick:u,preview:d},e)}},{key:"renderDropZone",value:function(){var e=this.props.onHTMLDrop,t=void 0===e?N.noop:e;return Object(I.createElement)(Qs,{onFilesDrop:this.onFilesUpload,onHTMLDrop:t})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(I.createElement)(va,{className:"block-editor-media-placeholder__cancel-button",title:he("Cancel"),isLink:!0,onClick:e},he("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(I.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(I.createElement)(va,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:t,isLarge:!0},he("Insert from URL")),t&&Object(I.createElement)(tS,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,a=t.isAppender,s=t.mediaUpload,c=t.multiple,l=void 0!==c&&c,u=t.onSelect,d=t.value,f=void 0===d?{}:d,h=Object(I.createElement)(JO,{addToGallery:r,gallery:l&&this.onlyAllowsImages(),multiple:l,onSelect:u,allowedTypes:i,value:Object(N.isArray)(f)?f.map((function(e){return e.id})):f.id,render:function(e){var t=e.open;return Object(I.createElement)(va,{isLarge:!0,className:Pn()("editor-media-placeholder__button","editor-media-placeholder__media-library-button"),onClick:function(e){e.stopPropagation(),t()}},he("Media Library"))}});if(s&&a)return Object(I.createElement)(I.Fragment,null,this.renderDropZone(),Object(I.createElement)(uc,{onChange:this.onUpload,accept:n,multiple:l,render:function(t){var n=t.openFileDialog,r=Object(I.createElement)(I.Fragment,null,Object(I.createElement)(Pa,{isLarge:!0,className:Pn()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),icon:"upload"},he("Upload")),h,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(s){var p=Object(I.createElement)(I.Fragment,null,this.renderDropZone(),Object(I.createElement)(uc,{isLarge:!0,className:Pn()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:l},he("Upload")),h,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(p)}return this.renderPlaceholder(h)}},{key:"render",value:function(){return this.props.dropZoneUIOnly?Object(I.createElement)(ww,null,this.renderDropZone()):Object(I.createElement)(ww,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(I.Component),rS=ey((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),oS=(Object(N.flowRight)(rS,yu("editor.MediaPlaceholder"))(nS),he("(current %s: %s)"));var iS=Object(N.flowRight)([AO,zb((function(e){return e.hasColorsToChoose}))])((function(e){var t=e.colors,n=e.disableCustomColors,r=e.label,o=e.onChange,i=e.value,a=B_(t,i),s=a&&a.name,c=me(oS,r.toLowerCase(),s||i);return Object(I.createElement)(ss,{className:"editor-color-palette-control block-editor-color-palette-control"},Object(I.createElement)(ss.VisualLabel,null,r,i&&Object(I.createElement)(us,{colorValue:i,"aria-label":c})),Object(I.createElement)(zO,Ne({className:"editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette",value:i,onChange:o},{colors:t,disableCustomColors:n})))})),aS=function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e},sS=he("(%s: %s)"),cS=(AO(zb((function(e){var t=e.colors,n=e.disableCustomColors,r=e.colorSettings;return Object(N.some)(r,(function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!aS(t,n)||(n.colors||e).length>0}(t,n,e)}))}))((function(e){var t=e.children,n=e.colors,r=e.colorSettings,o=e.disableCustomColors,i=e.title,a=j(e,["children","colors","colorSettings","disableCustomColors","title"]),s=Object(I.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map((function(e,n){var r=e.value,o=e.label,i=e.colors;if(!r)return null;var a=B_(i||t,r),s=a&&a.name,c=me(sS,o.toLowerCase(),s||r);return Object(I.createElement)(us,{key:n,colorValue:r,"aria-label":c})}))}(r,n));return Object(I.createElement)(zc,Ne({className:"editor-panel-color-settings block-editor-panel-color-settings",title:s},a),r.map((function(e,t){return Object(I.createElement)(iS,Ne({key:t},D({colors:n,disableCustomColors:o},e)))})),t)}))),Object(I.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=j(e,["onChange","className"]);return Object(I.createElement)(qw.a,Ne({ref:t,className:Pn()("editor-plain-text block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))})),ey((function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}}))((function(e){var t=e.formatTypes,n=e.onChange,r=e.value;return Object(I.createElement)(I.Fragment,null,t.map((function(e){var t=e.name,o=e.edit;if(!o)return null;var i=Ko(r,t),a=void 0!==i,s=function(e){var t=e.start,n=e.end,r=e.replacements,o=e.text;if(t+1===n&&o[t]===Io)return r[t]}(r),c=void 0!==s;return Object(I.createElement)(o,{key:t,isActive:a,activeAttributes:a&&i.attributes||{},isObjectActive:c,activeObjectAttributes:c&&s.attributes||{},value:r,onChange:n})})))}))),lS=function(e){var t=e.controls;return Object(I.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(I.createElement)(gu,null,t.map((function(e){return Object(I.createElement)(Va,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(I.createElement)(Va,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(I.createElement)(rc,{icon:!1,position:"bottom left",label:he("More Rich Text Controls"),controls:Object(N.orderBy)(e.map((function(e){return Ae(e,1)[0].props})),"title")})}))))},uS=function(e){return Object(N.pickBy)(e,(function(e,t){return n=t,Object(N.startsWith)(n,"aria-")&&!Object(N.isNil)(e);var n}))},dS=window.navigator.userAgent;var fS=dS.indexOf("Trident")>=0,hS=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).call(this))).bindEditorNode=e.bindEditorNode.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(N.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(N.isEqual)(this.props.className,e.className)||(this.editorNode.className=Pn()("block-editor-rich-text__editable","editor-rich-text__editable",e.className));var n=function(e,t){var n=Object(N.keys)(uS(e)),r=Object(N.keys)(uS(t));return{removedKeys:Object(N.difference)(n,r),updatedKeys:r.filter((function(n){return!Object(N.isEqual)(e[n],t[n])}))}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;return r.forEach((function(e){return t.editorNode.removeAttribute(e)})),o.forEach((function(n){return t.editorNode.setAttribute(n,e[n])})),!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),fS&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,r=t.keyCode;if((Ln===r||Kn===r)&&e.contains(n)){var o=document.createEvent("Event");o.initEvent("input",!0,!1),o.data=null,n.dispatchEvent(o)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.record,a=t.valueToEditableHTML,s=t.className,c=t.isPlaceholderVisible,l=j(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete l.setRef,Object(I.createElement)(r,D((x(e={role:"textbox","aria-multiline":!0,className:Pn()("block-editor-rich-text__editable","editor-rich-text__editable",s),contentEditable:!0},"data-is-placeholder-visible",c),x(e,"ref",this.bindEditorNode),x(e,"style",o),x(e,"suppressContentEditableWarning",!0),x(e,"dangerouslySetInnerHTML",{__html:a(i)}),e),l))}}]),t}(I.Component);var pS=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onUse=e.onUse.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(I.createElement)(ys,{bindGlobal:!0,shortcuts:x({},Zn[n](t),this.onUse)})}}]),t}(I.Component),vS=function(e){var t=e.onTagNameChange,n=e.tagName,r=e.value,o=e.onChange;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(pS,{type:"primary",character:"[",onUse:function(){o(Ni(r))}}),Object(I.createElement)(pS,{type:"primary",character:"]",onUse:function(){o(Ii(r,{type:n}))}}),Object(I.createElement)(pS,{type:"primary",character:"m",onUse:function(){o(Ii(r,{type:n}))}}),Object(I.createElement)(pS,{type:"primaryShift",character:"m",onUse:function(){o(Ni(r))}}),Object(I.createElement)(fw,null,Object(I.createElement)(gu,{controls:[t&&{icon:"editor-ul",title:he("Convert to unordered list"),isActive:Go(r,"ul",n),onClick:function(){o(Ri(r,{type:"ul"})),qo(r)&&t("ul")}},t&&{icon:"editor-ol",title:he("Convert to ordered list"),isActive:Go(r,"ol",n),onClick:function(){o(Ri(r,{type:"ol"})),qo(r)&&t("ol")}},{icon:"editor-outdent",title:he("Outdent list item"),shortcut:ve("Backspace","keyboard key"),onClick:function(){o(Ni(r))}},{icon:"editor-indent",title:he("Indent list item"),shortcut:ve("Space","keyboard key"),onClick:function(){o(Ii(r,{type:n}))}}].filter(Boolean)})))},mS=[Zn.primary("z"),Zn.primaryShift("z"),Zn.primary("y")],gS=Object(I.createElement)(ys,{bindGlobal:!0,shortcuts:Object(N.fromPairs)(mS.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),bS=function(){return gS};I.Component;var yS=window,kS=yS.getSelection,_S=yS.getComputedStyle,wS=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),OS=document.createElement("style");function SS(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}document.head.appendChild(OS);var ES=function(e){function t(e){var n,r=e.value,o=e.onReplace,i=e.multiline,a=e.selectionStart,s=e.selectionEnd;return Oe(this,t),n=Te(this,xe(t).apply(this,arguments)),!0!==i&&"p"!==i&&"li"!==i||(n.multilineTag=!0===i?"p":i),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.onFocus=n.onFocus.bind(Ce(n)),n.onBlur=n.onBlur.bind(Ce(n)),n.onChange=n.onChange.bind(Ce(n)),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(Ce(n)),n.onKeyDown=n.onKeyDown.bind(Ce(n)),n.onPaste=n.onPaste.bind(Ce(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(Ce(n)),n.onInput=n.onInput.bind(Ce(n)),n.onCompositionEnd=n.onCompositionEnd.bind(Ce(n)),n.onSelectionChange=n.onSelectionChange.bind(Ce(n)),n.getRecord=n.getRecord.bind(Ce(n)),n.createRecord=n.createRecord.bind(Ce(n)),n.applyRecord=n.applyRecord.bind(Ce(n)),n.isEmpty=n.isEmpty.bind(Ce(n)),n.valueToFormat=n.valueToFormat.bind(Ce(n)),n.setRef=n.setRef.bind(Ce(n)),n.valueToEditableHTML=n.valueToEditableHTML.bind(Ce(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(Ce(n)),n.onPointerDown=n.onPointerDown.bind(Ce(n)),n.onSplit=n.onSplit.bind(Ce(n)),n.patterns=function(e){var t=e.onReplace,n=e.valueToFormat,r=tf("from").filter((function(e){return"prefix"===e.type}));return[function(e){if(!t)return e;var o=e.start,i=Yo(e),a=i.slice(o-1,o);if(!/\s/.test(a))return e;var s=i.slice(0,o).trim(),c=ef(r,(function(e){var t=e.prefix;return s===t}));if(!c)return e;var l=n(ri(e,o,i.length)),u=c.transform(l);return t([u]),e},function(e){var t=e.start,n=Yo(e);if("`"!==n.slice(t-1,t))return e;var r=n.slice(0,t-1).lastIndexOf("`");if(-1===r)return e;var o=r,i=t-2;return o===i?e:(e=ti(e,o,o+1),e=Do(e=ti(e,i,i+1),{type:"code"},o,i))}]}({onReplace:o,valueToFormat:n.valueToFormat}),n.enterPatterns=tf("from").filter((function(e){return"enter"===e.type})),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(r),n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=a,n.record.end=s,n}return Me(t,e),Ee(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"getRecord",value:function(){return this.record}},{key:"createRecord",value:function(){var e=kS(),t=e.rangeCount>0?e.getRangeAt(0):null;return Ao({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly;_i({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:SS(this.props,"format_prepare_functions"),__unstableDomOnly:n})}},{key:"isEmpty",value:function(){return Xo(this.record)}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(N.isNil)(n)?[]:n,r=Object(N.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(b){try{i=t.getData("Text")}catch(y){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",i),window.console.log("Received plain text:\n\n",o);var a,s=Object(N.find)([].concat(lt(n),lt(r)),(function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})),c=this.getRecord();if(s&&!i){var l=s.getAsFile?s.getAsFile():s,u=Ip({HTML:'<img src="'.concat(kp(l),'">'),mode:"BLOCKS",tagName:this.props.tagName}),d=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",l),void(d?this.props.onReplace(u):this.onSplit&&this.onSplit(c,u))}if(!Zo(c)){var f=(i||o).replace(/<[^>]+>/g,"").trim();if(a=f,be.test(a))return this.onChange(Do(c,{type:"a",attributes:{href:If(f)}})),void window.console.log("Created link:\n\n",f)}var h=this.props.onReplace&&this.isEmpty(),p=this.props.onReplace&&this.props.onSplit,v="INLINE";h?v="BLOCKS":p&&(v="AUTO");var m=Ip({HTML:i,plainText:o,mode:v,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof m){var g=Ao({html:m});this.multilineTag&&(g=ni(g,/\n+/g,jo)),this.onChange(ei(c,g))}else m.length>0&&(h?this.props.onReplace(m):this.onSplit(c,m))}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle();this.record=D({},this.record,{start:void 0,end:void 0,activeFormats:void 0}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:void 0}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||wS.has(t))return void this.applyRecord(this.getRecord())}var n=this.createRecord(),r=this.record,o=r.start,i=r.activeFormats,a=void 0===i?[]:i,s=Li({value:n,start:o,end:n.start,formats:a});this.onChange(s,{withoutHistory:!0});var c=this.patterns.reduce((function(e,t){return t(e)}),s);c!==s&&(this.onCreateUndoLevel(),this.onChange(D({},c,{activeFormats:a}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){var e=this.createRecord(),t=e.start,n=e.end,r=this.getRecord();if(t!==r.start||n!==r.end){var o=this.props.isCaretWithinFormattedText,i=D({},r,{start:t,end:n,activeFormats:void 0}),a=Wo(i);i.activeFormats=a,!o&&a.length?this.props.onEnterFormattedText():o&&!a.length&&this.props.onExitFormattedText(),this.record=i,this.applyRecord(i,{domOnly:!0}),this.props.onSelectionChange(t,n),this.setState({activeFormats:a}),a.length>0&&this.recalculateBoundaryStyle()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=_S(e).color.replace(")",", 0.2)").replace("rgb","rgba"),n=".".concat("block-editor-rich-text__editable",":focus ").concat("*[data-rich-text-format-boundary]"),r="background-color: ".concat(t);OS.innerHTML="".concat(n," {").concat(r,"}")}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,o=e.end,i=e.activeFormats,a=void 0===i?[]:i,s=Object(N.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onChange(this.value),this.props.onSelectionChange(r,o),this.setState({activeFormats:a}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,r=t.onRemove;if(n||r){var o=e.keyCode===Ln;if(Zo(this.createRecord())){var i=this.isEmpty();(i||Qi(this.editableRef,o))&&(n&&n(!o),r&&i&&o&&r(!o),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,o=e.metaKey,i=e.ctrlKey,a=this.props,s=a.onReplace,c=a.onSplit,l=s&&c;if(n||r||o||i||t!==Vn&&t!==Un||this.handleHorizontalNavigation(e),t===Hn&&"li"===this.multilineTag){var u=this.createRecord();if(Zo(u)){var d=u.text[u.start-1];d&&d!==jo||(this.onChange(Ii(u,{type:this.props.tagName})),e.preventDefault())}}if(t===Kn||t===Ln){var f=this.createRecord(),h=f.start,p=f.end;if(0===h&&0!==p&&p===f.text.length)return this.onChange(ti(f)),void e.preventDefault();if(this.multilineTag){var v=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,o=e.start,i=e.end,a=Zo(e),s=o-1,c=a?o-1:o,l=i;if(t||(s=i,c=o,l=a?i+1:i),r[s]===jo){var u;if(a&&n[s]&&n[s].length){var d=n.slice();d[s]=n[s].slice(0,-1),u=D({},e,{replacements:d})}else u=ti(e,c,l);return u}}(f,t===Ln);v&&(this.onChange(v),e.preventDefault())}this.onDeleteKeyDown(e)}else if(t===zn){e.preventDefault();var m=this.createRecord();if(this.props.onReplace){var g=Yo(m),b=ef(this.enterPatterns,(function(e){return e.regExp.test(g)}));if(b)return void this.props.onReplace([b.transform({content:g})])}this.multilineTag?e.shiftKey?this.onChange(ei(m,"\n")):l&&function(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&t.slice(0,1)===jo||(n===t.length&&t.slice(-1)===jo||t.slice(n-1,r+1)==="".concat(jo).concat(jo))))}(m)?this.onSplit(m):this.onChange(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=Yo(e).slice(0,t).lastIndexOf(jo),o=e.replacements[r],i=[,];return o&&(i=[o]),ei(e,{formats:[,],replacements:i,text:jo},t,n)}(m)):e.shiftKey||!l?this.onChange(ei(m,"\n")):this.onSplit(m)}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=this.getRecord(),r=n.text,o=n.formats,i=n.start,a=n.end,s=n.activeFormats,c=void 0===s?[]:s,l=Zo(n),u="rtl"===_S(this.editableRef).direction?Un:Vn,d=e.keyCode===u;if(l&&0===c.length){if(0===i&&d)return;if(a===r.length&&!d)return}if(l){e.preventDefault();var f=o[i-1]||[],h=o[i]||[],p=c.length,v=h;if(f.length>h.length&&(v=f),f.length<h.length?(!d&&c.length<h.length&&p++,d&&c.length>f.length&&p--):f.length>h.length&&(!d&&c.length>h.length&&p--,d&&c.length<f.length&&p++),this.props.setTimeout((function(){return t.recalculateBoundaryStyle()})),p!==c.length){var m=v.slice(0,p),g=D({},n,{activeFormats:m});return this.record=g,this.applyRecord(g),void this.setState({activeFormats:m})}var b=n.start+(d?-1:1),y=d?f:h,k=D({},n,{start:b,end:b,activeFormats:y});this.record=k,this.applyRecord(k),this.props.onSelectionChange(b,b),this.setState({activeFormats:y})}}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle;if(r&&o){var a=[],s=oi(e),c=Ae(s,2),l=c[0],u=c[1],d=t.length>0;d&&Xo(l)||a.push(o(this.valueToFormat(l))),d?a.push.apply(a,lt(t)):i&&a.push(i()),!d&&i&&Xo(u)||a.push(o(this.valueToFormat(u)));var f=d?a.length-1:1;r(a,f)}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t),o=t.ownerDocument.createRange(),i=kS();o.setStart(t.parentNode,r),o.setEnd(t.parentNode,r+1),i.removeAllRanges(),i.addRange(o)}}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.tagName,r=t.value,o=t.selectionStart,i=t.selectionEnd,a=t.isSelected,s=n===e.tagName&&r!==e.value&&r!==this.value;s=s||a&&!e.isSelected&&(this.record.start!==o||this.record.end!==i);var c=function(e,t){return t.startsWith("format_prepare_props_")},l=Object(N.pickBy)(this.props,c),u=Object(N.pickBy)(e,c);s=s||!nr()(l,u);var d=this.record.activeFormats,f=void 0===d?[]:d;s?(this.value=r,this.record=this.formatToValue(r),this.record.start=o,this.record.end=i,Li({value:this.record,start:this.record.start,end:this.record.end,formats:f}),this.applyRecord(this.record)):this.record.start===o&&this.record.end===i||(this.record=D({},this.record,{start:o,end:i}))}},{key:"formatToValue",value:function(e){if(Array.isArray(e)&&(e=gh.toHTML(e)),"string"===this.props.format){var t=SS(this.props,"format_value_functions");return(e=Ao({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags})).formats=t(e),e}return e}},{key:"valueToEditableHTML",value:function(e){return ki({value:e,multilineTag:this.multilineTag,prepareEditableTree:SS(this.props,"format_prepare_functions")}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach((function(t){t.__experimentalCreatePrepareEditableTree&&(e=Qo(e,t.name,0,e.text.length))})),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?gh.fromDOM(ki({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?wi({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.wrapperClassName,a=t.className,s=t.inlineToolbar,c=void 0!==s&&s,l=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,f=void 0!==d&&d,h=t.isSelected,p=t.autocompleters,v=t.onTagNameChange,m=r,g=this.multilineTag,b=uS(this.props),y=u&&(!h||f)&&this.isEmpty(),k=Pn()(i,"editor-rich-text block-editor-rich-text"),_=this.getRecord();return Object(I.createElement)("div",{className:k},h&&"li"===this.multilineTag&&Object(I.createElement)(vS,{onTagNameChange:v,tagName:r,value:_,onChange:this.onChange}),h&&!c&&Object(I.createElement)(fw,null,Object(I.createElement)(lS,{controls:l})),h&&c&&Object(I.createElement)(Ra,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(I.createElement)(lS,{controls:l})),Object(I.createElement)(Z_,{onReplace:this.props.onReplace,completers:p,record:_,onChange:this.onChange},(function(t){var n=t.listBoxId,i=t.activeId;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(hS,Ne({tagName:r,style:o,record:_,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:y,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},b,{className:a,key:m,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),y&&Object(I.createElement)(r,{className:Pn()("editor-rich-text__editable block-editor-rich-text__editable",a),style:o},g?Object(I.createElement)(g,null,u):u),h&&Object(I.createElement)(cS,{value:_,onChange:e.onChange}))})),h&&Object(I.createElement)(bS,null))}}]),t}(I.Component);ES.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var CS=Object(N.flowRight)([Hb,Y_((function(e){return{clientId:e.clientId}})),ey((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,a=t.isSelected,s=e("core/editor").canUserUseUnfilteredHTML,c=e("core/block-editor"),l=c.isCaretWithinFormattedText,u=c.getSelectionStart,d=c.getSelectionEnd,f=e("core/rich-text").getFormatTypes,h=u(),p=d();return void 0===a&&(a=h.clientId===n&&h.attributeKey===i),{canUserUseUnfilteredHTML:s(),isCaretWithinFormattedText:l(),formatTypes:f(),selectionStart:a?h.offset:void 0,selectionEnd:a?p.offset:void 0,isSelected:a}})),ry((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,a=e("core/block-editor"),s=a.__unstableMarkLastChangeAsPersistent,c=a.enterFormattedText,l=a.exitFormattedText,u=a.selectionChange;return{onCreateUndoLevel:s,onEnterFormattedText:c,onExitFormattedText:l,onSelectionChange:function(e,t){u(n,i,e,t)}}})),Vb,yu("experimentalRichText")])(ES);CS.Content=function(e){var t,n=e.value,r=e.tagName,o=e.multiline,i=j(e,["value","tagName","multiline"]),a=n;!0!==o&&"p"!==o&&"li"!==o||(t=!0===o?"p":o),Array.isArray(n)&&(a=gh.toHTML(n)),!a&&t&&(a="<".concat(t,"></").concat(t,">"));var s=Object(I.createElement)(K,null,a);return r?Object(I.createElement)(r,Object(N.omit)(i,["format"]),s):s},CS.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},CS.Content.defaultProps={format:"string",value:""};var TS=function(e){return e.stopPropagation()},xS=function(e){function t(e){var n,r=e.autocompleteRef;return Oe(this,t),(n=Te(this,xe(t).apply(this,arguments))).onChange=n.onChange.bind(Ce(n)),n.onKeyDown=n.onKeyDown.bind(Ce(n)),n.autocompleteRef=r||Object(I.createRef)(),n.inputRef=Object(I.createRef)(),n.updateSuggestions=Object(N.throttle)(n.updateSuggestions.bind(Ce(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Me(t,e),Ee(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,vc()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchLinkSuggestions;if(n)if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var r=n(e);r.then((function(e){t.suggestionsRequest===r&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(me(pe("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(he("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),this.suggestionsRequest=r}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var a=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case Bn:e.stopPropagation(),e.preventDefault();var s=r?r-1:o.length-1;this.setState({selectedSuggestion:s});break;case Wn:e.stopPropagation(),e.preventDefault();var c=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:c});break;case An:null!==this.state.selectedSuggestion&&(this.selectLink(a),this.props.speak(he("Link selected.")));break;case zn:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(a))}}else switch(e.keyCode){case Bn:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Wn:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=void 0===n?"":n,o=t.autoFocus,i=void 0===o||o,a=t.instanceId,s=t.className,c=this.state,l=c.showSuggestions,u=c.suggestions,d=c.selectedSuggestion,f=c.loading,h="block-editor-url-input-suggestions-".concat(a),p="block-editor-url-input-suggestion-".concat(a);return Object(I.createElement)("div",{className:Pn()("editor-url-input block-editor-url-input",s)},Object(I.createElement)("input",{autoFocus:i,type:"text","aria-label":he("URL"),required:!0,value:r,onChange:this.onChange,onInput:TS,placeholder:he("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":l,"aria-autocomplete":"list","aria-owns":h,"aria-activedescendant":null!==d?"".concat(p,"-").concat(d):void 0,ref:this.inputRef}),f&&Object(I.createElement)(fu,null),l&&!!u.length&&Object(I.createElement)(Ga,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(I.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:h,ref:this.autocompleteRef,role:"listbox"},u.map((function(t,n){return Object(I.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"".concat(p,"-").concat(n),ref:e.bindSuggestionNode(n),className:Pn()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},t.title)})))))}}]),t}(I.Component),DS=Object(N.flowRight)(Vb,ts,Hb,ey((function(e){return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(xS),MS=(I.Component,Ka("__experimentalBlockSettingsMenuFirstItem")),jS=MS.Fill,IS=MS.Slot;jS.Slot=IS;var PS=jS,NS=Ka("__experimentalBlockSettingsMenuPluginsExtension"),RS=NS.Fill,LS=NS.Slot;RS.Slot=LS;var AS=RS;var zS=Object(N.flowRight)([ey((function(e,t){var n=e("core/block-editor"),r=n.getBlocksByClientId,o=n.getTemplateLock,i=n.getBlockRootClientId,a=r(t.clientIds),s=Object(N.every)(a,(function(e){return!!e&&Wd(e.name,"multiple",!0)})),c=i(t.clientIds[0]);return{isLocked:!!o(c),blocks:a,canDuplicate:s,rootClientId:c,extraProps:t}})),ry((function(e,t,n){var r=n.select,o=t.clientIds,i=t.rootClientId,a=t.blocks,s=t.isLocked,c=t.canDuplicate,l=e("core/block-editor"),u=l.insertBlocks,d=l.multiSelect,f=l.removeBlocks,h=l.insertDefaultBlock,p=l.replaceBlocks;return{onDuplicate:function(){if(!s&&c){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.last)(Object(N.castArray)(o)),i),t=a.map((function(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return D({},t,{clientId:_u()(),attributes:D({},t.attributes,n),innerBlocks:r||t.innerBlocks.map((function(t){return e(t)}))})}(e)}));u(t,e+1,i),t.length>1&&d(Object(N.first)(t).clientId,Object(N.last)(t).clientId)}},onRemove:function(){s||f(o)},onInsertBefore:function(){if(!s){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.first)(Object(N.castArray)(o)),i);h({},i,e)}},onInsertAfter:function(){if(!s){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.last)(Object(N.castArray)(o)),i);h({},i,e+1)}},onGroup:function(){if(a.length){var e=nf(a,"core/group");e&&p(o,e)}},onUngroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&p(o,e)}}}}))])((function(e){var t=e.onDuplicate,n=e.onRemove,r=e.onInsertBefore,o=e.onInsertAfter,i=e.onGroup,a=e.onUngroup,s=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:o,onInsertBefore:r,onGroup:i,onUngroup:a,isLocked:s,canDuplicate:c})})),FS=function(e){return e.preventDefault(),e},HS={duplicate:{raw:Zn.primaryShift("d"),display:Qn.primaryShift("d")},removeBlock:{raw:Zn.access("z"),display:Qn.access("z")},insertBefore:{raw:Zn.primaryAlt("t"),display:Qn.primaryAlt("t")},insertAfter:{raw:Zn.primaryAlt("y"),display:Qn.primaryAlt("y")}},VS=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).selectAll=e.selectAll.bind(Ce(e)),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(Ce(e)),e.clearMultiSelection=e.clearMultiSelection.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(N.first)(n),Object(N.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,r=t.hasMultiSelection,o=t.onRemove,i=t.isLocked;r&&(e.preventDefault(),i||o(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(ys,{shortcuts:(e={},x(e,Zn.primary("a"),this.selectAll),x(e,"backspace",this.deleteSelectedBlocks),x(e,"del",this.deleteSelectedBlocks),x(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(I.createElement)(zS,{clientIds:t},(function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(I.createElement)(ys,{bindGlobal:!0,shortcuts:(t={},x(t,HS.duplicate.raw,Object(N.flow)(FS,n)),x(t,HS.removeBlock.raw,Object(N.flow)(FS,r)),x(t,HS.insertBefore.raw,Object(N.flow)(FS,i)),x(t,HS.insertAfter.raw,Object(N.flow)(FS,o)),t)})})))}}]),t}(I.Component),BS=(Object(N.flowRight)([ey((function(e){var t=e("core/block-editor"),n=t.getBlockOrder,r=t.getSelectedBlockClientIds,o=t.hasMultiSelection,i=t.getBlockRootClientId,a=t.getTemplateLock,s=r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(N.some)(s,(function(e){return!!a(i(e))})),selectedBlockClientIds:s}})),ry((function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}}))])(VS),ey((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(I.createElement)(va,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){pO(t).closest(".block-editor-block-list__block").focus()}},he("Skip to the selected block"))}))),US=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Oe(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var t;return(t=this._valueAsArray)[e].apply(t,arguments)}.bind(t)}))}return Ee(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:Ve.a.mark((function e(){return Ve.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value=N.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(N.uniq)(Object(N.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}();function WS(e,t,n){var r=new US(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var KS=Object(N.flowRight)([ey((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,i=r(n),a=Vd(i.name);return{block:i,name:i.name,attributes:i.attributes,className:i.attributes.className||"",styles:o(i.name),type:a}})),ry((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.name,i=e.attributes,a=e.type,s=e.block,c=e.onSwitch,l=void 0===c?N.noop:c,u=e.onHoverClassName,d=void 0===u?N.noop:u;if(!t||0===t.length)return null;a.styles||Object(N.find)(t,"isDefault")||(t=[{name:"default",label:ve("Default","block style"),isDefault:!0}].concat(lt(t)));var f=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=new US(t).values()[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(-1!==s.indexOf("is-style-")){var c=s.substring(9),l=Object(N.find)(e,{name:c});if(l)return l}}}catch(u){r=!0,o=u}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return Object(N.find)(e,"isDefault")}(t,n);function h(e){var t=WS(n,f,e);r(t),d(null),l()}return Object(I.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map((function(e){var t=WS(n,f,e);return Object(I.createElement)("div",{key:e.name,className:Pn()("editor-block-styles__item block-editor-block-styles__item",{"is-active":f===e}),onClick:function(){return h(e)},onKeyDown:function(t){zn!==t.keyCode&&Hn!==t.keyCode||(t.preventDefault(),h(e))},onMouseEnter:function(){return d(t)},onMouseLeave:function(){return d(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(I.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(I.createElement)(OO,{name:o,attributes:D({},i,{className:t}),innerBlocks:s.innerBlocks})),Object(I.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))})),YS={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","-¿×÷"," -⯿","⸀-","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},$S=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},qS=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},GS=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},ZS=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},XS=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},QS=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},JS=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},eE=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},tE=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function nE(e,t,n){if(""===e)return 0;if(e){var r=function(e,t){var n=Object(N.extend)(YS,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),o=r[t+"RegExp"],i="words"===r.type?function(e,t,n){return e=Object(N.flow)($S.bind(this,n),QS.bind(this,n),JS.bind(this,n),eE.bind(this,n),GS.bind(this,n),ZS.bind(this,n),XS.bind(this,n))(e),(e+="\n").match(t)}(e,o,r):function(e,t,n){return e=Object(N.flow)($S.bind(this,n),QS.bind(this,n),JS.bind(this,n),eE.bind(this,n),qS.bind(this,n),tE.bind(this,n))(e),(e+="\n").match(t)}(e,o,r);return i?i.length:0}}var rE=ey((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=nE(Wf(t),"words");return Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(I.createElement)(hw,{icon:Object(I.createElement)(jn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(Dn,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},me(pe("%d block","%d blocks",t.length),t.length)),Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},me(pe("%d word","%d words",n),n))))})),oE=(ey((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,i=e("core/blocks").getBlockStyles,a=n(),s=a&&o(a),c=a&&Vd(s),l=a&&i(s);return{count:r(),hasBlockStyles:l&&l.length>0,selectedBlockName:s,selectedBlockClientId:a,blockType:c}}))((function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,r=e.blockType,o=e.count,i=e.hasBlockStyles;if(o>1)return Object(I.createElement)(rE,null);var a=n===Fd();return r&&t&&!a?Object(I.createElement)(I.Fragment,null,Object(I.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(I.createElement)(hw,{icon:r.icon,showColors:!0}),Object(I.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(I.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},r.title),Object(I.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},r.description))),i&&Object(I.createElement)("div",null,Object(I.createElement)(zc,{title:he("Styles"),initialOpen:!1},Object(I.createElement)(KS,{clientId:t}))),Object(I.createElement)("div",null,Object(I.createElement)(QO.Slot,null)),Object(I.createElement)("div",null,Object(I.createElement)($O.Slot,null,(function(e){return!Object(N.isEmpty)(e)&&Object(I.createElement)(zc,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:he("Advanced"),initialOpen:!1},e)}))),Object(I.createElement)(BS,{key:"back"})):Object(I.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},he("No block selected."))})),function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Ce(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(I.createElement)("div",Ne({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(N.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(I.Component));Object(N.flowRight)([ey((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),ry((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(oE);var iE=Object(N.flowRight)([ey((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockMode,a=r.getSettings,s=o(n),c=a().codeEditingEnabled;return{mode:i(n),blockType:s?Vd(s.name):null,isCodeEditingEnabled:c}})),ry((function(e,t){var n=t.onToggle,r=void 0===n?N.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,a=e.isCodeEditingEnabled,s=void 0===a||a;if(!Wd(t,"html",!0)||!s)return null;var c=he("visual"===n?"Edit as HTML":"Edit visually");return Object(I.createElement)(wc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:r,icon:"html"},!i&&c)}));function aE(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=he("Convert to Blocks");return Object(I.createElement)(wc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var sE=Object(N.flowRight)(ey((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),ry((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Pp({HTML:Vf(n)}))}}})))(aE),cE=Object(N.flowRight)(ey((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===zd()}})),ry((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Pp({HTML:Wf(n)}))}}})))(aE);var lE=function(e){var t=e.clientIds,n=Object(N.castArray)(t),r=n.length,o=n[0];return Object(I.createElement)(zS,{clientIds:t},(function(e){var n=e.onDuplicate,i=e.onRemove,a=e.onInsertAfter,s=e.onInsertBefore,c=e.canDuplicate,l=e.isLocked;return Object(I.createElement)(gu,null,Object(I.createElement)(rc,{icon:"ellipsis",label:he("More options"),position:"bottom right",className:"block-editor-block-settings-menu",__unstableToggleClassName:"block-editor-block-settings-menu__toggle editor-block-settings-menu__toggle",__unstableMenuClassName:"block-editor-block-settings-menu__content editor-block-settings-menu__content",__unstablePopoverClassName:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover"},(function(e){var u=e.onClose;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(_c,null,Object(I.createElement)(PS.Slot,{fillProps:{onClose:u}}),1===r&&Object(I.createElement)(cE,{clientId:o}),1===r&&Object(I.createElement)(sE,{clientId:o}),!l&&c&&Object(I.createElement)(wc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,n),icon:"admin-page",shortcut:HS.duplicate.display},he("Duplicate")),!l&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(wc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,s),icon:"insert-before",shortcut:HS.insertBefore.display},he("Insert Before")),Object(I.createElement)(wc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,a),icon:"insert-after",shortcut:HS.insertAfter.display},he("Insert After"))),1===r&&Object(I.createElement)(iE,{clientId:o,onToggle:u}),Object(I.createElement)(AS.Slot,{fillProps:{clientIds:t,onClose:u}})),Object(I.createElement)(_c,null,!l&&Object(I.createElement)(wc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,i),icon:"trash",shortcut:HS.removeBlock.display},he("Remove Block"))))})))}))},uE=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Ce(e)),e}return Me(t,e),Ee(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,i=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var s,c=Object(N.mapKeys)(o,(function(e){return e.name})),l=Object(N.orderBy)(Object(N.filter)(function(e){if(Object(N.isEmpty)(e))return[];var t=Gd(e),n=Zd(e);return Object(N.uniq)([].concat(lt(t),lt(n)))}(n),(function(e){return e&&!!c[e.name]})),(function(e){return c[e.name].frecency}),"desc");if(1===Object(N.uniq)(Object(N.map)(n,"name")).length){var u=Vd(n[0].name);s=u.icon}else s="layout";return i||l.length?Object(I.createElement)(ds,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?he("Change block type or style"):me(pe("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(I.createElement)(gu,null,Object(I.createElement)(Pa,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||e.keyCode!==Wn||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(I.createElement)(I.Fragment,null,Object(I.createElement)(hw,{icon:s,showColors:!0}),Object(I.createElement)(jn,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(Dn,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(I.createElement)(I.Fragment,null,i&&Object(I.createElement)(zc,{title:he("Block Styles"),initialOpen:!0},Object(I.createElement)(KS,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==l.length&&Object(I.createElement)(zc,{title:he("Transform To:"),initialOpen:!0},Object(I.createElement)(CO,{items:l.map((function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:Yd(e.name)}})),onSelect:function(e){r(n,e.id),o()}})),null!==a&&Object(I.createElement)(SO,{name:n[0].name,attributes:D({},n[0].attributes,{className:a}),innerBlocks:n[0].innerBlocks}))}}):Object(I.createElement)(gu,null,Object(I.createElement)(Pa,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:he("Block icon"),icon:Object(I.createElement)(hw,{icon:s,showColors:!0})}))}}]),t}(I.Component),dE=Object(N.flowRight)(ey((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,a=r.getInserterItems,s=e("core/blocks").getBlockStyles,c=i(Object(N.first)(Object(N.castArray)(n))),l=o(n),u=l&&1===l.length?l[0]:null,d=u&&s(u.name);return{blocks:l,inserterItems:a(c),hasBlockStyles:d&&d.length>0}})),ry((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,nf(n,r))}}})))(uE);var fE=ey((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(I.createElement)(dE,{key:"switcher",clientIds:n}):null}));var hE=ey((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}}))((function(e){var t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(I.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(I.createElement)(fE,null),Object(I.createElement)(lE,{clientIds:t})):Object(I.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===r&&n&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(dE,{clientIds:t}),Object(I.createElement)(iw.Slot,null),Object(I.createElement)(fw.Slot,null)),Object(I.createElement)(lE,{clientIds:t}))}));Object(N.flowRight)([ry((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,i=r.getSelectedBlockClientIds,a=r.hasMultiSelection,s=e("core/block-editor").removeBlocks,c=function(e){var t=i();if(0!==t.length&&(a()||!function(){if(ra(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}())){var n=Wf(o(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:c,onCut:function(e){if(c(e),a()){var t=i();s(t)}}}}))])((function(e){var t=e.children,n=e.onCopy,r=e.onCut;return Object(I.createElement)("div",{onCopy:n,onCut:r},t)}));var pE=function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=pO(e);if(t){var n=ia(t);n&&vc()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(I.Component),vE=(ey((function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}}))(pE),[Bn,Un,Wn,Vn,zn,Ln]);var mE=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Ce(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Ce(e)),e.startTypingInTextField=e.startTypingInTextField.bind(Ce(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Ce(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Ce(e)),e.onKeyDown=Object(N.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Me(t,e),Ee(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===Fn&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!ra(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(N.includes)(vE,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!ra(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(I.Component),gE=(Object(N.flowRight)([ey((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),ry((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),Vb])(mE),function(e){function t(){return Oe(this,t),Te(this,xe(t).apply(this,arguments))}return Me(t,e),Ee(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,r=t.selectionStart;return n!==e.blockOrder&&r?this.getOffset(r):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=pO(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=pO(this.props.selectionStart);if(t){var n=ia(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(I.Component)),bE=(ey((function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}}))(gE),window),yE=bE.getSelection,kE=bE.getComputedStyle,_E=Object(N.overEvery)([ra,fa.tabbable.isTabbableIndex]);var wE=function(e){function t(){var e;return Oe(this,t),(e=Te(this,xe(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(Ce(e)),e.bindContainer=e.bindContainer.bind(Ce(e)),e.clearVerticalRect=e.clearVerticalRect.bind(Ce(e)),e.focusLastTextField=e.focusLastTextField.bind(Ce(e)),e.verticalRect=null,e}return Me(t,e),Ee(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=fa.focusable.find(this.container);return t&&(n=Object(N.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(N.find)(n,(function t(n,r,o){if(!fa.tabbable.isTabbableIndex(n))return!1;if(ra(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,a=1;(i=o[r+a])&&n.contains(i);a++)if(t(i,r+a,o))return!1;return!0}))}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,r=t.selectionStartClientId,o=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,a=e?o:i;a&&this.props.onMultiSelect(r||n,a)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,r=t.selectedLastClientId,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n,r,o=this.getClosestTabbable(e,t);return!(o&&(n=e,r=o,n.closest("[data-block]")===r.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.onMultiSelect,o=t.blocks,i=t.selectionBeforeEndClientId,a=t.selectionAfterEndClientId,s=e.keyCode,c=e.target,l=s===Bn,u=s===Vn,d=l||u,f=u||s===Un,h=l||s===Wn,p=f||h,v=e.shiftKey,m=v||e.ctrlKey||e.altKey||e.metaKey,g=h?Ji:Qi;if(h?this.verticalRect||(this.verticalRect=function(){var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;if(t)return ea(t)}()):this.verticalRect=null,!p)return Jn.primary(e)&&(this.isEntirelySelected=oa(c)),void(Jn.primary(e,"a")&&((c.isContentEditable?this.isEntirelySelected:oa(c))&&(r(Object(N.first)(o),Object(N.last)(o)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Bn||t===Wn)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,s,m)){var b="rtl"===kE(c).direction?!d:d;if(v)(d&&i||!d&&a)&&(n||this.isTabbableEdge(c,d)&&g(c,d))&&(this.expandSelection(d),e.preventDefault());else if(n)this.moveSelection(d),e.preventDefault();else if(h&&Ji(c,d)){var y=this.getClosestTabbable(c,d);y&&(!function e(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t)if(r&&t.isContentEditable){var i=r.height/2,a=t.getBoundingClientRect(),s=r.left,c=n?a.bottom-i:a.top+i,l=na(document,s,c,t);if(!l||!t.contains(l.startContainer))return!o||l&&l.startContainer&&l.startContainer.contains(t)?void ta(t,n):(t.scrollIntoView(n),void e(t,n,r,!1));if(l.startContainer.nodeType===qi){var u=l.startContainer.parentNode,d=u.getBoundingClientRect(),f=n?"bottom":"top",h=parseInt(Yi(u).getPropertyValue("padding-".concat(f)),10)||0,p=n?d.bottom-h-i:d.top+h+i;c!==p&&(l=na(document,s,p,t))}var v=window.getSelection();v.removeAllRanges(),v.addRange(l),t.focus(),v.removeAllRanges(),v.addRange(l)}else ta(t,n)}(y,d,this.verticalRect),e.preventDefault())}else if(f&&yE().isCollapsed&&Qi(c,b)){ta(this.getClosestTabbable(c,b),b),e.preventDefault()}}}},{key:"focusLastTextField",value:function(){var e=fa.focusable.find(this.container),t=Object(N.findLast)(e,_E);t&&ta(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(I.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(I.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(I.Component),OE=(Object(N.flowRight)([ey((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,a=t.getNextBlockClientId,s=t.getFirstMultiSelectedBlockClientId,c=t.getLastMultiSelectedBlockClientId,l=t.hasMultiSelection,u=t.getBlockOrder,d=n(),f=r(),h=o();return{selectedBlockClientId:d,selectionStartClientId:f,selectionBeforeEndClientId:i(h||d),selectionAfterEndClientId:a(h||d),selectedFirstClientId:s(),selectedLastClientId:c(),hasMultiSelection:l(),blocks:u()}})),ry((function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}}))])(wE),["left","center","right","wide","full"]),SE=["wide","full"];function EE(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?OE:[],!r||!0===e&&!n?N.without.apply(void 0,[t].concat(SE)):t}var CE=Ab((function(e){return function(t){var n=t.name,r=EE(Ud(n,"align"),Wd(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(I.createElement)(iw,{key:"align-controls"},Object(I.createElement)(ew,{value:t.attributes.align,onChange:function(e){if(!e){var n=Vd(t.name);Object(N.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(I.createElement)(e,Ne({key:"edit"},t))]}}),"withToolbarControls"),TE=Ab(Object(N.flowRight)([ey((function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}})),function(e){return function(t){var n=t.name,r=t.attributes,o=t.hasWideEnabled,i=r.align,a=EE(Ud(n,"align"),Wd(n,"alignWide",!0),o),s=t.wrapperProps;return Object(N.includes)(a,i)&&(s=D({},s,{"data-align":i})),Object(I.createElement)(e,Ne({},t,{wrapperProps:s}))}}]));Br("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(N.has)(e.attributes,["align","type"])?e:(Wd(e,"align")&&(e.attributes=Object(N.assign)(e.attributes,{align:{type:"string"}})),e)})),Br("editor.BlockListBlock","core/editor/align/with-data-align",TE),Br("editor.BlockEdit","core/editor/align/with-toolbar-controls",CE),Br("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Ud(t,"align"),i=Wd(t,"alignWide",!0);return Object(N.includes)(EE(o,i),r)&&(e.className=Pn()("align".concat(r),e.className)),e}));var xE=/[\s#]/g;var DE=Ab((function(e){return function(t){return Wd(t.name,"anchor")&&t.isSelected?Object(I.createElement)(I.Fragment,null,Object(I.createElement)(e,t),Object(I.createElement)($O,null,Object(I.createElement)(Os,{label:he("HTML Anchor"),help:he("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(xE,"-"),t.setAttributes({anchor:e})}}))):Object(I.createElement)(e,t)}}),"withInspectorControl");Br("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(N.has)(e.attributes,["anchor","type"])?e:(Wd(e,"anchor")&&(e.attributes=Object(N.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Br("editor.BlockEdit","core/editor/anchor/with-inspector-control",DE),Br("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Wd(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var ME=Ab((function(e){return function(t){return Wd(t.name,"customClassName",!0)&&t.isSelected?Object(I.createElement)(I.Fragment,null,Object(I.createElement)(e,t),Object(I.createElement)($O,null,Object(I.createElement)(Os,{label:he("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:he("Separate multiple classes with spaces.")}))):Object(I.createElement)(e,t)}}),"withInspectorControl");function jE(e){var t=Th(e="<div data-custom-class-name>".concat(e,"</div>"),{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Br("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Wd(e,"customClassName",!0)&&(e.attributes=Object(N.assign)(e.attributes,{className:{type:"string"}})),e})),Br("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",ME),Br("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Wd(t,"customClassName",!0)&&n.className&&(e.className=Pn()(e.className,n.className)),e})),Br("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Wd(t,"customClassName",!0)){var r=Hf(t,Object(N.omit)(e,["className"])),o=jE(r),i=jE(n),a=Object(N.difference)(i,o);a.length?e.className=a.join(" "):r&&delete e.className}return e})),Br("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Wd(t,"className",!0)&&("string"==typeof e.className?e.className=Object(N.uniq)([zf(t.name)].concat(lt(e.className.split(" ")))).join(" ").trim():e.className=zf(t.name)),e}));n(132);var IE=n(49),PE=n.n(IE),NE=RE;function RE(e){this.options=e||{}}RE.prototype.emit=function(e){return e},RE.prototype.visit=function(e){return this[e.type](e)},RE.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r<o;r++)n+=this.visit(e[r]),t&&r<o-1&&(n+=this.emit(t));return n};function LE(e){NE.call(this,e)}PE()(LE,NE),LE.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},LE.prototype.comment=function(e){return this.emit("",e.position)},LE.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},LE.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},LE.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},LE.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},LE.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},LE.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},LE.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},LE.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},LE.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},LE.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},LE.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},LE.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},LE.prototype.rule=function(e){var t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},LE.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};function AE(e){e=e||{},NE.call(this,e),this.indentation=e.indent}PE()(AE,NE),AE.prototype.compile=function(e){return this.stylesheet(e)},AE.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},AE.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},AE.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},AE.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},AE.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},AE.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},AE.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},AE.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},AE.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},AE.prototype.keyframe=function(e){var t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},AE.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},AE.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},AE.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},AE.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},AE.prototype.rule=function(e){var t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},AE.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},AE.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};n(65);n(241);var zE=Object(N.flowRight)([mn((function(e,t){var n,r=t.blockName,o=t.href,i=t.onClick;return{autosaveAndRedirect:(n=Tn()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),i(r),t.next=4,e("core/editor").autosave();case 4:window.top.location.href=o;case 5:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,r=e.href,o=e.icon,i=e.subtitle,a=e.title;return Object(I.createElement)(Aw,{actions:r&&[Object(I.createElement)(va,{href:r,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(I.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(I.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(I.createElement)("span",{className:"jetpack-block-nudge__title"},a),Object(I.createElement)("span",{className:"jetpack-block-nudge__message"},i))))}));function FE(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}function HE(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}var VE={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};gn("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:VE,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,VE.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",VE.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(242);var BE=function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(I.createElement)(zE,{buttonLabel:he("Upgrade","jetpack"),icon:Object(I.createElement)(fe.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:t?me(he("Upgrade to %(planName)s to use this block on your site.","jetpack"),{planName:t}):he("Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:he("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})},UE=(Object(N.flowRight)([hn((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),o=Object(N.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(N.get)(r,["path_slug"]),i=e("core/editor").getCurrentPostId(),a=e("core/editor").getCurrentPostType(),s=["page","post"].includes(a)?"":"edit",c="simple"===HE()?ye("/"+Object(N.compact)([s,a,FE(),i]).join("/"),{plan_upgraded:1}):ye(window.location.protocol+"//".concat(FE().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:i,plan_upgraded:1}),l=o&&ye("https://wordpress.com/checkout/".concat(FE(),"/").concat(o),{redirect_to:c});return{trackEvent:function(e){En.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(N.get)(r,["product_name"]),upgradeUrl:l}}))])(BE),n(243),Object(ue.renderToStaticMarkup)(Object(I.createElement)(BE,{planName:"#planName#",upgradeUrl:"#upgradeUrl#"})));t.default=function(){return{"upgrade-nudge.html":UE}}}]);
\ No newline at end of file +/*! For license information please see components.js.LICENSE */ +module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=256)}([function(e,t,n){(function(e){var r;(function(){var o="Expected a function",i="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",c="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",h="[object GeneratorFunction]",p="[object Map]",v="[object Number]",m="[object Object]",b="[object RegExp]",g="[object Set]",y="[object String]",k="[object Symbol]",_="[object WeakMap]",w="[object ArrayBuffer]",O="[object DataView]",S="[object Float32Array]",E="[object Float64Array]",C="[object Int8Array]",T="[object Int16Array]",x="[object Int32Array]",D="[object Uint8Array]",M="[object Uint16Array]",j="[object Uint32Array]",I=/\b__p \+= '';/g,P=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,R=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,A=RegExp(R.source),z=RegExp(L.source),F=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,K=/[\\^$.*+?()[\]{}|]/g,Y=RegExp(K.source),$=/^\s+|\s+$/g,q=/^\s+/,G=/\s+$/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,X=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,oe=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,ae=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,ce=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,le=/($^)/,ue=/['\n\r\u2028\u2029\\]/g,de="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\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",he="[\\ud800-\\udfff]",pe="["+fe+"]",ve="["+de+"]",me="\\d+",be="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",ye="[^\\ud800-\\udfff"+fe+me+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ke="\\ud83c[\\udffb-\\udfff]",_e="[^\\ud800-\\udfff]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Se="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ee="(?:"+ge+"|"+ye+")",Ce="(?:"+Se+"|"+ye+")",Te="(?:"+ve+"|"+ke+")"+"?",xe="[\\ufe0e\\ufe0f]?"+Te+("(?:\\u200d(?:"+[_e,we,Oe].join("|")+")[\\ufe0e\\ufe0f]?"+Te+")*"),De="(?:"+[be,we,Oe].join("|")+")"+xe,Me="(?:"+[_e+ve+"?",ve,we,Oe,he].join("|")+")",je=RegExp("['’]","g"),Ie=RegExp(ve,"g"),Pe=RegExp(ke+"(?="+ke+")|"+Me+xe,"g"),Ne=RegExp([Se+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[pe,Se,"$"].join("|")+")",Ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[pe,Se+Ee,"$"].join("|")+")",Se+"?"+Ee+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Se+"+(?:['’](?: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_])",me,De].join("|"),"g"),Re=RegExp("[\\u200d\\ud800-\\udfff"+de+"\\ufe0e\\ufe0f]"),Le=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ae=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ze=-1,Fe={};Fe[S]=Fe[E]=Fe[C]=Fe[T]=Fe[x]=Fe[D]=Fe["[object Uint8ClampedArray]"]=Fe[M]=Fe[j]=!0,Fe[s]=Fe[c]=Fe[w]=Fe[l]=Fe[O]=Fe[u]=Fe[d]=Fe[f]=Fe[p]=Fe[v]=Fe[m]=Fe[b]=Fe[g]=Fe[y]=Fe[_]=!1;var He={};He[s]=He[c]=He[w]=He[O]=He[l]=He[u]=He[S]=He[E]=He[C]=He[T]=He[x]=He[p]=He[v]=He[m]=He[b]=He[g]=He[y]=He[k]=He[D]=He["[object Uint8ClampedArray]"]=He[M]=He[j]=!0,He[d]=He[f]=He[_]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Be=parseFloat,Ue=parseInt,We="object"==typeof window&&window&&window.Object===Object&&window,Ke="object"==typeof self&&self&&self.Object===Object&&self,Ye=We||Ke||Function("return this")(),$e=t&&!t.nodeType&&t,qe=$e&&"object"==typeof e&&e&&!e.nodeType&&e,Ge=qe&&qe.exports===$e,Ze=Ge&&We.process,Xe=function(){try{var e=qe&&qe.require&&qe.require("util").types;return e||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}(),Qe=Xe&&Xe.isArrayBuffer,Je=Xe&&Xe.isDate,et=Xe&&Xe.isMap,tt=Xe&&Xe.isRegExp,nt=Xe&&Xe.isSet,rt=Xe&&Xe.isTypedArray;function ot(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 it(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function at(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function st(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function lt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ut(e,t){return!!(null==e?0:e.length)&&kt(e,t,0)>-1}function dt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function ft(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function ht(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function pt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function vt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var bt=St("length");function gt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function yt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function kt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):yt(e,wt,n)}function _t(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function wt(e){return e!=e}function Ot(e,t){var n=null==e?0:e.length;return n?Tt(e,t)/n:NaN}function St(e){return function(t){return null==t?void 0:t[e]}}function Et(e){return function(t){return null==e?void 0:e[t]}}function Ct(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Tt(e,t){for(var n,r=-1,o=e.length;++r<o;){var i=t(e[r]);void 0!==i&&(n=void 0===n?i:n+i)}return n}function xt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Dt(e){return function(t){return e(t)}}function Mt(e,t){return ft(t,(function(t){return e[t]}))}function jt(e,t){return e.has(t)}function It(e,t){for(var n=-1,r=e.length;++n<r&&kt(t,e[n],0)>-1;);return n}function Pt(e,t){for(var n=e.length;n--&&kt(t,e[n],0)>-1;);return n}function Nt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Rt=Et({"À":"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"}),Lt=Et({"&":"&","<":"<",">":">",'"':""","'":"'"});function At(e){return"\\"+Ve[e]}function zt(e){return Re.test(e)}function Ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ht(e,t){return function(n){return e(t(n))}}function Vt(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];s!==t&&s!==i||(e[n]=i,a[o++]=n)}return a}function Bt(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Ut(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Wt(e){return zt(e)?function(e){var t=Pe.lastIndex=0;for(;Pe.test(e);)++t;return t}(e):bt(e)}function Kt(e){return zt(e)?function(e){return e.match(Pe)||[]}(e):function(e){return e.split("")}(e)}var Yt=Et({"&":"&","<":"<",">":">",""":'"',"'":"'"});var $t=function e(t){var n,r=(t=null==t?Ye:$t.defaults(Ye.Object(),t,$t.pick(Ye,Ae))).Array,de=t.Date,fe=t.Error,he=t.Function,pe=t.Math,ve=t.Object,me=t.RegExp,be=t.String,ge=t.TypeError,ye=r.prototype,ke=he.prototype,_e=ve.prototype,we=t["__core-js_shared__"],Oe=ke.toString,Se=_e.hasOwnProperty,Ee=0,Ce=(n=/[^.]+$/.exec(we&&we.keys&&we.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Te=_e.toString,xe=Oe.call(ve),De=Ye._,Me=me("^"+Oe.call(Se).replace(K,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pe=Ge?t.Buffer:void 0,Re=t.Symbol,Ve=t.Uint8Array,We=Pe?Pe.allocUnsafe:void 0,Ke=Ht(ve.getPrototypeOf,ve),$e=ve.create,qe=_e.propertyIsEnumerable,Ze=ye.splice,Xe=Re?Re.isConcatSpreadable:void 0,bt=Re?Re.iterator:void 0,Et=Re?Re.toStringTag:void 0,qt=function(){try{var e=ei(ve,"defineProperty");return e({},"",{}),e}catch(t){}}(),Gt=t.clearTimeout!==Ye.clearTimeout&&t.clearTimeout,Zt=de&&de.now!==Ye.Date.now&&de.now,Xt=t.setTimeout!==Ye.setTimeout&&t.setTimeout,Qt=pe.ceil,Jt=pe.floor,en=ve.getOwnPropertySymbols,tn=Pe?Pe.isBuffer:void 0,nn=t.isFinite,rn=ye.join,on=Ht(ve.keys,ve),an=pe.max,sn=pe.min,cn=de.now,ln=t.parseInt,un=pe.random,dn=ye.reverse,fn=ei(t,"DataView"),hn=ei(t,"Map"),pn=ei(t,"Promise"),vn=ei(t,"Set"),mn=ei(t,"WeakMap"),bn=ei(ve,"create"),gn=mn&&new mn,yn={},kn=Ti(fn),_n=Ti(hn),wn=Ti(pn),On=Ti(vn),Sn=Ti(mn),En=Re?Re.prototype:void 0,Cn=En?En.valueOf:void 0,Tn=En?En.toString:void 0;function xn(e){if(Wa(e)&&!Pa(e)&&!(e instanceof In)){if(e instanceof jn)return e;if(Se.call(e,"__wrapped__"))return xi(e)}return new jn(e)}var Dn=function(){function e(){}return function(t){if(!Ua(t))return{};if($e)return $e(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Mn(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function In(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Nn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Rn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ln(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Rn;++t<n;)this.add(e[t])}function An(e){var t=this.__data__=new Nn(e);this.size=t.size}function zn(e,t){var n=Pa(e),r=!n&&Ia(e),o=!n&&!r&&Aa(e),i=!n&&!r&&!o&&Qa(e),a=n||r||o||i,s=a?xt(e.length,be):[],c=s.length;for(var l in e)!t&&!Se.call(e,l)||a&&("length"==l||o&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||si(l,c))||s.push(l);return s}function Fn(e){var t=e.length;return t?e[Lr(0,t-1)]:void 0}function Hn(e,t){return Si(go(e),Gn(t,0,e.length))}function Vn(e){return Si(go(e))}function Bn(e,t,n){(void 0===n||Da(e[t],n))&&(void 0!==n||t in e)||$n(e,t,n)}function Un(e,t,n){var r=e[t];Se.call(e,t)&&Da(r,n)&&(void 0!==n||t in e)||$n(e,t,n)}function Wn(e,t){for(var n=e.length;n--;)if(Da(e[n][0],t))return n;return-1}function Kn(e,t,n,r){return er(e,(function(e,o,i){t(r,e,n(e),i)})),r}function Yn(e,t){return e&&yo(t,ks(t),e)}function $n(e,t,n){"__proto__"==t&&qt?qt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function qn(e,t){for(var n=-1,o=t.length,i=r(o),a=null==e;++n<o;)i[n]=a?void 0:vs(e,t[n]);return i}function Gn(e,t,n){return e==e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}function Zn(e,t,n,r,o,i){var a,c=1&t,d=2&t,_=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!Ua(e))return e;var I=Pa(e);if(I){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Se.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!c)return go(e,a)}else{var P=ri(e),N=P==f||P==h;if(Aa(e))return fo(e,c);if(P==m||P==s||N&&!o){if(a=d||N?{}:ii(e),!c)return d?function(e,t){return yo(e,ni(e),t)}(e,function(e,t){return e&&yo(t,_s(t),e)}(a,e)):function(e,t){return yo(e,ti(e),t)}(e,Yn(a,e))}else{if(!He[P])return o?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case w:return ho(e);case l:case u:return new r(+e);case O:return function(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case S:case E:case C:case T:case x:case D:case"[object Uint8ClampedArray]":case M:case j:return po(e,n);case p:return new r;case v:case y:return new r(e);case b:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new r;case k:return o=e,Cn?ve(Cn.call(o)):{}}var o}(e,P,c)}}i||(i=new An);var R=i.get(e);if(R)return R;i.set(e,a),Ga(e)?e.forEach((function(r){a.add(Zn(r,t,n,r,e,i))})):Ka(e)&&e.forEach((function(r,o){a.set(o,Zn(r,t,n,o,e,i))}));var L=I?void 0:(_?d?$o:Yo:d?_s:ks)(e);return at(L||e,(function(r,o){L&&(r=e[o=r]),Un(a,o,Zn(r,t,n,o,e,i))})),a}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ve(e);r--;){var o=n[r],i=t[o],a=e[o];if(void 0===a&&!(o in e)||!i(a))return!1}return!0}function Qn(e,t,n){if("function"!=typeof e)throw new ge(o);return ki((function(){e.apply(void 0,n)}),t)}function Jn(e,t,n,r){var o=-1,i=ut,a=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=ft(t,Dt(n))),r?(i=dt,a=!1):t.length>=200&&(i=jt,a=!1,t=new Ln(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var f=l;f--;)if(t[f]===d)continue e;c.push(u)}else i(t,d,r)||c.push(u)}return c}xn.templateSettings={escape:F,evaluate:H,interpolate:V,variable:"",imports:{_:xn}},xn.prototype=Mn.prototype,xn.prototype.constructor=xn,jn.prototype=Dn(Mn.prototype),jn.prototype.constructor=jn,In.prototype=Dn(Mn.prototype),In.prototype.constructor=In,Pn.prototype.clear=function(){this.__data__=bn?bn(null):{},this.size=0},Pn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Pn.prototype.get=function(e){var t=this.__data__;if(bn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Se.call(t,e)?t[e]:void 0},Pn.prototype.has=function(e){var t=this.__data__;return bn?void 0!==t[e]:Se.call(t,e)},Pn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=bn&&void 0===t?"__lodash_hash_undefined__":t,this},Nn.prototype.clear=function(){this.__data__=[],this.size=0},Nn.prototype.delete=function(e){var t=this.__data__,n=Wn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Nn.prototype.get=function(e){var t=this.__data__,n=Wn(t,e);return n<0?void 0:t[n][1]},Nn.prototype.has=function(e){return Wn(this.__data__,e)>-1},Nn.prototype.set=function(e,t){var n=this.__data__,r=Wn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Rn.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(hn||Nn),string:new Pn}},Rn.prototype.delete=function(e){var t=Qo(this,e).delete(e);return this.size-=t?1:0,t},Rn.prototype.get=function(e){return Qo(this,e).get(e)},Rn.prototype.has=function(e){return Qo(this,e).has(e)},Rn.prototype.set=function(e,t){var n=Qo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ln.prototype.add=Ln.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ln.prototype.has=function(e){return this.__data__.has(e)},An.prototype.clear=function(){this.__data__=new Nn,this.size=0},An.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},An.prototype.get=function(e){return this.__data__.get(e)},An.prototype.has=function(e){return this.__data__.has(e)},An.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Nn){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Rn(r)}return n.set(e,t),this.size=n.size,this};var er=wo(cr),tr=wo(lr,!0);function nr(e,t){var n=!0;return er(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function rr(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===s?a==a&&!Xa(a):n(a,s)))var s=a,c=i}return c}function or(e,t){var n=[];return er(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function ir(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=ai),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?ir(s,t-1,n,r,o):ht(o,s):r||(o[o.length]=s)}return o}var ar=Oo(),sr=Oo(!0);function cr(e,t){return e&&ar(e,t,ks)}function lr(e,t){return e&&sr(e,t,ks)}function ur(e,t){return lt(t,(function(t){return Ha(e[t])}))}function dr(e,t){for(var n=0,r=(t=so(t,e)).length;null!=e&&n<r;)e=e[Ci(t[n++])];return n&&n==r?e:void 0}function fr(e,t,n){var r=t(e);return Pa(e)?r:ht(r,n(e))}function hr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Et&&Et in ve(e)?function(e){var t=Se.call(e,Et),n=e[Et];try{e[Et]=void 0;var r=!0}catch(i){}var o=Te.call(e);r&&(t?e[Et]=n:delete e[Et]);return o}(e):function(e){return Te.call(e)}(e)}function pr(e,t){return e>t}function vr(e,t){return null!=e&&Se.call(e,t)}function mr(e,t){return null!=e&&t in ve(e)}function br(e,t,n){for(var o=n?dt:ut,i=e[0].length,a=e.length,s=a,c=r(a),l=1/0,u=[];s--;){var d=e[s];s&&t&&(d=ft(d,Dt(t))),l=sn(d.length,l),c[s]=!n&&(t||i>=120&&d.length>=120)?new Ln(s&&d):void 0}d=e[0];var f=-1,h=c[0];e:for(;++f<i&&u.length<l;){var p=d[f],v=t?t(p):p;if(p=n||0!==p?p:0,!(h?jt(h,v):o(u,v,n))){for(s=a;--s;){var m=c[s];if(!(m?jt(m,v):o(e[s],v,n)))continue e}h&&h.push(v),u.push(p)}}return u}function gr(e,t,n){var r=null==(e=mi(e,t=so(t,e)))?e:e[Ci(Fi(t))];return null==r?void 0:ot(r,e,n)}function yr(e){return Wa(e)&&hr(e)==s}function kr(e,t,n,r,o){return e===t||(null==e||null==t||!Wa(e)&&!Wa(t)?e!=e&&t!=t:function(e,t,n,r,o,i){var a=Pa(e),f=Pa(t),h=a?c:ri(e),_=f?c:ri(t),S=(h=h==s?m:h)==m,E=(_=_==s?m:_)==m,C=h==_;if(C&&Aa(e)){if(!Aa(t))return!1;a=!0,S=!1}if(C&&!S)return i||(i=new An),a||Qa(e)?Wo(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!i(new Ve(e),new Ve(t)));case l:case u:case v:return Da(+e,+t);case d:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case p:var s=Ft;case g:var c=1&r;if(s||(s=Bt),e.size!=t.size&&!c)return!1;var f=a.get(e);if(f)return f==t;r|=2,a.set(e,t);var h=Wo(s(e),s(t),r,o,i,a);return a.delete(e),h;case k:if(Cn)return Cn.call(e)==Cn.call(t)}return!1}(e,t,h,n,r,o,i);if(!(1&n)){var T=S&&Se.call(e,"__wrapped__"),x=E&&Se.call(t,"__wrapped__");if(T||x){var D=T?e.value():e,M=x?t.value():t;return i||(i=new An),o(D,M,n,r,i)}}if(!C)return!1;return i||(i=new An),function(e,t,n,r,o,i){var a=1&n,s=Yo(e),c=s.length,l=Yo(t).length;if(c!=l&&!a)return!1;var u=c;for(;u--;){var d=s[u];if(!(a?d in t:Se.call(t,d)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var h=!0;i.set(e,t),i.set(t,e);var p=a;for(;++u<c;){d=s[u];var v=e[d],m=t[d];if(r)var b=a?r(m,v,d,t,e,i):r(v,m,d,e,t,i);if(!(void 0===b?v===m||o(v,m,n,r,i):b)){h=!1;break}p||(p="constructor"==d)}if(h&&!p){var g=e.constructor,y=t.constructor;g!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof y&&y instanceof y)&&(h=!1)}return i.delete(e),i.delete(t),h}(e,t,n,r,o,i)}(e,t,n,r,kr,o))}function _r(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=ve(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var c=(s=n[o])[0],l=e[c],u=s[1];if(a&&s[2]){if(void 0===l&&!(c in e))return!1}else{var d=new An;if(r)var f=r(l,u,c,e,t,d);if(!(void 0===f?kr(u,l,3,r,d):f))return!1}}return!0}function wr(e){return!(!Ua(e)||(t=e,Ce&&Ce in t))&&(Ha(e)?Me:ie).test(Ti(e));var t}function Or(e){return"function"==typeof e?e:null==e?Ys:"object"==typeof e?Pa(e)?Dr(e[0],e[1]):xr(e):tc(e)}function Sr(e){if(!fi(e))return on(e);var t=[];for(var n in ve(e))Se.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Er(e){if(!Ua(e))return function(e){var t=[];if(null!=e)for(var n in ve(e))t.push(n);return t}(e);var t=fi(e),n=[];for(var r in e)("constructor"!=r||!t&&Se.call(e,r))&&n.push(r);return n}function Cr(e,t){return e<t}function Tr(e,t){var n=-1,o=Ra(e)?r(e.length):[];return er(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function xr(e){var t=Jo(e);return 1==t.length&&t[0][2]?pi(t[0][0],t[0][1]):function(n){return n===e||_r(n,e,t)}}function Dr(e,t){return li(e)&&hi(t)?pi(Ci(e),t):function(n){var r=vs(n,e);return void 0===r&&r===t?ms(n,e):kr(t,r,3)}}function Mr(e,t,n,r,o){e!==t&&ar(t,(function(i,a){if(o||(o=new An),Ua(i))!function(e,t,n,r,o,i,a){var s=gi(e,n),c=gi(t,n),l=a.get(c);if(l)return void Bn(e,n,l);var u=i?i(s,c,n+"",e,t,a):void 0,d=void 0===u;if(d){var f=Pa(c),h=!f&&Aa(c),p=!f&&!h&&Qa(c);u=c,f||h||p?Pa(s)?u=s:La(s)?u=go(s):h?(d=!1,u=fo(c,!0)):p?(d=!1,u=po(c,!0)):u=[]:$a(c)||Ia(c)?(u=s,Ia(s)?u=as(s):Ua(s)&&!Ha(s)||(u=ii(c))):d=!1}d&&(a.set(c,u),o(u,c,r,i,a),a.delete(c));Bn(e,n,u)}(e,t,a,n,Mr,r,o);else{var s=r?r(gi(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),Bn(e,a,s)}}),_s)}function jr(e,t){var n=e.length;if(n)return si(t+=t<0?n:0,n)?e[t]:void 0}function Ir(e,t,n){var r=-1;return t=ft(t.length?t:[Ys],Dt(Xo())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Tr(e,(function(e,n,o){return{criteria:ft(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var c=vo(o[r],i[r]);if(c){if(r>=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)}))}function Pr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=dr(e,a);n(s,a)&&Vr(i,so(a,e),s)}return i}function Nr(e,t,n,r){var o=r?_t:kt,i=-1,a=t.length,s=e;for(e===t&&(t=go(t)),n&&(s=ft(e,Dt(n)));++i<a;)for(var c=0,l=t[i],u=n?n(l):l;(c=o(s,u,c,r))>-1;)s!==e&&Ze.call(s,c,1),Ze.call(e,c,1);return e}function Rr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;si(o)?Ze.call(e,o,1):Jr(e,o)}}return e}function Lr(e,t){return e+Jt(un()*(t-e+1))}function Ar(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=Jt(t/2))&&(e+=e)}while(t);return n}function zr(e,t){return _i(vi(e,t,Ys),e+"")}function Fr(e){return Fn(Ds(e))}function Hr(e,t){var n=Ds(e);return Si(n,Gn(t,0,n.length))}function Vr(e,t,n,r){if(!Ua(e))return e;for(var o=-1,i=(t=so(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var c=Ci(t[o]),l=n;if(o!=a){var u=s[c];void 0===(l=r?r(u,c,s):void 0)&&(l=Ua(u)?u:si(t[o+1])?[]:{})}Un(s,c,l),s=s[c]}return e}var Br=gn?function(e,t){return gn.set(e,t),e}:Ys,Ur=qt?function(e,t){return qt(e,"toString",{configurable:!0,enumerable:!1,value:Us(t),writable:!0})}:Ys;function Wr(e){return Si(Ds(e))}function Kr(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function Yr(e,t){var n;return er(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function $r(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!Xa(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return qr(e,t,Ys,n)}function qr(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!=t,s=null===t,c=Xa(t),l=void 0===t;o<i;){var u=Jt((o+i)/2),d=n(e[u]),f=void 0!==d,h=null===d,p=d==d,v=Xa(d);if(a)var m=r||p;else m=l?p&&(r||f):s?p&&f&&(r||!h):c?p&&f&&!h&&(r||!v):!h&&!v&&(r?d<=t:d<t);m?o=u+1:i=u}return sn(i,4294967294)}function Gr(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Da(s,c)){var c=s;i[o++]=0===a?0:a}}return i}function Zr(e){return"number"==typeof e?e:Xa(e)?NaN:+e}function Xr(e){if("string"==typeof e)return e;if(Pa(e))return ft(e,Xr)+"";if(Xa(e))return Tn?Tn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Qr(e,t,n){var r=-1,o=ut,i=e.length,a=!0,s=[],c=s;if(n)a=!1,o=dt;else if(i>=200){var l=t?null:zo(e);if(l)return Bt(l);a=!1,o=jt,c=new Ln}else c=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=c.length;f--;)if(c[f]===d)continue e;t&&c.push(d),s.push(u)}else o(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}function Jr(e,t){return null==(e=mi(e,t=so(t,e)))||delete e[Ci(Fi(t))]}function eo(e,t,n,r){return Vr(e,t,n(dr(e,t)),r)}function to(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?Kr(e,r?0:i,r?i+1:o):Kr(e,r?i+1:0,r?o:i)}function no(e,t){var n=e;return n instanceof In&&(n=n.value()),pt(t,(function(e,t){return t.func.apply(t.thisArg,ht([e],t.args))}),n)}function ro(e,t,n){var o=e.length;if(o<2)return o?Qr(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],c=-1;++c<o;)c!=i&&(a[i]=Jn(a[i]||s,e[c],t,n));return Qr(ir(a,1),t,n)}function oo(e,t,n){for(var r=-1,o=e.length,i=t.length,a={};++r<o;){var s=r<i?t[r]:void 0;n(a,e[r],s)}return a}function io(e){return La(e)?e:[]}function ao(e){return"function"==typeof e?e:Ys}function so(e,t){return Pa(e)?e:li(e,t)?[e]:Ei(ss(e))}var co=zr;function lo(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kr(e,t,n)}var uo=Gt||function(e){return Ye.clearTimeout(e)};function fo(e,t){if(t)return e.slice();var n=e.length,r=We?We(n):new e.constructor(n);return e.copy(r),r}function ho(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function po(e,t){var n=t?ho(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function vo(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=Xa(e),a=void 0!==t,s=null===t,c=t==t,l=Xa(t);if(!s&&!l&&!i&&e>t||i&&a&&c&&!s&&!l||r&&a&&c||!n&&c||!o)return 1;if(!r&&!i&&!l&&e<t||l&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!c)return-1}return 0}function mo(e,t,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,l=t.length,u=an(a-s,0),d=r(l+u),f=!o;++c<l;)d[c]=t[c];for(;++i<s;)(f||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[c++]=e[i++];return d}function bo(e,t,n,o){for(var i=-1,a=e.length,s=-1,c=n.length,l=-1,u=t.length,d=an(a-c,0),f=r(d+u),h=!o;++i<d;)f[i]=e[i];for(var p=i;++l<u;)f[p+l]=t[l];for(;++s<c;)(h||i<a)&&(f[p+n[s]]=e[i++]);return f}function go(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function yo(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],c=r?r(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),o?$n(n,s,c):Un(n,s,c)}return n}function ko(e,t){return function(n,r){var o=Pa(n)?it:Kn,i=t?t():{};return o(n,e,Xo(r,2),i)}}function _o(e){return zr((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&ci(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=ve(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t}))}function wo(e,t){return function(n,r){if(null==n)return n;if(!Ra(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=ve(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Oo(e){return function(t,n,r){for(var o=-1,i=ve(t),a=r(t),s=a.length;s--;){var c=a[e?s:++o];if(!1===n(i[c],c,i))break}return t}}function So(e){return function(t){var n=zt(t=ss(t))?Kt(t):void 0,r=n?n[0]:t.charAt(0),o=n?lo(n,1).join(""):t.slice(1);return r[e]()+o}}function Eo(e){return function(t){return pt(Hs(Is(t).replace(je,"")),e,"")}}function Co(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Dn(e.prototype),r=e.apply(n,t);return Ua(r)?r:n}}function To(e){return function(t,n,r){var o=ve(t);if(!Ra(t)){var i=Xo(n,3);t=ks(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}function xo(e){return Ko((function(t){var n=t.length,r=n,i=jn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new ge(o);if(i&&!s&&"wrapper"==Go(a))var s=new jn([],!0)}for(r=s?r:n;++r<n;){var c=Go(a=t[r]),l="wrapper"==c?qo(a):void 0;s=l&&ui(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?s[Go(l[0])].apply(s,l[3]):1==a.length&&ui(a)?s[c]():s.thru(a)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Pa(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}}))}function Do(e,t,n,o,i,a,s,c,l,u){var d=128&t,f=1&t,h=2&t,p=24&t,v=512&t,m=h?void 0:Co(e);return function b(){for(var g=arguments.length,y=r(g),k=g;k--;)y[k]=arguments[k];if(p)var _=Zo(b),w=Nt(y,_);if(o&&(y=mo(y,o,i,p)),a&&(y=bo(y,a,s,p)),g-=w,p&&g<u){var O=Vt(y,_);return Lo(e,t,Do,b.placeholder,n,y,O,c,l,u-g)}var S=f?n:this,E=h?S[e]:e;return g=y.length,c?y=bi(y,c):v&&g>1&&y.reverse(),d&&l<g&&(y.length=l),this&&this!==Ye&&this instanceof b&&(E=m||Co(E)),E.apply(S,y)}}function Mo(e,t){return function(n,r){return function(e,t,n,r){return cr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function jo(e,t){return function(n,r){var o;if(void 0===n&&void 0===r)return t;if(void 0!==n&&(o=n),void 0!==r){if(void 0===o)return r;"string"==typeof n||"string"==typeof r?(n=Xr(n),r=Xr(r)):(n=Zr(n),r=Zr(r)),o=e(n,r)}return o}}function Io(e){return Ko((function(t){return t=ft(t,Dt(Xo())),zr((function(n){var r=this;return e(t,(function(e){return ot(e,r,n)}))}))}))}function Po(e,t){var n=(t=void 0===t?" ":Xr(t)).length;if(n<2)return n?Ar(t,e):t;var r=Ar(t,Qt(e/Wt(t)));return zt(t)?lo(Kt(r),0,e).join(""):r.slice(0,e)}function No(e){return function(t,n,o){return o&&"number"!=typeof o&&ci(t,n,o)&&(n=o=void 0),t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n,o){for(var i=-1,a=an(Qt((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,o=void 0===o?t<n?1:-1:ns(o),e)}}function Ro(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=is(t),n=is(n)),e(t,n)}}function Lo(e,t,n,r,o,i,a,s,c,l){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var d=[e,t,o,u?i:void 0,u?a:void 0,u?void 0:i,u?void 0:a,s,c,l],f=n.apply(void 0,d);return ui(e)&&yi(f,d),f.placeholder=r,wi(f,e,t)}function Ao(e){var t=pe[e];return function(e,n){if(e=is(e),(n=null==n?0:sn(rs(n),292))&&nn(e)){var r=(ss(e)+"e").split("e");return+((r=(ss(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var zo=vn&&1/Bt(new vn([,-0]))[1]==1/0?function(e){return new vn(e)}:Xs;function Fo(e){return function(t){var n=ri(t);return n==p?Ft(t):n==g?Ut(t):function(e,t){return ft(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ho(e,t,n,a,s,c,l,u){var d=2&t;if(!d&&"function"!=typeof e)throw new ge(o);var f=a?a.length:0;if(f||(t&=-97,a=s=void 0),l=void 0===l?l:an(rs(l),0),u=void 0===u?u:rs(u),f-=s?s.length:0,64&t){var h=a,p=s;a=s=void 0}var v=d?void 0:qo(e),m=[e,t,n,a,s,h,p,c,l,u];if(v&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,s=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!s)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?mo(l,c,t[4]):c,e[4]=l?Vt(e[3],i):t[4]}(c=t[5])&&(l=e[5],e[5]=l?bo(l,c,t[6]):c,e[6]=l?Vt(e[5],i):t[6]);(c=t[7])&&(e[7]=c);128&r&&(e[8]=null==e[8]?t[8]:sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(m,v),e=m[0],t=m[1],n=m[2],a=m[3],s=m[4],!(u=m[9]=void 0===m[9]?d?0:e.length:an(m[9]-f,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,n){var o=Co(e);return function i(){for(var a=arguments.length,s=r(a),c=a,l=Zo(i);c--;)s[c]=arguments[c];var u=a<3&&s[0]!==l&&s[a-1]!==l?[]:Vt(s,l);if((a-=u.length)<n)return Lo(e,t,Do,i.placeholder,void 0,s,u,void 0,void 0,n-a);var d=this&&this!==Ye&&this instanceof i?o:e;return ot(d,this,s)}}(e,t,u):32!=t&&33!=t||s.length?Do.apply(void 0,m):function(e,t,n,o){var i=1&t,a=Co(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=o.length,d=r(u+c),f=this&&this!==Ye&&this instanceof t?a:e;++l<u;)d[l]=o[l];for(;c--;)d[l++]=arguments[++s];return ot(f,i?n:this,d)}}(e,t,n,a);else var b=function(e,t,n){var r=1&t,o=Co(e);return function t(){var i=this&&this!==Ye&&this instanceof t?o:e;return i.apply(r?n:this,arguments)}}(e,t,n);return wi((v?Br:yi)(b,m),e,t)}function Vo(e,t,n,r){return void 0===e||Da(e,_e[n])&&!Se.call(r,n)?t:e}function Bo(e,t,n,r,o,i){return Ua(e)&&Ua(t)&&(i.set(t,e),Mr(e,t,void 0,Bo,i),i.delete(t)),e}function Uo(e){return $a(e)?void 0:e}function Wo(e,t,n,r,o,i){var a=1&n,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var u=-1,d=!0,f=2&n?new Ln:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var h=e[u],p=t[u];if(r)var v=a?r(p,h,u,t,e,i):r(h,p,u,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!mt(t,(function(e,t){if(!jt(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){d=!1;break}}else if(h!==p&&!o(h,p,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Ko(e){return _i(vi(e,void 0,Ni),e+"")}function Yo(e){return fr(e,ks,ti)}function $o(e){return fr(e,_s,ni)}var qo=gn?function(e){return gn.get(e)}:Xs;function Go(e){for(var t=e.name+"",n=yn[t],r=Se.call(yn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function Zo(e){return(Se.call(xn,"placeholder")?xn:e).placeholder}function Xo(){var e=xn.iteratee||$s;return e=e===$s?Or:e,arguments.length?e(arguments[0],arguments[1]):e}function Qo(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Jo(e){for(var t=ks(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,hi(o)]}return t}function ei(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return wr(n)?n:void 0}var ti=en?function(e){return null==e?[]:(e=ve(e),lt(en(e),(function(t){return qe.call(e,t)})))}:oc,ni=en?function(e){for(var t=[];e;)ht(t,ti(e)),e=Ke(e);return t}:oc,ri=hr;function oi(e,t,n){for(var r=-1,o=(t=so(t,e)).length,i=!1;++r<o;){var a=Ci(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Ba(o)&&si(a,o)&&(Pa(e)||Ia(e))}function ii(e){return"function"!=typeof e.constructor||fi(e)?{}:Dn(Ke(e))}function ai(e){return Pa(e)||Ia(e)||!!(Xe&&e&&e[Xe])}function si(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&se.test(e))&&e>-1&&e%1==0&&e<t}function ci(e,t,n){if(!Ua(n))return!1;var r=typeof t;return!!("number"==r?Ra(n)&&si(t,n.length):"string"==r&&t in n)&&Da(n[t],e)}function li(e,t){if(Pa(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Xa(e))||(U.test(e)||!B.test(e)||null!=t&&e in ve(t))}function ui(e){var t=Go(e),n=xn[t];if("function"!=typeof n||!(t in In.prototype))return!1;if(e===n)return!0;var r=qo(n);return!!r&&e===r[0]}(fn&&ri(new fn(new ArrayBuffer(1)))!=O||hn&&ri(new hn)!=p||pn&&"[object Promise]"!=ri(pn.resolve())||vn&&ri(new vn)!=g||mn&&ri(new mn)!=_)&&(ri=function(e){var t=hr(e),n=t==m?e.constructor:void 0,r=n?Ti(n):"";if(r)switch(r){case kn:return O;case _n:return p;case wn:return"[object Promise]";case On:return g;case Sn:return _}return t});var di=we?Ha:ic;function fi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_e)}function hi(e){return e==e&&!Ua(e)}function pi(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in ve(n)))}}function vi(e,t,n){return t=an(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=an(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var c=r(t+1);++i<t;)c[i]=o[i];return c[t]=n(s),ot(e,this,c)}}function mi(e,t){return t.length<2?e:dr(e,Kr(t,0,-1))}function bi(e,t){for(var n=e.length,r=sn(t.length,n),o=go(e);r--;){var i=t[r];e[r]=si(i,n)?o[i]:void 0}return e}function gi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var yi=Oi(Br),ki=Xt||function(e,t){return Ye.setTimeout(e,t)},_i=Oi(Ur);function wi(e,t,n){var r=t+"";return _i(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Z,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return at(a,(function(n){var r="_."+n[0];t&n[1]&&!ut(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(X);return t?t[1].split(Q):[]}(r),n)))}function Oi(e){var t=0,n=0;return function(){var r=cn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Si(e,t){var n=-1,r=e.length,o=r-1;for(t=void 0===t?r:t;++n<t;){var i=Lr(n,o),a=e[i];e[i]=e[n],e[n]=a}return e.length=t,e}var Ei=function(e){var t=Oa(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(W,(function(e,n,r,o){t.push(r?o.replace(ee,"$1"):n||e)})),t}));function Ci(e){if("string"==typeof e||Xa(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ti(e){if(null!=e){try{return Oe.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function xi(e){if(e instanceof In)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=go(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Di=zr((function(e,t){return La(e)?Jn(e,ir(t,1,La,!0)):[]})),Mi=zr((function(e,t){var n=Fi(t);return La(n)&&(n=void 0),La(e)?Jn(e,ir(t,1,La,!0),Xo(n,2)):[]})),ji=zr((function(e,t){var n=Fi(t);return La(n)&&(n=void 0),La(e)?Jn(e,ir(t,1,La,!0),void 0,n):[]}));function Ii(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),yt(e,Xo(t,3),o)}function Pi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return void 0!==n&&(o=rs(n),o=n<0?an(r+o,0):sn(o,r-1)),yt(e,Xo(t,3),o,!0)}function Ni(e){return(null==e?0:e.length)?ir(e,1):[]}function Ri(e){return e&&e.length?e[0]:void 0}var Li=zr((function(e){var t=ft(e,io);return t.length&&t[0]===e[0]?br(t):[]})),Ai=zr((function(e){var t=Fi(e),n=ft(e,io);return t===Fi(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?br(n,Xo(t,2)):[]})),zi=zr((function(e){var t=Fi(e),n=ft(e,io);return(t="function"==typeof t?t:void 0)&&n.pop(),n.length&&n[0]===e[0]?br(n,void 0,t):[]}));function Fi(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}var Hi=zr(Vi);function Vi(e,t){return e&&e.length&&t&&t.length?Nr(e,t):e}var Bi=Ko((function(e,t){var n=null==e?0:e.length,r=qn(e,t);return Rr(e,ft(t,(function(e){return si(e,n)?+e:e})).sort(vo)),r}));function Ui(e){return null==e?e:dn.call(e)}var Wi=zr((function(e){return Qr(ir(e,1,La,!0))})),Ki=zr((function(e){var t=Fi(e);return La(t)&&(t=void 0),Qr(ir(e,1,La,!0),Xo(t,2))})),Yi=zr((function(e){var t=Fi(e);return t="function"==typeof t?t:void 0,Qr(ir(e,1,La,!0),void 0,t)}));function $i(e){if(!e||!e.length)return[];var t=0;return e=lt(e,(function(e){if(La(e))return t=an(e.length,t),!0})),xt(t,(function(t){return ft(e,St(t))}))}function qi(e,t){if(!e||!e.length)return[];var n=$i(e);return null==t?n:ft(n,(function(e){return ot(t,void 0,e)}))}var Gi=zr((function(e,t){return La(e)?Jn(e,t):[]})),Zi=zr((function(e){return ro(lt(e,La))})),Xi=zr((function(e){var t=Fi(e);return La(t)&&(t=void 0),ro(lt(e,La),Xo(t,2))})),Qi=zr((function(e){var t=Fi(e);return t="function"==typeof t?t:void 0,ro(lt(e,La),void 0,t)})),Ji=zr($i);var ea=zr((function(e){var t=e.length,n=t>1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,qi(e,n)}));function ta(e){var t=xn(e);return t.__chain__=!0,t}function na(e,t){return t(e)}var ra=Ko((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return qn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof In&&si(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new jn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(o)}));var oa=ko((function(e,t,n){Se.call(e,n)?++e[n]:$n(e,n,1)}));var ia=To(Ii),aa=To(Pi);function sa(e,t){return(Pa(e)?at:er)(e,Xo(t,3))}function ca(e,t){return(Pa(e)?st:tr)(e,Xo(t,3))}var la=ko((function(e,t,n){Se.call(e,n)?e[n].push(t):$n(e,n,[t])}));var ua=zr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ra(e)?r(e.length):[];return er(e,(function(e){a[++o]=i?ot(t,e,n):gr(e,t,n)})),a})),da=ko((function(e,t,n){$n(e,n,t)}));function fa(e,t){return(Pa(e)?ft:Tr)(e,Xo(t,3))}var ha=ko((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var pa=zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ci(e,t[0],t[1])?t=[]:n>2&&ci(t[0],t[1],t[2])&&(t=[t[0]]),Ir(e,ir(t,1),[])})),va=Zt||function(){return Ye.Date.now()};function ma(e,t,n){return t=n?void 0:t,Ho(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function ba(e,t){var n;if("function"!=typeof t)throw new ge(o);return e=rs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var ga=zr((function(e,t,n){var r=1;if(n.length){var o=Vt(n,Zo(ga));r|=32}return Ho(e,r,t,n,o)})),ya=zr((function(e,t,n){var r=3;if(n.length){var o=Vt(n,Zo(ya));r|=32}return Ho(t,r,e,n,o)}));function ka(e,t,n){var r,i,a,s,c,l,u=0,d=!1,f=!1,h=!0;if("function"!=typeof e)throw new ge(o);function p(t){var n=r,o=i;return r=i=void 0,u=t,s=e.apply(o,n)}function v(e){return u=e,c=ki(b,t),d?p(e):s}function m(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-u>=a}function b(){var e=va();if(m(e))return g(e);c=ki(b,function(e){var n=t-(e-l);return f?sn(n,a-(e-u)):n}(e))}function g(e){return c=void 0,h&&r?p(e):(r=i=void 0,s)}function y(){var e=va(),n=m(e);if(r=arguments,i=this,l=e,n){if(void 0===c)return v(l);if(f)return uo(c),c=ki(b,t),p(l)}return void 0===c&&(c=ki(b,t)),s}return t=is(t)||0,Ua(n)&&(d=!!n.leading,a=(f="maxWait"in n)?an(is(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==c&&uo(c),u=0,r=l=i=c=void 0},y.flush=function(){return void 0===c?s:g(va())},y}var _a=zr((function(e,t){return Qn(e,1,t)})),wa=zr((function(e,t,n){return Qn(e,is(t)||0,n)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ge(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Oa.Cache||Rn),n}function Sa(e){if("function"!=typeof e)throw new ge(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Rn;var Ea=co((function(e,t){var n=(t=1==t.length&&Pa(t[0])?ft(t[0],Dt(Xo())):ft(ir(t,1),Dt(Xo()))).length;return zr((function(r){for(var o=-1,i=sn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return ot(e,this,r)}))})),Ca=zr((function(e,t){return Ho(e,32,void 0,t,Vt(t,Zo(Ca)))})),Ta=zr((function(e,t){return Ho(e,64,void 0,t,Vt(t,Zo(Ta)))})),xa=Ko((function(e,t){return Ho(e,256,void 0,void 0,void 0,t)}));function Da(e,t){return e===t||e!=e&&t!=t}var Ma=Ro(pr),ja=Ro((function(e,t){return e>=t})),Ia=yr(function(){return arguments}())?yr:function(e){return Wa(e)&&Se.call(e,"callee")&&!qe.call(e,"callee")},Pa=r.isArray,Na=Qe?Dt(Qe):function(e){return Wa(e)&&hr(e)==w};function Ra(e){return null!=e&&Ba(e.length)&&!Ha(e)}function La(e){return Wa(e)&&Ra(e)}var Aa=tn||ic,za=Je?Dt(Je):function(e){return Wa(e)&&hr(e)==u};function Fa(e){if(!Wa(e))return!1;var t=hr(e);return t==d||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!$a(e)}function Ha(e){if(!Ua(e))return!1;var t=hr(e);return t==f||t==h||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Va(e){return"number"==typeof e&&e==rs(e)}function Ba(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ua(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Wa(e){return null!=e&&"object"==typeof e}var Ka=et?Dt(et):function(e){return Wa(e)&&ri(e)==p};function Ya(e){return"number"==typeof e||Wa(e)&&hr(e)==v}function $a(e){if(!Wa(e)||hr(e)!=m)return!1;var t=Ke(e);if(null===t)return!0;var n=Se.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==xe}var qa=tt?Dt(tt):function(e){return Wa(e)&&hr(e)==b};var Ga=nt?Dt(nt):function(e){return Wa(e)&&ri(e)==g};function Za(e){return"string"==typeof e||!Pa(e)&&Wa(e)&&hr(e)==y}function Xa(e){return"symbol"==typeof e||Wa(e)&&hr(e)==k}var Qa=rt?Dt(rt):function(e){return Wa(e)&&Ba(e.length)&&!!Fe[hr(e)]};var Ja=Ro(Cr),es=Ro((function(e,t){return e<=t}));function ts(e){if(!e)return[];if(Ra(e))return Za(e)?Kt(e):go(e);if(bt&&e[bt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[bt]());var t=ri(e);return(t==p?Ft:t==g?Bt:Ds)(e)}function ns(e){return e?(e=is(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function rs(e){var t=ns(e),n=t%1;return t==t?n?t-n:t:0}function os(e){return e?Gn(rs(e),0,4294967295):0}function is(e){if("number"==typeof e)return e;if(Xa(e))return NaN;if(Ua(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ua(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace($,"");var n=oe.test(e);return n||ae.test(e)?Ue(e.slice(2),n?2:8):re.test(e)?NaN:+e}function as(e){return yo(e,_s(e))}function ss(e){return null==e?"":Xr(e)}var cs=_o((function(e,t){if(fi(t)||Ra(t))yo(t,ks(t),e);else for(var n in t)Se.call(t,n)&&Un(e,n,t[n])})),ls=_o((function(e,t){yo(t,_s(t),e)})),us=_o((function(e,t,n,r){yo(t,_s(t),e,r)})),ds=_o((function(e,t,n,r){yo(t,ks(t),e,r)})),fs=Ko(qn);var hs=zr((function(e,t){e=ve(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&ci(t[0],t[1],o)&&(r=1);++n<r;)for(var i=t[n],a=_s(i),s=-1,c=a.length;++s<c;){var l=a[s],u=e[l];(void 0===u||Da(u,_e[l])&&!Se.call(e,l))&&(e[l]=i[l])}return e})),ps=zr((function(e){return e.push(void 0,Bo),ot(Os,void 0,e)}));function vs(e,t,n){var r=null==e?void 0:dr(e,t);return void 0===r?n:r}function ms(e,t){return null!=e&&oi(e,t,mr)}var bs=Mo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),e[t]=n}),Us(Ys)),gs=Mo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Te.call(t)),Se.call(e,t)?e[t].push(n):e[t]=[n]}),Xo),ys=zr(gr);function ks(e){return Ra(e)?zn(e):Sr(e)}function _s(e){return Ra(e)?zn(e,!0):Er(e)}var ws=_o((function(e,t,n){Mr(e,t,n)})),Os=_o((function(e,t,n,r){Mr(e,t,n,r)})),Ss=Ko((function(e,t){var n={};if(null==e)return n;var r=!1;t=ft(t,(function(t){return t=so(t,e),r||(r=t.length>1),t})),yo(e,$o(e),n),r&&(n=Zn(n,7,Uo));for(var o=t.length;o--;)Jr(n,t[o]);return n}));var Es=Ko((function(e,t){return null==e?{}:function(e,t){return Pr(e,t,(function(t,n){return ms(e,n)}))}(e,t)}));function Cs(e,t){if(null==e)return{};var n=ft($o(e),(function(e){return[e]}));return t=Xo(t),Pr(e,n,(function(e,n){return t(e,n[0])}))}var Ts=Fo(ks),xs=Fo(_s);function Ds(e){return null==e?[]:Mt(e,ks(e))}var Ms=Eo((function(e,t,n){return t=t.toLowerCase(),e+(n?js(t):t)}));function js(e){return Fs(ss(e).toLowerCase())}function Is(e){return(e=ss(e))&&e.replace(ce,Rt).replace(Ie,"")}var Ps=Eo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ns=Eo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Rs=So("toLowerCase");var Ls=Eo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var As=Eo((function(e,t,n){return e+(n?" ":"")+Fs(t)}));var zs=Eo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Fs=So("toUpperCase");function Hs(e,t,n){return e=ss(e),void 0===(t=n?void 0:t)?function(e){return Le.test(e)}(e)?function(e){return e.match(Ne)||[]}(e):function(e){return e.match(J)||[]}(e):e.match(t)||[]}var Vs=zr((function(e,t){try{return ot(e,void 0,t)}catch(n){return Fa(n)?n:new fe(n)}})),Bs=Ko((function(e,t){return at(t,(function(t){t=Ci(t),$n(e,t,ga(e[t],e))})),e}));function Us(e){return function(){return e}}var Ws=xo(),Ks=xo(!0);function Ys(e){return e}function $s(e){return Or("function"==typeof e?e:Zn(e,1))}var qs=zr((function(e,t){return function(n){return gr(n,e,t)}})),Gs=zr((function(e,t){return function(n){return gr(e,n,t)}}));function Zs(e,t,n){var r=ks(t),o=ur(t,r);null!=n||Ua(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=ur(t,ks(t)));var i=!(Ua(n)&&"chain"in n&&!n.chain),a=Ha(e);return at(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=go(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,ht([this.value()],arguments))})})),e}function Xs(){}var Qs=Io(ft),Js=Io(ct),ec=Io(mt);function tc(e){return li(e)?St(Ci(e)):function(e){return function(t){return dr(t,e)}}(e)}var nc=No(),rc=No(!0);function oc(){return[]}function ic(){return!1}var ac=jo((function(e,t){return e+t}),0),sc=Ao("ceil"),cc=jo((function(e,t){return e/t}),1),lc=Ao("floor");var uc,dc=jo((function(e,t){return e*t}),1),fc=Ao("round"),hc=jo((function(e,t){return e-t}),0);return xn.after=function(e,t){if("function"!=typeof t)throw new ge(o);return e=rs(e),function(){if(--e<1)return t.apply(this,arguments)}},xn.ary=ma,xn.assign=cs,xn.assignIn=ls,xn.assignInWith=us,xn.assignWith=ds,xn.at=fs,xn.before=ba,xn.bind=ga,xn.bindAll=Bs,xn.bindKey=ya,xn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Pa(e)?e:[e]},xn.chain=ta,xn.chunk=function(e,t,n){t=(n?ci(e,t,n):void 0===t)?1:an(rs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=r(Qt(o/t));i<o;)s[a++]=Kr(e,i,i+=t);return s},xn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},xn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return ht(Pa(n)?go(n):[n],ir(t,1))},xn.cond=function(e){var t=null==e?0:e.length,n=Xo();return e=t?ft(e,(function(e){if("function"!=typeof e[1])throw new ge(o);return[n(e[0]),e[1]]})):[],zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(ot(o[0],this,n))return ot(o[1],this,n)}}))},xn.conforms=function(e){return function(e){var t=ks(e);return function(n){return Xn(n,e,t)}}(Zn(e,1))},xn.constant=Us,xn.countBy=oa,xn.create=function(e,t){var n=Dn(e);return null==t?n:Yn(n,t)},xn.curry=function e(t,n,r){var o=Ho(t,8,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},xn.curryRight=function e(t,n,r){var o=Ho(t,16,void 0,void 0,void 0,void 0,void 0,n=r?void 0:n);return o.placeholder=e.placeholder,o},xn.debounce=ka,xn.defaults=hs,xn.defaultsDeep=ps,xn.defer=_a,xn.delay=wa,xn.difference=Di,xn.differenceBy=Mi,xn.differenceWith=ji,xn.drop=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=n||void 0===t?1:rs(t))<0?0:t,r):[]},xn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,0,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t):[]},xn.dropRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!0,!0):[]},xn.dropWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!0):[]},xn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&ci(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=rs(n))<0&&(n=-n>o?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},xn.filter=function(e,t){return(Pa(e)?lt:or)(e,Xo(t,3))},xn.flatMap=function(e,t){return ir(fa(e,t),1)},xn.flatMapDeep=function(e,t){return ir(fa(e,t),1/0)},xn.flatMapDepth=function(e,t,n){return n=void 0===n?1:rs(n),ir(fa(e,t),n)},xn.flatten=Ni,xn.flattenDeep=function(e){return(null==e?0:e.length)?ir(e,1/0):[]},xn.flattenDepth=function(e,t){return(null==e?0:e.length)?ir(e,t=void 0===t?1:rs(t)):[]},xn.flip=function(e){return Ho(e,512)},xn.flow=Ws,xn.flowRight=Ks,xn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},xn.functions=function(e){return null==e?[]:ur(e,ks(e))},xn.functionsIn=function(e){return null==e?[]:ur(e,_s(e))},xn.groupBy=la,xn.initial=function(e){return(null==e?0:e.length)?Kr(e,0,-1):[]},xn.intersection=Li,xn.intersectionBy=Ai,xn.intersectionWith=zi,xn.invert=bs,xn.invertBy=gs,xn.invokeMap=ua,xn.iteratee=$s,xn.keyBy=da,xn.keys=ks,xn.keysIn=_s,xn.map=fa,xn.mapKeys=function(e,t){var n={};return t=Xo(t,3),cr(e,(function(e,r,o){$n(n,t(e,r,o),e)})),n},xn.mapValues=function(e,t){var n={};return t=Xo(t,3),cr(e,(function(e,r,o){$n(n,r,t(e,r,o))})),n},xn.matches=function(e){return xr(Zn(e,1))},xn.matchesProperty=function(e,t){return Dr(e,Zn(t,1))},xn.memoize=Oa,xn.merge=ws,xn.mergeWith=Os,xn.method=qs,xn.methodOf=Gs,xn.mixin=Zs,xn.negate=Sa,xn.nthArg=function(e){return e=rs(e),zr((function(t){return jr(t,e)}))},xn.omit=Ss,xn.omitBy=function(e,t){return Cs(e,Sa(Xo(t)))},xn.once=function(e){return ba(2,e)},xn.orderBy=function(e,t,n,r){return null==e?[]:(Pa(t)||(t=null==t?[]:[t]),Pa(n=r?void 0:n)||(n=null==n?[]:[n]),Ir(e,t,n))},xn.over=Qs,xn.overArgs=Ea,xn.overEvery=Js,xn.overSome=ec,xn.partial=Ca,xn.partialRight=Ta,xn.partition=ha,xn.pick=Es,xn.pickBy=Cs,xn.property=tc,xn.propertyOf=function(e){return function(t){return null==e?void 0:dr(e,t)}},xn.pull=Hi,xn.pullAll=Vi,xn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,Xo(n,2)):e},xn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Nr(e,t,void 0,n):e},xn.pullAt=Bi,xn.range=nc,xn.rangeRight=rc,xn.rearg=xa,xn.reject=function(e,t){return(Pa(e)?lt:or)(e,Sa(Xo(t,3)))},xn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=Xo(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Rr(e,o),n},xn.rest=function(e,t){if("function"!=typeof e)throw new ge(o);return zr(e,t=void 0===t?t:rs(t))},xn.reverse=Ui,xn.sampleSize=function(e,t,n){return t=(n?ci(e,t,n):void 0===t)?1:rs(t),(Pa(e)?Hn:Hr)(e,t)},xn.set=function(e,t,n){return null==e?e:Vr(e,t,n)},xn.setWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:Vr(e,t,n,r)},xn.shuffle=function(e){return(Pa(e)?Vn:Wr)(e)},xn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ci(e,t,n)?(t=0,n=r):(t=null==t?0:rs(t),n=void 0===n?r:rs(n)),Kr(e,t,n)):[]},xn.sortBy=pa,xn.sortedUniq=function(e){return e&&e.length?Gr(e):[]},xn.sortedUniqBy=function(e,t){return e&&e.length?Gr(e,Xo(t,2)):[]},xn.split=function(e,t,n){return n&&"number"!=typeof n&&ci(e,t,n)&&(t=n=void 0),(n=void 0===n?4294967295:n>>>0)?(e=ss(e))&&("string"==typeof t||null!=t&&!qa(t))&&!(t=Xr(t))&&zt(e)?lo(Kt(e),0,n):e.split(t,n):[]},xn.spread=function(e,t){if("function"!=typeof e)throw new ge(o);return t=null==t?0:an(rs(t),0),zr((function(n){var r=n[t],o=lo(n,0,t);return r&&ht(o,r),ot(e,this,o)}))},xn.tail=function(e){var t=null==e?0:e.length;return t?Kr(e,1,t):[]},xn.take=function(e,t,n){return e&&e.length?Kr(e,0,(t=n||void 0===t?1:rs(t))<0?0:t):[]},xn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Kr(e,(t=r-(t=n||void 0===t?1:rs(t)))<0?0:t,r):[]},xn.takeRightWhile=function(e,t){return e&&e.length?to(e,Xo(t,3),!1,!0):[]},xn.takeWhile=function(e,t){return e&&e.length?to(e,Xo(t,3)):[]},xn.tap=function(e,t){return t(e),e},xn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ge(o);return Ua(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ka(e,t,{leading:r,maxWait:t,trailing:i})},xn.thru=na,xn.toArray=ts,xn.toPairs=Ts,xn.toPairsIn=xs,xn.toPath=function(e){return Pa(e)?ft(e,Ci):Xa(e)?[e]:go(Ei(ss(e)))},xn.toPlainObject=as,xn.transform=function(e,t,n){var r=Pa(e),o=r||Aa(e)||Qa(e);if(t=Xo(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ua(e)&&Ha(i)?Dn(Ke(e)):{}}return(o?at:cr)(e,(function(e,r,o){return t(n,e,r,o)})),n},xn.unary=function(e){return ma(e,1)},xn.union=Wi,xn.unionBy=Ki,xn.unionWith=Yi,xn.uniq=function(e){return e&&e.length?Qr(e):[]},xn.uniqBy=function(e,t){return e&&e.length?Qr(e,Xo(t,2)):[]},xn.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Qr(e,void 0,t):[]},xn.unset=function(e,t){return null==e||Jr(e,t)},xn.unzip=$i,xn.unzipWith=qi,xn.update=function(e,t,n){return null==e?e:eo(e,t,ao(n))},xn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:eo(e,t,ao(n),r)},xn.values=Ds,xn.valuesIn=function(e){return null==e?[]:Mt(e,_s(e))},xn.without=Gi,xn.words=Hs,xn.wrap=function(e,t){return Ca(ao(t),e)},xn.xor=Zi,xn.xorBy=Xi,xn.xorWith=Qi,xn.zip=Ji,xn.zipObject=function(e,t){return oo(e||[],t||[],Un)},xn.zipObjectDeep=function(e,t){return oo(e||[],t||[],Vr)},xn.zipWith=ea,xn.entries=Ts,xn.entriesIn=xs,xn.extend=ls,xn.extendWith=us,Zs(xn,xn),xn.add=ac,xn.attempt=Vs,xn.camelCase=Ms,xn.capitalize=js,xn.ceil=sc,xn.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=is(n))==n?n:0),void 0!==t&&(t=(t=is(t))==t?t:0),Gn(is(e),t,n)},xn.clone=function(e){return Zn(e,4)},xn.cloneDeep=function(e){return Zn(e,5)},xn.cloneDeepWith=function(e,t){return Zn(e,5,t="function"==typeof t?t:void 0)},xn.cloneWith=function(e,t){return Zn(e,4,t="function"==typeof t?t:void 0)},xn.conformsTo=function(e,t){return null==t||Xn(e,t,ks(t))},xn.deburr=Is,xn.defaultTo=function(e,t){return null==e||e!=e?t:e},xn.divide=cc,xn.endsWith=function(e,t,n){e=ss(e),t=Xr(t);var r=e.length,o=n=void 0===n?r:Gn(rs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},xn.eq=Da,xn.escape=function(e){return(e=ss(e))&&z.test(e)?e.replace(L,Lt):e},xn.escapeRegExp=function(e){return(e=ss(e))&&Y.test(e)?e.replace(K,"\\$&"):e},xn.every=function(e,t,n){var r=Pa(e)?ct:nr;return n&&ci(e,t,n)&&(t=void 0),r(e,Xo(t,3))},xn.find=ia,xn.findIndex=Ii,xn.findKey=function(e,t){return gt(e,Xo(t,3),cr)},xn.findLast=aa,xn.findLastIndex=Pi,xn.findLastKey=function(e,t){return gt(e,Xo(t,3),lr)},xn.floor=lc,xn.forEach=sa,xn.forEachRight=ca,xn.forIn=function(e,t){return null==e?e:ar(e,Xo(t,3),_s)},xn.forInRight=function(e,t){return null==e?e:sr(e,Xo(t,3),_s)},xn.forOwn=function(e,t){return e&&cr(e,Xo(t,3))},xn.forOwnRight=function(e,t){return e&&lr(e,Xo(t,3))},xn.get=vs,xn.gt=Ma,xn.gte=ja,xn.has=function(e,t){return null!=e&&oi(e,t,vr)},xn.hasIn=ms,xn.head=Ri,xn.identity=Ys,xn.includes=function(e,t,n,r){e=Ra(e)?e:Ds(e),n=n&&!r?rs(n):0;var o=e.length;return n<0&&(n=an(o+n,0)),Za(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&kt(e,t,n)>-1},xn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),kt(e,t,o)},xn.inRange=function(e,t,n){return t=ns(t),void 0===n?(n=t,t=0):n=ns(n),function(e,t,n){return e>=sn(t,n)&&e<an(t,n)}(e=is(e),t,n)},xn.invoke=ys,xn.isArguments=Ia,xn.isArray=Pa,xn.isArrayBuffer=Na,xn.isArrayLike=Ra,xn.isArrayLikeObject=La,xn.isBoolean=function(e){return!0===e||!1===e||Wa(e)&&hr(e)==l},xn.isBuffer=Aa,xn.isDate=za,xn.isElement=function(e){return Wa(e)&&1===e.nodeType&&!$a(e)},xn.isEmpty=function(e){if(null==e)return!0;if(Ra(e)&&(Pa(e)||"string"==typeof e||"function"==typeof e.splice||Aa(e)||Qa(e)||Ia(e)))return!e.length;var t=ri(e);if(t==p||t==g)return!e.size;if(fi(e))return!Sr(e).length;for(var n in e)if(Se.call(e,n))return!1;return!0},xn.isEqual=function(e,t){return kr(e,t)},xn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?kr(e,t,void 0,n):!!r},xn.isError=Fa,xn.isFinite=function(e){return"number"==typeof e&&nn(e)},xn.isFunction=Ha,xn.isInteger=Va,xn.isLength=Ba,xn.isMap=Ka,xn.isMatch=function(e,t){return e===t||_r(e,t,Jo(t))},xn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:void 0,_r(e,t,Jo(t),n)},xn.isNaN=function(e){return Ya(e)&&e!=+e},xn.isNative=function(e){if(di(e))throw new fe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return wr(e)},xn.isNil=function(e){return null==e},xn.isNull=function(e){return null===e},xn.isNumber=Ya,xn.isObject=Ua,xn.isObjectLike=Wa,xn.isPlainObject=$a,xn.isRegExp=qa,xn.isSafeInteger=function(e){return Va(e)&&e>=-9007199254740991&&e<=9007199254740991},xn.isSet=Ga,xn.isString=Za,xn.isSymbol=Xa,xn.isTypedArray=Qa,xn.isUndefined=function(e){return void 0===e},xn.isWeakMap=function(e){return Wa(e)&&ri(e)==_},xn.isWeakSet=function(e){return Wa(e)&&"[object WeakSet]"==hr(e)},xn.join=function(e,t){return null==e?"":rn.call(e,t)},xn.kebabCase=Ps,xn.last=Fi,xn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):yt(e,wt,o,!0)},xn.lowerCase=Ns,xn.lowerFirst=Rs,xn.lt=Ja,xn.lte=es,xn.max=function(e){return e&&e.length?rr(e,Ys,pr):void 0},xn.maxBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),pr):void 0},xn.mean=function(e){return Ot(e,Ys)},xn.meanBy=function(e,t){return Ot(e,Xo(t,2))},xn.min=function(e){return e&&e.length?rr(e,Ys,Cr):void 0},xn.minBy=function(e,t){return e&&e.length?rr(e,Xo(t,2),Cr):void 0},xn.stubArray=oc,xn.stubFalse=ic,xn.stubObject=function(){return{}},xn.stubString=function(){return""},xn.stubTrue=function(){return!0},xn.multiply=dc,xn.nth=function(e,t){return e&&e.length?jr(e,rs(t)):void 0},xn.noConflict=function(){return Ye._===this&&(Ye._=De),this},xn.noop=Xs,xn.now=va,xn.pad=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Po(Jt(o),n)+e+Po(Qt(o),n)},xn.padEnd=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&r<t?e+Po(t-r,n):e},xn.padStart=function(e,t,n){e=ss(e);var r=(t=rs(t))?Wt(e):0;return t&&r<t?Po(t-r,n)+e:e},xn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),ln(ss(e).replace(q,""),t||0)},xn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ci(e,t,n)&&(t=n=void 0),void 0===n&&("boolean"==typeof t?(n=t,t=void 0):"boolean"==typeof e&&(n=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=ns(e),void 0===t?(t=e,e=0):t=ns(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=un();return sn(e+o*(t-e+Be("1e-"+((o+"").length-1))),t)}return Lr(e,t)},xn.reduce=function(e,t,n){var r=Pa(e)?pt:Ct,o=arguments.length<3;return r(e,Xo(t,4),n,o,er)},xn.reduceRight=function(e,t,n){var r=Pa(e)?vt:Ct,o=arguments.length<3;return r(e,Xo(t,4),n,o,tr)},xn.repeat=function(e,t,n){return t=(n?ci(e,t,n):void 0===t)?1:rs(t),Ar(ss(e),t)},xn.replace=function(){var e=arguments,t=ss(e[0]);return e.length<3?t:t.replace(e[1],e[2])},xn.result=function(e,t,n){var r=-1,o=(t=so(t,e)).length;for(o||(o=1,e=void 0);++r<o;){var i=null==e?void 0:e[Ci(t[r])];void 0===i&&(r=o,i=n),e=Ha(i)?i.call(e):i}return e},xn.round=fc,xn.runInContext=e,xn.sample=function(e){return(Pa(e)?Fn:Fr)(e)},xn.size=function(e){if(null==e)return 0;if(Ra(e))return Za(e)?Wt(e):e.length;var t=ri(e);return t==p||t==g?e.size:Sr(e).length},xn.snakeCase=Ls,xn.some=function(e,t,n){var r=Pa(e)?mt:Yr;return n&&ci(e,t,n)&&(t=void 0),r(e,Xo(t,3))},xn.sortedIndex=function(e,t){return $r(e,t)},xn.sortedIndexBy=function(e,t,n){return qr(e,t,Xo(n,2))},xn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=$r(e,t);if(r<n&&Da(e[r],t))return r}return-1},xn.sortedLastIndex=function(e,t){return $r(e,t,!0)},xn.sortedLastIndexBy=function(e,t,n){return qr(e,t,Xo(n,2),!0)},xn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=$r(e,t,!0)-1;if(Da(e[n],t))return n}return-1},xn.startCase=As,xn.startsWith=function(e,t,n){return e=ss(e),n=null==n?0:Gn(rs(n),0,e.length),t=Xr(t),e.slice(n,n+t.length)==t},xn.subtract=hc,xn.sum=function(e){return e&&e.length?Tt(e,Ys):0},xn.sumBy=function(e,t){return e&&e.length?Tt(e,Xo(t,2)):0},xn.template=function(e,t,n){var r=xn.templateSettings;n&&ci(e,t,n)&&(t=void 0),e=ss(e),t=us({},t,r,Vo);var o,i,a=us({},t.imports,r.imports,Vo),s=ks(a),c=Mt(a,s),l=0,u=t.interpolate||le,d="__p += '",f=me((t.escape||le).source+"|"+u.source+"|"+(u===V?te:le).source+"|"+(t.evaluate||le).source+"|$","g"),h="//# sourceURL="+(Se.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++ze+"]")+"\n";e.replace(f,(function(t,n,r,a,s,c){return r||(r=a),d+=e.slice(l,c).replace(ue,At),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),s&&(i=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=c+t.length,t})),d+="';\n";var p=Se.call(t,"variable")&&t.variable;p||(d="with (obj) {\n"+d+"\n}\n"),d=(i?d.replace(I,""):d).replace(P,"$1").replace(N,"$1;"),d="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=Vs((function(){return he(s,h+"return "+d).apply(void 0,c)}));if(v.source=d,Fa(v))throw v;return v},xn.times=function(e,t){if((e=rs(e))<1||e>9007199254740991)return[];var n=4294967295,r=sn(e,4294967295);e-=4294967295;for(var o=xt(r,t=Xo(t));++n<e;)t(n);return o},xn.toFinite=ns,xn.toInteger=rs,xn.toLength=os,xn.toLower=function(e){return ss(e).toLowerCase()},xn.toNumber=is,xn.toSafeInteger=function(e){return e?Gn(rs(e),-9007199254740991,9007199254740991):0===e?e:0},xn.toString=ss,xn.toUpper=function(e){return ss(e).toUpperCase()},xn.trim=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace($,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e),o=Kt(t);return lo(r,It(r,o),Pt(r,o)+1).join("")},xn.trimEnd=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(G,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e);return lo(r,0,Pt(r,Kt(t))+1).join("")},xn.trimStart=function(e,t,n){if((e=ss(e))&&(n||void 0===t))return e.replace(q,"");if(!e||!(t=Xr(t)))return e;var r=Kt(e);return lo(r,It(r,Kt(t))).join("")},xn.truncate=function(e,t){var n=30,r="...";if(Ua(t)){var o="separator"in t?t.separator:o;n="length"in t?rs(t.length):n,r="omission"in t?Xr(t.omission):r}var i=(e=ss(e)).length;if(zt(e)){var a=Kt(e);i=a.length}if(n>=i)return e;var s=n-Wt(r);if(s<1)return r;var c=a?lo(a,0,s).join(""):e.slice(0,s);if(void 0===o)return c+r;if(a&&(s+=c.length-s),qa(o)){if(e.slice(s).search(o)){var l,u=c;for(o.global||(o=me(o.source,ss(ne.exec(o))+"g")),o.lastIndex=0;l=o.exec(u);)var d=l.index;c=c.slice(0,void 0===d?s:d)}}else if(e.indexOf(Xr(o),s)!=s){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},xn.unescape=function(e){return(e=ss(e))&&A.test(e)?e.replace(R,Yt):e},xn.uniqueId=function(e){var t=++Ee;return ss(e)+t},xn.upperCase=zs,xn.upperFirst=Fs,xn.each=sa,xn.eachRight=ca,xn.first=Ri,Zs(xn,(uc={},cr(xn,(function(e,t){Se.call(xn.prototype,t)||(uc[t]=e)})),uc),{chain:!1}),xn.VERSION="4.17.15",at(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){xn[e].placeholder=xn})),at(["drop","take"],(function(e,t){In.prototype[e]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!t?new In(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},In.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),at(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;In.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Xo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),at(["head","last"],(function(e,t){var n="take"+(t?"Right":"");In.prototype[e]=function(){return this[n](1).value()[0]}})),at(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");In.prototype[e]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter(Ys)},In.prototype.find=function(e){return this.filter(e).head()},In.prototype.findLast=function(e){return this.reverse().find(e)},In.prototype.invokeMap=zr((function(e,t){return"function"==typeof e?new In(this):this.map((function(n){return gr(n,e,t)}))})),In.prototype.reject=function(e){return this.filter(Sa(Xo(e)))},In.prototype.slice=function(e,t){e=rs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new In(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=rs(t))<0?n.dropRight(-t):n.take(t-e)),n)},In.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},cr(In.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=xn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);o&&(xn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,s=t instanceof In,c=a[0],l=s||Pa(t),u=function(e){var t=o.apply(xn,ht([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(s=l=!1);var d=this.__chain__,f=!!this.__actions__.length,h=i&&!d,p=s&&!f;if(!i&&l){t=p?t:new In(this);var v=e.apply(t,a);return v.__actions__.push({func:na,args:[u],thisArg:void 0}),new jn(v,d)}return h&&p?e.apply(this,a):(v=this.thru(u),h?r?v.value()[0]:v.value():v)})})),at(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ye[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);xn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Pa(o)?o:[],e)}return this[n]((function(n){return t.apply(Pa(n)?n:[],e)}))}})),cr(In.prototype,(function(e,t){var n=xn[t];if(n){var r=n.name+"";Se.call(yn,r)||(yn[r]=[]),yn[r].push({name:t,func:n})}})),yn[Do(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var e=new In(this.__wrapped__);return e.__actions__=go(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=go(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=go(this.__views__),e},In.prototype.reverse=function(){if(this.__filtered__){var e=new In(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},In.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Pa(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=sn(t,e+a);break;case"takeRight":e=an(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,c=s-a,l=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,h=sn(c,this.__takeCount__);if(!n||!r&&o==c&&h==c)return no(e,this.__actions__);var p=[];e:for(;c--&&f<h;){for(var v=-1,m=e[l+=t];++v<d;){var b=u[v],g=b.iteratee,y=b.type,k=g(m);if(2==y)m=k;else if(!k){if(1==y)continue e;break e}}p[f++]=m}return p},xn.prototype.at=ra,xn.prototype.chain=function(){return ta(this)},xn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},xn.prototype.next=function(){void 0===this.__values__&&(this.__values__=ts(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},xn.prototype.plant=function(e){for(var t,n=this;n instanceof Mn;){var r=xi(n);r.__index__=0,r.__values__=void 0,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},xn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof In){var t=e;return this.__actions__.length&&(t=new In(this)),(t=t.reverse()).__actions__.push({func:na,args:[Ui],thisArg:void 0}),new jn(t,this.__chain__)}return this.thru(Ui)},xn.prototype.toJSON=xn.prototype.valueOf=xn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},xn.prototype.first=xn.prototype.head,bt&&(xn.prototype[bt]=function(){return this}),xn}();Ye._=$t,void 0===(r=function(){return $t}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(60)(e))},function(e,t,n){"use strict";e.exports=n(140)},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){e.exports=n(149)},function(e,t,n){e.exports=n(194)()},function(e,t,n){"use strict";var r=n(163),o=n(164),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function u(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)u(t,n)&&(e[n]=t[n]);return u(t,"toString")&&(e.toString=t.toString),u(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=h(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function v(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var m=r.momentProperties=[];function b(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=h(t)),a(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)a(o=t[r=m[n]])||(e[r]=o);return e}var g=!1;function y(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,r.updateOffset(this),g=!1)}function k(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function O(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&a++;return a+i}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function E(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}S(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,T={};function x(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),T[e]||(S(t),T[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,r=d({},e);for(n in t)u(t,n)&&(i(e[n])&&i(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)u(e,n)&&!u(t,n)&&i(e[n])&&(r[n]=d({},r[n]));return r}function j(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)u(e,t)&&n.push(t);return n};var I={};function P(e,t){var n=e.toLowerCase();I[n]=I[n+"s"]=I[t]=e}function N(e){return"string"==typeof e?I[e]||I[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)u(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}var L={};function A(e,t){L[e]=t}function z(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},B={};function U(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(B[e]=o),t&&(B[t[0]]=function(){return z(o.apply(this,arguments),t[1],t[2])}),n&&(B[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function W(e,t){return e.isValid()?(t=K(t,e.localeData()),V[t]=V[t]||function(e){var t,n,r,o=e.match(F);for(t=0,n=o.length;t<n;t++)B[o[t]]?o[t]=B[o[t]]:o[t]=(r=o[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,i="";for(r=0;r<n;r++)i+=D(o[r])?o[r].call(t,e):o[r];return i}}(t),V[t](e)):e.localeData().invalidDate()}function K(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(H.lastIndex=0;n>=0&&H.test(e);)e=e.replace(H,r),H.lastIndex=0,n-=1;return e}var Y=/\d/,$=/\d\d/,q=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,X=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,oe=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ce={};function le(e,t,n){ce[e]=D(t)?t:function(e,r){return e&&n?n:t}}function ue(e,t){return u(ce,e)?ce[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var fe={};function he(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)fe[e[n]]=r}function pe(e,t){he(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function ve(e,t,n){null!=t&&u(fe,e)&&fe[e](t,n._a,n,e)}function me(e){return be(e)?366:365}function be(e){return e%4==0&&e%100!=0||e%400==0}U("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),P("year","y"),A("year",1),le("Y",oe),le("YY",X,$),le("YYYY",te,G),le("YYYYY",ne,Z),le("YYYYYY",ne,Z),he(["YYYYY","YYYYYY"],0),he("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):w(e)})),he("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var ge,ye=ke("FullYear",!0);function ke(e,t){return function(n){return null!=n?(we(this,e,n),r.updateOffset(this,t),this):_e(this,e)}}function _e(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function we(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Oe(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Oe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?be(e)?29:28:31-r%7%2}ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),P("month","M"),A("month",8),le("M",X),le("MM",X,$),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[1]=w(e)-1})),he(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[1]=o:h(n).invalidMonth=e}));var Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Te(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=ge.call(this._shortMonthsParse,a))?o:null:-1!==(o=ge.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=ge.call(this._shortMonthsParse,a))?o:-1!==(o=ge.call(this._longMonthsParse,a))?o:null:-1!==(o=ge.call(this._longMonthsParse,a))?o:-1!==(o=ge.call(this._shortMonthsParse,a))?o:null}function xe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Oe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function De(e){return null!=e?(xe(this,e),r.updateOffset(this,!0),this):_e(this,"Month")}var Me=se,je=se;function Ie(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=de(r[t]),o[t]=de(o[t]);for(t=0;t<24;t++)i[t]=de(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Pe(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ne(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Re(e,t,n){var r=7+t-n;return-(7+Ne(e,0,r).getUTCDay()-t)%7+r-1}function Le(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+Re(e,r,o);return s<=0?a=me(i=e-1)+s:s>me(e)?(i=e+1,a=s-me(e)):(i=e,a=s),{year:i,dayOfYear:a}}function Ae(e,t,n){var r,o,i=Re(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+ze(o=e.year()-1,t,n):a>ze(e.year(),t,n)?(r=a-ze(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function ze(e,t,n){var r=Re(e,t,n),o=Re(e+1,t,n);return(me(e)-r+o)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),A("week",5),A("isoWeek",5),le("w",X),le("ww",X,$),le("W",X),le("WW",X,$),pe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=w(e)})),U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),le("d",X),le("e",X),le("E",X),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,r){t[r]=w(e)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ue(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=ge.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=ge.call(this._weekdaysParse,a))?o:-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:-1!==(o=ge.call(this._weekdaysParse,a))?o:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:null:-1!==(o=ge.call(this._minWeekdaysParse,a))?o:-1!==(o=ge.call(this._weekdaysParse,a))?o:-1!==(o=ge.call(this._shortWeekdaysParse,a))?o:null}var We=se,Ke=se,Ye=se;function $e(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),c.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=de(s[t]),c[t]=de(c[t]),l[t]=de(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ge(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ze(e,t){return t._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,qe),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+qe.apply(this)+z(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+qe.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),Ge("a",!0),Ge("A",!1),P("hour","h"),A("hour",13),le("a",Ze),le("A",Ze),le("H",X),le("h",X),le("k",X),le("HH",X,$),le("hh",X,$),le("kk",X,$),le("hmm",Q),le("hmmss",J),le("Hmm",Q),le("Hmmss",J),he(["H","HH"],3),he(["k","kk"],(function(e,t,n){var r=w(e);t[3]=24===r?0:r})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[3]=w(e),h(n).bigHour=!0})),he("hmm",(function(e,t,n){var r=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r)),h(n).bigHour=!0})),he("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r,2)),t[5]=w(e.substr(o)),h(n).bigHour=!0})),he("Hmm",(function(e,t,n){var r=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r))})),he("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[3]=w(e.substr(0,r)),t[4]=w(e.substr(r,2)),t[5]=w(e.substr(o))}));var Xe,Qe=ke("Hours",!0),Je={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Ee,monthsShort:Ce,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Be,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&void 0!==e&&e&&e.exports)try{n=Xe._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ot(n)}catch(r){}return et[t]}function ot(e,t){var n;return e&&((n=a(t)?at(e):it(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function it(e,t){if(null!==t){var n,r=Je;if(t.abbr=e,null!=et[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new j(M(r,t)),tt[e]&&tt[e].forEach((function(e){it(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function at(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!o(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=nt(e[i]).split("-")).length,n=(n=nt(e[i+1]))?n.split("-"):null;t>0;){if(r=rt(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&O(o,n,!0)>=t-1)break;t--}i++}return Xe}(e)}function st(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Oe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}function ct(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t,n,o,i,a,s=[];if(!e._d){for(o=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,o,i,a,s,c;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)i=1,a=4,n=ct(t.GG,e._a[0],Ae(St(),1,4).year),r=ct(t.W,1),((o=ct(t.E,1))<1||o>7)&&(c=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ae(St(),i,a);n=ct(t.gg,e._a[0],l.year),r=ct(t.w,l.week),null!=t.d?((o=t.d)<0||o>6)&&(c=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(c=!0)):o=i}r<1||r>ze(n,i,a)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Le(n,r,o,i,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ct(e._a[0],o[0]),(e._dayOfYear>me(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=Ne(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ne:Pe).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],vt=/^\/?Date\((\-?\d+)/i;function mt(e){var t,n,r,o,i,a,s=e._i,c=ut.exec(s)||dt.exec(s);if(c){for(h(e).iso=!0,t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(c[1])){o=ht[t][0],r=!1!==ht[t][2];break}if(null==o)return void(e._isValid=!1);if(c[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(c[3])){i=(c[2]||" ")+pt[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(c[4]){if(!ft.exec(c[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),_t(e)}else e._isValid=!1}var bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function gt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var t,n,r,o,i,a,s,c=bt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){var l=(t=c[4],n=c[3],r=c[2],o=c[5],i=c[6],a=c[7],s=[gt(t),Ce.indexOf(n),parseInt(r,10),parseInt(o,10),parseInt(i,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],l,e))return;e._a=l,e._tzm=function(e,t,n){if(e)return yt[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}(c[8],c[9],c[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function _t(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],h(e).empty=!0;var t,n,o,i,a,s=""+e._i,c=s.length,l=0;for(o=K(e._f,e._locale).match(F)||[],t=0;t<o.length;t++)i=o[t],(n=(s.match(ue(i,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),B[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),ve(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=c-l,s.length>0&&h(e).unusedInput.push(s),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),lt(e),st(e)}else kt(e);else mt(e)}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new y(st(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,r,o,i;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],_t(t),p(t)&&(i+=h(t).charsLeftOver,i+=10*h(t).unusedTokens.length,h(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}(e):n?_t(e):function(e){var t=e._i;a(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=vt.exec(e._i);null===t?(mt(e),!1===e._isValid&&(delete e._isValid,kt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),lt(e)):i(t)?function(e){if(!e._d){var t=R(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),lt(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Ot(e,t,n,r,a){var s,c={};return!0!==n&&!1!==n||(r=n,n=void 0),(i(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=a,c._l=n,c._i=e,c._f=t,c._strict=r,(s=new y(st(wt(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function St(e,t,n,r){return Ot(e,t,n,r,!1)}r.createFromInputFallback=E("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var Et=E("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Ct=E("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Tt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var xt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=R(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ge.call(xt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<xt.length;++r)if(e[xt[r]]){if(n)return!1;parseFloat(e[xt[r]])!==w(e[xt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=at(),this._bubble()}function Mt(e){return e instanceof Dt}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+z(~~(e/60),2)+t+z(~~e%60,2)}))}It("Z",":"),It("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Nt(ae,e)}));var Pt=/([\+\-]|\d\d)/gi;function Nt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(Pt)||["-",0,0],o=60*r[1]+w(r[2]);return 0===o?0:"+"===r[0]?o:-o}function Rt(e,t){var n,o;return t._isUTC?(n=t.clone(),o=(k(e)||c(e)?e.valueOf():St(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),r.updateOffset(n,!1),n):St(e).local()}function Lt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function At(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var zt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ft=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,r,o,i,a,c,l=e,d=null;return Mt(e)?l={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(l={},t?l[t]=e:l.milliseconds=e):(d=zt.exec(e))?(n="-"===d[1]?-1:1,l={y:0,d:w(d[2])*n,h:w(d[3])*n,m:w(d[4])*n,s:w(d[5])*n,ms:w(jt(1e3*d[6]))*n}):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,l={y:Vt(d[2],n),M:Vt(d[3],n),w:Vt(d[4],n),d:Vt(d[5],n),h:Vt(d[6],n),m:Vt(d[7],n),s:Vt(d[8],n)}):null==l?l={}:"object"==typeof l&&("from"in l||"to"in l)&&(i=St(l.from),a=St(l.to),o=i.isValid()&&a.isValid()?(a=Rt(a,i),i.isBefore(a)?c=Bt(i,a):((c=Bt(a,i)).milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0},(l={}).ms=o.milliseconds,l.M=o.months),r=new Dt(l),Mt(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(x(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Wt(this,Ht(n="string"==typeof n?+n:n,r),e),this}}function Wt(e,t,n,o){var i=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(o=null==o||o,s&&xe(e,_e(e,"Month")+s*n),a&&we(e,"Date",_e(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||s))}Ht.fn=Dt.prototype,Ht.invalid=function(){return Ht(NaN)};var Kt=Ut(1,"add"),Yt=Ut(-1,"subtract");function $t(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function qt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=at(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Gt=E("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Zt(){return this._locale}function Xt(e,t){return(e%t+t)%t}function Qt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Jt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){U(0,[e,e.length],0,t)}function tn(e,t,n,r,o){var i;return null==e?Ae(this,r,o).year:(t>(i=ze(e,r,o))&&(t=i),nn.call(this,e,t,n,r,o))}function nn(e,t,n,r,o){var i=Le(e,t,n,r,o),a=Ne(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),le("G",oe),le("g",oe),le("GG",X,$),le("gg",X,$),le("GGGG",te,G),le("gggg",te,G),le("GGGGG",ne,Z),le("ggggg",ne,Z),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=w(e)})),pe(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),P("quarter","Q"),A("quarter",7),le("Q",Y),he("Q",(function(e,t){t[1]=3*(w(e)-1)})),U("D",["DD",2],"Do","date"),P("date","D"),A("date",9),le("D",X),le("DD",X,$),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],2),he("Do",(function(e,t){t[2]=w(e.match(X)[0])}));var rn=ke("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),A("dayOfYear",4),le("DDD",ee),le("DDDD",q),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=w(e)})),U("m",["mm",2],0,"minute"),P("minute","m"),A("minute",14),le("m",X),le("mm",X,$),he(["m","mm"],4);var on=ke("Minutes",!1);U("s",["ss",2],0,"second"),P("second","s"),A("second",15),le("s",X),le("ss",X,$),he(["s","ss"],5);var an,sn=ke("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),A("millisecond",16),le("S",ee,Y),le("SS",ee,$),le("SSS",ee,q),an="SSSS";an.length<=9;an+="S")le(an,re);function cn(e,t){t[6]=w(1e3*("0."+e))}for(an="S";an.length<=9;an+="S")he(an,cn);var ln=ke("Milliseconds",!1);U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var un=y.prototype;function dn(e){return e}un.add=Kt,un.calendar=function(e,t){var n=e||St(),o=Rt(n,this).startOf("day"),i=r.calendarFormat(this,o)||"sameElse",a=t&&(D(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,St(n)))},un.clone=function(){return new y(this)},un.diff=function(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=Rt(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=N(t)){case"year":i=$t(this,r)/12;break;case"month":i=$t(this,r);break;case"quarter":i=$t(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:_(i)},un.endOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Qt;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-Xt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Xt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Xt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},un.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)},un.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.fromNow=function(e){return this.from(St(),e)},un.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},un.toNow=function(e){return this.to(St(),e)},un.get=function(e){return D(this[e=N(e)])?this[e]():this},un.invalidAt=function(){return h(this).overflow},un.isAfter=function(e,t){var n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},un.isBefore=function(e,t){var n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},un.isBetween=function(e,t,n,r){var o=k(e)?e:St(e),i=k(t)?t:St(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))},un.isSame=function(e,t){var n,r=k(e)?e:St(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},un.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},un.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},un.isValid=function(){return p(this)},un.lang=Gt,un.locale=qt,un.localeData=Zt,un.max=Ct,un.min=Et,un.parsingFlags=function(){return d({},h(this))},un.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=R(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(D(this[e=N(e)]))return this[e](t);return this},un.startOf=function(e){var t;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Qt;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Xt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Xt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Xt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},un.subtract=Yt,un.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},un.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},un.toDate=function(){return new Date(this.valueOf())},un.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},un.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+o)},un.toJSON=function(){return this.isValid()?this.toISOString():null},un.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},un.unix=function(){return Math.floor(this.valueOf()/1e3)},un.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},un.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},un.year=ye,un.isLeapYear=function(){return be(this.year())},un.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},un.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},un.quarter=un.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},un.month=De,un.daysInMonth=function(){return Oe(this.year(),this.month())},un.week=un.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},un.isoWeek=un.isoWeeks=function(e){var t=Ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},un.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},un.isoWeeksInYear=function(){return ze(this.year(),1,4)},un.date=rn,un.day=un.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},un.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},un.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},un.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},un.hour=un.hours=Qe,un.minute=un.minutes=on,un.second=un.seconds=sn,un.millisecond=un.milliseconds=ln,un.utcOffset=function(e,t,n){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Nt(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=Lt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!t||this._changeInProgress?Wt(this,Ht(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Lt(this)},un.utc=function(e){return this.utcOffset(0,e)},un.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Lt(this),"m")),this},un.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Nt(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},un.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},un.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},un.isLocal=function(){return!!this.isValid()&&!this._isUTC},un.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},un.isUtc=At,un.isUTC=At,un.zoneAbbr=function(){return this._isUTC?"UTC":""},un.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},un.dates=E("dates accessor is deprecated. Use date instead.",rn),un.months=E("months accessor is deprecated. Use month instead",De),un.years=E("years accessor is deprecated. Use year instead",ye),un.zone=E("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),un.isDSTShifted=E("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(b(e,this),(e=wt(e))._a){var t=e._isUTC?f(e._a):St(e._a);this._isDSTShifted=this.isValid()&&O(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var fn=j.prototype;function hn(e,t,n,r){var o=at(),i=f().set(r,t);return o[n](i,e)}function pn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return hn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=hn(e,r,n,"month");return o}function vn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o,i=at(),a=e?i._week.dow:0;if(null!=n)return hn(t,(n+a)%7,r,"day");var c=[];for(o=0;o<7;o++)c[o]=hn(t,(o+a)%7,r,"day");return c}fn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},fn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},fn.invalidDate=function(){return this._invalidDate},fn.ordinal=function(e){return this._ordinal.replace("%d",e)},fn.preparse=dn,fn.postformat=dn,fn.relativeTime=function(e,t,n,r){var o=this._relativeTime[n];return D(o)?o(e,t,n,r):o.replace(/%d/i,e)},fn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},fn.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},fn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},fn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},fn.monthsParse=function(e,t,n){var r,o,i;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},fn.monthsRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},fn.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,"_monthsRegex")||Ie.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},fn.week=function(e){return Ae(e,this._week.dow,this._week.doy).week},fn.firstDayOfYear=function(){return this._week.doy},fn.firstDayOfWeek=function(){return this._week.dow},fn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},fn.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},fn.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},fn.weekdaysParse=function(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},fn.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},fn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},fn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ye),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},fn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},fn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=E("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=E("moment.langData is deprecated. Use moment.localeData instead.",at);var mn=Math.abs;function bn(e,t,n,r){var o=Ht(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function gn(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function kn(e){return 146097*e/4800}function _n(e){return function(){return this.as(e)}}var wn=_n("ms"),On=_n("s"),Sn=_n("m"),En=_n("h"),Cn=_n("d"),Tn=_n("w"),xn=_n("M"),Dn=_n("Q"),Mn=_n("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var In=jn("milliseconds"),Pn=jn("seconds"),Nn=jn("minutes"),Rn=jn("hours"),Ln=jn("days"),An=jn("months"),zn=jn("years"),Fn=Math.round,Hn={ss:44,s:45,m:45,h:22,d:26,M:11};function Vn(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}var Bn=Math.abs;function Un(e){return(e>0)-(e<0)||+e}function Wn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Bn(this._milliseconds)/1e3,r=Bn(this._days),o=Bn(this._months);e=_(n/60),t=_(e/60),n%=60,e%=60;var i=_(o/12),a=o%=12,s=r,c=t,l=e,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",h=Un(this._months)!==Un(d)?"-":"",p=Un(this._days)!==Un(d)?"-":"",v=Un(this._milliseconds)!==Un(d)?"-":"";return f+"P"+(i?h+i+"Y":"")+(a?h+a+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?v+c+"H":"")+(l?v+l+"M":"")+(u?v+u+"S":"")}var Kn=Dt.prototype;return Kn.isValid=function(){return this._isValid},Kn.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},Kn.add=function(e,t){return bn(this,e,t,1)},Kn.subtract=function(e,t){return bn(this,e,t,-1)},Kn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(kn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Kn.asMilliseconds=wn,Kn.asSeconds=On,Kn.asMinutes=Sn,Kn.asHours=En,Kn.asDays=Cn,Kn.asWeeks=Tn,Kn.asMonths=xn,Kn.asQuarters=Dn,Kn.asYears=Mn,Kn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Kn._bubble=function(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,c=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*gn(kn(s)+a),a=0,s=0),c.milliseconds=i%1e3,e=_(i/1e3),c.seconds=e%60,t=_(e/60),c.minutes=t%60,n=_(t/60),c.hours=n%24,a+=_(n/24),o=_(yn(a)),s+=o,a-=gn(kn(o)),r=_(s/12),s%=12,c.days=a,c.months=s,c.years=r,this},Kn.clone=function(){return Ht(this)},Kn.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},Kn.milliseconds=In,Kn.seconds=Pn,Kn.minutes=Nn,Kn.hours=Rn,Kn.days=Ln,Kn.weeks=function(){return _(this.days()/7)},Kn.months=An,Kn.years=zn,Kn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Ht(e).abs(),o=Fn(r.as("s")),i=Fn(r.as("m")),a=Fn(r.as("h")),s=Fn(r.as("d")),c=Fn(r.as("M")),l=Fn(r.as("y")),u=o<=Hn.ss&&["s",o]||o<Hn.s&&["ss",o]||i<=1&&["m"]||i<Hn.m&&["mm",i]||a<=1&&["h"]||a<Hn.h&&["hh",a]||s<=1&&["d"]||s<Hn.d&&["dd",s]||c<=1&&["M"]||c<Hn.M&&["MM",c]||l<=1&&["y"]||["yy",l];return u[2]=t,u[3]=+e>0,u[4]=n,Vn.apply(null,u)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Kn.toISOString=Wn,Kn.toString=Wn,Kn.toJSON=Wn,Kn.locale=qt,Kn.localeData=Zt,Kn.toIsoString=E("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Kn.lang=Gt,U("X",0,0,"unix"),U("x",0,0,"valueOf"),le("x",oe),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),he("x",(function(e,t,n){n._d=new Date(w(e))})),r.version="2.24.0",t=St,r.fn=un,r.min=function(){var e=[].slice.call(arguments,0);return Tt("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Tt("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(e){return St(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=c,r.locale=ot,r.invalid=v,r.duration=Ht,r.isMoment=k,r.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},r.parseZone=function(){return St.apply(null,arguments).parseZone()},r.localeData=at,r.isDuration=Mt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},r.defineLocale=it,r.updateLocale=function(e,t){if(null!=t){var n,r,o=Je;null!=(r=rt(e))&&(o=r._config),t=M(o,t),(n=new j(t)).parentLocale=et[e],et[e]=n,ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return C(et)},r.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},r.normalizeUnits=N,r.relativeTimeRounding=function(e){return void 0===e?Fn:"function"==typeof e&&(Fn=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Hn[e]&&(void 0===t?Hn[e]:(Hn[e]=t,"s"===e&&(Hn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=un,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(60)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.DISPLAY_FORMAT="L",t.ISO_FORMAT="YYYY-MM-DD",t.ISO_MONTH_FORMAT="YYYY-MM",t.START_DATE="startDate",t.END_DATE="endDate",t.HORIZONTAL_ORIENTATION="horizontal",t.VERTICAL_ORIENTATION="vertical",t.VERTICAL_SCROLLABLE="verticalScrollable",t.ICON_BEFORE_POSITION="before",t.ICON_AFTER_POSITION="after",t.INFO_POSITION_TOP="top",t.INFO_POSITION_BOTTOM="bottom",t.INFO_POSITION_BEFORE="before",t.INFO_POSITION_AFTER="after",t.ANCHOR_LEFT="left",t.ANCHOR_RIGHT="right",t.OPEN_DOWN="down",t.OPEN_UP="up",t.DAY_SIZE=39,t.BLOCKED_MODIFIER="blocked",t.WEEKDAYS=[0,1,2,3,4,5,6],t.FANG_WIDTH_PX=20,t.FANG_HEIGHT_PX=10,t.DEFAULT_VERTICAL_SPACING=22,t.MODIFIER_KEY_NAMES=new Set(["Shift","Control","Alt","Meta"])},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=e._map,r=e._arrayTreeMap,o=e._objectTreeMap;if(n.has(t))return n.get(t);for(var i=Object.keys(t).sort(),a=Array.isArray(t)?r:o,s=0;s<i.length;s++){var c=i[s];if(void 0===(a=a.get(c)))return;var l=t[c];if(void 0===(a=a.get(l)))return}var u=a.get("_ekm_value");return u?(n.delete(u[0]),u[0]=t,a.set("_ekm_value",u),n.set(t,u),u):void 0}var a=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clear(),t instanceof e){var n=[];t.forEach((function(e,t){n.push([t,e])})),t=n}if(null!=t)for(var r=0;r<t.length;r++)this.set(t[r][0],t[r][1])}var t,n,a;return t=e,(n=[{key:"set",value:function(t,n){if(null===t||"object"!==r(t))return this._map.set(t,n),this;for(var o=Object.keys(t).sort(),i=[t,n],a=Array.isArray(t)?this._arrayTreeMap:this._objectTreeMap,s=0;s<o.length;s++){var c=o[s];a.has(c)||a.set(c,new e),a=a.get(c);var l=t[c];a.has(l)||a.set(l,new e),a=a.get(l)}var u=a.get("_ekm_value");return u&&this._map.delete(u[0]),a.set("_ekm_value",i),this._map.set(t,i),this}},{key:"get",value:function(e){if(null===e||"object"!==r(e))return this._map.get(e);var t=i(this,e);return t?t[1]:void 0}},{key:"has",value:function(e){return null===e||"object"!==r(e)?this._map.has(e):void 0!==i(this,e)}},{key:"delete",value:function(e){return!!this.has(e)&&(this.set(e,void 0),!0)}},{key:"forEach",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;this._map.forEach((function(o,i){null!==i&&"object"===r(i)&&(o=o[1]),e.call(n,o,i,t)}))}},{key:"clear",value:function(){this._map=new Map,this._arrayTreeMap=new Map,this._objectTreeMap=new Map}},{key:"size",get:function(){return this._map.size}}])&&o(t.prototype,n),a&&o(t,a),e}();e.exports=a},function(e,t){e.exports=function(e){var t,n=Object.keys(e);return t=function(){var e,t,r;for(e="return {",t=0;t<n.length;t++)e+=(r=JSON.stringify(n[t]))+":r["+r+"](s["+r+"],a),";return e+="}",new Function("r,s,a",e)}(),function(r,o){var i,a,s;if(void 0===r)return t(e,{},o);for(i=t(e,r,o),a=n.length;a--;)if(r[s=n[a]]!==i[s])return i;return r}}},function(e,t){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(141)},function(e,t,n){e.exports=n(199)},function(e,t,n){"use strict";var r=n(20),o=n(92),i=n(93),a=n(193),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="Interact with the calendar and add the check-in date for your trip.",o="Move backward to switch to the previous month.",i="Move forward to switch to the next month.",a="page up and page down keys",s="Home and end keys",c="Escape key",l="Select the date in focus.",u="Move backward (left) and forward (right) by one day.",d="Move backward (up) and forward (down) by one week.",f="Return to the date input field.",h="Press the down arrow key to interact with the calendar and\n select a date. Press the question mark key to get the keyboard shortcuts for changing dates.",p=function(e){var t=e.date;return"Choose "+String(t)+" as your check-in date. It’s available."},v=function(e){var t=e.date;return"Choose "+String(t)+" as your check-out date. It’s available."},m=function(e){return e.date},b=function(e){var t=e.date;return"Not available. "+String(t)},g=function(e){var t=e.date;return"Selected. "+String(t)};t.default={calendarLabel:"Calendar",closeDatePicker:"Close",focusStartDate:r,clearDate:"Clear Date",clearDates:"Clear Dates",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:b,dateIsSelected:g};t.DateRangePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDates:"Clear Dates",focusStartDate:r,jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableStartDate:p,chooseAvailableEndDate:v,dateIsUnavailable:b,dateIsSelected:g},t.DateRangePickerInputPhrases={focusStartDate:r,clearDates:"Clear Dates",keyboardNavigationInstructions:h},t.SingleDatePickerPhrases={calendarLabel:"Calendar",closeDatePicker:"Close",clearDate:"Clear Date",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,keyboardNavigationInstructions:h,chooseAvailableDate:m,dateIsUnavailable:b,dateIsSelected:g},t.SingleDatePickerInputPhrases={clearDate:"Clear Date",keyboardNavigationInstructions:h},t.DayPickerPhrases={calendarLabel:"Calendar",jumpToPrevMonth:o,jumpToNextMonth:i,keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f,chooseAvailableStartDate:p,chooseAvailableEndDate:v,chooseAvailableDate:m,dateIsUnavailable:b,dateIsSelected:g},t.DayPickerKeyboardShortcutsPhrases={keyboardShortcuts:"Keyboard Shortcuts",showKeyboardShortcutsPanel:"Open the keyboard shortcuts panel.",hideKeyboardShortcutsPanel:"Close the shortcuts panel.",openThisPanel:"Open this panel.",enterKey:"Enter key",leftArrowRightArrow:"Right and left arrow keys",upArrowDownArrow:"up and down arrow keys",pageUpPageDown:a,homeEnd:s,escape:c,questionMark:"Question mark",selectFocusedDate:l,moveFocusByOneDay:u,moveFocusByOneWeek:d,moveFocusByOneMonth:"Switch months.",moveFocustoStartAndEndOfWeek:"Go to the first or last day of a week.",returnFocusToInput:f},t.DayPickerNavigationPhrases={jumpToPrevMonth:o,jumpToNextMonth:i},t.CalendarDayPhrases={chooseAvailableDate:m,dateIsUnavailable:b,dateIsSelected:g}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).reduce((function(e,t){return(0,r.default)({},e,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},t,o.default.oneOfType([o.default.string,o.default.func,o.default.node])))}),{})};var r=i(n(13)),o=i(n(4));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withStylesPropTypes=t.css=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.withStyles=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.stylesPropName,s=void 0===n?"styles":n,u=t.themePropName,f=void 0===u?"theme":u,b=t.cssPropName,w=void 0===b?"css":b,O=t.flushBefore,S=void 0!==O&&O,E=t.pureComponent,C=void 0!==E&&E,T=void 0,x=void 0,D=void 0,M=void 0,j=y(C);function I(e){return e===l.DIRECTIONS.LTR?d.default.resolveLTR:d.default.resolveRTL}function P(e){return e===l.DIRECTIONS.LTR?D:M}function N(t,n){var r=P(t),o=t===l.DIRECTIONS.LTR?T:x,i=d.default.get();return o&&r===i?o:(t===l.DIRECTIONS.RTL?(x=e?d.default.createRTL(e):g,M=i,o=x):(T=e?d.default.createLTR(e):g,D=i,o=T),o)}function R(e,t){return{resolveMethod:I(e),styleDef:N(e)}}return function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,t){h(this,n);var r=p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t)),o=r.context[l.CHANNEL]?r.context[l.CHANNEL].getState():_;return r.state=R(o),r}return v(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.context[l.CHANNEL]&&(this.channelUnsubscribe=this.context[l.CHANNEL].subscribe((function(t){e.setState(R(t))})))}},{key:"componentWillUnmount",value:function(){this.channelUnsubscribe&&this.channelUnsubscribe()}},{key:"render",value:function(){var t;S&&d.default.flush();var n=this.state,o=n.resolveMethod,i=n.styleDef;return a.default.createElement(e,r({},this.props,(m(t={},f,d.default.get()),m(t,s,i()),m(t,w,o),t)))}}]),n}(j);return n.WrappedComponent=e,n.displayName="withStyles("+String(t)+")",n.contextTypes=k,e.propTypes&&(n.propTypes=(0,i.default)({},e.propTypes),delete n.propTypes[s],delete n.propTypes[f],delete n.propTypes[w]),e.defaultProps&&(n.defaultProps=(0,i.default)({},e.defaultProps)),(0,c.default)(n,e)}};var i=f(n(13)),a=f(n(1)),s=f(n(4)),c=f(n(200)),l=n(203),u=f(n(204)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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}function v(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)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.css=d.default.resolveLTR,t.withStylesPropTypes={styles:s.default.object.isRequired,theme:s.default.object.isRequired,css:s.default.func.isRequired};var b={},g=function(){return b};function y(e){if(e){if(!a.default.PureComponent)throw new ReferenceError("withStyles() pureComponent option requires React 15.3.0 or later");return a.default.PureComponent}return a.default.Component}var k=m({},l.CHANNEL,u.default),_=l.DIRECTIONS.LTR},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(M[e])e=M[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(W(e.r)&&W(e.g)&&W(e.b)?(h=e.r,p=e.g,v=e.b,t={r:255*P(h,255),g:255*P(p,255),b:255*P(v,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):W(e.h)&&W(e.s)&&W(e.v)?(r=A(e.s),s=A(e.v),t=function(e,t,n){e=6*P(e,360),t=P(t,100),n=P(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(e.h,r,s),d=!0,f="hsv"):W(e.h)&&W(e.s)&&W(e.l)&&(r=A(e.s),c=A(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var h,p,v;return n=I(n),{ok:d,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function h(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function p(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function v(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,n,r){return[L(z(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=N(n.s),f(n)}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=N(n.s),f(n)}function y(e){return f(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=N(n.l),f(n)}function _(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=N(n.l),f(n)}function O(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function x(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function D(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(z(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*P(this._r,255))+"%",g:c(100*P(this._g,255))+"%",b:c(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%)":"rgba("+c(100*P(this._r,255))+"%, "+c(100*P(this._g,255))+"%, "+c(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(_,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(O,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(D,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:A(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var M=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(M);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function N(e){return l(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function A(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,V,B,U=(V="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",B="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapControls=t.asyncControls=t.create=void 0;var r=n(76);Object.keys(r).forEach((function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=s(n(150)),i=s(n(152)),a=s(n(154));function s(e){return e&&e.__esModule?e:{default:e}}t.create=o.default,t.asyncControls=i.default,t.wrapControls=a.default},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";var r=n(61),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,c=s&&function(){var e={};try{for(var t in s(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),l=function(e,t,n,r){var o;t in e&&("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())||(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},u=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],n[i[s]])};u.supportsDescriptors=!!c,e.exports=u},function(e,t,n){var r=n(6),o=n(197),i=n(198);e.exports={momentObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return o.isValidMoment(e)}),"Moment"),momentString:i.createMomentChecker("string",(function(e){return"string"==typeof e}),(function(e){return o.isValidMoment(r(e))}),"Moment"),momentDurationObj:i.createMomentChecker("object",(function(e){return"object"==typeof e}),(function(e){return r.isDuration(e)}),"Duration")}},function(e,t,n){"use strict";e.exports=n(238)},function(e,t,n){var r=n(240),o=n(28);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(241);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){"use strict";var r=n(174);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf(a.WEEKDAYS)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){"use strict";var r=n(196);e.exports=function(e,t,n){return!r(e.props,t)||!r(e.state,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.date()===t.date()&&e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t?[t,a.DISPLAY_FORMAT,a.ISO_FORMAT]:[a.DISPLAY_FORMAT,a.ISO_FORMAT],r=(0,i.default)(e,n,!0);return r.isValid()?r.hour(12):null};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION,a.VERTICAL_SCROLLABLE])},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"==typeof window||!("ontouchstart"in window||window.DocumentTouch&&"undefined"!=typeof document&&document instanceof window.DocumentTouch))||!("undefined"==typeof navigator||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.OPEN_DOWN,a.OPEN_UP])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(244);t.default=r.default},function(e,t,n){var r=n(159),o=n(160),i=n(161);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){"use strict";var r=n(145),o=n(146),i=n(75);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";var r=n(26);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ICON_BEFORE_POSITION,a.ICON_AFTER_POSITION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.INFO_POSITION_TOP,a.INFO_POSITION_BOTTOM,a.INFO_POSITION_BEFORE,a.INFO_POSITION_AFTER])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(43));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!i.default.isMoment(e)||!i.default.isMoment(t))return!1;var n=e.year(),r=e.month(),o=t.year(),a=t.month(),s=n===o,c=r===a;return s&&c?e.date()<t.date():s?r<a:n<o};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{fillRule:"evenodd",d:"M11.53.47a.75.75 0 0 0-1.061 0l-4.47 4.47L1.529.47A.75.75 0 1 0 .468 1.531l4.47 4.47-4.47 4.47a.75.75 0 1 0 1.061 1.061l4.47-4.47 4.47 4.47a.75.75 0 1 0 1.061-1.061l-4.47-4.47 4.47-4.47a.75.75 0 0 0 0-1.061z"}))};a.defaultProps={viewBox:"0 0 12 12"},t.default=a},function(e,t,n){var r=n(242),o=n(243);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=n(77),a=(r=i)&&r.__esModule?r:{default:r};var s={obj:function(e){return"object"===(void 0===e?"undefined":o(e))&&!!e},all:function(e){return s.obj(e)&&e.type===a.default.all},error:function(e){return s.obj(e)&&e.type===a.default.error},array:Array.isArray,func:function(e){return"function"==typeof e},promise:function(e){return e&&s.func(e.then)},iterator:function(e){return e&&s.func(e.next)&&s.func(e.throw)},fork:function(e){return s.obj(e)&&e.type===a.default.fork},join:function(e){return s.obj(e)&&e.type===a.default.join},race:function(e){return s.obj(e)&&e.type===a.default.race},call:function(e){return s.obj(e)&&e.type===a.default.call},cps:function(e){return s.obj(e)&&e.type===a.default.cps},subscribe:function(e){return s.obj(e)&&e.type===a.default.subscribe},channel:function(e){return s.obj(e)&&s.func(e.subscribe)}};t.default=s},function(e,t,n){"use strict";var r=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,i=Object.getPrototypeOf||function(e){return e.__proto__},a=void 0,s="undefined"==typeof Uint8Array?void 0:i(Uint8Array),c={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":o?i([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":void 0,"$ %AsyncGeneratorFunction%":void 0,"$ %AsyncGeneratorPrototype%":void 0,"$ %AsyncIteratorPrototype%":a&&o&&Symbol.asyncIterator?a[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":void 0,"$ %GeneratorFunction%":void 0,"$ %GeneratorPrototype%":void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":o?i(i([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&o?i((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&o?i((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":o?i(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":o?Symbol:void 0,"$ %SymbolPrototype%":o?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":r,"$ %TypedArray%":s,"$ %TypedArrayPrototype%":s?s.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in c))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===c[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return c[n]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(12);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=(0,a.and)([i.default.instanceOf(Set),function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=e[t],l=void 0;return[].concat(c(a)).some((function(e,n){var o,a=String(t)+": index "+String(n);return null!=(l=(o=i.default.string).isRequired.apply(o,[s({},a,e),a].concat(r)))})),null==l?null:l}],"Modifiers (Set of Strings)")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_FORMAT):null};var r=a(n(6)),o=a(n(32)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"addEventListener",(function(){return c}));var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var o=void 0;function i(){return void 0===o&&(o=function(){if(!r)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(o){}return e}()),o}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,o=this.getEventHandlers(e,n);a(o),0===o.nextHandlers.length&&(o.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,o.handleEvent,n)),o.nextHandlers.push(t);var i=!0;return function(){if(i){i=!1,a(o);var s=o.nextHandlers.indexOf(t);o.nextHandlers.splice(s,1),0===o.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,o.handleEvent,n),o.handleEvent=void 0)}}};function c(e,t,n,r){e.__consolidated_events_handlers__||(e.__consolidated_events_handlers__=new s(e));var o=function(e){if(e)return i()?e:!!e.capture}(r);return e.__consolidated_events_handlers__.add(t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.ISO_MONTH_FORMAT):null};var r=a(n(6)),o=a(n(32)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOfType([i.default.bool,i.default.oneOf([a.START_DATE,a.END_DATE])])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(!(0,o.default)(e,t)&&!(0,i.default)(e,t))};var r=a(n(6)),o=a(n(43)),i=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=n(165),a=n(1),s=n(11);e.exports=function(e){var t=e.displayName||e.name,n=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}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)}(n,t),o(n,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,n=this.props,o=n.wrappedRef,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["wrappedRef"]);return a.createElement(e,r({},i,{ref:function(e){t.__wrappedInstance=e,t.__domNode=s.findDOMNode(e),o&&o(e)}}))}}]),n}(a.Component);return n.displayName="clickOutside("+t+")",i(n,e)}},function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function a(){var t,a,s=r,c=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<c;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===o&&(o=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(t=new Array(c),a=0;a<c;a++)t[a]=arguments[a];return s={args:t,val:e.apply(null,t)},r?(r.prev=s,s.next=r):o=s,i===n?(o=o.prev).next=null:i++,r=s,s.val}return t&&t.maxSize&&(n=t.maxSize),a.clear=function(){r=null,o=null,i=0},a}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(147),o=n(148),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,c=a(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))o.call(n,u)&&(c[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(c[s[d]]=n[s[d]])}}return c}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(78),i=Object.keys,a=i?function(e){return i(e)}:n(173),s=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,i=function(e){try{var t=r.call(e);return o.test(t)}catch(n){return!1}},a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(s)return function(e){try{return!i(e)&&(r.call(e),!0)}catch(t){return!1}}(e);if(i(e))return!1;var t=a.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},function(e,t,n){var r=n(26).call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCalendarDay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=g(n(13)),a=g(n(1)),s=g(n(4)),c=g(n(30)),l=g(n(21)),u=n(12),d=n(16),f=g(n(6)),h=n(14),p=g(n(15)),v=g(n(94)),m=g(n(49)),b=n(7);function g(e){return e&&e.__esModule?e:{default:e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(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}var _=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:m.default,isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),w={day:(0,f.default)(),daySize:b.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",phrases:h.CalendarDayPhrases},O=function(e){function t(){var e;y(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=k(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.setButtonRef=i.setButtonRef.bind(i),i}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),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){(0,this.props.onDayMouseEnter)(e,t)}},{key:"onDayMouseLeave",value:function(e,t){(0,this.props.onDayMouseLeave)(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.renderDayContents,u=t.tabIndex,f=t.styles,h=t.phrases;if(!n)return a.default.createElement("td",null);var p=(0,v.default)(n,o,i,c,h),m=p.daySizeStyles,b=p.useDefaultCursor,g=p.selected,y=p.hoveredSpan,k=p.isOutsideRange,_=p.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,b&&f.CalendarDay__defaultCursor,f.CalendarDay__default,s&&f.CalendarDay__outside,c.has("today")&&f.CalendarDay__today,c.has("first-day-of-week")&&f.CalendarDay__firstDayOfWeek,c.has("last-day-of-week")&&f.CalendarDay__lastDayOfWeek,c.has("hovered-offset")&&f.CalendarDay__hovered_offset,c.has("highlighted-calendar")&&f.CalendarDay__highlighted_calendar,c.has("blocked-minimum-nights")&&f.CalendarDay__blocked_minimum_nights,c.has("blocked-calendar")&&f.CalendarDay__blocked_calendar,y&&f.CalendarDay__hovered_span,c.has("selected-span")&&f.CalendarDay__selected_span,c.has("last-in-range")&&f.CalendarDay__last_in_range,c.has("selected-start")&&f.CalendarDay__selected_start,c.has("selected-end")&&f.CalendarDay__selected_end,g&&f.CalendarDay__selected,k&&f.CalendarDay__blocked_out_of_range,m),{role:"button",ref:this.setButtonRef,"aria-label":_,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:u}),l?l(n,c):n.format("D"))}}]),t}(a.default.Component);O.propTypes=_,O.defaultProps=w,t.PureCalendarDay=O,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color;return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:t.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"},CalendarDay__default:{border:"1px solid "+String(n.core.borderLight),color:n.text,background:n.background,":hover":{background:n.core.borderLight,border:"1px double "+String(n.core.borderLight),color:"inherit"}},CalendarDay__hovered_offset:{background:n.core.borderBright,border:"1px double "+String(n.core.borderLight),color:"inherit"},CalendarDay__outside:{border:0,background:n.outside.backgroundColor,color:n.outside.color,":hover":{border:0}},CalendarDay__blocked_minimum_nights:{background:n.minimumNights.backgroundColor,border:"1px solid "+String(n.minimumNights.borderColor),color:n.minimumNights.color,":hover":{background:n.minimumNights.backgroundColor_hover,color:n.minimumNights.color_active},":active":{background:n.minimumNights.backgroundColor_active,color:n.minimumNights.color_active}},CalendarDay__highlighted_calendar:{background:n.highlighted.backgroundColor,color:n.highlighted.color,":hover":{background:n.highlighted.backgroundColor_hover,color:n.highlighted.color_active},":active":{background:n.highlighted.backgroundColor_active,color:n.highlighted.color_active}},CalendarDay__selected_span:{background:n.selectedSpan.backgroundColor,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color,":hover":{background:n.selectedSpan.backgroundColor_hover,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active},":active":{background:n.selectedSpan.backgroundColor_active,border:"1px solid "+String(n.selectedSpan.borderColor),color:n.selectedSpan.color_active}},CalendarDay__last_in_range:{borderRight:n.core.primary},CalendarDay__selected:{background:n.selected.backgroundColor,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color,":hover":{background:n.selected.backgroundColor_hover,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active},":active":{background:n.selected.backgroundColor_active,border:"1px solid "+String(n.selected.borderColor),color:n.selected.color_active}},CalendarDay__hovered_span:{background:n.hoveredSpan.backgroundColor,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color,":hover":{background:n.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active},":active":{background:n.hoveredSpan.backgroundColor_active,border:"1px solid "+String(n.hoveredSpan.borderColor),color:n.hoveredSpan.color_active}},CalendarDay__blocked_calendar:{background:n.blocked_calendar.backgroundColor,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color,":hover":{background:n.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active},":active":{background:n.blocked_calendar.backgroundColor_active,border:"1px solid "+String(n.blocked_calendar.borderColor),color:n.blocked_calendar.color_active}},CalendarDay__blocked_out_of_range:{background:n.blocked_out_of_range.backgroundColor,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color,":hover":{background:n.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active},":active":{background:n.blocked_out_of_range.backgroundColor_active,border:"1px solid "+String(n.blocked_out_of_range.borderColor),color:n.blocked_out_of_range.color_active}},CalendarDay__selected_start:{},CalendarDay__selected_end:{},CalendarDay__today:{},CalendarDay__firstDayOfWeek:{},CalendarDay__lastDayOfWeek:{}}}))(O)},function(e,t,n){e.exports=n(214)},function(e,t,n){"use strict";var r=n(20),o=n(100),i=n(101),a=n(216),s=i();r(s,{getPolyfill:i,implementation:o,shim:a}),e.exports=s},function(e,t,n){"use strict";function r(e,t,n){var r="number"==typeof t,o="number"==typeof n,i="number"==typeof e;return r&&o?t+n:r&&i?t+e:r?t:o&&i?n+e:o?n:i?2*e:0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.font.input,o=n.lineHeight,i=n.lineHeight_small,a=e.spacing,s=a.inputPadding,c=a.displayTextPaddingVertical,l=a.displayTextPaddingTop,u=a.displayTextPaddingBottom,d=a.displayTextPaddingVertical_small,f=a.displayTextPaddingTop_small,h=a.displayTextPaddingBottom_small,p=t?i:o,v=t?r(d,f,h):r(c,l,u);return parseInt(p,10)+2*s+v}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=r.default.isMoment(e)?e:(0,o.default)(e,t);return n?n.format(i.DISPLAY_FORMAT):null};var r=a(n(6)),o=a(n(32)),i=n(7);function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=t.clone().startOf("month");i&&(a=a.startOf("week"));if((0,r.default)(e,a))return!1;var s=t.clone().add(n-1,"months").endOf("month");i&&(s=s.endOf("week"));return!(0,o.default)(e,s)};var r=i(n(43)),o=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDayPicker=t.defaultProps=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=j(n(13)),a=j(n(1)),s=j(n(4)),c=j(n(30)),l=n(12),u=n(16),d=j(n(6)),f=j(n(114)),h=j(n(34)),p=j(n(65)),v=n(14),m=j(n(15)),b=j(n(97)),g=j(n(229)),y=n(232),k=j(y),_=j(n(234)),w=j(n(98)),O=j(n(96)),S=j(n(235)),E=j(n(70)),C=j(n(49)),T=j(n(33)),x=j(n(27)),D=j(n(41)),M=n(7);function j(e){return e&&e.__esModule?e:{default:e}}function I(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var P=(0,l.forbidExtraProps)((0,i.default)({},u.withStylesPropTypes,{enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,onOutsideClick:s.default.func,hidden:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:x.default,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,isRTL:s.default.bool,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,transitionDuration:l.nonNegativeInteger,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,onMultiplyScrollableMonths:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),modifiers:s.default.objectOf(s.default.objectOf(C.default)),renderCalendarDay:s.default.func,renderDayContents:s.default.func,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,isFocused:s.default.bool,getFirstFocusableDay:s.default.func,onBlur:s.default.func,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,m.default)(v.DayPickerPhrases)),dayAriaLabelFormat:s.default.string})),N=t.defaultProps={enableOutsideDays:!1,numberOfMonths:2,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,onOutsideClick:function(){},hidden:!1,initialVisibleMonth:function(){return(0,d.default)()},firstDayOfWeek:null,renderCalendarInfo:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:M.DAY_SIZE,isRTL:!1,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onMonthChange:function(){},onYearChange:function(){},onMultiplyScrollableMonths:function(){},renderMonthText:null,renderMonthElement:null,modifiers:{},renderCalendarDay:void 0,renderDayContents:null,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},isFocused:!1,getFirstFocusableDay:null,onBlur:function(){},showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.DayPickerPhrases,dayAriaLabelFormat:void 0},R=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)),r=e.hidden?(0,d.default)():e.initialVisibleMonth(),o=r.clone().startOf("month");e.getFirstFocusableDay&&(o=e.getFirstFocusableDay(r));var i=e.horizontalMonthPadding,a=e.isRTL&&n.isHorizontal()?-(0,w.default)(e.daySize,i):0;return n.hasSetInitialVisibleMonth=!e.hidden,n.state={currentMonth:r,monthTransition:null,translationValue:a,scrollableMonthMultiple:1,calendarMonthWidth:(0,w.default)(e.daySize,i),focusedDate:!e.hidden||e.isFocused?o:null,nextFocusedDate:null,showKeyboardShortcuts:e.showKeyboardShortcuts,onKeyboardShortcutsPanelClose:function(){},isTouchDevice:(0,h.default)(),withMouseInteractions:!0,calendarInfoWidth:0,monthTitleHeight:null,hasSetHeight:!1},n.setCalendarMonthWeeks(r),n.calendarMonthGridHeight=0,n.setCalendarInfoWidthTimeout=null,n.onKeyDown=n.onKeyDown.bind(n),n.throttledKeyDown=(0,f.default)(n.onFinalKeyDown,200,{trailing:!1}),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.multiplyScrollableMonths=n.multiplyScrollableMonths.bind(n),n.updateStateAfterMonthTransition=n.updateStateAfterMonthTransition.bind(n),n.openKeyboardShortcutsPanel=n.openKeyboardShortcutsPanel.bind(n),n.closeKeyboardShortcutsPanel=n.closeKeyboardShortcutsPanel.bind(n),n.setCalendarInfoRef=n.setCalendarInfoRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.setTransitionContainerRef=n.setTransitionContainerRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),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),o(t,[{key:"componentDidMount",value:function(){var e=this.state.currentMonth;this.calendarInfo?this.setState({isTouchDevice:(0,h.default)(),calendarInfoWidth:(0,O.default)(this.calendarInfo,"width",!0,!0)}):this.setState({isTouchDevice:(0,h.default)()}),this.setCalendarMonthWeeks(e)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hidden,n=e.isFocused,r=e.showKeyboardShortcuts,o=e.onBlur,i=e.renderMonthText,a=e.horizontalMonthPadding,s=this.state.currentMonth;t||this.hasSetInitialVisibleMonth||(this.hasSetInitialVisibleMonth=!0,this.setState({currentMonth:e.initialVisibleMonth()}));var c=this.props,l=c.daySize,u=c.isFocused,d=c.renderMonthText;if(e.daySize!==l&&this.setState({calendarMonthWidth:(0,w.default)(e.daySize,a)}),n!==u)if(n){var f=this.getFocusedDay(s),h=this.state.onKeyboardShortcutsPanelClose;e.showKeyboardShortcuts&&(h=o),this.setState({showKeyboardShortcuts:r,onKeyboardShortcutsPanelClose:h,focusedDate:f,withMouseInteractions:!1})}else this.setState({focusedDate:null});i!==d&&this.setState({monthTitleHeight:null})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUpdate",value:function(){var e=this,t=this.props.transitionDuration;this.calendarInfo&&(this.setCalendarInfoWidthTimeout=setTimeout((function(){var t=e.state.calendarInfoWidth,n=(0,O.default)(e.calendarInfo,"width",!0,!0);t!==n&&e.setState({calendarInfoWidth:n})}),t))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.orientation,r=t.daySize,o=t.isFocused,i=t.numberOfMonths,a=this.state,s=a.focusedDate,c=a.monthTitleHeight;if(this.isHorizontal()&&(n!==e.orientation||r!==e.daySize)){var l=this.calendarMonthWeeks.slice(1,i+1),u=c+Math.max.apply(Math,[0].concat(I(l)))*(r-1)+1;this.adjustDayPickerHeight(u)}e.isFocused||!o||s||this.container.focus()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.setCalendarInfoWidthTimeout)}},{key:"onKeyDown",value:function(e){e.stopPropagation(),M.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){this.setState({withMouseInteractions:!1});var t=this.props,n=t.onBlur,r=t.isRTL,o=this.state,i=o.focusedDate,a=o.showKeyboardShortcuts;if(i){var s=i.clone(),c=!1,l=(0,S.default)(),u=function(){l&&l.focus()};switch(e.key){case"ArrowUp":e.preventDefault(),s.subtract(1,"week"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowLeft":e.preventDefault(),r?s.add(1,"day"):s.subtract(1,"day"),c=this.maybeTransitionPrevMonth(s);break;case"Home":e.preventDefault(),s.startOf("week"),c=this.maybeTransitionPrevMonth(s);break;case"PageUp":e.preventDefault(),s.subtract(1,"month"),c=this.maybeTransitionPrevMonth(s);break;case"ArrowDown":e.preventDefault(),s.add(1,"week"),c=this.maybeTransitionNextMonth(s);break;case"ArrowRight":e.preventDefault(),r?s.subtract(1,"day"):s.add(1,"day"),c=this.maybeTransitionNextMonth(s);break;case"End":e.preventDefault(),s.endOf("week"),c=this.maybeTransitionNextMonth(s);break;case"PageDown":e.preventDefault(),s.add(1,"month"),c=this.maybeTransitionNextMonth(s);break;case"?":this.openKeyboardShortcutsPanel(u);break;case"Escape":a?this.closeKeyboardShortcutsPanel():n()}c||this.setState({focusedDate:s})}}},{key:"onPrevMonthClick",value:function(e,t){var n=this.props,r=n.daySize,o=n.isRTL,i=n.numberOfMonths,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical())l=c+this.calendarMonthWeeks[0]*(r-1)+1;else if(this.isHorizontal()){l=s,o&&(l=-2*s);var u=this.calendarMonthWeeks.slice(0,i),d=c+Math.max.apply(Math,[0].concat(I(u)))*(r-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:"prev",translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"onMonthChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:"month_selection",translationValue:1e-5,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onYearChange",value:function(e){this.setCalendarMonthWeeks(e),this.calculateAndSetDayPickerHeight(),this.setState({monthTransition:"year_selection",translationValue:1e-4,focusedDate:null,nextFocusedDate:e,currentMonth:e})}},{key:"onNextMonthClick",value:function(e,t){var n=this.props,r=n.isRTL,o=n.numberOfMonths,i=n.daySize,a=this.state,s=a.calendarMonthWidth,c=a.monthTitleHeight;t&&t.preventDefault();var l=void 0;if(this.isVertical()&&(l=-(c+this.calendarMonthWeeks[1]*(i-1)+1)),this.isHorizontal()){l=-s,r&&(l=0);var u=this.calendarMonthWeeks.slice(2,o+2),d=c+Math.max.apply(Math,[0].concat(I(u)))*(i-1)+1;this.adjustDayPickerHeight(d)}this.setState({monthTransition:"next",translationValue:l,focusedDate:null,nextFocusedDate:e})}},{key:"getFirstDayOfWeek",value:function(){var e=this.props.firstDayOfWeek;return null==e?d.default.localeData().firstDayOfWeek():e}},{key:"getFirstVisibleIndex",value:function(){var e=this.props.orientation,t=this.state.monthTransition;if(e===M.VERTICAL_SCROLLABLE)return 0;var n=1;return"prev"===t?n-=1:"next"===t&&(n+=1),n}},{key:"getFocusedDay",value:function(e){var t=this.props,n=t.getFirstFocusableDay,r=t.numberOfMonths,o=void 0;return n&&(o=n(e)),!e||o&&(0,E.default)(o,e,r)||(o=e.clone().startOf("month")),o}},{key:"setMonthTitleHeight",value:function(e){var t=this;this.setState({monthTitleHeight:e},(function(){t.calculateAndSetDayPickerHeight()}))}},{key:"setCalendarMonthWeeks",value:function(e){var t=this.props.numberOfMonths;this.calendarMonthWeeks=[];for(var n=e.clone().subtract(1,"months"),r=this.getFirstDayOfWeek(),o=0;o<t+2;o+=1){var i=(0,_.default)(n,r);this.calendarMonthWeeks.push(i),n=n.add(1,"months")}}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setCalendarInfoRef",value:function(e){this.calendarInfo=e}},{key:"setTransitionContainerRef",value:function(e){this.transitionContainer=e}},{key:"maybeTransitionNextMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onNextMonthClick(e),!0)}},{key:"maybeTransitionPrevMonth",value:function(e){var t=this.props.numberOfMonths,n=this.state,r=n.currentMonth,o=n.focusedDate,i=e.month(),a=o.month(),s=(0,E.default)(e,r,t);return i!==a&&!s&&(this.onPrevMonthClick(e),!0)}},{key:"multiplyScrollableMonths",value:function(e){var t=this.props.onMultiplyScrollableMonths;e&&e.preventDefault(),t&&t(e),this.setState((function(e){return{scrollableMonthMultiple:e.scrollableMonthMultiple+1}}))}},{key:"isHorizontal",value:function(){return this.props.orientation===M.HORIZONTAL_ORIENTATION}},{key:"isVertical",value:function(){var e=this.props.orientation;return e===M.VERTICAL_ORIENTATION||e===M.VERTICAL_SCROLLABLE}},{key:"updateStateAfterMonthTransition",value:function(){var e=this,t=this.props,n=t.onPrevMonthClick,r=t.onNextMonthClick,o=t.numberOfMonths,i=t.onMonthChange,a=t.onYearChange,s=t.isRTL,c=this.state,l=c.currentMonth,u=c.monthTransition,d=c.focusedDate,f=c.nextFocusedDate,h=c.withMouseInteractions,p=c.calendarMonthWidth;if(u){var v=l.clone(),m=this.getFirstDayOfWeek();if("prev"===u){v.subtract(1,"month"),n&&n(v);var b=v.clone().subtract(1,"month"),g=(0,_.default)(b,m);this.calendarMonthWeeks=[g].concat(I(this.calendarMonthWeeks.slice(0,-1)))}else if("next"===u){v.add(1,"month"),r&&r(v);var y=v.clone().add(o,"month"),k=(0,_.default)(y,m);this.calendarMonthWeeks=[].concat(I(this.calendarMonthWeeks.slice(1)),[k])}else"month_selection"===u?i&&i(v):"year_selection"===u&&a&&a(v);var w=null;f?w=f:d||h||(w=this.getFocusedDay(v)),this.setState({currentMonth:v,monthTransition:null,translationValue:s&&this.isHorizontal()?-p:0,nextFocusedDate:null,focusedDate:w},(function(){if(h){var t=(0,S.default)();t&&t!==document.body&&e.container.contains(t)&&t.blur()}}))}}},{key:"adjustDayPickerHeight",value:function(e){var t=this,n=e+23;n!==this.calendarMonthGridHeight&&(this.transitionContainer.style.height=String(n)+"px",this.calendarMonthGridHeight||setTimeout((function(){t.setState({hasSetHeight:!0})}),0),this.calendarMonthGridHeight=n)}},{key:"calculateAndSetDayPickerHeight",value:function(){var e=this.props,t=e.daySize,n=e.numberOfMonths,r=this.state.monthTitleHeight,o=this.calendarMonthWeeks.slice(1,n+1),i=r+Math.max.apply(Math,[0].concat(I(o)))*(t-1)+1;this.isHorizontal()&&this.adjustDayPickerHeight(i)}},{key:"openKeyboardShortcutsPanel",value:function(e){this.setState({showKeyboardShortcuts:!0,onKeyboardShortcutsPanelClose:e})}},{key:"closeKeyboardShortcutsPanel",value:function(){var e=this.state.onKeyboardShortcutsPanelClose;e&&e(),this.setState({onKeyboardShortcutsPanelClose:null,showKeyboardShortcuts:!1})}},{key:"renderNavigation",value:function(){var e=this,t=this.props,n=t.navPrev,r=t.navNext,o=t.noNavButtons,i=t.orientation,s=t.phrases,c=t.isRTL;if(o)return null;var l=void 0;return l=i===M.VERTICAL_SCROLLABLE?this.multiplyScrollableMonths:function(t){e.onNextMonthClick(null,t)},a.default.createElement(g.default,{onPrevMonthClick:function(t){e.onPrevMonthClick(null,t)},onNextMonthClick:l,navPrev:n,navNext:r,orientation:i,phrases:s,isRTL:c})}},{key:"renderWeekHeader",value:function(e){var t=this.props,n=t.daySize,o=t.horizontalMonthPadding,i=t.orientation,s=t.weekDayFormat,c=t.styles,l=this.state.calendarMonthWidth,f=i===M.VERTICAL_SCROLLABLE,h={left:e*l},p={marginLeft:-l/2},v={};this.isHorizontal()?v=h:this.isVertical()&&!f&&(v=p);for(var m=this.getFirstDayOfWeek(),b=[],g=0;g<7;g+=1)b.push(a.default.createElement("li",r({key:g},(0,u.css)(c.DayPicker_weekHeader_li,{width:n})),a.default.createElement("small",null,(0,d.default)().day((g+m)%7).format(s))));return a.default.createElement("div",r({},(0,u.css)(c.DayPicker_weekHeader,this.isVertical()&&c.DayPicker_weekHeader__vertical,f&&c.DayPicker_weekHeader__verticalScrollable,v,{padding:"0 "+String(o)+"px"}),{key:"week-"+String(e)}),a.default.createElement("ul",(0,u.css)(c.DayPicker_weekHeader_ul),b))}},{key:"render",value:function(){for(var e=this,t=this.state,n=t.calendarMonthWidth,o=t.currentMonth,i=t.monthTransition,s=t.translationValue,c=t.scrollableMonthMultiple,l=t.focusedDate,d=t.showKeyboardShortcuts,f=t.isTouchDevice,h=t.hasSetHeight,v=t.calendarInfoWidth,m=t.monthTitleHeight,g=this.props,_=g.enableOutsideDays,w=g.numberOfMonths,O=g.orientation,S=g.modifiers,E=g.withPortal,C=g.onDayClick,T=g.onDayMouseEnter,x=g.onDayMouseLeave,D=g.firstDayOfWeek,j=g.renderMonthText,I=g.renderCalendarDay,P=g.renderDayContents,N=g.renderCalendarInfo,R=g.renderMonthElement,L=g.calendarInfoPosition,A=g.hideKeyboardShortcutsPanel,z=g.onOutsideClick,F=g.monthFormat,H=g.daySize,V=g.isFocused,B=g.isRTL,U=g.styles,W=g.theme,K=g.phrases,Y=g.verticalHeight,$=g.dayAriaLabelFormat,q=g.noBorder,G=g.transitionDuration,Z=g.verticalBorderSpacing,X=g.horizontalMonthPadding,Q=W.reactDates.spacing.dayPickerHorizontalPadding,J=this.isHorizontal(),ee=this.isVertical()?1:w,te=[],ne=0;ne<ee;ne+=1)te.push(this.renderWeekHeader(ne));var re=O===M.VERTICAL_SCROLLABLE,oe=void 0;J?oe=this.calendarMonthGridHeight:!this.isVertical()||re||E||(oe=Y||1.75*n);var ie=null!==i,ae=!ie&&V,se=y.BOTTOM_RIGHT;this.isVertical()&&(se=E?y.TOP_LEFT:y.TOP_RIGHT);var ce=J&&h,le=L===M.INFO_POSITION_TOP,ue=L===M.INFO_POSITION_BOTTOM,de=L===M.INFO_POSITION_BEFORE,fe=L===M.INFO_POSITION_AFTER,he=de||fe,pe=N&&a.default.createElement("div",r({ref:this.setCalendarInfoRef},(0,u.css)(he&&U.DayPicker_calendarInfo__horizontal)),N()),ve=N&&he?v:0,me=this.getFirstVisibleIndex(),be=n*w+2*Q,ge=be+ve+1,ye={width:J&&be,height:oe},ke={width:J&&be},_e={width:J&&ge,marginLeft:J&&E?-ge/2:null,marginTop:J&&E?-n/2:null};return a.default.createElement("div",r({role:"application","aria-label":K.calendarLabel},(0,u.css)(U.DayPicker,J&&U.DayPicker__horizontal,re&&U.DayPicker__verticalScrollable,J&&E&&U.DayPicker_portal__horizontal,this.isVertical()&&E&&U.DayPicker_portal__vertical,_e,!m&&U.DayPicker__hidden,!q&&U.DayPicker__withBorder)),a.default.createElement(p.default,{onOutsideClick:z},(le||de)&&pe,a.default.createElement("div",(0,u.css)(ke,he&&J&&U.DayPicker_wrapper__horizontal),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_weekHeaders,J&&U.DayPicker_weekHeaders__horizontal),{"aria-hidden":"true",role:"presentation"}),te),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_focusRegion),{ref:this.setContainerRef,onClick:function(e){e.stopPropagation()},onKeyDown:this.onKeyDown,onMouseUp:function(){e.setState({withMouseInteractions:!0})},role:"region",tabIndex:-1}),!re&&this.renderNavigation(),a.default.createElement("div",r({},(0,u.css)(U.DayPicker_transitionContainer,ce&&U.DayPicker_transitionContainer__horizontal,this.isVertical()&&U.DayPicker_transitionContainer__vertical,re&&U.DayPicker_transitionContainer__verticalScrollable,ye),{ref:this.setTransitionContainerRef}),a.default.createElement(b.default,{setMonthTitleHeight:m?void 0:this.setMonthTitleHeight,translationValue:s,enableOutsideDays:_,firstVisibleMonthIndex:me,initialMonth:o,isAnimating:ie,modifiers:S,orientation:O,numberOfMonths:w*c,onDayClick:C,onDayMouseEnter:T,onDayMouseLeave:x,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,renderMonthText:j,renderCalendarDay:I,renderDayContents:P,renderMonthElement:R,onMonthTransitionEnd:this.updateStateAfterMonthTransition,monthFormat:F,daySize:H,firstDayOfWeek:D,isFocused:ae,focusedDate:l,phrases:K,isRTL:B,dayAriaLabelFormat:$,transitionDuration:G,verticalBorderSpacing:Z,horizontalMonthPadding:X}),re&&this.renderNavigation()),!f&&!A&&a.default.createElement(k.default,{block:this.isVertical()&&!E,buttonLocation:se,showKeyboardShortcutsPanel:d,openKeyboardShortcutsPanel:this.openKeyboardShortcutsPanel,closeKeyboardShortcutsPanel:this.closeKeyboardShortcutsPanel,phrases:K}))),(ue||fe)&&pe))}}]),t}(a.default.Component);R.propTypes=P,R.defaultProps=N,t.PureDayPicker=R,t.default=(0,u.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.noScrollBarOnVerticalScrollable,a=t.spacing,s=t.zIndex;return{DayPicker:{background:n.background,position:"relative",textAlign:"left"},DayPicker__horizontal:{background:n.background},DayPicker__verticalScrollable:{height:"100%"},DayPicker__hidden:{visibility:"hidden"},DayPicker__withBorder:{boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07)",borderRadius:3},DayPicker_portal__horizontal:{boxShadow:"none",position:"absolute",left:"50%",top:"50%"},DayPicker_portal__vertical:{position:"initial"},DayPicker_focusRegion:{outline:"none"},DayPicker_calendarInfo__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_wrapper__horizontal:{display:"inline-block",verticalAlign:"top"},DayPicker_weekHeaders:{position:"relative"},DayPicker_weekHeaders__horizontal:{marginLeft:a.dayPickerHorizontalPadding},DayPicker_weekHeader:{color:n.placeholderText,position:"absolute",top:62,zIndex:s+2,textAlign:"left"},DayPicker_weekHeader__vertical:{left:"50%"},DayPicker_weekHeader__verticalScrollable:{top:0,display:"table-row",borderBottom:"1px solid "+String(n.core.border),background:n.background,marginLeft:0,left:0,width:"100%",textAlign:"center"},DayPicker_weekHeader_ul:{listStyle:"none",margin:"1px 0",paddingLeft:0,paddingRight:0,fontSize:r.size},DayPicker_weekHeader_li:{display:"inline-block",textAlign:"center"},DayPicker_transitionContainer:{position:"relative",overflow:"hidden",borderRadius:3},DayPicker_transitionContainer__horizontal:{transition:"height 0.2s ease-in-out"},DayPicker_transitionContainer__vertical:{width:"100%"},DayPicker_transitionContainer__verticalScrollable:(0,i.default)({paddingTop:20,height:"100%",position:"absolute",top:0,bottom:0,right:0,left:0,overflowY:"scroll"},o&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}})}}))(R)},function(e,t,n){"use strict";(function(e){var r,o=n(129);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof window?window:e;var i=Object(o.a)(r);t.a=i}).call(this,n(155)(e))},function(e,t,n){"use strict";var r=n(248),o=n(249);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=y(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=n(250);function y(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(s);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(s);if(y=y.trim(),!n&&1===e.split("#").length){var k=c.exec(y);if(k)return this.path=y,this.href=y,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?g.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=a.exec(y);if(_){var w=(_=_[0]).toLowerCase();this.protocol=w,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||_&&m[_]||(y=y.substr(2),this.slashes=!0)}if(!m[_]&&(O||_&&!b[_])){for(var S,E,C=-1,T=0;T<f.length;T++){-1!==(x=y.indexOf(f[T]))&&(-1===C||x<C)&&(C=x)}-1!==(E=-1===C?y.lastIndexOf("@"):y.lastIndexOf("@",C))&&(S=y.slice(0,E),y=y.slice(E+1),this.auth=decodeURIComponent(S)),C=-1;for(T=0;T<d.length;T++){var x;-1!==(x=y.indexOf(d[T]))&&(-1===C||x<C)&&(C=x)}-1===C&&(C=y.length),this.host=y.slice(0,C),y=y.slice(C),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var M=this.hostname.split(/\./),j=(T=0,M.length);T<j;T++){var I=M[T];if(I&&!I.match(h)){for(var P="",N=0,R=I.length;N<R;N++)I.charCodeAt(N)>127?P+="x":P+=I[N];if(!P.match(h)){var L=M.slice(0,T),A=M.slice(T+1),z=I.match(p);z&&(L.push(z[1]),A.unshift(z[2])),A.length&&(y="/"+A.join(".")+y),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",H=this.hostname||"";this.host=H+F,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!v[w])for(T=0,j=u.length;T<j;T++){var V=u[T];if(-1!==y.indexOf(V)){var B=encodeURIComponent(V);B===V&&(B=escape(V)),y=y.split(V).join(B)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),t&&(this.query=g.parse(this.query)),y=y.slice(0,W)):t&&(this.search="",this.query={}),y&&(this.pathname=y),b[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var K=this.search||"";this.path=F+K}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=g.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||b[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),l=0;l<c.length;l++){var u=c[l];"protocol"!==u&&(n[u]=e[u])}return b[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!b[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var v=n.pathname||"",g=n.search||"";n.path=v+g}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=k||y||n.host&&e.pathname,w=_,O=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!b[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),_=_&&(""===p[0]||""===O[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=p;else if(p.length)O||(O=[]),O.pop(),O=O.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=O.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,T=0,x=O.length;x>=0;x--)"."===(E=O[x])?O.splice(x,1):".."===E?(O.splice(x,1),T++):T&&(O.splice(x,1),T--);if(!_&&!w)for(;T--;T)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var D,M=""===O[0]||O[0]&&"/"===O[0].charAt(0);S&&(n.hostname=n.host=M?"":O.length?O.shift():"",(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift()));return(_=_||n.host&&O.length)&&!M&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),c=0;c<s.length;++c){var l=s[c],u=a[l];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:l}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r="string"==typeof e?e:String(e);if("iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),s)}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createChannel=t.subscribe=t.cps=t.apply=t.call=t.invoke=t.delay=t.race=t.join=t.fork=t.error=t.all=void 0;var r,o=n(77),i=(r=o)&&r.__esModule?r:{default:r};t.all=function(e){return{type:i.default.all,value:e}},t.error=function(e){return{type:i.default.error,error:e}},t.fork=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.fork,iterator:e,args:n}},t.join=function(e){return{type:i.default.join,task:e}},t.race=function(e){return{type:i.default.race,competitors:e}},t.delay=function(e){return new Promise((function(t){setTimeout((function(){return t(!0)}),e)}))},t.invoke=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.call,func:e,context:null,args:n}},t.call=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:i.default.call,func:e,context:t,args:r}},t.apply=function(e,t,n){return{type:i.default.call,func:e,context:t,args:n}},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:i.default.cps,func:e,args:n}},t.subscribe=function(e){return{type:i.default.subscribe,channel:e}},t.createChannel=function(e){var t=[];return e((function(e){return t.forEach((function(t){return t(e)}))})),{subscribe:function(e){return t.push(e),function(){return t.splice(t.indexOf(e),1)}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};t.default=r},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(175),o=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,i=function e(t,n,i,a,s){for(var c=a,l=0;l<i;){var u=r.ToString(l);if(r.HasProperty(n,u)){var d=r.Get(n,u),f=!1;if(s>0&&(f=r.IsArray(d)),f){c=e(t,d,r.ToLength(r.Get(d,"length")),c,s-1)}else{if(c>=o)throw new TypeError("index too large");r.CreateDataPropertyOrThrow(t,r.ToString(c),d),c+=1}}l+=1}return c};e.exports=function(){var e=r.ToObject(this),t=r.ToLength(r.Get(e,"length")),n=1;arguments.length>0&&void 0!==arguments[0]&&(n=r.ToInteger(arguments[0]));var o=r.ArraySpeciesCreate(e,0);return i(o,e,t,0,n),o}},function(e,t,n){"use strict";var r=n(176),o=n(63),i=o(o({},r),{SameValueNonNumber:function(e,t){if("number"==typeof e||typeof e!=typeof t)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,t)}});e.exports=i},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=Object.prototype.toString;if(n(180)()){var o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&i.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(48),o=r("%TypeError%"),i=r("%SyntaxError%"),a=n(39),s={"Property Descriptor":function(e,t){if("Object"!==e.Type(t))return!1;var n={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var r in t)if(a(t,r)&&!n[r])return!1;var i=a(t,"[[Value]]"),s=a(t,"[[Get]]")||a(t,"[[Set]]");if(i&&s)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0}};e.exports=function(e,t,n,r){var a=s[t];if("function"!=typeof a)throw new i("unknown record type: "+t);if(!a(e,r))throw new o(n+" must be a "+t);console.log(a(e,r),r)}},function(e,t){e.exports=Number.isNaN||function(e){return e!=e}},function(e,t){var n=Number.isNaN||function(e){return e!=e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(79);e.exports=function(){return Array.prototype.flat||r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0;function i(e,t){var n=t(e(o));return function(){return n}}function a(e){return i(e,r.createLTR||r.create)}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=r.resolve(t);return o}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveLTR?r.resolveLTR(t):s(t)}t.default={registerTheme:function(e){o=e},registerInterface:function(e){r=e},create:a,createLTR:a,createRTL:function(e){return i(e,r.createRTL||r.create)},get:function(){return o},resolve:c,resolveLTR:c,resolveRTL:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.resolveRTL?r.resolveRTL(t):s(t)},flush:function(){r.flush&&r.flush()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={white:"#fff",gray:"#484848",grayLight:"#82888a",grayLighter:"#cacccd",grayLightest:"#f2f2f2",borderMedium:"#c4c4c4",border:"#dbdbdb",borderLight:"#e4e7e7",borderLighter:"#eceeee",borderBright:"#f4f5f5",primary:"#00a699",primaryShade_1:"#33dacd",primaryShade_2:"#66e2da",primaryShade_3:"#80e8e0",primaryShade_4:"#b2f1ec",primary_dark:"#008489",secondary:"#007a87",yellow:"#ffe8bc",yellow_dark:"#ffce71"};t.default={reactDates:{zIndex:0,border:{input:{border:0,borderTop:0,borderRight:0,borderBottom:"2px solid transparent",borderLeft:0,outlineFocused:0,borderFocused:0,borderTopFocused:0,borderLeftFocused:0,borderBottomFocused:"2px solid "+String(r.primary_dark),borderRightFocused:0,borderRadius:0},pickerInput:{borderWidth:1,borderStyle:"solid",borderRadius:2}},color:{core:r,disabled:r.grayLightest,background:r.white,backgroundDark:"#f2f2f2",backgroundFocused:r.white,border:"rgb(219, 219, 219)",text:r.gray,textDisabled:r.border,textFocused:"#007a87",placeholderText:"#757575",outside:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,color:r.gray,color_active:r.gray,color_hover:r.gray},highlighted:{backgroundColor:r.yellow,backgroundColor_active:r.yellow_dark,backgroundColor_hover:r.yellow_dark,color:r.gray,color_active:r.gray,color_hover:r.gray},minimumNights:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLighter,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter},hoveredSpan:{backgroundColor:r.primaryShade_4,backgroundColor_active:r.primaryShade_3,backgroundColor_hover:r.primaryShade_4,borderColor:r.primaryShade_3,borderColor_active:r.primaryShade_3,borderColor_hover:r.primaryShade_3,color:r.secondary,color_active:r.secondary,color_hover:r.secondary},selectedSpan:{backgroundColor:r.primaryShade_2,backgroundColor_active:r.primaryShade_1,backgroundColor_hover:r.primaryShade_1,borderColor:r.primaryShade_1,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},selected:{backgroundColor:r.primary,backgroundColor_active:r.primary,backgroundColor_hover:r.primary,borderColor:r.primary,borderColor_active:r.primary,borderColor_hover:r.primary,color:r.white,color_active:r.white,color_hover:r.white},blocked_calendar:{backgroundColor:r.grayLighter,backgroundColor_active:r.grayLighter,backgroundColor_hover:r.grayLighter,borderColor:r.grayLighter,borderColor_active:r.grayLighter,borderColor_hover:r.grayLighter,color:r.grayLight,color_active:r.grayLight,color_hover:r.grayLight},blocked_out_of_range:{backgroundColor:r.white,backgroundColor_active:r.white,backgroundColor_hover:r.white,borderColor:r.borderLight,borderColor_active:r.borderLight,borderColor_hover:r.borderLight,color:r.grayLighter,color_active:r.grayLighter,color_hover:r.grayLighter}},spacing:{dayPickerHorizontalPadding:9,captionPaddingTop:22,captionPaddingBottom:37,inputPadding:0,displayTextPaddingVertical:void 0,displayTextPaddingTop:11,displayTextPaddingBottom:9,displayTextPaddingHorizontal:void 0,displayTextPaddingLeft:11,displayTextPaddingRight:11,displayTextPaddingVertical_small:void 0,displayTextPaddingTop_small:7,displayTextPaddingBottom_small:5,displayTextPaddingHorizontal_small:void 0,displayTextPaddingLeft_small:7,displayTextPaddingRight_small:7},sizing:{inputWidth:130,inputWidth_small:97,arrowWidth:24},noScrollBarOnVerticalScrollable:!1,font:{size:14,captionSize:18,input:{size:19,lineHeight:"24px",size_small:15,lineHeight_small:"18px",letterSpacing_small:"0.2px",styleDisabled:"italic"}}}}},function(e,t,n){"use strict";var r=n(61),o=n(26),i=function(e){return null!=e},a=n(83)(),s=Object,c=o.call(Function.call,Array.prototype.push),l=o.call(Function.call,Object.prototype.propertyIsEnumerable),u=a?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,o,d,f,h,p,v,m=s(e);for(n=1;n<arguments.length;++n){o=s(arguments[n]),f=r(o);var b=a&&(Object.getOwnPropertySymbols||u);if(b)for(h=b(o),d=0;d<h.length;++d)v=h[d],l(o,v)&&c(f,v);for(d=0;d<f.length;++d)p=o[v=f[d]],l(o,v)&&(m[v]=p)}return m}},function(e,t,n){"use strict";var r=n(92);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var o=Object.assign({},n),i="";for(var a in o)i+=a;return e!==i}()?r:function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){var s=o.chooseAvailableDate,c=o.dateIsUnavailable,l=o.dateIsSelected,u={width:n,height:n-1},d=r.has("blocked-minimum-nights")||r.has("blocked-calendar")||r.has("blocked-out-of-range"),f=r.has("selected")||r.has("selected-start")||r.has("selected-end"),h=!f&&(r.has("hovered-span")||r.has("after-hovered-start")),p=r.has("blocked-out-of-range"),v={date:e.format(t)},m=(0,i.default)(s,v);r.has(a.BLOCKED_MODIFIER)?m=(0,i.default)(c,v):f&&(m=(0,i.default)(l,v));return{daySizeStyles:u,useDefaultCursor:d,selected:f,hoveredSpan:h,isOutsideRange:p,ariaLabel:m}};var r,o=n(205),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=E(n(13)),a=E(n(1)),s=E(n(4)),c=E(n(30)),l=E(n(21)),u=n(12),d=n(16),f=E(n(6)),h=n(14),p=E(n(15)),v=E(n(206)),m=E(n(64)),b=E(n(96)),g=E(n(208)),y=E(n(31)),k=E(n(50)),_=E(n(49)),w=E(n(33)),O=E(n(27)),S=n(7);function E(e){return e&&e.__esModule?e:{default:e}}var C=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{month:l.default.momentObj,horizontalMonthPadding:u.nonNegativeInteger,isVisible:s.default.bool,enableOutsideDays:s.default.bool,modifiers:s.default.objectOf(_.default),orientation:w.default,daySize:u.nonNegativeInteger,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthSelect:s.default.func,onYearSelect:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),firstDayOfWeek:O.default,setMonthTitleHeight:s.default.func,verticalBorderSpacing:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,monthFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),T={month:(0,f.default)(),horizontalMonthPadding:13,isVisible:!0,enableOutsideDays:!1,modifiers:{},orientation:S.HORIZONTAL_ORIENTATION,daySize:S.DAY_SIZE,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthSelect:function(){},onYearSelect:function(){},renderMonthText:null,renderCalendarDay:function(e){return a.default.createElement(m.default,e)},renderDayContents:null,renderMonthElement:null,firstDayOfWeek:null,setMonthTitleHeight:null,focusedDate:null,isFocused:!1,monthFormat:"MMMM YYYY",phrases:h.CalendarDayPhrases,dayAriaLabelFormat:void 0,verticalBorderSpacing:void 0},x=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.state={weeks:(0,g.default)(e.month,e.enableOutsideDays,null==e.firstDayOfWeek?f.default.localeData().firstDayOfWeek():e.firstDayOfWeek)},n.setCaptionRef=n.setCaptionRef.bind(n),n.setMonthTitleHeight=n.setMonthTitleHeight.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.setMonthTitleHeightTimeout=setTimeout(this.setMonthTitleHeight,0)}},{key:"componentWillReceiveProps",value:function(e){var t=e.month,n=e.enableOutsideDays,r=e.firstDayOfWeek,o=this.props,i=o.month,a=o.enableOutsideDays,s=o.firstDayOfWeek;t.isSame(i)&&n===a&&r===s||this.setState({weeks:(0,g.default)(t,n,null==r?f.default.localeData().firstDayOfWeek():r)})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentWillUnmount",value:function(){this.setMonthTitleHeightTimeout&&clearTimeout(this.setMonthTitleHeightTimeout)}},{key:"setMonthTitleHeight",value:function(){var e=this.props.setMonthTitleHeight;e&&e((0,b.default)(this.captionRef,"height",!0,!0))}},{key:"setCaptionRef",value:function(e){this.captionRef=e}},{key:"render",value:function(){var e=this.props,t=e.dayAriaLabelFormat,n=e.daySize,o=e.focusedDate,i=e.horizontalMonthPadding,s=e.isFocused,c=e.isVisible,l=e.modifiers,u=e.month,f=e.monthFormat,h=e.onDayClick,p=e.onDayMouseEnter,m=e.onDayMouseLeave,b=e.onMonthSelect,g=e.onYearSelect,_=e.orientation,w=e.phrases,O=e.renderCalendarDay,E=e.renderDayContents,C=e.renderMonthElement,T=e.renderMonthText,x=e.styles,D=e.verticalBorderSpacing,M=this.state.weeks,j=T?T(u):u.format(f),I=_===S.VERTICAL_SCROLLABLE;return a.default.createElement("div",r({},(0,d.css)(x.CalendarMonth,{padding:"0 "+String(i)+"px"}),{"data-visible":c}),a.default.createElement("div",r({ref:this.setCaptionRef},(0,d.css)(x.CalendarMonth_caption,I&&x.CalendarMonth_caption__verticalScrollable)),C?C({month:u,onMonthSelect:b,onYearSelect:g}):a.default.createElement("strong",null,j)),a.default.createElement("table",r({},(0,d.css)(!D&&x.CalendarMonth_table,D&&x.CalendarMonth_verticalSpacing,D&&{borderSpacing:"0px "+String(D)+"px"}),{role:"presentation"}),a.default.createElement("tbody",null,M.map((function(e,r){return a.default.createElement(v.default,{key:r},e.map((function(e,r){return O({key:r,day:e,daySize:n,isOutsideDay:!e||e.month()!==u.month(),tabIndex:c&&(0,y.default)(e,o)?0:-1,isFocused:s,onDayMouseEnter:p,onDayMouseLeave:m,onDayClick:h,renderDayContents:E,phrases:w,modifiers:l[(0,k.default)(e)],ariaLabelFormat:t})})))})))))}}]),t}(a.default.Component);x.propTypes=C,x.defaultProps=T,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.spacing;return{CalendarMonth:{background:n.background,textAlign:"center",verticalAlign:"top",userSelect:"none"},CalendarMonth_table:{borderCollapse:"collapse",borderSpacing:0},CalendarMonth_verticalSpacing:{borderCollapse:"separate"},CalendarMonth_caption:{color:n.text,fontSize:r.captionSize,textAlign:"center",paddingTop:o.captionPaddingTop,paddingBottom:o.captionPaddingBottom,captionSide:"initial"},CalendarMonth_caption__verticalScrollable:{paddingTop:12,paddingBottom:7}}}))(x)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return 0;var o="width"===t?"Left":"Top",i="width"===t?"Right":"Bottom",a=!n||r?window.getComputedStyle(e):null,s=e.offsetWidth,c=e.offsetHeight,l="width"===t?s:c;n||(l-=parseFloat(a["padding"+o])+parseFloat(a["padding"+i])+parseFloat(a["border"+o+"Width"])+parseFloat(a["border"+i+"Width"]));r&&(l+=parseFloat(a["margin"+o])+parseFloat(a["margin"+i]));return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(4)),c=T(n(30)),l=T(n(21)),u=n(12),d=n(16),f=T(n(6)),h=n(51),p=n(14),v=T(n(15)),m=T(n(95)),b=T(n(209)),g=T(n(210)),y=T(n(98)),k=T(n(52)),_=T(n(211)),w=T(n(212)),O=T(n(49)),S=T(n(33)),E=T(n(27)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{enableOutsideDays:s.default.bool,firstVisibleMonthIndex:s.default.number,horizontalMonthPadding:u.nonNegativeInteger,initialMonth:l.default.momentObj,isAnimating:s.default.bool,numberOfMonths:s.default.number,modifiers:s.default.objectOf(s.default.objectOf(O.default)),orientation:S.default,onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,onMonthTransitionEnd:s.default.func,onMonthChange:s.default.func,onYearChange:s.default.func,renderMonthText:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderCalendarDay:s.default.func,renderDayContents:s.default.func,translationValue:s.default.number,renderMonthElement:(0,u.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),daySize:u.nonNegativeInteger,focusedDate:l.default.momentObj,isFocused:s.default.bool,firstDayOfWeek:E.default,setMonthTitleHeight:s.default.func,isRTL:s.default.bool,transitionDuration:u.nonNegativeInteger,verticalBorderSpacing:u.nonNegativeInteger,monthFormat:s.default.string,phrases:s.default.shape((0,v.default)(p.CalendarDayPhrases)),dayAriaLabelFormat:s.default.string})),D={enableOutsideDays:!1,firstVisibleMonthIndex:0,horizontalMonthPadding:13,initialMonth:(0,f.default)(),isAnimating:!1,numberOfMonths:1,modifiers:{},orientation:C.HORIZONTAL_ORIENTATION,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},onMonthChange:function(){},onYearChange:function(){},onMonthTransitionEnd:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,translationValue:null,renderMonthElement:null,daySize:C.DAY_SIZE,focusedDate:null,isFocused:!1,firstDayOfWeek:null,setMonthTitleHeight:null,isRTL:!1,transitionDuration:200,verticalBorderSpacing:void 0,monthFormat:"MMMM YYYY",phrases:p.CalendarDayPhrases,dayAriaLabelFormat:void 0};function M(e,t,n){var r=e.clone();n||(r=r.subtract(1,"month"));for(var o=[],i=0;i<(n?t:t+2);i+=1)o.push(r),r=r.clone().add(1,"month");return o}var j=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)),r=e.orientation===C.VERTICAL_SCROLLABLE;return n.state={months:M(e.initialMonth,e.numberOfMonths,r)},n.isTransitionEndSupported=(0,b.default)(),n.onTransitionEnd=n.onTransitionEnd.bind(n),n.setContainerRef=n.setContainerRef.bind(n),n.locale=f.default.locale(),n.onMonthSelect=n.onMonthSelect.bind(n),n.onYearSelect=n.onYearSelect.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,h.addEventListener)(this.container,"transitionend",this.onTransitionEnd)}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.initialMonth,r=e.numberOfMonths,o=e.orientation,i=this.state.months,a=this.props,s=a.initialMonth,c=a.numberOfMonths!==r,l=i;s.isSame(n,"month")||c||((0,w.default)(s,n)?(l=i.slice(1)).push(i[i.length-1].clone().add(1,"month")):(0,_.default)(s,n)?(l=i.slice(0,i.length-1)).unshift(i[0].clone().subtract(1,"month")):l=M(n,r,o===C.VERTICAL_SCROLLABLE));c&&(l=M(n,r,o===C.VERTICAL_SCROLLABLE));var u=f.default.locale();this.locale!==u&&(this.locale=u,l=l.map((function(e){return e.locale(t.locale)}))),this.setState({months:l})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.isAnimating,n=e.transitionDuration,r=e.onMonthTransitionEnd;this.isTransitionEndSupported&&n||!t||r()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener()}},{key:"onTransitionEnd",value:function(){(0,this.props.onMonthTransitionEnd)()}},{key:"onMonthSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onMonthChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("month",t).subtract(c,"months"),o(n)}},{key:"onYearSelect",value:function(e,t){var n=e.clone(),r=this.props,o=r.onYearChange,i=r.orientation,a=this.state.months,s=i===C.VERTICAL_SCROLLABLE,c=a.indexOf(e);s||(c-=1),n.set("year",t).subtract(c,"months"),o(n)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.enableOutsideDays,o=t.firstVisibleMonthIndex,s=t.horizontalMonthPadding,c=t.isAnimating,l=t.modifiers,u=t.numberOfMonths,f=t.monthFormat,h=t.orientation,p=t.translationValue,v=t.daySize,b=t.onDayMouseEnter,_=t.onDayMouseLeave,w=t.onDayClick,O=t.renderMonthText,S=t.renderCalendarDay,E=t.renderDayContents,T=t.renderMonthElement,x=t.onMonthTransitionEnd,D=t.firstDayOfWeek,M=t.focusedDate,j=t.isFocused,I=t.isRTL,P=t.styles,N=t.phrases,R=t.dayAriaLabelFormat,L=t.transitionDuration,A=t.verticalBorderSpacing,z=t.setMonthTitleHeight,F=this.state.months,H=h===C.VERTICAL_ORIENTATION,V=h===C.VERTICAL_SCROLLABLE,B=h===C.HORIZONTAL_ORIENTATION,U=(0,y.default)(v,s),W=H||V?U:(u+2)*U,K=(H||V?"translateY":"translateX")+"("+String(p)+"px)";return a.default.createElement("div",r({},(0,d.css)(P.CalendarMonthGrid,B&&P.CalendarMonthGrid__horizontal,H&&P.CalendarMonthGrid__vertical,V&&P.CalendarMonthGrid__vertical_scrollable,c&&P.CalendarMonthGrid__animating,c&&L&&{transition:"transform "+String(L)+"ms ease-in-out"},(0,i.default)({},(0,g.default)(K),{width:W})),{ref:this.setContainerRef,onTransitionEnd:x}),F.map((function(t,i){var g=i>=o&&i<o+u,y=0===i&&!g,C=0===i&&c&&g,x=(0,k.default)(t);return a.default.createElement("div",r({key:x},(0,d.css)(B&&P.CalendarMonthGrid_month__horizontal,y&&P.CalendarMonthGrid_month__hideForAnimation,C&&!H&&!I&&{position:"absolute",left:-U},C&&!H&&I&&{position:"absolute",right:0},C&&H&&{position:"absolute",top:-p},!g&&!c&&P.CalendarMonthGrid_month__hidden)),a.default.createElement(m.default,{month:t,isVisible:g,enableOutsideDays:n,modifiers:l[x],monthFormat:f,orientation:h,onDayMouseEnter:b,onDayMouseLeave:_,onDayClick:w,onMonthSelect:e.onMonthSelect,onYearSelect:e.onYearSelect,renderMonthText:O,renderCalendarDay:S,renderDayContents:E,renderMonthElement:T,firstDayOfWeek:D,daySize:v,focusedDate:g?M:null,isFocused:j,phrases:N,setMonthTitleHeight:z,dayAriaLabelFormat:R,verticalBorderSpacing:A,horizontalMonthPadding:s}))})))}}]),t}(a.default.Component);j.propTypes=x,j.defaultProps=D,t.default=(0,d.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.noScrollBarOnVerticalScrollable,o=t.spacing,a=t.zIndex;return{CalendarMonthGrid:{background:n.background,textAlign:"left",zIndex:a},CalendarMonthGrid__animating:{zIndex:a+1},CalendarMonthGrid__horizontal:{position:"absolute",left:o.dayPickerHorizontalPadding},CalendarMonthGrid__vertical:{margin:"0 auto"},CalendarMonthGrid__vertical_scrollable:(0,i.default)({margin:"0 auto",overflowY:"scroll"},r&&{"-webkitOverflowScrolling":"touch","::-webkit-scrollbar":{"-webkit-appearance":"none",display:"none"}}),CalendarMonthGrid_month__horizontal:{display:"inline-block",verticalAlign:"top",minHeight:"100%"},CalendarMonthGrid_month__hideForAnimation:{position:"absolute",zIndex:a-1,opacity:0,pointerEvents:"none"},CalendarMonthGrid_month__hidden:{visibility:"hidden"}}}))(j)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return 7*e+2*t+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!i.default.isMoment(e)||!i.default.isMoment(t))&&(e.month()===t.month()&&e.year()===t.year())};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";var r=n(215),o=n(39),i=n(26).call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var a in t)o(t,a)&&i(t,a)&&n.push(t[a]);return n}},function(e,t,n){"use strict";var r=n(100);e.exports=function(){return"function"==typeof Object.values?Object.values:r}},function(e,t,n){"use strict";e.exports=function(e){if(arguments.length<1)throw new TypeError("1 argument is required");if("object"!=typeof e)throw new TypeError("Argument 1 (”other“) to Node.contains must be an instance of Node");var t=e;do{if(this===t)return!0;t&&(t=t.parentNode)}while(t);return!1}},function(e,t,n){"use strict";var r=n(102);e.exports=function(){if("undefined"!=typeof document){if(document.contains)return document.contains;if(document.body&&document.body.contains)return document.body.contains}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(4)),o=m(n(21)),i=n(12),a=n(14),s=m(n(15)),c=m(n(105)),l=m(n(40)),u=m(n(106)),d=m(n(53)),f=m(n(107)),h=m(n(35)),p=m(n(27)),v=m(n(41));function m(e){return e&&e.__esModule?e:{default:e}}t.default={startDate:o.default.momentObj,endDate:o.default.momentObj,onDatesChange:r.default.func.isRequired,focusedInput:c.default,onFocusChange:r.default.func.isRequired,onClose:r.default.func,startDateId:r.default.string.isRequired,startDatePlaceholderText:r.default.string,endDateId:r.default.string.isRequired,endDatePlaceholderText:r.default.string,disabled:d.default,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDates:r.default.bool,showDefaultInputIcon:r.default.bool,inputIconPosition:l.default,customInputIcon:r.default.node,customArrowIcon:r.default.node,customCloseIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:u.default,anchorDirection:f.default,openDirection:h.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,firstDayOfWeek:p.default,initialVisibleMonth:r.default.func,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDates:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:v.default,hideKeyboardShortcutsPanel:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,verticalSpacing:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,minimumNights:r.default.number,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.DateRangePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.START_DATE,a.END_DATE])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.HORIZONTAL_ORIENTATION,a.VERTICAL_ORIENTATION])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r},a=n(7);t.default=i.default.oneOf([a.ANCHOR_LEFT,a.ANCHOR_RIGHT])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var i="undefined"!=typeof window?window.innerWidth:0,a=e===r.ANCHOR_LEFT?i-n:n,s=o||0;return function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},e,Math.min(t+a-s,0))};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=n.getBoundingClientRect(),i=o.left,a=o.top;e===r.OPEN_UP&&(a=-(window.innerHeight-o.bottom));t===r.ANCHOR_RIGHT&&(i=-(window.innerWidth-o.right));return{transform:"translate3d("+String(Math.round(i))+"px, "+String(Math.round(a))+"px, 0)"}};var r=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=o,t.getScrollAncestorsOverflowY=i,t.default=function(e){var t=i(e),n=function(e){return t.forEach((function(t,n){n.style.setProperty("overflow-y",e?"hidden":t)}))};return n(!0),function(){return n(!1)}};var r=function(){return document.scrollingElement||document.documentElement};function o(e){var t=e.parentElement;if(null==t)return r();var n=window.getComputedStyle(t).overflowY;return"visible"!==n&&"hidden"!==n&&t.scrollHeight>t.clientHeight?t:o(t)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map,n=r(),a=o(e);return t.set(a,a.style.overflowY),a===n?t:i(a,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=k(n(1)),i=k(n(4)),a=k(n(6)),s=k(n(21)),c=n(12),l=k(n(35)),u=n(14),d=k(n(15)),f=k(n(112)),h=k(n(40)),p=k(n(53)),v=k(n(32)),m=k(n(69)),b=k(n(42)),g=k(n(43)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,c.forbidExtraProps)({startDate:s.default.momentObj,startDateId:i.default.string,startDatePlaceholderText:i.default.string,isStartDateFocused:i.default.bool,endDate:s.default.momentObj,endDateId:i.default.string,endDatePlaceholderText:i.default.string,isEndDateFocused:i.default.bool,screenReaderMessage:i.default.string,showClearDates:i.default.bool,showCaret:i.default.bool,showDefaultInputIcon:i.default.bool,inputIconPosition:h.default,disabled:p.default,required:i.default.bool,readOnly:i.default.bool,openDirection:l.default,noBorder:i.default.bool,block:i.default.bool,small:i.default.bool,regular:i.default.bool,verticalSpacing:c.nonNegativeInteger,keepOpenOnDateSelect:i.default.bool,reopenPickerOnClearDates:i.default.bool,withFullScreenPortal:i.default.bool,minimumNights:c.nonNegativeInteger,isOutsideRange:i.default.func,displayFormat:i.default.oneOfType([i.default.string,i.default.func]),onFocusChange:i.default.func,onClose:i.default.func,onDatesChange:i.default.func,onKeyDownArrowDown:i.default.func,onKeyDownQuestionMark:i.default.func,customInputIcon:i.default.node,customArrowIcon:i.default.node,customCloseIcon:i.default.node,isFocused:i.default.bool,phrases:i.default.shape((0,d.default)(u.DateRangePickerInputPhrases)),isRTL:i.default.bool}),w={startDate:null,startDateId:y.START_DATE,startDatePlaceholderText:"Start Date",isStartDateFocused:!1,endDate:null,endDateId:y.END_DATE,endDatePlaceholderText:"End Date",isEndDateFocused:!1,screenReaderMessage:"",showClearDates:!1,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,withFullScreenPortal:!1,minimumNights:1,isOutsideRange:function(e){return!(0,b.default)(e,(0,a.default)())},displayFormat:function(){return a.default.localeData().longDateFormat("L")},onFocusChange:function(){},onClose:function(){},onDatesChange:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},customInputIcon:null,customArrowIcon:null,customCloseIcon:null,isFocused:!1,phrases:u.DateRangePickerInputPhrases,isRTL:!1},O=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.onClearFocus=n.onClearFocus.bind(n),n.onStartDateChange=n.onStartDateChange.bind(n),n.onStartDateFocus=n.onStartDateFocus.bind(n),n.onEndDateChange=n.onEndDateChange.bind(n),n.onEndDateFocus=n.onEndDateFocus.bind(n),n.clearDates=n.clearDates.bind(n),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:"onClearFocus",value:function(){var e=this.props,t=e.onFocusChange,n=e.onClose,r=e.startDate,o=e.endDate;t(null),n({startDate:r,endDate:o})}},{key:"onEndDateChange",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.minimumNights,i=t.keepOpenOnDateSelect,a=t.onDatesChange,s=(0,v.default)(e,this.getDisplayFormat());!s||r(s)||n&&(0,g.default)(s,n.clone().add(o,"days"))?a({startDate:n,endDate:null}):(a({startDate:n,endDate:s}),i||this.onClearFocus())}},{key:"onEndDateFocus",value:function(){var e=this.props,t=e.startDate,n=e.onFocusChange,r=e.withFullScreenPortal,o=e.disabled;t||!r||o&&o!==y.END_DATE?o&&o!==y.START_DATE||n(y.END_DATE):n(y.START_DATE)}},{key:"onStartDateChange",value:function(e){var t=this.props.endDate,n=this.props,r=n.isOutsideRange,o=n.minimumNights,i=n.onDatesChange,a=n.onFocusChange,s=n.disabled,c=(0,v.default)(e,this.getDisplayFormat()),l=c&&(0,g.default)(t,c.clone().add(o,"days"));!c||r(c)||s===y.END_DATE&&l?i({startDate:null,endDate:t}):(l&&(t=null),i({startDate:c,endDate:t}),a(y.END_DATE))}},{key:"onStartDateFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange;t&&t!==y.END_DATE||n(y.START_DATE)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,m.default)(e)}},{key:"clearDates",value:function(){var e=this.props,t=e.onDatesChange,n=e.reopenPickerOnClearDates,r=e.onFocusChange;t({startDate:null,endDate:null}),n&&r(y.START_DATE)}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,r=e.startDatePlaceholderText,i=e.isStartDateFocused,a=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,l=e.isEndDateFocused,u=e.screenReaderMessage,d=e.showClearDates,h=e.showCaret,p=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,b=e.customArrowIcon,g=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,w=e.openDirection,O=e.isFocused,S=e.phrases,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.isRTL,x=e.noBorder,D=e.block,M=e.small,j=e.regular,I=e.verticalSpacing,P=this.getDateString(t),N=this.getDateString(a);return o.default.createElement(f.default,{startDate:P,startDateId:n,startDatePlaceholderText:r,isStartDateFocused:i,endDate:N,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:l,isFocused:O,disabled:y,required:k,readOnly:_,openDirection:w,showCaret:h,showDefaultInputIcon:p,inputIconPosition:v,customInputIcon:m,customArrowIcon:b,customCloseIcon:g,phrases:S,onStartDateChange:this.onStartDateChange,onStartDateFocus:this.onStartDateFocus,onStartDateShiftTab:this.onClearFocus,onEndDateChange:this.onEndDateChange,onEndDateFocus:this.onEndDateFocus,onEndDateTab:this.onClearFocus,showClearDates:d,onClearDates:this.clearDates,screenReaderMessage:u,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,isRTL:T,noBorder:x,block:D,small:M,regular:j,verticalSpacing:I})}}]),t}(o.default.Component);t.default=O,O.propTypes=_,O.defaultProps=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=k(n(13)),i=k(n(1)),a=k(n(4)),s=n(12),c=n(16),l=n(14),u=k(n(15)),d=k(n(35)),f=k(n(113)),h=k(n(40)),p=k(n(53)),v=k(n(117)),m=k(n(118)),b=k(n(44)),g=k(n(119)),y=n(7);function k(e){return e&&e.__esModule?e:{default:e}}var _=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{startDateId:a.default.string,startDatePlaceholderText:a.default.string,screenReaderMessage:a.default.string,endDateId:a.default.string,endDatePlaceholderText:a.default.string,onStartDateFocus:a.default.func,onEndDateFocus:a.default.func,onStartDateChange:a.default.func,onEndDateChange:a.default.func,onStartDateShiftTab:a.default.func,onEndDateTab:a.default.func,onClearDates:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,startDate:a.default.string,endDate:a.default.string,isStartDateFocused:a.default.bool,isEndDateFocused:a.default.bool,showClearDates:a.default.bool,disabled:p.default,required:a.default.bool,readOnly:a.default.bool,openDirection:d.default,showCaret:a.default.bool,showDefaultInputIcon:a.default.bool,inputIconPosition:h.default,customInputIcon:a.default.node,customArrowIcon:a.default.node,customCloseIcon:a.default.node,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,isFocused:a.default.bool,phrases:a.default.shape((0,u.default)(l.DateRangePickerInputPhrases)),isRTL:a.default.bool})),w={startDateId:y.START_DATE,endDateId:y.END_DATE,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",screenReaderMessage:"",onStartDateFocus:function(){},onEndDateFocus:function(){},onStartDateChange:function(){},onEndDateChange:function(){},onStartDateShiftTab:function(){},onEndDateTab:function(){},onClearDates:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},startDate:"",endDate:"",isStartDateFocused:!1,isEndDateFocused:!1,showClearDates:!1,disabled:!1,required:!1,readOnly:!1,openDirection:y.OPEN_DOWN,showCaret:!1,showDefaultInputIcon:!1,inputIconPosition:y.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,isFocused:!1,phrases:l.DateRangePickerInputPhrases,isRTL:!1};function O(e){var t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,a=e.screenReaderMessage,s=e.isStartDateFocused,l=e.onStartDateChange,u=e.onStartDateFocus,d=e.onStartDateShiftTab,h=e.endDate,p=e.endDateId,k=e.endDatePlaceholderText,_=e.isEndDateFocused,w=e.onEndDateChange,O=e.onEndDateFocus,S=e.onEndDateTab,E=e.onKeyDownArrowDown,C=e.onKeyDownQuestionMark,T=e.onClearDates,x=e.showClearDates,D=e.disabled,M=e.required,j=e.readOnly,I=e.showCaret,P=e.openDirection,N=e.showDefaultInputIcon,R=e.inputIconPosition,L=e.customInputIcon,A=e.customArrowIcon,z=e.customCloseIcon,F=e.isFocused,H=e.phrases,V=e.isRTL,B=e.noBorder,U=e.block,W=e.verticalSpacing,K=e.small,Y=e.regular,$=e.styles,q=L||i.default.createElement(g.default,(0,c.css)($.DateRangePickerInput_calendarIcon_svg)),G=A||i.default.createElement(v.default,(0,c.css)($.DateRangePickerInput_arrow_svg));V&&(G=i.default.createElement(m.default,(0,c.css)($.DateRangePickerInput_arrow_svg))),K&&(G="-");var Z=z||i.default.createElement(b.default,(0,c.css)($.DateRangePickerInput_clearDates_svg,K&&$.DateRangePickerInput_clearDates_svg__small)),X=a||H.keyboardNavigationInstructions,Q=(N||null!==L)&&i.default.createElement("button",r({},(0,c.css)($.DateRangePickerInput_calendarIcon),{type:"button",disabled:D,"aria-label":H.focusStartDate,onClick:E}),q),J=D===y.START_DATE||!0===D,ee=D===y.END_DATE||!0===D;return i.default.createElement("div",(0,c.css)($.DateRangePickerInput,D&&$.DateRangePickerInput__disabled,V&&$.DateRangePickerInput__rtl,!B&&$.DateRangePickerInput__withBorder,U&&$.DateRangePickerInput__block,x&&$.DateRangePickerInput__showClearDates),R===y.ICON_BEFORE_POSITION&&Q,i.default.createElement(f.default,{id:n,placeholder:o,displayValue:t,screenReaderMessage:X,focused:s,isFocused:F,disabled:J,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:l,onFocus:u,onKeyDownShiftTab:d,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),i.default.createElement("div",r({},(0,c.css)($.DateRangePickerInput_arrow),{"aria-hidden":"true",role:"presentation"}),G),i.default.createElement(f.default,{id:p,placeholder:k,displayValue:h,screenReaderMessage:X,focused:_,isFocused:F,disabled:ee,required:M,readOnly:j,showCaret:I,openDirection:P,onChange:w,onFocus:O,onKeyDownTab:S,onKeyDownArrowDown:E,onKeyDownQuestionMark:C,verticalSpacing:W,small:K,regular:Y}),x&&i.default.createElement("button",r({type:"button","aria-label":H.clearDates},(0,c.css)($.DateRangePickerInput_clearDates,K&&$.DateRangePickerInput_clearDates__small,!z&&$.DateRangePickerInput_clearDates_default,!(t||h)&&$.DateRangePickerInput_clearDates__hide),{onClick:T,disabled:D}),Z),R===y.ICON_AFTER_POSITION&&Q)}O.propTypes=_,O.defaultProps=w,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing;return{DateRangePickerInput:{backgroundColor:r.background,display:"inline-block"},DateRangePickerInput__disabled:{background:r.disabled},DateRangePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},DateRangePickerInput__rtl:{direction:"rtl"},DateRangePickerInput__block:{display:"block"},DateRangePickerInput__showClearDates:{paddingRight:30},DateRangePickerInput_arrow:{display:"inline-block",verticalAlign:"middle",color:r.text},DateRangePickerInput_arrow_svg:{verticalAlign:"middle",fill:r.text,height:o.arrowWidth,width:o.arrowWidth},DateRangePickerInput_clearDates:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},DateRangePickerInput_clearDates__small:{padding:6},DateRangePickerInput_clearDates_default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},DateRangePickerInput_clearDates__hide:{visibility:"hidden"},DateRangePickerInput_clearDates_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},DateRangePickerInput_clearDates_svg__small:{height:9},DateRangePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},DateRangePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=v(n(13)),a=v(n(1)),s=v(n(4)),c=n(12),l=n(16),u=v(n(114)),d=v(n(34)),f=v(n(67)),h=v(n(35)),p=n(7);function v(e){return e&&e.__esModule?e:{default:e}}var m="M0,"+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0z",b="M0,"+String(p.FANG_HEIGHT_PX)+" "+p.FANG_WIDTH_PX/2+",0 "+String(p.FANG_WIDTH_PX)+","+String(p.FANG_HEIGHT_PX),g="M0,0 "+String(p.FANG_WIDTH_PX)+",0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+"z",y="M0,0 "+p.FANG_WIDTH_PX/2+","+String(p.FANG_HEIGHT_PX)+" "+String(p.FANG_WIDTH_PX)+",0",k=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{id:s.default.string.isRequired,placeholder:s.default.string,displayValue:s.default.string,screenReaderMessage:s.default.string,focused:s.default.bool,disabled:s.default.bool,required:s.default.bool,readOnly:s.default.bool,openDirection:h.default,showCaret:s.default.bool,verticalSpacing:c.nonNegativeInteger,small:s.default.bool,block:s.default.bool,regular:s.default.bool,onChange:s.default.func,onFocus:s.default.func,onKeyDownShiftTab:s.default.func,onKeyDownTab:s.default.func,onKeyDownArrowDown:s.default.func,onKeyDownQuestionMark:s.default.func,isFocused:s.default.bool})),_={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,disabled:!1,required:!1,readOnly:null,openDirection:p.OPEN_DOWN,showCaret:!1,verticalSpacing:p.DEFAULT_VERTICAL_SPACING,small:!1,block:!1,regular:!1,onChange:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},isFocused:!1},w=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.state={dateString:"",isTouchDevice:!1},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.setInputRef=n.setInputRef.bind(n),n.throttledKeyDown=(0,u.default)(n.onFinalKeyDown,300,{trailing:!1}),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),o(t,[{key:"componentDidMount",value:function(){this.setState({isTouchDevice:(0,d.default)()})}},{key:"componentWillReceiveProps",value:function(e){this.state.dateString&&e.displayValue&&this.setState({dateString:""})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.focused,r=t.isFocused;e.focused===n&&e.isFocused===r||n&&r&&this.inputRef.focus()}},{key:"onChange",value:function(e){var t=this.props,n=t.onChange,r=t.onKeyDownQuestionMark,o=e.target.value;"?"===o[o.length-1]?r(e):this.setState({dateString:o},(function(){return n(o)}))}},{key:"onKeyDown",value:function(e){e.stopPropagation(),p.MODIFIER_KEY_NAMES.has(e.key)||this.throttledKeyDown(e)}},{key:"onFinalKeyDown",value:function(e){var t=this.props,n=t.onKeyDownShiftTab,r=t.onKeyDownTab,o=t.onKeyDownArrowDown,i=t.onKeyDownQuestionMark,a=e.key;"Tab"===a?e.shiftKey?n(e):r(e):"ArrowDown"===a?o(e):"?"===a&&(e.preventDefault(),i(e))}},{key:"setInputRef",value:function(e){this.inputRef=e}},{key:"render",value:function(){var e=this.state,t=e.dateString,n=e.isTouchDevice,o=this.props,i=o.id,s=o.placeholder,c=o.displayValue,u=o.screenReaderMessage,d=o.focused,h=o.showCaret,v=o.onFocus,k=o.disabled,_=o.required,w=o.readOnly,O=o.openDirection,S=o.verticalSpacing,E=o.small,C=o.regular,T=o.block,x=o.styles,D=o.theme.reactDates,M=t||c||"",j="DateInput__screen-reader-message-"+String(i),I=h&&d,P=(0,f.default)(D,E);return a.default.createElement("div",(0,l.css)(x.DateInput,E&&x.DateInput__small,T&&x.DateInput__block,I&&x.DateInput__withFang,k&&x.DateInput__disabled,I&&O===p.OPEN_DOWN&&x.DateInput__openDown,I&&O===p.OPEN_UP&&x.DateInput__openUp),a.default.createElement("input",r({},(0,l.css)(x.DateInput_input,E&&x.DateInput_input__small,C&&x.DateInput_input__regular,w&&x.DateInput_input__readOnly,d&&x.DateInput_input__focused,k&&x.DateInput_input__disabled),{"aria-label":s,type:"text",id:i,name:i,ref:this.setInputRef,value:M,onChange:this.onChange,onKeyDown:this.onKeyDown,onFocus:v,placeholder:s,autoComplete:"off",disabled:k,readOnly:"boolean"==typeof w?w:n,required:_,"aria-describedby":u&&j})),I&&a.default.createElement("svg",r({role:"presentation",focusable:"false"},(0,l.css)(x.DateInput_fang,O===p.OPEN_DOWN&&{top:P+S-p.FANG_HEIGHT_PX-1},O===p.OPEN_UP&&{bottom:P+S-p.FANG_HEIGHT_PX-1})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangShape),{d:O===p.OPEN_DOWN?m:g})),a.default.createElement("path",r({},(0,l.css)(x.DateInput_fangStroke),{d:O===p.OPEN_DOWN?b:y}))),u&&a.default.createElement("p",r({},(0,l.css)(x.DateInput_screenReaderMessage),{id:j}),u))}}]),t}(a.default.Component);w.propTypes=k,w.defaultProps=_,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color,o=t.sizing,i=t.spacing,a=t.font,s=t.zIndex;return{DateInput:{margin:0,padding:i.inputPadding,background:r.background,position:"relative",display:"inline-block",width:o.inputWidth,verticalAlign:"middle"},DateInput__small:{width:o.inputWidth_small},DateInput__block:{width:"100%"},DateInput__disabled:{background:r.disabled,color:r.textDisabled},DateInput_input:{fontWeight:200,fontSize:a.input.size,lineHeight:a.input.lineHeight,color:r.text,backgroundColor:r.background,width:"100%",padding:String(i.displayTextPaddingVertical)+"px "+String(i.displayTextPaddingHorizontal)+"px",paddingTop:i.displayTextPaddingTop,paddingBottom:i.displayTextPaddingBottom,paddingLeft:i.displayTextPaddingLeft,paddingRight:i.displayTextPaddingRight,border:n.input.border,borderTop:n.input.borderTop,borderRight:n.input.borderRight,borderBottom:n.input.borderBottom,borderLeft:n.input.borderLeft,borderRadius:n.input.borderRadius},DateInput_input__small:{fontSize:a.input.size_small,lineHeight:a.input.lineHeight_small,letterSpacing:a.input.letterSpacing_small,padding:String(i.displayTextPaddingVertical_small)+"px "+String(i.displayTextPaddingHorizontal_small)+"px",paddingTop:i.displayTextPaddingTop_small,paddingBottom:i.displayTextPaddingBottom_small,paddingLeft:i.displayTextPaddingLeft_small,paddingRight:i.displayTextPaddingRight_small},DateInput_input__regular:{fontWeight:"auto"},DateInput_input__readOnly:{userSelect:"none"},DateInput_input__focused:{outline:n.input.outlineFocused,background:r.backgroundFocused,border:n.input.borderFocused,borderTop:n.input.borderTopFocused,borderRight:n.input.borderRightFocused,borderBottom:n.input.borderBottomFocused,borderLeft:n.input.borderLeftFocused},DateInput_input__disabled:{background:r.disabled,fontStyle:a.input.styleDisabled},DateInput_screenReaderMessage:{border:0,clip:"rect(0, 0, 0, 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1},DateInput_fang:{position:"absolute",width:p.FANG_WIDTH_PX,height:p.FANG_HEIGHT_PX,left:22,zIndex:s+2},DateInput_fangShape:{fill:r.background},DateInput_fangStroke:{stroke:r.core.border,fill:"transparent"}}}))(w)},function(e,t,n){var r=n(219),o=n(68);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},function(e,t,n){var r=n(221),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r=n(115).Symbol;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M336.2 274.5l-210.1 210h805.4c13 0 23 10 23 23s-10 23-23 23H126.1l210.1 210.1c11 11 11 21 0 32-5 5-10 7-16 7s-11-2-16-7l-249.1-249c-11-11-11-21 0-32l249.1-249.1c21-21.1 53 10.9 32 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M107.2 1392.9h241.1v-241.1H107.2v241.1zm294.7 0h267.9v-241.1H401.9v241.1zm-294.7-294.7h241.1V830.4H107.2v267.8zm294.7 0h267.9V830.4H401.9v267.8zM107.2 776.8h241.1V535.7H107.2v241.1zm616.2 616.1h267.9v-241.1H723.4v241.1zM401.9 776.8h267.9V535.7H401.9v241.1zm642.9 616.1H1286v-241.1h-241.1v241.1zm-321.4-294.7h267.9V830.4H723.4v267.8zM428.7 375V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.3-5.3 8-11.5 8-18.8zm616.1 723.2H1286V830.4h-241.1v267.8zM723.4 776.8h267.9V535.7H723.4v241.1zm321.4 0H1286V535.7h-241.1v241.1zm26.8-401.8V133.9c0-7.3-2.7-13.5-8-18.8-5.3-5.3-11.6-8-18.8-8h-53.6c-7.3 0-13.5 2.7-18.8 8-5.3 5.3-8 11.6-8 18.8V375c0 7.3 2.7 13.5 8 18.8 5.3 5.3 11.6 8 18.8 8h53.6c7.3 0 13.5-2.7 18.8-8 5.4-5.3 8-11.5 8-18.8zm321.5-53.6v1071.4c0 29-10.6 54.1-31.8 75.3-21.2 21.2-46.3 31.8-75.3 31.8H107.2c-29 0-54.1-10.6-75.3-31.8C10.6 1447 0 1421.9 0 1392.9V321.4c0-29 10.6-54.1 31.8-75.3s46.3-31.8 75.3-31.8h107.2v-80.4c0-36.8 13.1-68.4 39.3-94.6S311.4 0 348.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3 26.2 26.2 39.3 57.8 39.3 94.6v80.4h321.5v-80.4c0-36.8 13.1-68.4 39.3-94.6C922.9 13.1 954.4 0 991.3 0h53.6c36.8 0 68.4 13.1 94.6 39.3s39.3 57.8 39.3 94.6v80.4H1286c29 0 54.1 10.6 75.3 31.8 21.2 21.2 31.8 46.3 31.8 75.3z"}))};a.defaultProps={viewBox:"0 0 1393.1 1500"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=I(n(13)),a=I(n(1)),s=I(n(4)),c=I(n(21)),l=n(12),u=I(n(6)),d=I(n(66)),f=I(n(34)),h=n(14),p=I(n(15)),v=I(n(42)),m=I(n(121)),b=I(n(31)),g=I(n(54)),y=I(n(43)),k=I(n(122)),_=I(n(70)),w=I(n(228)),O=I(n(50)),S=I(n(52)),E=I(n(53)),C=I(n(105)),T=I(n(33)),x=I(n(27)),D=I(n(41)),M=n(7),j=I(n(71));function I(e){return e&&e.__esModule?e:{default: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 N=(0,l.forbidExtraProps)({startDate:c.default.momentObj,endDate:c.default.momentObj,onDatesChange:s.default.func,startDateOffset:s.default.func,endDateOffset:s.default.func,focusedInput:C.default,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,minimumNights:s.default.number,disabled:E.default,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:T.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,noNavButtons:s.default.bool,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:D.default,firstDayOfWeek:x.default,verticalHeight:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),R={startDate:void 0,endDate:void 0,onDatesChange:function(){},startDateOffset:void 0,endDateOffset:void 0,focusedInput:null,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,minimumNights:1,disabled:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:M.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,daySize:M.DAY_SIZE,navPrev:null,navNext:null,noNavButtons:!1,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:M.INFO_POSITION_BOTTOM,firstDayOfWeek:null,verticalHeight:null,noBorder:!1,transitionDuration:void 0,verticalBorderSpacing:void 0,horizontalMonthPadding:13,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},L=function(e,t){return t===M.START_DATE?e.chooseAvailableStartDate:t===M.END_DATE?e.chooseAvailableEndDate:e.chooseAvailableDate},A=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));n.isTouchDevice=(0,f.default)(),n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},"selected-start":function(e){return n.isStartDate(e)},"selected-end":function(e){return n.isEndDate(e)},"blocked-minimum-nights":function(e){return n.doesNotMeetMinimumNights(e)},"selected-span":function(e){return n.isInSelectedSpan(e)},"last-in-range":function(e){return n.isLastInRange(e)},hovered:function(e){return n.isHovered(e)},"hovered-span":function(e){return n.isInHoveredSpan(e)},"hovered-offset":function(e){return n.isInHoveredSpan(e)},"after-hovered-start":function(e){return n.isDayAfterHoveredStartDate(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,a=r.visibleDays,s=L(e.phrases,e.focusedInput);return n.state={hoverDate:null,currentMonth:o,phrases:(0,i.default)({},e.phrases,{chooseAvailableDate:s}),visibleDays:a},n.onDayClick=n.onDayClick.bind(n),n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.onMultiplyScrollableMonths=n.onMultiplyScrollableMonths.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),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),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.startDate,r=e.endDate,o=e.focusedInput,a=e.minimumNights,s=e.isOutsideRange,c=e.isDayBlocked,l=e.isDayHighlighted,f=e.phrases,h=e.initialVisibleMonth,p=e.numberOfMonths,v=e.enableOutsideDays,m=this.props,g=m.startDate,y=m.endDate,k=m.focusedInput,_=m.minimumNights,w=m.isOutsideRange,O=m.isDayBlocked,S=m.isDayHighlighted,E=m.phrases,C=m.initialVisibleMonth,T=m.numberOfMonths,x=m.enableOutsideDays,D=this.state.visibleDays,j=!1,I=!1,P=!1;s!==w&&(this.modifiers["blocked-out-of-range"]=function(e){return s(e)},j=!0),c!==O&&(this.modifiers["blocked-calendar"]=function(e){return c(e)},I=!0),l!==S&&(this.modifiers["highlighted-calendar"]=function(e){return l(e)},P=!0);var N=j||I||P,R=n!==g,A=r!==y,z=o!==k;if(p!==T||v!==x||h!==C&&!k&&z){var F=this.getStateForNewMonth(e),H=F.currentMonth;D=F.visibleDays,this.setState({currentMonth:H,visibleDays:D})}var V={};if(R&&(V=this.deleteModifier(V,g,"selected-start"),V=this.addModifier(V,n,"selected-start"),g)){var B=g.clone().add(1,"day"),U=g.clone().add(_+1,"days");V=this.deleteModifierFromRange(V,B,U,"after-hovered-start")}if(A&&(V=this.deleteModifier(V,y,"selected-end"),V=this.addModifier(V,r,"selected-end")),(R||A)&&(g&&y&&(V=this.deleteModifierFromRange(V,g,y.clone().add(1,"day"),"selected-span")),n&&r&&(V=this.deleteModifierFromRange(V,n,r.clone().add(1,"day"),"hovered-span"),V=this.addModifierToRange(V,n.clone().add(1,"day"),r,"selected-span"))),!this.isTouchDevice&&R&&n&&!r){var W=n.clone().add(1,"day"),K=n.clone().add(a+1,"days");V=this.addModifierToRange(V,W,K,"after-hovered-start")}if(_>0&&(z||R||a!==_)){var Y=g||this.today;V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked-minimum-nights"),V=this.deleteModifierFromRange(V,Y,Y.clone().add(_,"days"),"blocked")}(z||N)&&(0,d.default)(D).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e),r=!1;(z||j)&&(s(n)?(V=t.addModifier(V,n,"blocked-out-of-range"),r=!0):V=t.deleteModifier(V,n,"blocked-out-of-range")),(z||I)&&(c(n)?(V=t.addModifier(V,n,"blocked-calendar"),r=!0):V=t.deleteModifier(V,n,"blocked-calendar")),V=r?t.addModifier(V,n,"blocked"):t.deleteModifier(V,n,"blocked"),(z||P)&&(V=l(n)?t.addModifier(V,n,"highlighted-calendar"):t.deleteModifier(V,n,"highlighted-calendar"))}))})),a>0&&n&&o===M.END_DATE&&(V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked-minimum-nights"),V=this.addModifierToRange(V,n,n.clone().add(a,"days"),"blocked"));var $=(0,u.default)();if((0,b.default)(this.today,$)||(V=this.deleteModifier(V,this.today,"today"),V=this.addModifier(V,$,"today"),this.today=$),Object.keys(V).length>0&&this.setState({visibleDays:(0,i.default)({},D,V)}),z||f!==E){var q=L(f,o);this.setState({phrases:(0,i.default)({},f,{chooseAvailableDate:q})})}}},{key:"onDayClick",value:function(e,t){var n=this.props,r=n.keepOpenOnDateSelect,o=n.minimumNights,i=n.onBlur,a=n.focusedInput,s=n.onFocusChange,c=n.onClose,l=n.onDatesChange,u=n.startDateOffset,d=n.endDateOffset,f=n.disabled;if(t&&t.preventDefault(),!this.isBlocked(e)){var h=this.props,p=h.startDate,m=h.endDate;if(u||d)p=(0,w.default)(u,e),m=(0,w.default)(d,e),r||(s(null),c({startDate:p,endDate:m}));else if(a===M.START_DATE){var b=m&&m.clone().subtract(o,"days"),k=(0,y.default)(b,e)||(0,g.default)(p,m),_=f===M.END_DATE;_&&k||(p=e,k&&(m=null)),_&&!k?(s(null),c({startDate:p,endDate:m})):_||s(M.END_DATE)}else if(a===M.END_DATE){var O=p&&p.clone().add(o,"days");p?(0,v.default)(e,O)?(m=e,r||(s(null),c({startDate:p,endDate:m}))):f!==M.START_DATE&&(p=e,m=null):(m=e,s(M.START_DATE))}l({startDate:p,endDate:m}),i()}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.props,n=t.startDate,r=t.endDate,o=t.focusedInput,a=t.minimumNights,s=t.startDateOffset,c=t.endDateOffset,l=this.state,u=l.hoverDate,d=l.visibleDays,f=null;if(o){var h=s||c,p={};if(h){var v=(0,w.default)(s,e),m=(0,w.default)(c,e,(function(e){return e.add(1,"day")}));f={start:v,end:m},this.state.dateOffset&&this.state.dateOffset.start&&this.state.dateOffset.end&&(p=this.deleteModifierFromRange(p,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),p=this.addModifierToRange(p,v,m,"hovered-offset")}if(!h){if(p=this.deleteModifier(p,u,"hovered"),p=this.addModifier(p,e,"hovered"),n&&!r&&o===M.END_DATE){if((0,g.default)(u,n)){var k=u.clone().add(1,"day");p=this.deleteModifierFromRange(p,n,k,"hovered-span")}if(!this.isBlocked(e)&&(0,g.default)(e,n)){var _=e.clone().add(1,"day");p=this.addModifierToRange(p,n,_,"hovered-span")}}if(!n&&r&&o===M.START_DATE&&((0,y.default)(u,r)&&(p=this.deleteModifierFromRange(p,u,r,"hovered-span")),!this.isBlocked(e)&&(0,y.default)(e,r)&&(p=this.addModifierToRange(p,e,r,"hovered-span"))),n){var O=n.clone().add(1,"day"),S=n.clone().add(a+1,"days");if(p=this.deleteModifierFromRange(p,O,S,"after-hovered-start"),(0,b.default)(e,n)){var E=n.clone().add(1,"day"),C=n.clone().add(a+1,"days");p=this.addModifierToRange(p,E,C,"after-hovered-start")}}}this.setState({hoverDate:e,dateOffset:f,visibleDays:(0,i.default)({},d,p)})}}}},{key:"onDayMouseLeave",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,a=this.state,s=a.hoverDate,c=a.visibleDays,l=a.dateOffset;if(!this.isTouchDevice&&s){var u={};if(u=this.deleteModifier(u,s,"hovered"),l&&(u=this.deleteModifierFromRange(u,this.state.dateOffset.start,this.state.dateOffset.end,"hovered-offset")),n&&!r&&(0,g.default)(s,n)){var d=s.clone().add(1,"day");u=this.deleteModifierFromRange(u,n,d,"hovered-span")}if(!n&&r&&(0,g.default)(r,s)&&(u=this.deleteModifierFromRange(u,s,r,"hovered-span")),n&&(0,b.default)(e,n)){var f=n.clone().add(1,"day"),h=n.clone().add(o+1,"days");u=this.deleteModifierFromRange(u,f,h,"after-hovered-start")}this.setState({hoverDate:null,visibleDays:(0,i.default)({},c,u)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(2,"months"),u=(0,k.default)(l,1,r,!0),d=a.clone().subtract(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n+1,"month"),u=(0,k.default)(l,1,r,!0),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===M.VERTICAL_SCROLLABLE,i=(0,k.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onMultiplyScrollableMonths",value:function(){var e=this.props,t=e.numberOfMonths,n=e.enableOutsideDays,r=this.state,o=r.currentMonth,a=r.visibleDays,s=Object.keys(a).length,c=o.clone().add(s,"month"),l=(0,k.default)(c,t,n,!0);this.setState({visibleDays:(0,i.default)({},a,this.getModifiers(l))})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.startDate,i=n.endDate,a=n.focusedInput,s=n.minimumNights,c=n.numberOfMonths,l=e.clone().startOf("month");if(a===M.START_DATE&&o?l=o.clone():a===M.END_DATE&&!i&&o?l=o.clone().add(s,"days"):a===M.END_DATE&&i&&(l=i.clone()),this.isBlocked(l)){for(var u=[],d=e.clone().add(c-1,"months").endOf("month"),f=l.clone();!(0,g.default)(f,d);)f=f.clone().add(1,"day"),u.push(f);var h=u.filter((function(e){return!t.isBlocked(e)}));h.length>0&&(l=r(h,1)[0])}return l}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,O.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.numberOfMonths,o=e.enableOutsideDays,i=e.orientation,a=e.startDate,s=(n||(a?function(){return a}:function(){return t.today}))(),c=i===M.VERTICAL_SCROLLABLE;return{currentMonth:s,visibleDays:this.getModifiers((0,k.default)(s,r,o,c))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.add(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,b))))}return p}},{key:"addModifierToRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.addModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===M.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,_.default)(t,d,f,a))return e;var h=(0,O.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,P({},r,(0,i.default)({},o,P({},h,a))))}),p);else{var v=(0,S.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.delete(n),p=(0,i.default)({},p,P({},v,(0,i.default)({},m,P({},h,b))))}return p}},{key:"deleteModifierFromRange",value:function(e,t,n,r){for(var o=e,i=t.clone();(0,y.default)(i,n);)o=this.deleteModifier(o,i,r),i=i.clone().add(1,"day");return o}},{key:"doesNotMeetMinimumNights",value:function(e){var t=this.props,n=t.startDate,r=t.isOutsideRange,o=t.focusedInput,i=t.minimumNights;if(o!==M.END_DATE)return!1;if(n){var a=e.diff(n.clone().startOf("day").hour(12),"days");return a<i&&a>=0}return r((0,u.default)(e).subtract(i,"days"))}},{key:"isDayAfterHoveredStartDate",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=t.minimumNights,i=(this.state||{}).hoverDate;return!!n&&!r&&!this.isBlocked(e)&&(0,m.default)(i,e)&&o>0&&(0,b.default)(i,n)}},{key:"isEndDate",value:function(e){var t=this.props.endDate;return(0,b.default)(e,t)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return!!this.props.focusedInput&&(0,b.default)(e,t)}},{key:"isInHoveredSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate,o=(this.state||{}).hoverDate,i=!!n&&!r&&(e.isBetween(n,o)||(0,b.default)(o,e)),a=!!r&&!n&&(e.isBetween(o,r)||(0,b.default)(o,e)),s=o&&!this.isBlocked(o);return(i||a)&&s}},{key:"isInSelectedSpan",value:function(e){var t=this.props,n=t.startDate,r=t.endDate;return e.isBetween(n,r)}},{key:"isLastInRange",value:function(e){var t=this.props.endDate;return this.isInSelectedSpan(e)&&(0,m.default)(e,t)}},{key:"isStartDate",value:function(e){var t=this.props.startDate;return(0,b.default)(e,t)}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)||this.doesNotMeetMinimumNights(e)}},{key:"isToday",value:function(e){return(0,b.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.noNavButtons,l=e.onOutsideClick,u=e.withPortal,d=e.enableOutsideDays,f=e.firstDayOfWeek,h=e.hideKeyboardShortcutsPanel,p=e.daySize,v=e.focusedInput,m=e.renderCalendarDay,b=e.renderDayContents,g=e.renderCalendarInfo,y=e.renderMonthElement,k=e.calendarInfoPosition,_=e.onBlur,w=e.isFocused,O=e.showKeyboardShortcuts,S=e.isRTL,E=e.weekDayFormat,C=e.dayAriaLabelFormat,T=e.verticalHeight,x=e.noBorder,D=e.transitionDuration,M=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.phrases,L=P.visibleDays;return a.default.createElement(j.default,{orientation:n,enableOutsideDays:d,modifiers:L,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,onMultiplyScrollableMonths:this.onMultiplyScrollableMonths,monthFormat:r,renderMonthText:o,withPortal:u,hidden:!v,initialVisibleMonth:function(){return N},daySize:p,onOutsideClick:l,navPrev:i,navNext:s,noNavButtons:c,renderCalendarDay:m,renderDayContents:b,renderCalendarInfo:g,renderMonthElement:y,calendarInfoPosition:k,firstDayOfWeek:f,hideKeyboardShortcutsPanel:h,isFocused:w,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:_,showKeyboardShortcuts:O,phrases:R,isRTL:S,weekDayFormat:E,dayAriaLabelFormat:C,verticalHeight:T,verticalBorderSpacing:M,noBorder:x,transitionDuration:D,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=A,A.propTypes=N,A.defaultProps=R},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r.default.isMoment(e)||!r.default.isMoment(t))return!1;var n=(0,r.default)(e).add(1,"day");return(0,o.default)(n,t)};var r=i(n(6)),o=i(n(31));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){if(!r.default.isMoment(e))return{};for(var a={},s=i?e.clone():e.clone().subtract(1,"month"),c=0;c<(i?t:t+2);c+=1){var l=[],u=s.clone(),d=u.clone().startOf("month").hour(12),f=u.clone().endOf("month").hour(12),h=d.clone();if(n)for(var p=0;p<h.weekday();p+=1){var v=h.clone().subtract(p+1,"day");l.unshift(v)}for(;h<f;)l.push(h.clone()),h.add(1,"day");if(n&&0!==h.weekday())for(var m=h.weekday(),b=0;m<7;m+=1,b+=1){var g=h.clone().add(b,"day");l.push(g)}a[(0,o.default)(s)]=l,s=s.clone().add(1,"month")}return a};var r=i(n(6)),o=i(n(52));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(4)),c=C(n(21)),l=n(12),u=C(n(6)),d=C(n(66)),f=C(n(34)),h=n(14),p=C(n(15)),v=C(n(31)),m=C(n(54)),b=C(n(122)),g=C(n(70)),y=C(n(50)),k=C(n(52)),_=C(n(33)),w=C(n(27)),O=C(n(41)),S=n(7),E=C(n(71));function C(e){return e&&e.__esModule?e:{default:e}}function T(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=(0,l.forbidExtraProps)({date:c.default.momentObj,onDateChange:s.default.func,focused:s.default.bool,onFocusChange:s.default.func,onClose:s.default.func,keepOpenOnDateSelect:s.default.bool,isOutsideRange:s.default.func,isDayBlocked:s.default.func,isDayHighlighted:s.default.func,renderMonthText:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,l.mutuallyExclusiveProps)(s.default.func,"renderMonthText","renderMonthElement"),enableOutsideDays:s.default.bool,numberOfMonths:s.default.number,orientation:_.default,withPortal:s.default.bool,initialVisibleMonth:s.default.func,firstDayOfWeek:w.default,hideKeyboardShortcutsPanel:s.default.bool,daySize:l.nonNegativeInteger,verticalHeight:l.nonNegativeInteger,noBorder:s.default.bool,verticalBorderSpacing:l.nonNegativeInteger,transitionDuration:l.nonNegativeInteger,horizontalMonthPadding:l.nonNegativeInteger,navPrev:s.default.node,navNext:s.default.node,onPrevMonthClick:s.default.func,onNextMonthClick:s.default.func,onOutsideClick:s.default.func,renderCalendarDay:s.default.func,renderDayContents:s.default.func,renderCalendarInfo:s.default.func,calendarInfoPosition:O.default,onBlur:s.default.func,isFocused:s.default.bool,showKeyboardShortcuts:s.default.bool,monthFormat:s.default.string,weekDayFormat:s.default.string,phrases:s.default.shape((0,p.default)(h.DayPickerPhrases)),dayAriaLabelFormat:s.default.string,isRTL:s.default.bool}),D={date:void 0,onDateChange:function(){},focused:!1,onFocusChange:function(){},onClose:function(){},keepOpenOnDateSelect:!1,isOutsideRange:function(){},isDayBlocked:function(){},isDayHighlighted:function(){},renderMonthText:null,enableOutsideDays:!1,numberOfMonths:1,orientation:S.HORIZONTAL_ORIENTATION,withPortal:!1,hideKeyboardShortcutsPanel:!1,initialVisibleMonth:null,firstDayOfWeek:null,daySize:S.DAY_SIZE,verticalHeight:null,noBorder:!1,verticalBorderSpacing:void 0,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onOutsideClick:function(){},renderCalendarDay:void 0,renderDayContents:null,renderCalendarInfo:null,renderMonthElement:null,calendarInfoPosition:S.INFO_POSITION_BOTTOM,onBlur:function(){},isFocused:!1,showKeyboardShortcuts:!1,monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:h.DayPickerPhrases,dayAriaLabelFormat:void 0,isRTL:!1},M=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));n.isTouchDevice=!1,n.today=(0,u.default)(),n.modifiers={today:function(e){return n.isToday(e)},blocked:function(e){return n.isBlocked(e)},"blocked-calendar":function(t){return e.isDayBlocked(t)},"blocked-out-of-range":function(t){return e.isOutsideRange(t)},"highlighted-calendar":function(t){return e.isDayHighlighted(t)},valid:function(e){return!n.isBlocked(e)},hovered:function(e){return n.isHovered(e)},selected:function(e){return n.isSelected(e)},"first-day-of-week":function(e){return n.isFirstDayOfWeek(e)},"last-day-of-week":function(e){return n.isLastDayOfWeek(e)}};var r=n.getStateForNewMonth(e),o=r.currentMonth,i=r.visibleDays;return n.state={hoverDate:null,currentMonth:o,visibleDays:i},n.onDayMouseEnter=n.onDayMouseEnter.bind(n),n.onDayMouseLeave=n.onDayMouseLeave.bind(n),n.onDayClick=n.onDayClick.bind(n),n.onPrevMonthClick=n.onPrevMonthClick.bind(n),n.onNextMonthClick=n.onNextMonthClick.bind(n),n.onMonthChange=n.onMonthChange.bind(n),n.onYearChange=n.onYearChange.bind(n),n.getFirstFocusableDay=n.getFirstFocusableDay.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.isTouchDevice=(0,f.default)()}},{key:"componentWillReceiveProps",value:function(e){var t=this,n=e.date,r=e.focused,o=e.isOutsideRange,a=e.isDayBlocked,s=e.isDayHighlighted,c=e.initialVisibleMonth,l=e.numberOfMonths,f=e.enableOutsideDays,h=this.props,p=h.isOutsideRange,m=h.isDayBlocked,b=h.isDayHighlighted,g=h.numberOfMonths,y=h.enableOutsideDays,k=h.initialVisibleMonth,_=h.focused,w=h.date,O=this.state.visibleDays,S=!1,E=!1,C=!1;o!==p&&(this.modifiers["blocked-out-of-range"]=function(e){return o(e)},S=!0),a!==m&&(this.modifiers["blocked-calendar"]=function(e){return a(e)},E=!0),s!==b&&(this.modifiers["highlighted-calendar"]=function(e){return s(e)},C=!0);var T=S||E||C;if(l!==g||f!==y||c!==k&&!_&&r){var x=this.getStateForNewMonth(e),D=x.currentMonth;O=x.visibleDays,this.setState({currentMonth:D,visibleDays:O})}var M=r!==_,j={};n!==w&&(j=this.deleteModifier(j,w,"selected"),j=this.addModifier(j,n,"selected")),(M||T)&&(0,d.default)(O).forEach((function(e){Object.keys(e).forEach((function(e){var n=(0,u.default)(e);j=t.isBlocked(n)?t.addModifier(j,n,"blocked"):t.deleteModifier(j,n,"blocked"),(M||S)&&(j=o(n)?t.addModifier(j,n,"blocked-out-of-range"):t.deleteModifier(j,n,"blocked-out-of-range")),(M||E)&&(j=a(n)?t.addModifier(j,n,"blocked-calendar"):t.deleteModifier(j,n,"blocked-calendar")),(M||C)&&(j=s(n)?t.addModifier(j,n,"highlighted-calendar"):t.deleteModifier(j,n,"highlighted-calendar"))}))}));var I=(0,u.default)();(0,v.default)(this.today,I)||(j=this.deleteModifier(j,this.today,"today"),j=this.addModifier(j,I,"today"),this.today=I),Object.keys(j).length>0&&this.setState({visibleDays:(0,i.default)({},O,j)})}},{key:"componentWillUpdate",value:function(){this.today=(0,u.default)()}},{key:"onDayClick",value:function(e,t){if(t&&t.preventDefault(),!this.isBlocked(e)){var n=this.props,r=n.onDateChange,o=n.keepOpenOnDateSelect,i=n.onFocusChange,a=n.onClose;r(e),o||(i({focused:!1}),a({date:e}))}}},{key:"onDayMouseEnter",value:function(e){if(!this.isTouchDevice){var t=this.state,n=t.hoverDate,r=t.visibleDays,o=this.deleteModifier({},n,"hovered");o=this.addModifier(o,e,"hovered"),this.setState({hoverDate:e,visibleDays:(0,i.default)({},r,o)})}}},{key:"onDayMouseLeave",value:function(){var e=this.state,t=e.hoverDate,n=e.visibleDays;if(!this.isTouchDevice&&t){var r=this.deleteModifier({},t,"hovered");this.setState({hoverDate:null,visibleDays:(0,i.default)({},n,r)})}}},{key:"onPrevMonthClick",value:function(){var e=this.props,t=e.onPrevMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(0,n+1).forEach((function(e){c[e]=s[e]}));var l=a.clone().subtract(1,"month"),u=(0,b.default)(l,1,r);this.setState({currentMonth:l,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(l.clone())}))}},{key:"onNextMonthClick",value:function(){var e=this.props,t=e.onNextMonthClick,n=e.numberOfMonths,r=e.enableOutsideDays,o=this.state,a=o.currentMonth,s=o.visibleDays,c={};Object.keys(s).sort().slice(1).forEach((function(e){c[e]=s[e]}));var l=a.clone().add(n,"month"),u=(0,b.default)(l,1,r),d=a.clone().add(1,"month");this.setState({currentMonth:d,visibleDays:(0,i.default)({},c,this.getModifiers(u))},(function(){t(d.clone())}))}},{key:"onMonthChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,b.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"onYearChange",value:function(e){var t=this.props,n=t.numberOfMonths,r=t.enableOutsideDays,o=t.orientation===S.VERTICAL_SCROLLABLE,i=(0,b.default)(e,n,r,o);this.setState({currentMonth:e.clone(),visibleDays:this.getModifiers(i)})}},{key:"getFirstFocusableDay",value:function(e){var t=this,n=this.props,o=n.date,i=n.numberOfMonths,a=e.clone().startOf("month");if(o&&(a=o.clone()),this.isBlocked(a)){for(var s=[],c=e.clone().add(i-1,"months").endOf("month"),l=a.clone();!(0,m.default)(l,c);)l=l.clone().add(1,"day"),s.push(l);var u=s.filter((function(e){return!t.isBlocked(e)&&(0,m.default)(e,a)}));if(u.length>0){var d=r(u,1);a=d[0]}}return a}},{key:"getModifiers",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]={},e[r].forEach((function(e){n[r][(0,y.default)(e)]=t.getModifiersForDay(e)}))})),n}},{key:"getModifiersForDay",value:function(e){var t=this;return new Set(Object.keys(this.modifiers).filter((function(n){return t.modifiers[n](e)})))}},{key:"getStateForNewMonth",value:function(e){var t=this,n=e.initialVisibleMonth,r=e.date,o=e.numberOfMonths,i=e.enableOutsideDays,a=(n||(r?function(){return r}:function(){return t.today}))();return{currentMonth:a,visibleDays:this.getModifiers((0,b.default)(a,o,i))}}},{key:"addModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,g.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.add(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.add(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,b))))}return p}},{key:"deleteModifier",value:function(e,t,n){var r=this.props,o=r.numberOfMonths,a=r.enableOutsideDays,s=r.orientation,c=this.state,l=c.currentMonth,u=c.visibleDays,d=l,f=o;if(s===S.VERTICAL_SCROLLABLE?f=Object.keys(u).length:(d=d.clone().subtract(1,"month"),f+=2),!t||!(0,g.default)(t,d,f,a))return e;var h=(0,y.default)(t),p=(0,i.default)({},e);if(a)p=Object.keys(u).filter((function(e){return Object.keys(u[e]).indexOf(h)>-1})).reduce((function(t,r){var o=e[r]||u[r],a=new Set(o[h]);return a.delete(n),(0,i.default)({},t,T({},r,(0,i.default)({},o,T({},h,a))))}),p);else{var v=(0,k.default)(t),m=e[v]||u[v],b=new Set(m[h]);b.delete(n),p=(0,i.default)({},p,T({},v,(0,i.default)({},m,T({},h,b))))}return p}},{key:"isBlocked",value:function(e){var t=this.props,n=t.isDayBlocked,r=t.isOutsideRange;return n(e)||r(e)}},{key:"isHovered",value:function(e){var t=(this.state||{}).hoverDate;return(0,v.default)(e,t)}},{key:"isSelected",value:function(e){var t=this.props.date;return(0,v.default)(e,t)}},{key:"isToday",value:function(e){return(0,v.default)(e,this.today)}},{key:"isFirstDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===(t||u.default.localeData().firstDayOfWeek())}},{key:"isLastDayOfWeek",value:function(e){var t=this.props.firstDayOfWeek;return e.day()===((t||u.default.localeData().firstDayOfWeek())+6)%7}},{key:"render",value:function(){var e=this.props,t=e.numberOfMonths,n=e.orientation,r=e.monthFormat,o=e.renderMonthText,i=e.navPrev,s=e.navNext,c=e.onOutsideClick,l=e.withPortal,u=e.focused,d=e.enableOutsideDays,f=e.hideKeyboardShortcutsPanel,h=e.daySize,p=e.firstDayOfWeek,v=e.renderCalendarDay,m=e.renderDayContents,b=e.renderCalendarInfo,g=e.renderMonthElement,y=e.calendarInfoPosition,k=e.isFocused,_=e.isRTL,w=e.phrases,O=e.dayAriaLabelFormat,S=e.onBlur,C=e.showKeyboardShortcuts,T=e.weekDayFormat,x=e.verticalHeight,D=e.noBorder,M=e.transitionDuration,j=e.verticalBorderSpacing,I=e.horizontalMonthPadding,P=this.state,N=P.currentMonth,R=P.visibleDays;return a.default.createElement(E.default,{orientation:n,enableOutsideDays:d,modifiers:R,numberOfMonths:t,onDayClick:this.onDayClick,onDayMouseEnter:this.onDayMouseEnter,onDayMouseLeave:this.onDayMouseLeave,onPrevMonthClick:this.onPrevMonthClick,onNextMonthClick:this.onNextMonthClick,onMonthChange:this.onMonthChange,onYearChange:this.onYearChange,monthFormat:r,withPortal:l,hidden:!u,hideKeyboardShortcutsPanel:f,initialVisibleMonth:function(){return N},firstDayOfWeek:p,onOutsideClick:c,navPrev:i,navNext:s,renderMonthText:o,renderCalendarDay:v,renderDayContents:m,renderCalendarInfo:b,renderMonthElement:g,calendarInfoPosition:y,isFocused:k,getFirstFocusableDay:this.getFirstFocusableDay,onBlur:S,phrases:w,daySize:h,isRTL:_,showKeyboardShortcuts:C,weekDayFormat:T,dayAriaLabelFormat:O,verticalHeight:x,noBorder:D,transitionDuration:M,verticalBorderSpacing:j,horizontalMonthPadding:I})}}]),t}(a.default.Component);t.default=M,M.propTypes=x,M.defaultProps=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(4)),o=p(n(21)),i=n(12),a=n(14),s=p(n(15)),c=p(n(40)),l=p(n(106)),u=p(n(107)),d=p(n(35)),f=p(n(27)),h=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}t.default={date:o.default.momentObj,onDateChange:r.default.func.isRequired,focused:r.default.bool,onFocusChange:r.default.func.isRequired,id:r.default.string.isRequired,placeholder:r.default.string,disabled:r.default.bool,required:r.default.bool,readOnly:r.default.bool,screenReaderInputMessage:r.default.string,showClearDate:r.default.bool,customCloseIcon:r.default.node,showDefaultInputIcon:r.default.bool,inputIconPosition:c.default,customInputIcon:r.default.node,noBorder:r.default.bool,block:r.default.bool,small:r.default.bool,regular:r.default.bool,verticalSpacing:i.nonNegativeInteger,keepFocusOnInput:r.default.bool,renderMonthText:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),renderMonthElement:(0,i.mutuallyExclusiveProps)(r.default.func,"renderMonthText","renderMonthElement"),orientation:l.default,anchorDirection:u.default,openDirection:d.default,horizontalMargin:r.default.number,withPortal:r.default.bool,withFullScreenPortal:r.default.bool,appendToBody:r.default.bool,disableScroll:r.default.bool,initialVisibleMonth:r.default.func,firstDayOfWeek:f.default,numberOfMonths:r.default.number,keepOpenOnDateSelect:r.default.bool,reopenPickerOnClearDate:r.default.bool,renderCalendarInfo:r.default.func,calendarInfoPosition:h.default,hideKeyboardShortcutsPanel:r.default.bool,daySize:i.nonNegativeInteger,isRTL:r.default.bool,verticalHeight:i.nonNegativeInteger,transitionDuration:i.nonNegativeInteger,horizontalMonthPadding:i.nonNegativeInteger,navPrev:r.default.node,navNext:r.default.node,onPrevMonthClick:r.default.func,onNextMonthClick:r.default.func,onClose:r.default.func,renderCalendarDay:r.default.func,renderDayContents:r.default.func,enableOutsideDays:r.default.bool,isDayBlocked:r.default.func,isOutsideRange:r.default.func,isDayHighlighted:r.default.func,displayFormat:r.default.oneOfType([r.default.string,r.default.func]),monthFormat:r.default.string,weekDayFormat:r.default.string,phrases:r.default.shape((0,s.default)(a.SingleDatePickerPhrases)),dayAriaLabelFormat:r.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=b(n(13)),i=b(n(1)),a=b(n(4)),s=n(12),c=n(16),l=n(14),u=b(n(15)),d=b(n(113)),f=b(n(40)),h=b(n(44)),p=b(n(119)),v=b(n(35)),m=n(7);function b(e){return e&&e.__esModule?e:{default:e}}var g=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{id:a.default.string.isRequired,placeholder:a.default.string,displayValue:a.default.string,screenReaderMessage:a.default.string,focused:a.default.bool,isFocused:a.default.bool,disabled:a.default.bool,required:a.default.bool,readOnly:a.default.bool,openDirection:v.default,showCaret:a.default.bool,showClearDate:a.default.bool,customCloseIcon:a.default.node,showDefaultInputIcon:a.default.bool,inputIconPosition:f.default,customInputIcon:a.default.node,isRTL:a.default.bool,noBorder:a.default.bool,block:a.default.bool,small:a.default.bool,regular:a.default.bool,verticalSpacing:s.nonNegativeInteger,onChange:a.default.func,onClearDate:a.default.func,onFocus:a.default.func,onKeyDownShiftTab:a.default.func,onKeyDownTab:a.default.func,onKeyDownArrowDown:a.default.func,onKeyDownQuestionMark:a.default.func,phrases:a.default.shape((0,u.default)(l.SingleDatePickerInputPhrases))})),y={placeholder:"Select Date",displayValue:"",screenReaderMessage:"",focused:!1,isFocused:!1,disabled:!1,required:!1,readOnly:!1,openDirection:m.OPEN_DOWN,showCaret:!1,showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:m.ICON_BEFORE_POSITION,customCloseIcon:null,customInputIcon:null,isRTL:!1,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:void 0,onChange:function(){},onClearDate:function(){},onFocus:function(){},onKeyDownShiftTab:function(){},onKeyDownTab:function(){},onKeyDownArrowDown:function(){},onKeyDownQuestionMark:function(){},phrases:l.SingleDatePickerInputPhrases};function k(e){var t=e.id,n=e.placeholder,o=e.displayValue,a=e.focused,s=e.isFocused,l=e.disabled,u=e.required,f=e.readOnly,v=e.showCaret,b=e.showClearDate,g=e.showDefaultInputIcon,y=e.inputIconPosition,k=e.phrases,_=e.onClearDate,w=e.onChange,O=e.onFocus,S=e.onKeyDownShiftTab,E=e.onKeyDownTab,C=e.onKeyDownArrowDown,T=e.onKeyDownQuestionMark,x=e.screenReaderMessage,D=e.customCloseIcon,M=e.customInputIcon,j=e.openDirection,I=e.isRTL,P=e.noBorder,N=e.block,R=e.small,L=e.regular,A=e.verticalSpacing,z=e.styles,F=M||i.default.createElement(p.default,(0,c.css)(z.SingleDatePickerInput_calendarIcon_svg)),H=D||i.default.createElement(h.default,(0,c.css)(z.SingleDatePickerInput_clearDate_svg,R&&z.SingleDatePickerInput_clearDate_svg__small)),V=x||k.keyboardNavigationInstructions,B=(g||null!==M)&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_calendarIcon),{type:"button",disabled:l,"aria-label":k.focusStartDate,onClick:O}),F);return i.default.createElement("div",(0,c.css)(z.SingleDatePickerInput,l&&z.SingleDatePickerInput__disabled,I&&z.SingleDatePickerInput__rtl,!P&&z.SingleDatePickerInput__withBorder,N&&z.SingleDatePickerInput__block,b&&z.SingleDatePickerInput__showClearDate),y===m.ICON_BEFORE_POSITION&&B,i.default.createElement(d.default,{id:t,placeholder:n,displayValue:o,screenReaderMessage:V,focused:a,isFocused:s,disabled:l,required:u,readOnly:f,showCaret:v,onChange:w,onFocus:O,onKeyDownShiftTab:S,onKeyDownTab:E,onKeyDownArrowDown:C,onKeyDownQuestionMark:T,openDirection:j,verticalSpacing:A,small:R,regular:L,block:N}),b&&i.default.createElement("button",r({},(0,c.css)(z.SingleDatePickerInput_clearDate,R&&z.SingleDatePickerInput_clearDate__small,!D&&z.SingleDatePickerInput_clearDate__default,!o&&z.SingleDatePickerInput_clearDate__hide),{type:"button","aria-label":k.clearDate,disabled:l,onMouseEnter:this&&this.onClearDateMouseEnter,onMouseLeave:this&&this.onClearDateMouseLeave,onClick:_}),H),y===m.ICON_AFTER_POSITION&&B)}k.propTypes=g,k.defaultProps=y,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.border,r=t.color;return{SingleDatePickerInput:{display:"inline-block",backgroundColor:r.background},SingleDatePickerInput__withBorder:{borderColor:r.border,borderWidth:n.pickerInput.borderWidth,borderStyle:n.pickerInput.borderStyle,borderRadius:n.pickerInput.borderRadius},SingleDatePickerInput__rtl:{direction:"rtl"},SingleDatePickerInput__disabled:{backgroundColor:r.disabled},SingleDatePickerInput__block:{display:"block"},SingleDatePickerInput__showClearDate:{paddingRight:30},SingleDatePickerInput_clearDate:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",padding:10,margin:"0 10px 0 5px",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)"},SingleDatePickerInput_clearDate__default:{":focus":{background:r.core.border,borderRadius:"50%"},":hover":{background:r.core.border,borderRadius:"50%"}},SingleDatePickerInput_clearDate__small:{padding:6},SingleDatePickerInput_clearDate__hide:{visibility:"hidden"},SingleDatePickerInput_clearDate_svg:{fill:r.core.grayLight,height:12,width:15,verticalAlign:"middle"},SingleDatePickerInput_clearDate_svg__small:{height:9},SingleDatePickerInput_calendarIcon:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",display:"inline-block",verticalAlign:"middle",padding:10,margin:"0 5px 0 10px"},SingleDatePickerInput_calendarIcon_svg:{fill:r.core.grayLight,height:15,width:14,verticalAlign:"middle"}}}))(k)},function(e,t,n){"use strict";n.r(t);var r=n(11),o=n.n(r),i=n(1),a=n.n(i),s=n(4),c=n.n(s),l=!("undefined"==typeof window||!window.document||!window.document.createElement),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}var h=function(e){function t(){return d(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),u(t,[{key:"componentWillUnmount",value:function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}},{key:"render",value:function(){return l?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),o.a.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}]),t}(a.a.Component);h.propTypes={children:c.a.node.isRequired,node:c.a.any};var p=h,v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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}var g=function(e){function t(){return m(this,t),b(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),v(t,[{key:"componentDidMount",value:function(){this.renderPortal()}},{key:"componentDidUpdate",value:function(e){this.renderPortal()}},{key:"componentWillUnmount",value:function(){o.a.unmountComponentAtNode(this.defaultNode||this.props.node),this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null,this.portal=null}},{key:"renderPortal",value:function(e){this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode));var t=this.props.children;"function"==typeof this.props.children.type&&(t=a.a.cloneElement(this.props.children)),this.portal=o.a.unstable_renderSubtreeIntoContainer(this,t,this.props.node||this.defaultNode)}},{key:"render",value:function(){return null}}]),t}(a.a.Component),y=g;g.propTypes={children:c.a.node.isRequired,node:c.a.any};var k=o.a.createPortal?p:y,_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var w=27,O=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.portalNode=null,n.state={active:!!e.defaultOpen},n.openPortal=n.openPortal.bind(n),n.closePortal=n.closePortal.bind(n),n.wrapWithPortal=n.wrapWithPortal.bind(n),n.handleOutsideMouseClick=n.handleOutsideMouseClick.bind(n),n.handleKeydown=n.handleKeydown.bind(n),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),_(t,[{key:"componentDidMount",value:function(){this.props.closeOnEsc&&document.addEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.addEventListener("click",this.handleOutsideMouseClick)}},{key:"componentWillUnmount",value:function(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.handleKeydown),this.props.closeOnOutsideClick&&document.removeEventListener("click",this.handleOutsideMouseClick)}},{key:"openPortal",value:function(e){this.state.active||(e&&e.nativeEvent&&e.nativeEvent.stopImmediatePropagation(),this.setState({active:!0},this.props.onOpen))}},{key:"closePortal",value:function(){this.state.active&&this.setState({active:!1},this.props.onClose)}},{key:"wrapWithPortal",value:function(e){var t=this;return this.state.active?a.a.createElement(k,{node:this.props.node,key:"react-portal",ref:function(e){return t.portalNode=e}},e):null}},{key:"handleOutsideMouseClick",value:function(e){if(this.state.active){var t=this.portalNode.props.node||this.portalNode.defaultNode;!t||t.contains(e.target)||e.button&&0!==e.button||this.closePortal()}}},{key:"handleKeydown",value:function(e){e.keyCode===w&&this.state.active&&this.closePortal()}},{key:"render",value:function(){return this.props.children({openPortal:this.openPortal,closePortal:this.closePortal,portal:this.wrapWithPortal,isOpen:this.state.active})}}]),t}(a.a.Component);O.propTypes={children:c.a.func.isRequired,defaultOpen:c.a.bool,node:c.a.any,closeOnEsc:c.a.bool,closeOnOutsideClick:c.a.bool,onOpen:c.a.func,onClose:c.a.func},O.defaultProps={onOpen:function(){},onClose:function(){}};var S=O;n.d(t,"Portal",(function(){return k})),n.d(t,"PortalWithState",(function(){return S}))},function(e,t,n){"use strict";e.exports=n(144)},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,o=void 0===n?24:n,i=e.onClick,s=(e.icon,e.className),c=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",s,(t=o,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",r({className:l,height:o,width:o,onClick:i},c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o};e.exports=t.default},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(156),o=n(157),i=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return r(e,t);if(i(e)&&i(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=r,e.exports.isShallowEqualArrays=o},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(158)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(1)),a=c(n(3)),s=c(n(4));function c(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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));return r.resolveOptions(n),r.listenClick(e),r}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),o(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(a.default);function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l},function(e,t,n){"use strict";var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r},c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=c},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n},function(e,t,n){var r=n(5),o=n(6);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(7);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}}])},e.exports=r()},function(e,t,n){var r;!function(o,i,a){if(o){for(var s,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},l={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)c[111+f]="f"+f;for(f=0;f<=9;++f)c[f+96]=f.toString();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},g.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(c[t]=e[t]);s=null},g.init=function(){var e=g(i);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),o.Mousetrap=g,e.exports&&(e.exports=g),void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}function h(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function p(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:l[e.which]?l[e.which]:String.fromCharCode(e.which).toLowerCase()}function v(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function m(e,t,n){return n||(n=function(){if(!s)for(var e in s={},c)e>95&&e<112||c.hasOwnProperty(e)&&(s[c[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function b(e,t){var n,r,o,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],i.push("shift")),v(r)&&i.push(r);return{key:r,modifiers:i,action:t=m(r,i,t)}}function g(e){var t=this;if(e=e||i,!(t instanceof g))return new g(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,a=!1,s=!1;function c(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function l(e,n,o,i,a,s){var c,l,u,d,f=[],h=o.type;if(!t._callbacks[e])return[];for("keyup"==h&&v(e)&&(n=[e]),c=0;c<t._callbacks[e].length;++c)if(l=t._callbacks[e][c],(i||!l.seq||r[l.seq]==l.level)&&h==l.action&&("keypress"==h&&!o.metaKey&&!o.ctrlKey||(u=n,d=l.modifiers,u.sort().join(",")===d.sort().join(",")))){var p=!i&&l.combo==a,m=i&&l.seq==i&&l.level==s;(p||m)&&t._callbacks[e].splice(c,1),f.push(l)}return f}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=p(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function f(e,t,i,a){function l(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(c,1e3)}}function d(t){u(i,t,e),"keyup"!==a&&(o=p(t)),setTimeout(c,10)}r[e]=0;for(var f=0;f<t.length;++f){var h=f+1===t.length?d:l(a||b(t[f+1]).action);m(t[f],h,a,e,f)}}function m(e,n,r,o,i){t._directMap[e+":"+r]=n;var a,s=(e=e.replace(/\s+/g," ")).split(" ");s.length>1?f(e,s,n,r):(a=b(e,r),t._callbacks[a.key]=t._callbacks[a.key]||[],l(a.key,a.modifiers,{type:a.action},o,e,i),t._callbacks[a.key][o?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,o=l(e,t,n),i={},d=0,f=!1;for(r=0;r<o.length;++r)o[r].seq&&(d=Math.max(d,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=d)continue;f=!0,i[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else f||u(o[r].callback,n,o[r].combo);var h="keypress"==n.type&&a;n.type!=s||v(e)||h||c(i),a=f&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)m(e[r],t,n)},h(e,"keypress",d),h(e,"keydown",d),h(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){e.exports=n(192)},function(e,t,n){var r;(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},s={},c=o(!0),l="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function d(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",s=e[o];if("object"!=typeof s)return r.valid=!1,r.error=a+"must be an object, but "+typeof s+" given",r;if(!i.helper.isString(s.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof s.type+" given",r;var c=s.type=s.type.toLowerCase();if("language"===c&&(c=s.type="lang"),"html"===c&&(c=s.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return r.valid=!1,r.error=a+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===c){if(i.helper.isUndefined(s.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(s.filter)&&i.helper.isUndefined(s.regex))return r.valid=!1,r.error=a+c+' extensions must define either a "regex" property or a "filter" method',r;if(s.listeners){if("object"!=typeof s.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof s.listeners+" given",r;for(var l in s.listeners)if(s.listeners.hasOwnProperty(l)&&"function"!=typeof s.listeners[l])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof s.listeners[l]+" given",r}if(s.filter){if("function"!=typeof s.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof s.filter+" given",r}else if(s.regex){if(i.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",r;if(i.helper.isUndefined(s.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function f(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return c[e]=t,this},i.getOption=function(e){"use strict";return c[e]},i.getOptions=function(){"use strict";return c},i.resetOptions=function(){"use strict";c=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in l=e,t)t.hasOwnProperty(n)&&(c[n]=t[n])},i.getFlavor=function(){"use strict";return l},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!s.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return s[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=d(t,e);if(!n.valid)throw Error(n.error);s[e]=t},i.getAllExtensions=function(){"use strict";return s},i.removeExtension=function(e){"use strict";delete s[e]},i.resetExtensions=function(){"use strict";s={}},i.validateExtension=function(e){"use strict";var t=d(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=f,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,f)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var h=function(e,t,n,r){"use strict";var o,i,a,s,c,l=r||"",u=l.indexOf("g")>-1,d=new RegExp(t+"|"+n,"g"+l.replace(/g/g,"")),f=new RegExp(t,l.replace(/g/g,"")),h=[];do{for(o=0;a=d.exec(e);)if(f.test(a[0]))o++||(s=(i=d.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var p={left:{start:s,end:i},match:{start:i,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:s,end:c}};if(h.push(p),!u)return h}}while(o&&(d.lastIndex=i));return h};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=h(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var s=h(e,n,r,o),c=e,l=s.length;if(l>0){var u=[];0!==s[0].wholeMatch.start&&u.push(e.slice(0,s[0].wholeMatch.start));for(var d=0;d<l;++d)u.push(t(e.slice(s[d].wholeMatch.start,s[d].wholeMatch.end),e.slice(s[d].match.start,s[d].match.end),e.slice(s[d].left.start,s[d].left.end),e.slice(s[d].right.start,s[d].right.end))),d<l-1&&u.push(e.slice(s[d].wholeMatch.end,s[d+1].wholeMatch.start));s[l-1].wholeMatch.end<e.length&&u.push(e.slice(s[l-1].wholeMatch.end)),c=u.join("")}return c},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=l,f={parsed:{},raw:"",format:""};function h(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=d(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&p(c,e[a].listeners[c])}}function p(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},c)c.hasOwnProperty(n)&&(t[n]=c[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,h)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return p(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),f=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var s=t[r].firstChild.className.split(" "),c=0;c<s.length;++c){var l=s[c].match(/^language-(.+)$/);if(null!==l){a=l[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",s=0;s<o.length;s++)a+=i.subParser("makeMarkdown.node")(o[s],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){h(e,t=t||null)},this.useExtension=function(e){h(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?f.raw:f.parsed},this.getMetadataFormat=function(){return f.format},this._setMetadataPair=function(e,t){f.parsed[e]=t},this._setMetadataFormat=function(e){f.format=e},this._setMetadataRaw=function(e){f.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){if(i.helper.isUndefined(l)&&(l=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(l=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==l&&null!==l&&(u+=' title="'+(l=(l=l.replace(/"/g,""")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(u+=' target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,a),c="";return t.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),n+'<a href="'+s+'"'+c+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var p=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,v=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,m=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,b=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,y=function(e){"use strict";return function(t,n,r,o,a,s,c){var l=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",d="",f=n||"",h=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' target="¨E95Eblank"'),f+'<a href="'+r+'"'+d+">"+l+"</a>"+u+h}},k=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(m,y(t))).replace(g,k(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(v,y(t)):e.replace(p,y(t))).replace(b,k(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,s=o,c="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),a="<pre><code>"+a+c+"</code></pre>",i.subParser("hashBlock")(a,t,n)+s}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var s=a;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=r+"<code>"+(s=i.subParser("encodeCode")(s,t,n))+"</code>",s=i.subParser("hashHTMLSpans")(s,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',s="",c="";for(var l in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(l))switch(l.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":a="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[l]+'"',c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n';break;default:c+='<meta name="'+l+'" content="'+n.metadata.parsed[l]+'">\n'}return e=o+"<html"+s+">\n<head>\n"+i+a+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o<r;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)})),i.subParser("ellipsis",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)})),i.subParser("emoji",(function(e,t,n){"use strict";if(!t.emoji)return e;return e=(e=n.converter._dispatch("emoji.before",e,t,n)).replace(/:([\S]+?):/g,(function(e,t){return i.helper.emojis.hasOwnProperty(t)?i.helper.emojis[t]:e})),e=n.converter._dispatch("emoji.after",e,t,n)})),i.subParser("encodeAmpsAndAngles",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var s=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="<pre><code"+(o?' class="'+o+" language-"+o+'"':"")+">"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var a=0;a<r.length;++a)for(var s,c=new RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),l="<"+r[a]+"\\b[^>]*>",u="</"+r[a]+">";-1!==(s=i.helper.regexIndexOf(e,c));){var d=i.helper.splitAtIndex(e,s),f=i.helper.replaceRecursiveRegExp(d[1],o,l,u,"im");if(f===d[1])break;e=d[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r<n.gHtmlSpans.length;++r){for(var o=n.gHtmlSpans[r],i=0;/¨C(\d+)C/.test(o);){var a=RegExp.$1;if(o=o.replace("¨C"+a+"C",n.gHtmlSpans[a]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+r+"C",o)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),i.subParser("hashPreCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashPreCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var s=o+i.subParser("encodeCode")(r,t,n)+a;return"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l="<h"+r+s+">"+a+"</h"+r+">";return i.subParser("hashBlock")(l,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),s=t.noHeaderId?"":' id="'+c(o)+'"',l=r+1,u="<h"+l+s+">"+a+"</h"+l+">";return i.subParser("hashBlock")(u,t,n)}));var s=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(s,(function(e,o,a){var s=a;t.customizedHeaderId&&(s=a.replace(/\s?\{([^{]+?)}\s*$/,""));var l=i.subParser("spanGamut")(s,t,n),u=t.noHeaderId?"":' id="'+c(a)+'"',d=r-1+o.length,f="<h"+d+u+">"+l+"</h"+d+">";return i.subParser("hashBlock")(f,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("<hr />",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,s,c,l){var u=n.gUrls,d=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),l||(l=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(d[r])||(l=d[r]),i.helper.isUndefined(f[r])||(a=f[r].width,s=f[r].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var h='<img src="'+(o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'" alt="'+t+'"';return l&&i.helper.isString(l)&&(h+=' title="'+(l=l.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),a&&s&&(h+=' width="'+(a="*"===a?"auto":a)+'"',h+=' height="'+(s="*"===s?"auto":s)+'"'),h+=" />"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,s,c){return r(e,t,n,o=o.replace(/\s/g,""),i,a,s,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,s,c,l,u){u=u&&""!==u.trim();var d=i.subParser("outdent")(c,t,n),f="";return l&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"}))),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),r||d.search(/\n{2,}/)>-1?(d=i.subParser("githubCodeBlocks")(d,t,n),d=i.subParser("blockGamut")(d,t,n)):(d=(d=i.subParser("lists")(d,t,n)).replace(/\n$/,""),d=(d=i.subParser("hashHTMLBlocks")(d,t,n)).replace(/\n\n+/g,"\n\n"),d=a?i.subParser("paragraphs")(d,t,n):i.subParser("spanGamut")(d,t,n)),d="<li"+f+">"+(d=d.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?a:s,l="";if(-1!==e.search(c))!function t(u){var d=u.search(c),f=o(e,n);-1!==d?(l+="\n\n<"+n+f+">\n"+r(u.slice(0,d),!!i)+"</"+n+">\n",c="ul"===(n="ul"===n?"ol":"ul")?a:s,t(u.slice(d))):l+="\n\n<"+n+f+">\n"+r(u,!!i)+"</"+n+">\n"}(e);else{var u=o(e,n);l="\n\n<"+n+u+">\n"+r(e,!!i)+"</"+n+">\n"}return l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,s=0;s<a;s++){var c=r[s];c.search(/¨(K|G)(\d+)\1/g)>=0?o.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,n)).replace(/^([ \t]*)/g,"<p>"),c+="</p>",o.push(c))}for(a=o.length,s=0;s<a;s++){for(var l="",u=o[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var f=RegExp.$1,h=RegExp.$2;l=(l="K"===f?n.gHtmlBlocks[h]:d?i.subParser("encodeCode")(n.ghCodeBlocks[h].text,t,n):n.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}o[s]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),"<del>"+e+"</del>"}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,s,c,l){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),c?c+l:(l&&(n.gTitles[r]=l.replace(/"|'/g,""")),t.parseImgDimensions&&a&&s&&(n.gDimensions[r]={width:a,height:s}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return"<td"+r+">"+i.subParser("spanGamut")(e,t,n)+"</td>\n"}function o(e){var o,a=e.split("\n");for(o=0;o<a.length;++o)/^ {0,3}\|/.test(a[o])&&(a[o]=a[o].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(a[o])&&(a[o]=a[o].replace(/\|[ \t]*$/,"")),a[o]=i.subParser("codeSpans")(a[o],t,n);var s,c,l,u,d=a[0].split("|").map((function(e){return e.trim()})),f=a[1].split("|").map((function(e){return e.trim()})),h=[],p=[],v=[],m=[];for(a.shift(),a.shift(),o=0;o<a.length;++o)""!==a[o].trim()&&h.push(a[o].split("|").map((function(e){return e.trim()})));if(d.length<f.length)return e;for(o=0;o<f.length;++o)v.push((s=f[o],/^:[ \t]*--*$/.test(s)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':""));for(o=0;o<d.length;++o)i.helper.isUndefined(v[o])&&(v[o]=""),p.push((c=d[o],l=v[o],u=void 0,u="",c=c.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+c.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+l+">"+(c=i.subParser("spanGamut")(c,t,n))+"</th>\n"));for(o=0;o<h.length;++o){for(var b=[],g=0;g<p.length;++g)i.helper.isUndefined(h[o][g]),b.push(r(h[o][g],v[g]));m.push(b)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,o=0;o<r;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var i=0;i<r;++i)n+=t[o][i];n+="</tr>\n"}return n+="</tbody>\n</table>\n"}(p,m)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a){var s=i.subParser("makeMarkdown.node")(r[a],t);""!==s&&(n+=s)}return n="> "+(n=n.trim()).split("\n").join("\n> ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="*"}return n})),i.subParser("makeMarkdown.header",(function(e,t,n){"use strict";var r=new Array(n+1).join("#"),o="";if(e.hasChildNodes()){o=r+" ";for(var a=e.childNodes,s=a.length,c=0;c<s;++c)o+=i.subParser("makeMarkdown.node")(a[c],t)}return o})),i.subParser("makeMarkdown.hr",(function(){"use strict";return"---"})),i.subParser("makeMarkdown.image",(function(e){"use strict";var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="](",n+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,s=e.getAttribute("start")||1,c=0;c<a;++c)if(void 0!==o[c].tagName&&"li"===o[c].tagName.toLowerCase()){r+=("ol"===n?s.toString()+". ":"- ")+i.subParser("makeMarkdown.listItem")(o[c],t),++s}return(r+="\n\x3c!-- --\x3e\n").trim()})),i.subParser("makeMarkdown.listItem",(function(e,t){"use strict";for(var n="",r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return/\n$/.test(n)?n=n.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):n+="\n",n})),i.subParser("makeMarkdown.node",(function(e,t,n){"use strict";n=n||!1;var r="";if(3===e.nodeType)return i.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":n||(r=i.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":n||(r=i.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":n||(r=i.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":n||(r=i.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":n||(r=i.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":n||(r=i.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":n||(r=i.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":n||(r=i.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":n||(r=i.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":n||(r=i.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":n||(r=i.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":n||(r=i.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":n||(r=i.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":n||(r=i.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":r=i.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":r=i.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":r=i.subParser("makeMarkdown.strong")(e,t);break;case"del":r=i.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":r=i.subParser("makeMarkdown.links")(e,t);break;case"img":r=i.subParser("makeMarkdown.image")(e,t);break;default:r=e.outerHTML+"\n\n"}return r})),i.subParser("makeMarkdown.paragraph",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);return n=n.trim()})),i.subParser("makeMarkdown.pre",(function(e,t){"use strict";var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="~~"}return n})),i.subParser("makeMarkdown.strong",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="**";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t);n+="**"}return n})),i.subParser("makeMarkdown.table",(function(e,t){"use strict";var n,r,o="",a=[[],[]],s=e.querySelectorAll("thead>tr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;n<s.length;++n){var l=i.subParser("makeMarkdown.tableCell")(s[n],t),u="---";if(s[n].hasAttribute("style"))switch(s[n].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}a[0][n]=l.trim(),a[1][n]=u}for(n=0;n<c.length;++n){var d=a.push([])-1,f=c[n].getElementsByTagName("td");for(r=0;r<s.length;++r){var h=" ";void 0!==f[r]&&(h=i.subParser("makeMarkdown.tableCell")(f[r],t)),a[d].push(h)}}var p=3;for(n=0;n<a.length;++n)for(r=0;r<a[n].length;++r){var v=a[n][r].length;v>p&&(p=v)}for(n=0;n<a.length;++n){for(r=0;r<a[n].length;++r)1===n?":"===a[n][r].slice(-1)?a[n][r]=i.helper.padEnd(a[n][r].slice(-1),p-1,"-")+":":a[n][r]=i.helper.padEnd(a[n][r],p,"-"):a[n][r]=i.helper.padEnd(a[n][r],p);o+="| "+a[n].join(" | ")+" |\n"}return o.trim()})),i.subParser("makeMarkdown.tableCell",(function(e,t){"use strict";var n="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,o=r.length,a=0;a<o;++a)n+=i.subParser("makeMarkdown.node")(r[a],t,!0);return n.trim()})),i.subParser("makeMarkdown.txt",(function(e){"use strict";var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=i.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var o,i,a=n[r.type],s=t(r);if(a)for(o=0;o<a.length;o++)(i=a[o](r,e))&&e.dispatch(i);return s}}}).effects=n,t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(2),s=n(3),c=n(5),l=n(6),u=n(7),d=n(8),f=n(9),h=n(10),p=n(11),v=n(13),m=n(14),b=n(16),g=n(17);t.Diff=i.default,t.diffChars=a.diffChars,t.diffWords=s.diffWords,t.diffWordsWithSpace=s.diffWordsWithSpace,t.diffLines=c.diffLines,t.diffTrimmedLines=c.diffTrimmedLines,t.diffSentences=l.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=h.applyPatch,t.applyPatches=h.applyPatches,t.parsePatch=p.parsePatch,t.merge=v.merge,t.convertChangesToDMP=b.convertChangesToDMP,t.convertChangesToXML=g.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,a=t.length,s=0,c=0;i<a;i++){var l=t[i];if(l.removed){if(l.value=e.join(r.slice(c,c+l.count)),c+=l.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!l.added&&o){var d=n.slice(s,s+l.count);d=d.map((function(e,t){var n=r[c+t];return n.length>e.length?n:e})),l.value=e.join(d)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(c+=l.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var a=this;function s(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var c=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,u=1,d=c+l,f=[{newPos:-1,components:[]}],h=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=c&&h+1>=l)return s([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],h=f[n+1],p=(h?h.newPos:0)-n;d&&(f[n-1]=void 0);var v=d&&d.newPos+1<c,m=h&&0<=p&&p<l;if(v||m){if(!v||m&&d.newPos<h.newPos?(i=o(h),a.pushComponent(i.components,void 0,!0)):((i=d).newPos++,a.pushComponent(i.components,!0,void 0)),p=a.extractCommon(i,t,e,n),i.newPos+1>=c&&p+1>=l)return s(r(a,i.components,t,e,a.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var v=p();if(v)return v}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,a=e.newPos,s=a-r,c=0;a+1<o&&s+1<i&&this.equals(t[a+1],n[s+1]);)a++,s++,c++;return c&&e.components.push({count:c}),e.newPos=a,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),l.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return l.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,c=/\S/,l=t.wordDiff=new i.default;l.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!c.test(e)&&!c.test(t)},l.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&s.test(t[n])&&s.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return s.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return s.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=n(4),s=t.lineDiff=new i.default;s.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.sentenceDiff=new i.default;a.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.cssDiff=new i.default;a.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return l.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o},s=n(5),c=Object.prototype.toString,l=t.jsonDiff=new a.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var a=void 0;for(a=0;a<t.length;a+=1)if(t[a]===e)return n[a];var s=void 0;if("[object Array]"===c.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),a=0;a<e.length;a+=1)s[a]=u(e[a],t,n,o,i);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),s={},n.push(s);var l=[],d=void 0;for(d in e)e.hasOwnProperty(d)&&l.push(d);for(l.sort(),a=0;a<l.length;a+=1)s[d=l[a]]=u(e[d],t,n,o,d);t.pop(),n.pop()}else s=e;return s}l.useLongestToken=!0,l.tokenize=s.lineDiff.tokenize,l.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},l.equals=function(e,t){return a.default.prototype.equals.call(l,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return a.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},a=t.arrayDiff=new i.default;a.tokenize=function(e){return e.slice()},a.join=a.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=s,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=s(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),a=(r=i)&&r.__esModule?r:{default:r};function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,c=n.compareLine||function(e,t,n,r){return t===r},l=0,u=n.fuzzFactor||0,d=0,f=0,h=void 0,p=void 0;function v(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",a=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!c(t+1,r[t],i,a)&&++l>u)return!1;t++}}return!0}for(var m=0;m<s.length;m++){for(var b=s[m],g=r.length-b.oldLines,y=0,k=f+b.oldStart-1,_=(0,a.default)(k,d,g);void 0!==y;y=_())if(v(b,k+y)){b.offset=f+=y;break}if(void 0===y)return!1;d=b.offset+b.oldStart+b.oldLines}for(var w=0,O=0;O<s.length;O++){var S=s[O],E=S.oldStart+S.offset+w-1;w+=S.newLines-S.oldLines,E<0&&(E=0);for(var C=0;C<S.lines.length;C++){var T=S.lines[C],x=T.length>0?T[0]:" ",D=T.length>0?T.substr(1):T,M=S.linedelimiters[C];if(" "===x)E++;else if("-"===x)r.splice(E,1),i.splice(E,1);else if("+"===x)r.splice(E,0,D),i.splice(E,0,M),E++;else if("\\"===x){var j=S.lines[C-1]?S.lines[C-1][0]:null;"+"===j?h=!0:"-"===j&&(p=!0)}}}if(h)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var I=0;I<r.length-1;I++)r[I]=r[I]+i[I];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function a(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),i++}for(s(e),s(e),e.hunks=[];i<n.length;){var l=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(c());else{if(l&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(l));i++}}}function s(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),a=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(o[1]||"").trim(),i++}}function c(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},s=0,c=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var l=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;a.lines.push(n[i]),a.linedelimiters.push(r[i]||"\n"),"+"===l?s++:"-"===l?c++:" "===l&&(s++,c++)}if(s||1!==a.newLines||(a.newLines=0),c||1!==a.oldLines||(a.oldLines=0),t.strict){if(s!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(c!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;i<n.length;)a();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,a=1;return function s(){if(r&&!i){if(o?a++:r=!1,e+a<=n)return a;i=!0}if(!o)return i||(r=!0),t<=e-a?-a++:(o=!0,s())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=s,t.merge=function(e,t,n){e=c(e,n),t=c(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(l(e)?l(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,a=0,s=0;o<e.hunks.length||i<t.hunks.length;){var p=e.hunks[o]||{oldStart:1/0},v=t.hunks[i]||{oldStart:1/0};if(d(p,v))r.hunks.push(f(p,a)),o++,s+=p.newLines-p.oldLines;else if(d(v,p))r.hunks.push(f(v,s)),i++,a+=v.newLines-v.oldLines;else{var m={oldStart:Math.min(p.oldStart,v.oldStart),oldLines:0,newStart:Math.min(p.newStart+a,v.oldStart+s),newLines:0,lines:[]};h(m,p.oldStart,p.lines,v.oldStart,v.lines),i++,o++,r.hunks.push(m)}}return r};var r=n(14),o=n(11),i=n(15);function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function s(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function c(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return((0,r.structuredPatch)(void 0,void 0,t,e))}return e}function l(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function d(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function f(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function h(e,t,n,r,o){var i={offset:t,lines:n,index:0},c={offset:r,lines:o,index:0};for(b(e,i,c),b(e,c,i);i.index<i.lines.length&&c.index<c.lines.length;){var l=i.lines[i.index],u=c.lines[c.index];if("-"!==l[0]&&"+"!==l[0]||"-"!==u[0]&&"+"!==u[0])if("+"===l[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,a(y(i)))}else if("+"===u[0]&&" "===l[0]){var f;(f=e.lines).push.apply(f,a(y(c)))}else"-"===l[0]&&" "===u[0]?v(e,i,c):"-"===u[0]&&" "===l[0]?v(e,c,i,!0):l===u?(e.lines.push(l),i.index++,c.index++):m(e,y(i),y(c));else p(e,i,c)}g(e,i),g(e,c),s(e)}function p(e,t,n){var r=y(t),o=y(n);if(k(r)&&k(o)){var s,c;if((0,i.arrayStartsWith)(r,o)&&_(n,r,r.length-o.length))return void(s=e.lines).push.apply(s,a(r));if((0,i.arrayStartsWith)(o,r)&&_(t,o,o.length-r.length))return void(c=e.lines).push.apply(c,a(o))}else if((0,i.arrayEqual)(r,o)){var l;return void(l=e.lines).push.apply(l,a(r))}m(e,r,o)}function v(e,t,n,r){var o,i=y(t),s=function(e,t){for(var n=[],r=[],o=0,i=!1,a=!1;o<t.length&&e.index<e.lines.length;){var s=e.lines[e.index],c=t[o];if("+"===c[0])break;if(i=i||" "!==s[0],r.push(c),o++,"+"===s[0])for(a=!0;"+"===s[0];)n.push(s),s=e.lines[++e.index];c.substr(1)===s.substr(1)?(n.push(s),e.index++):a=!0}if("+"===(t[o]||"")[0]&&i&&(a=!0),a)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);s.merged?(o=e.lines).push.apply(o,a(s.merged)):m(e,r?s:i,r?i:s)}function m(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function b(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function g(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function y(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function _(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=a,t.createPatch=function(e,t,n,r,o,i){return a(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,a,s,c){c||(c={}),void 0===c.context&&(c.context=4);var l=(0,r.diffLines)(n,i,c);function u(e){return e.map((function(e){return" "+e}))}l.push({value:"",lines:[]});for(var d=[],f=0,h=0,p=[],v=1,m=1,b=function(e){var t=l[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var a;if(!f){var s=l[e-1];f=v,h=m,s&&(p=c.context>0?u(s.lines.slice(-c.context)):[],f-=p.length,h-=p.length)}(a=p).push.apply(a,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:v+=r.length}else{if(f)if(r.length<=2*c.context&&e<l.length-2){var b;(b=p).push.apply(b,o(u(r)))}else{var g,y=Math.min(r.length,c.context);(g=p).push.apply(g,o(u(r.slice(0,y))));var k={oldStart:f,oldLines:v-f+y,newStart:h,newLines:m-h+y,lines:p};if(e>=l.length-2&&r.length<=c.context){var _=/\n$/.test(n),w=/\n$/.test(i);0!=r.length||_?_&&w||p.push("\\ No newline at end of file"):p.splice(k.oldLines,0,"\\ No newline at end of file")}d.push(k),f=0,h=0,p=[]}v+=r.length,m+=r.length}},g=0;g<l.length;g++)b(g);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:s,hunks:d}}function a(e,t,n,r,o,a,s){var c=i(e,t,n,r,o,a,s),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+c.oldFileName+(void 0===c.oldHeader?"":"\t"+c.oldHeader)),l.push("+++ "+c.newFileName+(void 0===c.newHeader?"":"\t"+c.newHeader));for(var u=0;u<c.hunks.length;u++){var d=c.hunks[u];l.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),l.push.apply(l,d.lines)}return l.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],s=!0;return function e(d){var f=n?i(d):d,h={},p=!0,v={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){v.isRoot||(v.parent.node[v.key]=e),v.node=e,t&&(p=!1)},delete:function(e){delete v.parent.node[v.key],e&&(p=!1)},remove:function(e){c(v.parent.node)?v.parent.node.splice(v.key,1):delete v.parent.node[v.key],e&&(p=!1)},keys:null,before:function(e){h.before=e},after:function(e){h.after=e},pre:function(e){h.pre=e},post:function(e){h.post=e},stop:function(){s=!1},block:function(){p=!1}};if(!s)return v;function m(){if("object"==typeof v.node&&null!==v.node){v.keys&&v.node_===v.node||(v.keys=a(v.node)),v.isLeaf=0==v.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){v.circular=o[e];break}}else v.isLeaf=!0,v.keys=null;v.notLeaf=!v.isLeaf,v.notRoot=!v.isRoot}m();var b=t.call(v,v.node);return void 0!==b&&v.update&&v.update(b),h.before&&h.before.call(v,v.node),p?("object"!=typeof v.node||null===v.node||v.circular||(o.push(v),m(),l(v.keys,(function(t,o){r.push(t),h.pre&&h.pre.call(v,v.node[t],t);var i=e(v.node[t]);n&&u.call(v.node,t)&&(v.node[t]=i.node),i.isLast=o==v.keys.length-1,i.isFirst=0==o,h.post&&h.post.call(v,i),r.pop()})),o.pop()),h.after&&h.after.call(v,v.node),v):v}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(c(e))t=[];else if("[object Date]"===s(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===s(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===s(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===s(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===s(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===s(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return l(a(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var s=i(r);return e.push(r),t.push(s),l(a(r),(function(e){s[e]=n(r[e])})),e.pop(),t.pop(),s}return r}(this.value)};var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function s(e){return Object.prototype.toString.call(e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};l(a(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},function(e,t,n){"use strict";var r=n(59),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,l=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,d=o?Symbol.for("react.context"):60110,f=o?Symbol.for("react.concurrent_mode"):60111,h=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,v=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function g(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);g(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_={};function w(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}function O(){}function S(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||k}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},O.prototype=w.prototype;var E=S.prototype=new O;E.constructor=S,r(E,w.prototype),E.isPureReactComponent=!0;var C={current:null},T={current:null},x=Object.prototype.hasOwnProperty,D={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r=void 0,o={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!D.hasOwnProperty(r)&&(o[r]=t[r]);var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===o[r]&&(o[r]=c[r]);return{$$typeof:i,type:e,key:a,ref:s,props:o,_owner:T.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var I=/\/+/g,P=[];function N(e,t,n,r){if(P.length){var o=P.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function L(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case i:case a:c=!0}}if(c)return r(o,t,""===n?"."+A(t,0):n),1;if(c=0,n=""===n?".":n+":",Array.isArray(t))for(var l=0;l<t.length;l++){var u=n+A(s=t[l],l);c+=e(s,u,r,o)}else if(null===t||"object"!=typeof t?u=null:u="function"==typeof(u=b&&t[b]||t["@@iterator"])?u:null,"function"==typeof u)for(t=u.call(t),l=0;!(s=t.next()).done;)c+=e(s=s.value,u=n+A(s,l++),r,o);else"object"===s&&y("31","[object Object]"===(r=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return c}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function z(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,r,n,(function(e){return e})):null!=e&&(j(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(I,"$&/")+"/")+n)),r.push(e))}function H(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(I,"$&/")+"/"),L(e,F,t=N(t,i,r,o)),R(t)}function V(){var e=C.current;return null===e&&y("321"),e}var B={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return H(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;L(e,z,t=N(null,null,t,n)),R(t)},count:function(e){return L(e,(function(){return null}),null)},toArray:function(e){var t=[];return H(e,t,null,(function(e){return e})),t},only:function(e){return j(e)||y("143"),e}},createRef:function(){return{current:null}},Component:w,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return V().useCallback(e,t)},useContext:function(e,t){return V().useContext(e,t)},useEffect:function(e,t){return V().useEffect(e,t)},useImperativeHandle:function(e,t,n){return V().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return V().useLayoutEffect(e,t)},useMemo:function(e,t){return V().useMemo(e,t)},useReducer:function(e,t,n){return V().useReducer(e,t,n)},useRef:function(e){return V().useRef(e)},useState:function(e){return V().useState(e)},Fragment:s,StrictMode:c,Suspense:p,createElement:M,cloneElement:function(e,t,n){null==e&&y("267",e);var o=void 0,a=r({},e.props),s=e.key,c=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,l=T.current),void 0!==t.key&&(s=""+t.key);var u=void 0;for(o in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)x.call(t,o)&&!D.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==u?u[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){u=Array(o);for(var d=0;d<o;d++)u[d]=arguments[d+2];a.children=u}return{$$typeof:i,type:e.type,key:s,ref:c,props:a,_owner:l}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:j,version:"16.8.6",unstable_ConcurrentMode:f,unstable_Profiler:l,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:C,ReactCurrentOwner:T,assign:r}},U={default:B},W=U&&B||U;e.exports=W.default||W},function(e,t,n){"use strict";var r=n(1),o=n(59),i=n(142);function a(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function s(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);a(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function c(e,t,n,r,o,i,a,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(u){this.onError(u)}}r||s("227");var l=!1,u=null,d=!1,f=null,h={onError:function(e){l=!0,u=e}};function p(e,t,n,r,o,i,a,s,d){l=!1,u=null,c.apply(h,arguments)}var v=null,m={};function b(){if(v)for(var e in m){var t=m[e],n=v.indexOf(e);if(-1<n||s("96",e),!y[n])for(var r in t.extractEvents||s("97",e),y[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,c=r;k.hasOwnProperty(c)&&s("99",c),k[c]=i;var l=i.phasedRegistrationNames;if(l){for(o in l)l.hasOwnProperty(o)&&g(l[o],a,c);o=!0}else i.registrationName?(g(i.registrationName,a,c),o=!0):o=!1;o||s("98",r,e)}}}function g(e,t,n){_[e]&&s("100",e),_[e]=t,w[e]=t.eventTypes[n].dependencies}var y=[],k={},_={},w={},O=null,S=null,E=null;function C(e,t,n){var r=e.type||"unknown-event";e.currentTarget=E(n),function(e,t,n,r,o,i,a,c,h){if(p.apply(this,arguments),l){if(l){var v=u;l=!1,u=null}else s("198"),v=void 0;d||(d=!0,f=v)}}(r,t,void 0,e),e.currentTarget=null}function T(e,t){return null==t&&s("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function x(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var D=null;function M(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)C(e,t[r],n[r]);else t&&C(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var j={injectEventPluginOrder:function(e){v&&s("101"),v=Array.prototype.slice.call(e),b()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];m.hasOwnProperty(t)&&m[t]===r||(m[t]&&s("102",t),m[t]=r,n=!0)}n&&b()}};function I(e,t){var n=e.stateNode;if(!n)return null;var r=O(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&s("231",t,typeof n),n)}function P(e){if(null!==e&&(D=T(D,e)),e=D,D=null,e&&(x(e,M),D&&s("95"),d))throw e=f,d=!1,f=null,e}var N=Math.random().toString(36).slice(2),R="__reactInternalInstance$"+N,L="__reactEventHandlers$"+N;function A(e){if(e[R])return e[R];for(;!e[R];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[R]).tag||6===e.tag?e:null}function z(e){return!(e=e[R])||5!==e.tag&&6!==e.tag?null:e}function F(e){if(5===e.tag||6===e.tag)return e.stateNode;s("33")}function H(e){return e[L]||null}function V(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function B(e,t,n){(t=I(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function U(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=V(t);for(t=n.length;0<t--;)B(n[t],"captured",e);for(t=0;t<n.length;t++)B(n[t],"bubbled",e)}}function W(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=I(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=T(n._dispatchListeners,t),n._dispatchInstances=T(n._dispatchInstances,e))}function K(e){e&&e.dispatchConfig.registrationName&&W(e._targetInst,null,e)}function Y(e){x(e,U)}var $=!("undefined"==typeof window||!window.document||!window.document.createElement);function q(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var G={animationend:q("Animation","AnimationEnd"),animationiteration:q("Animation","AnimationIteration"),animationstart:q("Animation","AnimationStart"),transitionend:q("Transition","TransitionEnd")},Z={},X={};function Q(e){if(Z[e])return Z[e];if(!G[e])return e;var t,n=G[e];for(t in n)if(n.hasOwnProperty(t)&&t in X)return Z[e]=n[t];return e}$&&(X=document.createElement("div").style,"AnimationEvent"in window||(delete G.animationend.animation,delete G.animationiteration.animation,delete G.animationstart.animation),"TransitionEvent"in window||delete G.transitionend.transition);var J=Q("animationend"),ee=Q("animationiteration"),te=Q("animationstart"),ne=Q("transitionend"),re="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oe=null,ie=null,ae=null;function se(){if(ae)return ae;var e,t,n=ie,r=n.length,o="value"in oe?oe.value:oe.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return ae=o.slice(e,1<t?1-t:void 0)}function ce(){return!0}function le(){return!1}function ue(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ce:le,this.isPropagationStopped=le,this}function de(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function fe(e){e instanceof this||s("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function he(e){e.eventPool=[],e.getPooled=de,e.release=fe}o(ue.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ce)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ce)},persist:function(){this.isPersistent=ce},isPersistent:le,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=le,this._dispatchInstances=this._dispatchListeners=null}}),ue.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ue.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,he(n),n},he(ue);var pe=ue.extend({data:null}),ve=ue.extend({data:null}),me=[9,13,27,32],be=$&&"CompositionEvent"in window,ge=null;$&&"documentMode"in document&&(ge=document.documentMode);var ye=$&&"TextEvent"in window&&!ge,ke=$&&(!be||ge&&8<ge&&11>=ge),_e=String.fromCharCode(32),we={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Oe=!1;function Se(e,t){switch(e){case"keyup":return-1!==me.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ee(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Ce=!1;var Te={eventTypes:we,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(be)e:{switch(e){case"compositionstart":o=we.compositionStart;break e;case"compositionend":o=we.compositionEnd;break e;case"compositionupdate":o=we.compositionUpdate;break e}o=void 0}else Ce?Se(e,n)&&(o=we.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=we.compositionStart);return o?(ke&&"ko"!==n.locale&&(Ce||o!==we.compositionStart?o===we.compositionEnd&&Ce&&(i=se()):(ie="value"in(oe=r)?oe.value:oe.textContent,Ce=!0)),o=pe.getPooled(o,t,n,r),i?o.data=i:null!==(i=Ee(n))&&(o.data=i),Y(o),i=o):i=null,(e=ye?function(e,t){switch(e){case"compositionend":return Ee(t);case"keypress":return 32!==t.which?null:(Oe=!0,_e);case"textInput":return(e=t.data)===_e&&Oe?null:e;default:return null}}(e,n):function(e,t){if(Ce)return"compositionend"===e||!be&&Se(e,t)?(e=se(),ae=ie=oe=null,Ce=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ke&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=ve.getPooled(we.beforeInput,t,n,r)).data=e,Y(t)):t=null,null===i?t:null===t?i:[i,t]}},xe=null,De=null,Me=null;function je(e){if(e=S(e)){"function"!=typeof xe&&s("280");var t=O(e.stateNode);xe(e.stateNode,e.type,t)}}function Ie(e){De?Me?Me.push(e):Me=[e]:De=e}function Pe(){if(De){var e=De,t=Me;if(Me=De=null,je(e),t)for(e=0;e<t.length;e++)je(t[e])}}function Ne(e,t){return e(t)}function Re(e,t,n){return e(t,n)}function Le(){}var Ae=!1;function ze(e,t){if(Ae)return e(t);Ae=!0;try{return Ne(e,t)}finally{Ae=!1,(null!==De||null!==Me)&&(Le(),Pe())}}var Fe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function He(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fe[e.type]:"textarea"===t}function Ve(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Be(e){if(!$)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function Ue(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function We(e){e._valueTracker||(e._valueTracker=function(e){var t=Ue(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ue(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ye=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ye.hasOwnProperty("ReactCurrentDispatcher")||(Ye.ReactCurrentDispatcher={current:null});var $e=/^(.*)[\\\/]/,qe="function"==typeof Symbol&&Symbol.for,Ge=qe?Symbol.for("react.element"):60103,Ze=qe?Symbol.for("react.portal"):60106,Xe=qe?Symbol.for("react.fragment"):60107,Qe=qe?Symbol.for("react.strict_mode"):60108,Je=qe?Symbol.for("react.profiler"):60114,et=qe?Symbol.for("react.provider"):60109,tt=qe?Symbol.for("react.context"):60110,nt=qe?Symbol.for("react.concurrent_mode"):60111,rt=qe?Symbol.for("react.forward_ref"):60112,ot=qe?Symbol.for("react.suspense"):60113,it=qe?Symbol.for("react.memo"):60115,at=qe?Symbol.for("react.lazy"):60116,st="function"==typeof Symbol&&Symbol.iterator;function ct(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=st&&e[st]||e["@@iterator"])?e:null}function lt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case nt:return"ConcurrentMode";case Xe:return"Fragment";case Ze:return"Portal";case Je:return"Profiler";case Qe:return"StrictMode";case ot:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case tt:return"Context.Consumer";case et:return"Context.Provider";case rt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case it:return lt(e.type);case at:if(e=1===e._status?e._result:null)return lt(e)}return null}function ut(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=lt(e.type);n=null,r&&(n=lt(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace($e,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var dt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ft=Object.prototype.hasOwnProperty,ht={},pt={};function vt(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){mt[e]=new vt(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];mt[t]=new vt(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){mt[e]=new vt(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){mt[e]=new vt(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){mt[e]=new vt(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){mt[e]=new vt(e,3,!0,e,null)})),["capture","download"].forEach((function(e){mt[e]=new vt(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){mt[e]=new vt(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){mt[e]=new vt(e,5,!1,e.toLowerCase(),null)}));var bt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function yt(e,t,n,r){var o=mt.hasOwnProperty(t)?mt[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!ft.call(pt,e)||!ft.call(ht,e)&&(dt.test(e)?pt[e]=!0:(ht[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function kt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function _t(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function wt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=kt(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ot(e,t){null!=(t=t.checked)&&yt(e,"checked",t,!1)}function St(e,t){Ot(e,t);var n=kt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ct(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ct(e,t.type,kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Et(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ct(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(bt,gt);mt[t]=new vt(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(bt,gt);mt[t]=new vt(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(bt,gt);mt[t]=new vt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){mt[e]=new vt(e,1,!1,e.toLowerCase(),null)}));var Tt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function xt(e,t,n){return(e=ue.getPooled(Tt.change,e,t,n)).type="change",Ie(n),Y(e),e}var Dt=null,Mt=null;function jt(e){P(e)}function It(e){if(Ke(F(e)))return e}function Pt(e,t){if("change"===e)return t}var Nt=!1;function Rt(){Dt&&(Dt.detachEvent("onpropertychange",Lt),Mt=Dt=null)}function Lt(e){"value"===e.propertyName&&It(Mt)&&ze(jt,e=xt(Mt,e,Ve(e)))}function At(e,t,n){"focus"===e?(Rt(),Mt=n,(Dt=t).attachEvent("onpropertychange",Lt)):"blur"===e&&Rt()}function zt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return It(Mt)}function Ft(e,t){if("click"===e)return It(t)}function Ht(e,t){if("input"===e||"change"===e)return It(t)}$&&(Nt=Be("input")&&(!document.documentMode||9<document.documentMode));var Vt={eventTypes:Tt,_isInputEventSupported:Nt,extractEvents:function(e,t,n,r){var o=t?F(t):window,i=void 0,a=void 0,s=o.nodeName&&o.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===o.type?i=Pt:He(o)?Nt?i=Ht:(i=zt,a=At):(s=o.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Ft),i&&(i=i(e,t)))return xt(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ct(o,"number",o.value)}},Bt=ue.extend({view:null,detail:null}),Ut={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ut[e])&&!!t[e]}function Kt(){return Wt}var Yt=0,$t=0,qt=!1,Gt=!1,Zt=Bt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Kt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Yt;return Yt=e.screenX,qt?"mousemove"===e.type?e.screenX-t:0:(qt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=$t;return $t=e.screenY,Gt?"mousemove"===e.type?e.screenY-t:0:(Gt=!0,0)}}),Xt=Zt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Qt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Jt={eventTypes:Qt,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?A(t):null):i=null,i===t)return null;var a=void 0,s=void 0,c=void 0,l=void 0;"mouseout"===e||"mouseover"===e?(a=Zt,s=Qt.mouseLeave,c=Qt.mouseEnter,l="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Xt,s=Qt.pointerLeave,c=Qt.pointerEnter,l="pointer");var u=null==i?o:F(i);if(o=null==t?o:F(t),(e=a.getPooled(s,i,n,r)).type=l+"leave",e.target=u,e.relatedTarget=o,(n=a.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=u,r=t,i&&r)e:{for(o=r,l=0,a=t=i;a;a=V(a))l++;for(a=0,c=o;c;c=V(c))a++;for(;0<l-a;)t=V(t),l--;for(;0<a-l;)o=V(o),a--;for(;l--;){if(t===o||t===o.alternate)break e;t=V(t),o=V(o)}t=null}else t=null;for(o=t,t=[];i&&i!==o&&(null===(l=i.alternate)||l!==o);)t.push(i),i=V(i);for(i=[];r&&r!==o&&(null===(l=r.alternate)||l!==o);)i.push(r),r=V(r);for(r=0;r<t.length;r++)W(t[r],"bubbled",e);for(r=i.length;0<r--;)W(i[r],"captured",n);return[e,n]}};function en(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var tn=Object.prototype.hasOwnProperty;function nn(e,t){if(en(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!tn.call(t,n[r])||!en(e[n[r]],t[n[r]]))return!1;return!0}function rn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function on(e){2!==rn(e)&&s("188")}function an(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=rn(e))&&s("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var a=o.child;a;){if(a===n)return on(o),e;if(a===r)return on(o),t;a=a.sibling}s("188")}if(n.return!==r.return)n=o,r=i;else{a=!1;for(var c=o.child;c;){if(c===n){a=!0,n=o,r=i;break}if(c===r){a=!0,r=o,n=i;break}c=c.sibling}if(!a){for(c=i.child;c;){if(c===n){a=!0,n=i,r=o;break}if(c===r){a=!0,r=i,n=o;break}c=c.sibling}a||s("189")}}n.alternate!==r&&s("190")}return 3!==n.tag&&s("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var sn=ue.extend({animationName:null,elapsedTime:null,pseudoElement:null}),cn=ue.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ln=Bt.extend({relatedTarget:null});function un(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hn=Bt.extend({key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=un(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Kt,charCode:function(e){return"keypress"===e.type?un(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?un(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),pn=Zt.extend({dataTransfer:null}),vn=Bt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kt}),mn=ue.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),bn=Zt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),gn=[["abort","abort"],[J,"animationEnd"],[ee,"animationIteration"],[te,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ne,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],yn={},kn={};function _n(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},yn[e]=t,kn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach((function(e){_n(e,!0)})),gn.forEach((function(e){_n(e,!1)}));var wn={eventTypes:yn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=kn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=kn[e];if(!o)return null;switch(e){case"keypress":if(0===un(n))return null;case"keydown":case"keyup":e=hn;break;case"blur":case"focus":e=ln;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Zt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=vn;break;case J:case ee:case te:e=sn;break;case ne:e=mn;break;case"scroll":e=Bt;break;case"wheel":e=bn;break;case"copy":case"cut":case"paste":e=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Xt;break;default:e=ue}return Y(t=e.getPooled(o,t,n,r)),t}},On=wn.isInteractiveTopLevelEventType,Sn=[];function En(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=A(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=Ve(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=null,s=0;s<y.length;s++){var c=y[s];c&&(c=c.extractEvents(r,t,i,o))&&(a=T(a,c))}P(a)}}var Cn=!0;function Tn(e,t){if(!t)return null;var n=(On(e)?Dn:Mn).bind(null,e);t.addEventListener(e,n,!1)}function xn(e,t){if(!t)return null;var n=(On(e)?Dn:Mn).bind(null,e);t.addEventListener(e,n,!0)}function Dn(e,t){Re(Mn,e,t)}function Mn(e,t){if(Cn){var n=Ve(t);if(null===(n=A(n))||"number"!=typeof n.tag||2===rn(n)||(n=null),Sn.length){var r=Sn.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{ze(En,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Sn.length&&Sn.push(e)}}}var jn={},In=0,Pn="_reactListenersID"+(""+Math.random()).slice(2);function Nn(e){return Object.prototype.hasOwnProperty.call(e,Pn)||(e[Pn]=In++,jn[e[Pn]]={}),jn[e[Pn]]}function Rn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(Vs){return e.body}}function Ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function An(e,t){var n,r=Ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ln(r)}}function zn(){for(var e=window,t=Rn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Rn((e=t.contentWindow).document)}return t}function Fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Hn(e){var t=zn(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==r&&Fn(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=An(n,i);var a=An(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Vn=$&&"documentMode"in document&&11>=document.documentMode,Bn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Un=null,Wn=null,Kn=null,Yn=!1;function $n(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yn||null==Un||Un!==Rn(n)?null:("selectionStart"in(n=Un)&&Fn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kn&&nn(Kn,n)?null:(Kn=n,(e=ue.getPooled(Bn.select,Wn,e,t)).type="select",e.target=Un,Y(e),e))}var qn={eventTypes:Bn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Nn(i),o=w.onSelect;for(var a=0;a<o.length;a++){var s=o[a];if(!i.hasOwnProperty(s)||!i[s]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?F(t):window,e){case"focus":(He(i)||"true"===i.contentEditable)&&(Un=i,Wn=t,Kn=null);break;case"blur":Kn=Wn=Un=null;break;case"mousedown":Yn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yn=!1,$n(n,r);case"selectionchange":if(Vn)break;case"keydown":case"keyup":return $n(n,r)}return null}};function Gn(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Zn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+kt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Xn(e,t){return null!=t.dangerouslySetInnerHTML&&s("91"),o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Qn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&s("92"),Array.isArray(t)&&(1>=t.length||s("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:kt(n)}}function Jn(e,t){var n=kt(t.value),r=kt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function er(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}j.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),O=H,S=z,E=F,j.injectEventPluginsByName({SimpleEventPlugin:wn,EnterLeaveEventPlugin:Jt,ChangeEventPlugin:Vt,SelectEventPlugin:qn,BeforeInputEventPlugin:Te});var tr="http://www.w3.org/1999/xhtml",nr="http://www.w3.org/2000/svg";function rr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function or(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?rr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ir=void 0,ar=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==nr||"innerHTML"in e)e.innerHTML=t;else{for((ir=ir||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function sr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var cr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lr=["Webkit","ms","Moz","O"];function ur(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||cr.hasOwnProperty(e)&&cr[e]?(""+t).trim():t+"px"}function dr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ur(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(cr).forEach((function(e){lr.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),cr[t]=cr[e]}))}));var fr=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hr(e,t){t&&(fr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&s("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&s("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||s("61")),null!=t.style&&"object"!=typeof t.style&&s("62",""))}function pr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function vr(e,t){var n=Nn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=w[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":xn("scroll",e);break;case"focus":case"blur":xn("focus",e),xn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":Be(o)&&xn(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===re.indexOf(o)&&Tn(o,e)}n[o]=!0}}}function mr(){}var br=null,gr=null;function yr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var _r="function"==typeof setTimeout?setTimeout:void 0,wr="function"==typeof clearTimeout?clearTimeout:void 0,Or=i.unstable_scheduleCallback,Sr=i.unstable_cancelCallback;function Er(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Cr(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Tr=[],xr=-1;function Dr(e){0>xr||(e.current=Tr[xr],Tr[xr]=null,xr--)}function Mr(e,t){xr++,Tr[xr]=e.current,e.current=t}var jr={},Ir={current:jr},Pr={current:!1},Nr=jr;function Rr(e,t){var n=e.type.contextTypes;if(!n)return jr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Lr(e){return null!=(e=e.childContextTypes)}function Ar(e){Dr(Pr),Dr(Ir)}function zr(e){Dr(Pr),Dr(Ir)}function Fr(e,t,n){Ir.current!==jr&&s("168"),Mr(Ir,t),Mr(Pr,n)}function Hr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())i in e||s("108",lt(t)||"Unknown",i);return o({},n,r)}function Vr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||jr,Nr=Ir.current,Mr(Ir,t),Mr(Pr,Pr.current),!0}function Br(e,t,n){var r=e.stateNode;r||s("169"),n?(t=Hr(e,t,Nr),r.__reactInternalMemoizedMergedChildContext=t,Dr(Pr),Dr(Ir),Mr(Ir,t)):Dr(Pr),Mr(Pr,n)}var Ur=null,Wr=null;function Kr(e){return function(t){try{return e(t)}catch(n){}}}function Yr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function $r(e,t,n,r){return new Yr(e,t,n,r)}function qr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Gr(e,t){var n=e.alternate;return null===n?((n=$r(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zr(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)qr(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Xe:return Xr(n.children,o,i,t);case nt:return Qr(n,3|o,i,t);case Qe:return Qr(n,2|o,i,t);case Je:return(e=$r(12,n,t,4|o)).elementType=Je,e.type=Je,e.expirationTime=i,e;case ot:return(e=$r(13,n,t,o)).elementType=ot,e.type=ot,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case et:a=10;break e;case tt:a=9;break e;case rt:a=11;break e;case it:a=14;break e;case at:a=16,r=null;break e}s("130",null==e?e:typeof e,"")}return(t=$r(a,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Xr(e,t,n,r){return(e=$r(7,e,r,t)).expirationTime=n,e}function Qr(e,t,n,r){return e=$r(8,e,r,t),t=0==(1&t)?Qe:nt,e.elementType=t,e.type=t,e.expirationTime=n,e}function Jr(e,t,n){return(e=$r(6,e,null,t)).expirationTime=n,e}function eo(e,t,n){return(t=$r(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function to(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),oo(t,e)}function no(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,r=e.latestPendingTime;n===t?e.earliestPendingTime=r===t?e.latestPendingTime=0:r:r===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,r=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:r>t&&(e.latestSuspendedTime=t),oo(t,e)}function ro(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function oo(e,t){var n=t.earliestSuspendedTime,r=t.latestSuspendedTime,o=t.earliestPendingTime,i=t.latestPingedTime;0===(o=0!==o?o:i)&&(0===e||r<e)&&(o=r),0!==(e=o)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=o,t.expirationTime=e}function io(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var ao=(new r.Component).refs;function so(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var co={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===rn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ms(),o=Bi(r=Va(r,e));o.payload=t,null!=n&&(o.callback=n),Ra(),Wi(e,o),Ka(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ms(),o=Bi(r=Va(r,e));o.tag=Ai,o.payload=t,null!=n&&(o.callback=n),Ra(),Wi(e,o),Ka(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ms(),r=Bi(n=Va(n,e));r.tag=zi,null!=t&&(r.callback=t),Ra(),Wi(e,r),Ka(e,n)}};function lo(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!nn(n,r)||!nn(o,i))}function uo(e,t,n){var r=!1,o=jr,i=t.contextType;return"object"==typeof i&&null!==i?i=Li(i):(o=Lr(t)?Nr:Ir.current,i=(r=null!=(r=t.contextTypes))?Rr(e,o):jr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=co,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function fo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&co.enqueueReplaceState(t,t.state,null)}function ho(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ao;var i=t.contextType;"object"==typeof i&&null!==i?o.context=Li(i):(i=Lr(t)?Nr:Ir.current,o.context=Rr(e,i)),null!==(i=e.updateQueue)&&(qi(e,i,n,o,r),o.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(so(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&co.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(qi(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var po=Array.isArray;function vo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(1!==n.tag&&s("309"),r=n.stateNode),r||s("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===ao&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&s("284"),n._owner||s("290",e)}return e}function mo(e,t){"textarea"!==e.type&&s("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function bo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=Gr(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function a(t){return e&&null===t.alternate&&(t.effectTag=2),t}function c(e,t,n,r){return null===t||6!==t.tag?((t=Jr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=vo(e,t,n),r.return=e,r):((r=Zr(n.type,n.key,n.props,null,e.mode,r)).ref=vo(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=eo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Xr(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Jr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ge:return(n=Zr(t.type,t.key,t.props,null,e.mode,n)).ref=vo(e,null,t),n.return=e,n;case Ze:return(t=eo(t,e.mode,n)).return=e,t}if(po(t)||ct(t))return(t=Xr(t,e.mode,n,null)).return=e,t;mo(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:c(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ge:return n.key===o?n.type===Xe?d(e,t,n.props.children,r,o):l(e,t,n,r):null;case Ze:return n.key===o?u(e,t,n,r):null}if(po(n)||ct(n))return null!==o?null:d(e,t,n,r,null);mo(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return c(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ge:return e=e.get(null===r.key?n:r.key)||null,r.type===Xe?d(t,e,r.props.children,o,r.key):l(t,e,r,o);case Ze:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(po(r)||ct(r))return d(t,e=e.get(n)||null,r,o,null);mo(t,r)}return null}function v(o,a,s,c){for(var l=null,u=null,d=a,v=a=0,m=null;null!==d&&v<s.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var b=h(o,d,s[v],c);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(o,d),a=i(b,a,v),null===u?l=b:u.sibling=b,u=b,d=m}if(v===s.length)return n(o,d),l;if(null===d){for(;v<s.length;v++)(d=f(o,s[v],c))&&(a=i(d,a,v),null===u?l=d:u.sibling=d,u=d);return l}for(d=r(o,d);v<s.length;v++)(m=p(d,o,v,s[v],c))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),a=i(m,a,v),null===u?l=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(o,e)})),l}function m(o,a,c,l){var u=ct(c);"function"!=typeof u&&s("150"),null==(c=u.call(c))&&s("151");for(var d=u=null,v=a,m=a=0,b=null,g=c.next();null!==v&&!g.done;m++,g=c.next()){v.index>m?(b=v,v=null):b=v.sibling;var y=h(o,v,g.value,l);if(null===y){v||(v=b);break}e&&v&&null===y.alternate&&t(o,v),a=i(y,a,m),null===d?u=y:d.sibling=y,d=y,v=b}if(g.done)return n(o,v),u;if(null===v){for(;!g.done;m++,g=c.next())null!==(g=f(o,g.value,l))&&(a=i(g,a,m),null===d?u=g:d.sibling=g,d=g);return u}for(v=r(o,v);!g.done;m++,g=c.next())null!==(g=p(v,o,m,g.value,l))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),a=i(g,a,m),null===d?u=g:d.sibling=g,d=g);return e&&v.forEach((function(e){return t(o,e)})),u}return function(e,r,i,c){var l="object"==typeof i&&null!==i&&i.type===Xe&&null===i.key;l&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Ge:e:{for(u=i.key,l=r;null!==l;){if(l.key===u){if(7===l.tag?i.type===Xe:l.elementType===i.type){n(e,l.sibling),(r=o(l,i.type===Xe?i.props.children:i.props)).ref=vo(e,l,i),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}i.type===Xe?((r=Xr(i.props.children,e.mode,c,i.key)).return=e,e=r):((c=Zr(i.type,i.key,i.props,null,e.mode,c)).ref=vo(e,r,i),c.return=e,e=c)}return a(e);case Ze:e:{for(l=i.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=eo(i,e.mode,c)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Jr(i,e.mode,c)).return=e,e=r),a(e);if(po(i))return v(e,r,i,c);if(ct(i))return m(e,r,i,c);if(u&&mo(e,i),void 0===i&&!l)switch(e.tag){case 1:case 0:s("152",(c=e.type).displayName||c.name||"Component")}return n(e,r)}}var go=bo(!0),yo=bo(!1),ko={},_o={current:ko},wo={current:ko},Oo={current:ko};function So(e){return e===ko&&s("174"),e}function Eo(e,t){Mr(Oo,t),Mr(wo,e),Mr(_o,ko);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:or(null,"");break;default:t=or(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Dr(_o),Mr(_o,t)}function Co(e){Dr(_o),Dr(wo),Dr(Oo)}function To(e){So(Oo.current);var t=So(_o.current),n=or(t,e.type);t!==n&&(Mr(wo,e),Mr(_o,n))}function xo(e){wo.current===e&&(Dr(_o),Dr(wo))}var Do=Ye.ReactCurrentDispatcher,Mo=0,jo=null,Io=null,Po=null,No=null,Ro=null,Lo=null,Ao=0,zo=null,Fo=0,Ho=!1,Vo=null,Bo=0;function Uo(){s("321")}function Wo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!en(e[n],t[n]))return!1;return!0}function Ko(e,t,n,r,o,i){if(Mo=i,jo=t,Po=null!==e?e.memoizedState:null,Do.current=null===Po?oi:ii,t=n(r,o),Ho){do{Ho=!1,Bo+=1,Po=null!==e?e.memoizedState:null,Lo=No,zo=Ro=Io=null,Do.current=ii,t=n(r,o)}while(Ho);Vo=null,Bo=0}return Do.current=ri,(e=jo).memoizedState=No,e.expirationTime=Ao,e.updateQueue=zo,e.effectTag|=Fo,e=null!==Io&&null!==Io.next,Mo=0,Lo=Ro=No=Po=Io=jo=null,Ao=0,zo=null,Fo=0,e&&s("300"),t}function Yo(){Do.current=ri,Mo=0,Lo=Ro=No=Po=Io=jo=null,Ao=0,zo=null,Fo=0,Ho=!1,Vo=null,Bo=0}function $o(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Ro?No=Ro=e:Ro=Ro.next=e,Ro}function qo(){if(null!==Lo)Lo=(Ro=Lo).next,Po=null!==(Io=Po)?Io.next:null;else{null===Po&&s("310");var e={memoizedState:(Io=Po).memoizedState,baseState:Io.baseState,queue:Io.queue,baseUpdate:Io.baseUpdate,next:null};Ro=null===Ro?No=e:Ro.next=e,Po=Io.next}return Ro}function Go(e,t){return"function"==typeof t?t(e):t}function Zo(e){var t=qo(),n=t.queue;if(null===n&&s("311"),n.lastRenderedReducer=e,0<Bo){var r=n.dispatch;if(null!==Vo){var o=Vo.get(n);if(void 0!==o){Vo.delete(n);var i=t.memoizedState;do{i=e(i,o.action),o=o.next}while(null!==o);return en(i,t.memoizedState)||(mi=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,r]}}return[t.memoizedState,r]}r=n.last;var a=t.baseUpdate;if(i=t.baseState,null!==a?(null!==r&&(r.next=null),r=a.next):r=null!==r?r.next:null,null!==r){var c=o=null,l=r,u=!1;do{var d=l.expirationTime;d<Mo?(u||(u=!0,c=a,o=i),d>Ao&&(Ao=d)):i=l.eagerReducer===e?l.eagerState:e(i,l.action),a=l,l=l.next}while(null!==l&&l!==r);u||(c=a,o=i),en(i,t.memoizedState)||(mi=!0),t.memoizedState=i,t.baseUpdate=c,t.baseState=o,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function Xo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===zo?(zo={lastEffect:null}).lastEffect=e.next=e:null===(t=zo.lastEffect)?zo.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,zo.lastEffect=e),e}function Qo(e,t,n,r){var o=$o();Fo|=e,o.memoizedState=Xo(t,n,void 0,void 0===r?null:r)}function Jo(e,t,n,r){var o=qo();r=void 0===r?null:r;var i=void 0;if(null!==Io){var a=Io.memoizedState;if(i=a.destroy,null!==r&&Wo(r,a.deps))return void Xo(0,n,i,r)}Fo|=e,o.memoizedState=Xo(t,n,i,r)}function ei(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ti(){}function ni(e,t,n){25>Bo||s("301");var r=e.alternate;if(e===jo||null!==r&&r===jo)if(Ho=!0,e={expirationTime:Mo,action:n,eagerReducer:null,eagerState:null,next:null},null===Vo&&(Vo=new Map),void 0===(n=Vo.get(t)))Vo.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Ra();var o=ms(),i={expirationTime:o=Va(o,e),action:n,eagerReducer:null,eagerState:null,next:null},a=t.last;if(null===a)i.next=i;else{var c=a.next;null!==c&&(i.next=c),a.next=i}if(t.last=i,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=r(l,n);if(i.eagerReducer=r,i.eagerState=u,en(u,l))return}catch(d){}Ka(e,o)}}var ri={readContext:Li,useCallback:Uo,useContext:Uo,useEffect:Uo,useImperativeHandle:Uo,useLayoutEffect:Uo,useMemo:Uo,useReducer:Uo,useRef:Uo,useState:Uo,useDebugValue:Uo},oi={readContext:Li,useCallback:function(e,t){return $o().memoizedState=[e,void 0===t?null:t],e},useContext:Li,useEffect:function(e,t){return Qo(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Qo(4,36,ei.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qo(4,36,e,t)},useMemo:function(e,t){var n=$o();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$o();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ni.bind(null,jo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},$o().memoizedState=e},useState:function(e){var t=$o();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Go,lastRenderedState:e}).dispatch=ni.bind(null,jo,e),[t.memoizedState,e]},useDebugValue:ti},ii={readContext:Li,useCallback:function(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Li,useEffect:function(e,t){return Jo(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Jo(4,36,ei.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Jo(4,36,e,t)},useMemo:function(e,t){var n=qo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Wo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Zo,useRef:function(){return qo().memoizedState},useState:function(e){return Zo(Go)},useDebugValue:ti},ai=null,si=null,ci=!1;function li(e,t){var n=$r(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function di(e){if(ci){var t=si;if(t){var n=t;if(!ui(e,t)){if(!(t=Er(n))||!ui(e,t))return e.effectTag|=2,ci=!1,void(ai=e);li(ai,n)}ai=e,si=Cr(t)}else e.effectTag|=2,ci=!1,ai=e}}function fi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;ai=e}function hi(e){if(e!==ai)return!1;if(!ci)return fi(e),ci=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kr(t,e.memoizedProps))for(t=si;t;)li(e,t),t=Er(t);return fi(e),si=ai?Er(e.stateNode):null,!0}function pi(){si=ai=null,ci=!1}var vi=Ye.ReactCurrentOwner,mi=!1;function bi(e,t,n,r){t.child=null===e?yo(t,null,n,r):go(t,e.child,n,r)}function gi(e,t,n,r,o){n=n.render;var i=t.ref;return Ri(t,o),r=Ko(e,t,n,r,i,o),null===e||mi?(t.effectTag|=1,bi(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ti(e,t,o))}function yi(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||qr(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Zr(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ki(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:nn)(o,r)&&e.ref===t.ref)?Ti(e,t,i):(t.effectTag|=1,(e=Gr(a,r)).ref=t.ref,e.return=t,t.child=e)}function ki(e,t,n,r,o,i){return null!==e&&nn(e.memoizedProps,r)&&e.ref===t.ref&&(mi=!1,o<i)?Ti(e,t,i):wi(e,t,n,r,i)}function _i(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function wi(e,t,n,r,o){var i=Lr(n)?Nr:Ir.current;return i=Rr(t,i),Ri(t,o),n=Ko(e,t,n,r,i,o),null===e||mi?(t.effectTag|=1,bi(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ti(e,t,o))}function Oi(e,t,n,r,o){if(Lr(n)){var i=!0;Vr(t)}else i=!1;if(Ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),uo(t,n,r),ho(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var c=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=Li(l):l=Rr(t,l=Lr(n)?Nr:Ir.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&fo(t,a,r,l),Fi=!1;var f=t.memoizedState;c=a.state=f;var h=t.updateQueue;null!==h&&(qi(t,h,r,a,o),c=t.memoizedState),s!==r||f!==c||Pr.current||Fi?("function"==typeof u&&(so(t,n,u,r),c=t.memoizedState),(s=Fi||lo(t,n,s,r,f,c,l))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:io(t.type,s),c=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Li(l):l=Rr(t,l=Lr(n)?Nr:Ir.current),(d="function"==typeof(u=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||c!==l)&&fo(t,a,r,l),Fi=!1,c=t.memoizedState,f=a.state=c,null!==(h=t.updateQueue)&&(qi(t,h,r,a,o),f=t.memoizedState),s!==r||c!==f||Pr.current||Fi?("function"==typeof u&&(so(t,n,u,r),f=t.memoizedState),(u=Fi||lo(t,n,s,r,c,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Si(e,t,n,r,i,o)}function Si(e,t,n,r,o,i){_i(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&Br(t,n,!1),Ti(e,t,i);r=t.stateNode,vi.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=go(t,e.child,null,i),t.child=go(t,null,s,i)):bi(e,t,s,i),t.memoizedState=r.state,o&&Br(t,n,!0),t.child}function Ei(e){var t=e.stateNode;t.pendingContext?Fr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fr(0,t.context,!1),Eo(e,t.containerInfo)}function Ci(e,t,n){var r=t.mode,o=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var s=o.fallback;e=Xr(null,r,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),r=Xr(s,r,n,null),e.sibling=r,(n=e).return=r.return=t}else n=r=yo(t,null,o.children,n);else null!==e.memoizedState?(s=(r=e.child).sibling,a?(n=o.fallback,o=Gr(r,r.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==r.child&&(o.child=a)),r=o.sibling=Gr(s,n,s.expirationTime),n=o,o.childExpirationTime=0,n.return=r.return=t):n=r=go(t,r.child,o.children,n)):(s=e.child,a?(a=o.fallback,(o=Xr(null,r,0,null)).child=s,0==(1&t.mode)&&(o.child=null!==t.memoizedState?t.child.child:t.child),(r=o.sibling=Xr(a,r,n,null)).effectTag|=2,n=o,o.childExpirationTime=0,n.return=r.return=t):r=n=go(t,s,o.children,n)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=n,r}function Ti(e,t,n){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&s("153"),null!==t.child){for(n=Gr(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Gr(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function xi(e,t,n){var r=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||Pr.current)mi=!0;else if(r<n){switch(mi=!1,t.tag){case 3:Ei(t),pi();break;case 5:To(t);break;case 1:Lr(t.type)&&Vr(t);break;case 4:Eo(t,t.stateNode.containerInfo);break;case 10:Pi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ci(e,t,n):null!==(t=Ti(e,t,n))?t.sibling:null}return Ti(e,t,n)}}else mi=!1;switch(t.expirationTime=0,t.tag){case 2:r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var o=Rr(t,Ir.current);if(Ri(t,n),o=Ko(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,Yo(),Lr(r)){var i=!0;Vr(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var a=r.getDerivedStateFromProps;"function"==typeof a&&so(t,r,a,e),o.updater=co,t.stateNode=o,o._reactInternalFiber=t,ho(t,r,e,n),t=Si(null,t,r,!0,i,n)}else t.tag=0,bi(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)})),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(o),t.type=e,o=t.tag=function(e){if("function"==typeof e)return qr(e)?1:0;if(null!=e){if((e=e.$$typeof)===rt)return 11;if(e===it)return 14}return 2}(e),i=io(e,i),a=void 0,o){case 0:a=wi(null,t,e,i,n);break;case 1:a=Oi(null,t,e,i,n);break;case 11:a=gi(null,t,e,i,n);break;case 14:a=yi(null,t,e,io(e.type,i),r,n);break;default:s("306",e,"")}return a;case 0:return r=t.type,o=t.pendingProps,wi(e,t,r,o=t.elementType===r?o:io(r,o),n);case 1:return r=t.type,o=t.pendingProps,Oi(e,t,r,o=t.elementType===r?o:io(r,o),n);case 3:return Ei(t),null===(r=t.updateQueue)&&s("282"),o=null!==(o=t.memoizedState)?o.element:null,qi(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o?(pi(),t=Ti(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(si=Cr(t.stateNode.containerInfo),ai=t,o=ci=!0),o?(t.effectTag|=2,t.child=yo(t,null,r,n)):(bi(e,t,r,n),pi()),t=t.child),t;case 5:return To(t),null===e&&di(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,kr(r,o)?a=null:null!==i&&kr(r,i)&&(t.effectTag|=16),_i(e,t),1!==n&&1&t.mode&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(bi(e,t,a,n),t=t.child),t;case 6:return null===e&&di(t),null;case 13:return Ci(e,t,n);case 4:return Eo(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=go(t,null,r,n):bi(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,gi(e,t,r,o=t.elementType===r?o:io(r,o),n);case 7:return bi(e,t,t.pendingProps,n),t.child;case 8:case 12:return bi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,Pi(t,i=o.value),null!==a){var c=a.value;if(0===(i=en(c,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(c,i):1073741823))){if(a.children===o.children&&!Pr.current){t=Ti(e,t,n);break e}}else for(null!==(c=t.child)&&(c.return=t);null!==c;){var l=c.contextDependencies;if(null!==l){a=c.child;for(var u=l.first;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===c.tag&&((u=Bi(n)).tag=zi,Wi(c,u)),c.expirationTime<n&&(c.expirationTime=n),null!==(u=c.alternate)&&u.expirationTime<n&&(u.expirationTime=n),u=n;for(var d=c.return;null!==d;){var f=d.alternate;if(d.childExpirationTime<u)d.childExpirationTime=u,null!==f&&f.childExpirationTime<u&&(f.childExpirationTime=u);else{if(!(null!==f&&f.childExpirationTime<u))break;f.childExpirationTime=u}d=d.return}l.expirationTime<n&&(l.expirationTime=n);break}u=u.next}}else a=10===c.tag&&c.type===t.type?null:c.child;if(null!==a)a.return=c;else for(a=c;null!==a;){if(a===t){a=null;break}if(null!==(c=a.sibling)){c.return=a.return,a=c;break}a=a.return}c=a}}bi(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,Ri(t,n),r=r(o=Li(o,i.unstable_observedBits)),t.effectTag|=1,bi(e,t,r,n),t.child;case 14:return i=io(o=t.type,t.pendingProps),yi(e,t,o,i=io(o.type,i),r,n);case 15:return ki(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:io(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Lr(r)?(e=!0,Vr(t)):e=!1,Ri(t,n),uo(t,r,o),ho(t,r,o,n),Si(null,t,r,!0,e,n)}s("156")}var Di={current:null},Mi=null,ji=null,Ii=null;function Pi(e,t){var n=e.type._context;Mr(Di,n._currentValue),n._currentValue=t}function Ni(e){var t=Di.current;Dr(Di),e.type._context._currentValue=t}function Ri(e,t){Mi=e,Ii=ji=null;var n=e.contextDependencies;null!==n&&n.expirationTime>=t&&(mi=!0),e.contextDependencies=null}function Li(e,t){return Ii!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Ii=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ji?(null===Mi&&s("308"),ji=t,Mi.contextDependencies={first:t,expirationTime:0}):ji=ji.next=t),e._currentValue}var Ai=1,zi=2,Fi=!1;function Hi(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Vi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Bi(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Ui(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Wi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Hi(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Hi(e.memoizedState),o=n.updateQueue=Hi(n.memoizedState)):r=e.updateQueue=Vi(o):null===o&&(o=n.updateQueue=Vi(r));null===o||r===o?Ui(r,t):null===r.lastUpdate||null===o.lastUpdate?(Ui(r,t),Ui(o,t)):(Ui(r,t),o.lastUpdate=t)}function Ki(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Hi(e.memoizedState):Yi(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Yi(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Vi(t)),t}function $i(e,t,n,r,i,a){switch(n.tag){case Ai:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return o({},r,i);case zi:Fi=!0}return r}function qi(e,t,n,r,o){Fi=!1;for(var i=(t=Yi(e,t)).baseState,a=null,s=0,c=t.firstUpdate,l=i;null!==c;){var u=c.expirationTime;u<o?(null===a&&(a=c,i=l),s<u&&(s=u)):(l=$i(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=c:(t.lastEffect.nextEffect=c,t.lastEffect=c))),c=c.next}for(u=null,c=t.firstCapturedUpdate;null!==c;){var d=c.expirationTime;d<o?(null===u&&(u=c,null===a&&(i=l)),s<d&&(s=d)):(l=$i(e,0,c,l,n,r),null!==c.callback&&(e.effectTag|=32,c.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=c:(t.lastCapturedEffect.nextEffect=c,t.lastCapturedEffect=c))),c=c.next}null===a&&(t.lastUpdate=null),null===u?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===u&&(i=l),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=u,e.expirationTime=s,e.memoizedState=l}function Gi(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Zi(t.firstEffect,n),t.firstEffect=t.lastEffect=null,Zi(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function Zi(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;"function"!=typeof n&&s("191",n),n.call(r)}e=e.nextEffect}}function Xi(e,t){return{value:e,source:t,stack:ut(t)}}function Qi(e){e.effectTag|=4}var Ji,ea,ta;Ji=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ea=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var s=t.stateNode;switch(So(_o.current),e=null,n){case"input":a=_t(s,a),r=_t(s,r),e=[];break;case"option":a=Gn(s,a),r=Gn(s,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Xn(s,a),r=Xn(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=mr)}hr(n,r),s=n=void 0;var c=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var l=a[n];for(s in l)l.hasOwnProperty(s)&&(c||(c={}),c[s]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(_.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var u=r[n];if(l=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&u!==l&&(null!=u||null!=l))if("style"===n)if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(c||(c={}),c[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(c||(c={}),c[s]=u[s])}else c||(e||(e=[]),e.push(n,c)),c=u;else"dangerouslySetInnerHTML"===n?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(e=e||[]).push(n,""+u)):"children"===n?l===u||"string"!=typeof u&&"number"!=typeof u||(e=e||[]).push(n,""+u):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(_.hasOwnProperty(n)?(null!=u&&vr(i,n),e||l===u||(e=[])):(e=e||[]).push(n,u))}c&&(e=e||[]).push("style",c),i=e,(t.updateQueue=i)&&Qi(t)}},ta=function(e,t,n,r){n!==r&&Qi(t)};var na="function"==typeof WeakSet?WeakSet:Set;function ra(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ut(n)),null!==n&<(n.type),t=t.value,null!==e&&1===e.tag&<(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function oa(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){Ha(e,n)}else t.current=null}function ia(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!=(r.tag&e)){var o=r.destroy;r.destroy=void 0,void 0!==o&&o()}0!=(r.tag&t)&&(o=r.create,r.destroy=o()),r=r.next}while(r!==n)}}function aa(e){switch("function"==typeof Wr&&Wr(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n.destroy;if(void 0!==r){var o=e;try{r()}catch(i){Ha(o,i)}}n=n.next}while(n!==t)}break;case 1:if(oa(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(i){Ha(e,i)}break;case 5:oa(e);break;case 4:la(e)}}function sa(e){return 5===e.tag||3===e.tag||4===e.tag}function ca(e){e:{for(var t=e.return;null!==t;){if(sa(t)){var n=t;break e}t=t.return}s("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:s("161")}16&n.effectTag&&(sr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||sa(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,a=o.stateNode,c=n;8===i.nodeType?i.parentNode.insertBefore(a,c):i.insertBefore(a,c)}else t.insertBefore(o.stateNode,n);else r?(a=t,c=o.stateNode,8===a.nodeType?(i=a.parentNode).insertBefore(c,a):(i=a).appendChild(c),null!=(a=a._reactRootContainer)||null!==i.onclick||(i.onclick=mr)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function la(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&s("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,a=i;;)if(aa(a),null!==a.child&&4!==a.tag)a.child.return=a,a=a.child;else{if(a===i)break;for(;null===a.sibling;){if(null===a.return||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o?(i=r,a=t.stateNode,8===i.nodeType?i.parentNode.removeChild(a):i.removeChild(a)):r.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){r=t.stateNode.containerInfo,o=!0,t.child.return=t,t=t.child;continue}}else if(aa(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function ua(e,t){switch(t.tag){case 0:case 11:case 14:case 15:ia(4,8,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,r,o){e[L]=o,"input"===n&&"radio"===o.type&&null!=o.name&&Ot(e,o),pr(n,r),r=pr(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],s=t[i+1];"style"===a?dr(e,s):"dangerouslySetInnerHTML"===a?ar(e,s):"children"===a?sr(e,s):yt(e,a,s,r)}switch(n){case"input":St(e,o);break;case"textarea":Jn(e,o);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,null!=(n=o.value)?Zn(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?Zn(e,!!o.multiple,o.defaultValue,!0):Zn(e,!!o.multiple,o.multiple?[]:"",!1))}}(n,i,o,e,r)}break;case 6:null===t.stateNode&&s("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,r=void 0,e=t,null===n?r=!1:(r=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=ms())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)r.style.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=ur("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(r=n.child.sibling).return=n,n=r;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,r),null!==(n=t.updateQueue)){t.updateQueue=null;var a=t.stateNode;null===a&&(a=t.stateNode=new na),n.forEach((function(e){var n=Ua.bind(null,t,e);a.has(e)||(a.add(e),e.then(n,n))}))}break;case 17:break;default:s("163")}}var da="function"==typeof WeakMap?WeakMap:Map;function fa(e,t,n){(n=Bi(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Cs(r),ra(e,t)},n}function ha(e,t,n){(n=Bi(n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Da?Da=new Set([this]):Da.add(this));var n=t.value,o=t.stack;ra(e,t),this.componentDidCatch(n,{componentStack:null!==o?o:""})}),n}function pa(e){switch(e.tag){case 1:Lr(e.type)&&Ar();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return Co(),zr(),0!=(64&(t=e.effectTag))&&s("285"),e.effectTag=-2049&t|64,e;case 5:return xo(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return Co(),null;case 10:return Ni(e),null;default:return null}}var va=Ye.ReactCurrentDispatcher,ma=Ye.ReactCurrentOwner,ba=1073741822,ga=!1,ya=null,ka=null,_a=0,wa=-1,Oa=!1,Sa=null,Ea=!1,Ca=null,Ta=null,xa=null,Da=null;function Ma(){if(null!==ya)for(var e=ya.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!=n&&Ar();break;case 3:Co(),zr();break;case 5:xo(t);break;case 4:Co();break;case 10:Ni(t)}e=e.return}ka=null,_a=0,wa=-1,Oa=!1,ya=null}function ja(){for(;null!==Sa;){var e=Sa.effectTag;if(16&e&&sr(Sa.stateNode,""),128&e){var t=Sa.alternate;null!==t&&(null!==(t=t.ref)&&("function"==typeof t?t(null):t.current=null))}switch(14&e){case 2:ca(Sa),Sa.effectTag&=-3;break;case 6:ca(Sa),Sa.effectTag&=-3,ua(Sa.alternate,Sa);break;case 4:ua(Sa.alternate,Sa);break;case 8:la(e=Sa),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}Sa=Sa.nextEffect}}function Ia(){for(;null!==Sa;){if(256&Sa.effectTag)e:{var e=Sa.alternate,t=Sa;switch(t.tag){case 0:case 11:case 15:ia(2,0,t);break e;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:io(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break e;case 3:case 5:case 6:case 4:case 17:break e;default:s("163")}}Sa=Sa.nextEffect}}function Pa(e,t){for(;null!==Sa;){var n=Sa.effectTag;if(36&n){var r=Sa.alternate,o=Sa,i=t;switch(o.tag){case 0:case 11:case 15:ia(16,32,o);break;case 1:var a=o.stateNode;if(4&o.effectTag)if(null===r)a.componentDidMount();else{var c=o.elementType===o.type?r.memoizedProps:io(o.type,r.memoizedProps);a.componentDidUpdate(c,r.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}null!==(r=o.updateQueue)&&Gi(0,r,a);break;case 3:if(null!==(r=o.updateQueue)){if(a=null,null!==o.child)switch(o.child.tag){case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}Gi(0,r,a)}break;case 5:i=o.stateNode,null===r&&4&o.effectTag&&yr(o.type,o.memoizedProps)&&i.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:s("163")}}128&n&&(null!==(o=Sa.ref)&&(i=Sa.stateNode,"function"==typeof o?o(i):o.current=i)),512&n&&(Ca=e),Sa=Sa.nextEffect}}function Na(e,t){xa=Ta=Ca=null;var n=Xa;Xa=!0;do{if(512&t.effectTag){var r=!1,o=void 0;try{var i=t;ia(128,0,i),ia(0,64,i)}catch(a){r=!0,o=a}r&&Ha(t,o)}t=t.nextEffect}while(null!==t);Xa=n,0!==(n=e.expirationTime)&&bs(e,n),rs||Xa||ws(1073741823,!1)}function Ra(){null!==Ta&&Sr(Ta),null!==xa&&xa()}function La(e,t){Ea=ga=!0,e.current===t&&s("177");var n=e.pendingCommitExpirationTime;0===n&&s("261"),e.pendingCommitExpirationTime=0;var r=t.expirationTime,o=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var n=e.latestPendingTime;0!==n&&(n>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?to(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,to(e,t)):t>n&&to(e,t)}oo(0,e)}(e,o>r?o:r),ma.current=null,r=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,br=Cn,gr=function(){var e=zn();if(Fn(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch(h){t=null;break e}var i=0,a=-1,s=-1,c=0,l=0,u=e,d=null;t:for(;;){for(var f;u!==t||0!==r&&3!==u.nodeType||(a=i+r),u!==o||0!==n&&3!==u.nodeType||(s=i+n),3===u.nodeType&&(i+=u.nodeValue.length),null!==(f=u.firstChild);)d=u,u=f;for(;;){if(u===e)break t;if(d===t&&++c===r&&(a=i),d===o&&++l===n&&(s=i),null!==(f=u.nextSibling))break;d=(u=d).parentNode}u=f}t=-1===a||-1===s?null:{start:a,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),Cn=!1,Sa=r;null!==Sa;){o=!1;var a=void 0;try{Ia()}catch(l){o=!0,a=l}o&&(null===Sa&&s("178"),Ha(Sa,a),null!==Sa&&(Sa=Sa.nextEffect))}for(Sa=r;null!==Sa;){o=!1,a=void 0;try{ja()}catch(l){o=!0,a=l}o&&(null===Sa&&s("178"),Ha(Sa,a),null!==Sa&&(Sa=Sa.nextEffect))}for(Hn(gr),gr=null,Cn=!!br,br=null,e.current=t,Sa=r;null!==Sa;){o=!1,a=void 0;try{Pa(e,n)}catch(l){o=!0,a=l}o&&(null===Sa&&s("178"),Ha(Sa,a),null!==Sa&&(Sa=Sa.nextEffect))}if(null!==r&&null!==Ca){var c=Na.bind(null,e,r);Ta=i.unstable_runWithPriority(i.unstable_NormalPriority,(function(){return Or(c)})),xa=c}ga=Ea=!1,"function"==typeof Ur&&Ur(t.stateNode),n=t.expirationTime,0===(t=(t=t.childExpirationTime)>n?t:n)&&(Da=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function Aa(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(1024&e.effectTag)){ya=e;e:{var i=t,a=_a,c=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Lr(t.type)&&Ar();break;case 3:Co(),zr(),(c=t.stateNode).pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),null!==i&&null!==i.child||(hi(t),t.effectTag&=-3);break;case 5:xo(t);var l=So(Oo.current);if(a=t.type,null!==i&&null!=t.stateNode)ea(i,t,a,c,l),i.ref!==t.ref&&(t.effectTag|=128);else if(c){var u=So(_o.current);if(hi(t)){i=(c=t).stateNode;var d=c.type,f=c.memoizedProps,h=l;switch(i[R]=c,i[L]=f,a=void 0,l=d){case"iframe":case"object":Tn("load",i);break;case"video":case"audio":for(d=0;d<re.length;d++)Tn(re[d],i);break;case"source":Tn("error",i);break;case"img":case"image":case"link":Tn("error",i),Tn("load",i);break;case"form":Tn("reset",i),Tn("submit",i);break;case"details":Tn("toggle",i);break;case"input":wt(i,f),Tn("invalid",i),vr(h,"onChange");break;case"select":i._wrapperState={wasMultiple:!!f.multiple},Tn("invalid",i),vr(h,"onChange");break;case"textarea":Qn(i,f),Tn("invalid",i),vr(h,"onChange")}for(a in hr(l,f),d=null,f)f.hasOwnProperty(a)&&(u=f[a],"children"===a?"string"==typeof u?i.textContent!==u&&(d=["children",u]):"number"==typeof u&&i.textContent!==""+u&&(d=["children",""+u]):_.hasOwnProperty(a)&&null!=u&&vr(h,a));switch(l){case"input":We(i),Et(i,f,!0);break;case"textarea":We(i),er(i);break;case"select":case"option":break;default:"function"==typeof f.onClick&&(i.onclick=mr)}a=d,c.updateQueue=a,(c=null!==a)&&Qi(t)}else{f=t,h=a,i=c,d=9===l.nodeType?l:l.ownerDocument,u===tr&&(u=rr(h)),u===tr?"script"===h?((i=d.createElement("div")).innerHTML="<script><\/script>",d=i.removeChild(i.firstChild)):"string"==typeof i.is?d=d.createElement(h,{is:i.is}):(d=d.createElement(h),"select"===h&&(h=d,i.multiple?h.multiple=!0:i.size&&(h.size=i.size))):d=d.createElementNS(u,h),(i=d)[R]=f,i[L]=c,Ji(i,t),h=i;var p=l,v=pr(d=a,f=c);switch(d){case"iframe":case"object":Tn("load",h),l=f;break;case"video":case"audio":for(l=0;l<re.length;l++)Tn(re[l],h);l=f;break;case"source":Tn("error",h),l=f;break;case"img":case"image":case"link":Tn("error",h),Tn("load",h),l=f;break;case"form":Tn("reset",h),Tn("submit",h),l=f;break;case"details":Tn("toggle",h),l=f;break;case"input":wt(h,f),l=_t(h,f),Tn("invalid",h),vr(p,"onChange");break;case"option":l=Gn(h,f);break;case"select":h._wrapperState={wasMultiple:!!f.multiple},l=o({},f,{value:void 0}),Tn("invalid",h),vr(p,"onChange");break;case"textarea":Qn(h,f),l=Xn(h,f),Tn("invalid",h),vr(p,"onChange");break;default:l=f}hr(d,l),u=void 0;var m=d,b=h,g=l;for(u in g)if(g.hasOwnProperty(u)){var y=g[u];"style"===u?dr(b,y):"dangerouslySetInnerHTML"===u?null!=(y=y?y.__html:void 0)&&ar(b,y):"children"===u?"string"==typeof y?("textarea"!==m||""!==y)&&sr(b,y):"number"==typeof y&&sr(b,""+y):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(_.hasOwnProperty(u)?null!=y&&vr(p,u):null!=y&&yt(b,u,y,v))}switch(d){case"input":We(h),Et(h,f,!1);break;case"textarea":We(h),er(h);break;case"option":null!=f.value&&h.setAttribute("value",""+kt(f.value));break;case"select":(l=h).multiple=!!f.multiple,null!=(h=f.value)?Zn(l,!!f.multiple,h,!1):null!=f.defaultValue&&Zn(l,!!f.multiple,f.defaultValue,!0);break;default:"function"==typeof l.onClick&&(h.onclick=mr)}(c=yr(a,c))&&Qi(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&s("166");break;case 6:i&&null!=t.stateNode?ta(0,t,i.memoizedProps,c):("string"!=typeof c&&(null===t.stateNode&&s("166")),i=So(Oo.current),So(_o.current),hi(t)?(a=(c=t).stateNode,i=c.memoizedProps,a[R]=c,(c=a.nodeValue!==i)&&Qi(t)):(a=t,(c=(9===i.nodeType?i:i.ownerDocument).createTextNode(c))[R]=t,a.stateNode=c));break;case 11:break;case 13:if(c=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=a,ya=t;break e}c=null!==c,a=null!==i&&null!==i.memoizedState,null!==i&&!c&&a&&(null!==(i=i.child.sibling)&&(null!==(l=t.firstEffect)?(t.firstEffect=i,i.nextEffect=l):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(c||a)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Co();break;case 10:Ni(t);break;case 9:case 14:break;case 17:Lr(t.type)&&Ar();break;case 18:break;default:s("156")}ya=null}if(t=e,1===_a||1!==t.childExpirationTime){for(c=0,a=t.child;null!==a;)(i=a.expirationTime)>c&&(c=i),(l=a.childExpirationTime)>c&&(c=l),a=a.sibling;t.childExpirationTime=c}if(null!==ya)return ya;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=pa(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==r)return r;if(null===n)break;e=n}return null}function za(e){var t=xi(e.alternate,e,_a);return e.memoizedProps=e.pendingProps,null===t&&(t=Aa(e)),ma.current=null,t}function Fa(e,t){ga&&s("243"),Ra(),ga=!0;var n=va.current;va.current=ri;var r=e.nextExpirationTimeToWorkOn;r===_a&&e===ka&&null!==ya||(Ma(),_a=r,ya=Gr((ka=e).current,null),e.pendingCommitExpirationTime=0);for(var o=!1;;){try{if(t)for(;null!==ya&&!ks();)ya=za(ya);else for(;null!==ya;)ya=za(ya)}catch(b){if(Ii=ji=Mi=null,Yo(),null===ya)o=!0,Cs(b);else{null===ya&&s("271");var i=ya,a=i.return;if(null!==a){e:{var c=e,l=a,u=i,d=b;if(a=_a,u.effectTag|=1024,u.firstEffect=u.lastEffect=null,null!==d&&"object"==typeof d&&"function"==typeof d.then){var f=d;d=l;var h=-1,p=-1;do{if(13===d.tag){var v=d.alternate;if(null!==v&&null!==(v=v.memoizedState)){p=10*(1073741822-v.timedOutAt);break}"number"==typeof(v=d.pendingProps.maxDuration)&&(0>=v?h=0:(-1===h||v<h)&&(h=v))}d=d.return}while(null!==d);d=l;do{if((v=13===d.tag)&&(v=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),v){if(null===(l=d.updateQueue)?((l=new Set).add(f),d.updateQueue=l):l.add(f),0==(1&d.mode)){d.effectTag|=64,u.effectTag&=-1957,1===u.tag&&(null===u.alternate?u.tag=17:((a=Bi(1073741823)).tag=zi,Wi(u,a))),u.expirationTime=1073741823;break e}l=a;var m=(u=c).pingCache;null===m?(m=u.pingCache=new da,v=new Set,m.set(f,v)):void 0===(v=m.get(f))&&(v=new Set,m.set(f,v)),v.has(l)||(v.add(l),u=Ba.bind(null,u,f,l),f.then(u,u)),-1===h?c=1073741823:(-1===p&&(p=10*(1073741822-ro(c,a))-5e3),c=p+h),0<=c&&wa<c&&(wa=c),d.effectTag|=2048,d.expirationTime=a;break e}d=d.return}while(null!==d);d=Error((lt(u.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ut(u))}Oa=!0,d=Xi(d,u),c=l;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=a,Ki(c,a=fa(c,d,a));break e;case 1:if(h=d,p=c.type,u=c.stateNode,0==(64&c.effectTag)&&("function"==typeof p.getDerivedStateFromError||null!==u&&"function"==typeof u.componentDidCatch&&(null===Da||!Da.has(u)))){c.effectTag|=2048,c.expirationTime=a,Ki(c,a=ha(c,h,a));break e}}c=c.return}while(null!==c)}ya=Aa(i);continue}o=!0,Cs(b)}}break}if(ga=!1,va.current=n,Ii=ji=Mi=null,Yo(),o)ka=null,e.finishedWork=null;else if(null!==ya)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&s("281"),ka=null,Oa){if(o=e.latestPendingTime,i=e.latestSuspendedTime,a=e.latestPingedTime,0!==o&&o<r||0!==i&&i<r||0!==a&&a<r)return no(e,r),void ps(e,n,r,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,r=e.nextExpirationTimeToWorkOn=r,t=e.expirationTime=1073741823,void ps(e,n,r,t,-1)}t&&-1!==wa?(no(e,r),(t=10*(1073741822-ro(e,r)))<wa&&(wa=t),t=10*(1073741822-ms()),t=wa-t,ps(e,n,r,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=r,e.finishedWork=n)}}function Ha(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Da||!Da.has(r)))return Wi(n,e=ha(n,e=Xi(t,e),1073741823)),void Ka(n,1073741823);break;case 3:return Wi(n,e=fa(n,e=Xi(t,e),1073741823)),void Ka(n,1073741823)}n=n.return}3===e.tag&&(Wi(e,n=fa(e,n=Xi(t,e),1073741823)),Ka(e,1073741823))}function Va(e,t){var n=i.unstable_getCurrentPriorityLevel(),r=void 0;if(0==(1&t.mode))r=1073741823;else if(ga&&!Ea)r=_a;else{switch(n){case i.unstable_ImmediatePriority:r=1073741823;break;case i.unstable_UserBlockingPriority:r=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:r=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:r=1;break;default:s("313")}null!==ka&&r===_a&&--r}return n===i.unstable_UserBlockingPriority&&(0===es||r<es)&&(es=r),r}function Ba(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),null!==ka&&_a===n?ka=null:(t=e.earliestSuspendedTime,r=e.latestSuspendedTime,0!==t&&n<=t&&n>=r&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),oo(n,e),0!==(n=e.expirationTime)&&bs(e,n)))}function Ua(e,t){var n=e.stateNode;null!==n&&n.delete(t),null!==(e=Wa(e,t=Va(t=ms(),e)))&&(to(e,t),0!==(t=e.expirationTime)&&bs(e,t))}function Wa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return o}function Ka(e,t){null!==(e=Wa(e,t))&&(!ga&&0!==_a&&t>_a&&Ma(),to(e,t),ga&&!Ea&&ka===e||bs(e,e.expirationTime),us>ls&&(us=0,s("185")))}function Ya(e,t,n,r,o){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){return e(t,n,r,o)}))}var $a=null,qa=null,Ga=0,Za=void 0,Xa=!1,Qa=null,Ja=0,es=0,ts=!1,ns=null,rs=!1,os=!1,is=null,as=i.unstable_now(),ss=1073741822-(as/10|0),cs=ss,ls=50,us=0,ds=null;function fs(){ss=1073741822-((i.unstable_now()-as)/10|0)}function hs(e,t){if(0!==Ga){if(t<Ga)return;null!==Za&&i.unstable_cancelCallback(Za)}Ga=t,e=i.unstable_now()-as,Za=i.unstable_scheduleCallback(_s,{timeout:10*(1073741822-t)-e})}function ps(e,t,n,r,o){e.expirationTime=r,0!==o||ks()?0<o&&(e.timeoutHandle=_r(vs.bind(null,e,t,n),o)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function vs(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,fs(),cs=ss,Os(e,n)}function ms(){return Xa?cs:(gs(),0!==Ja&&1!==Ja||(fs(),cs=ss),cs)}function bs(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===qa?($a=qa=e,e.nextScheduledRoot=e):(qa=qa.nextScheduledRoot=e).nextScheduledRoot=$a):t>e.expirationTime&&(e.expirationTime=t),Xa||(rs?os&&(Qa=e,Ja=1073741823,Ss(e,1073741823,!1)):1073741823===t?ws(1073741823,!1):hs(e,t))}function gs(){var e=0,t=null;if(null!==qa)for(var n=qa,r=$a;null!==r;){var o=r.expirationTime;if(0===o){if((null===n||null===qa)&&s("244"),r===r.nextScheduledRoot){$a=qa=r.nextScheduledRoot=null;break}if(r===$a)$a=o=r.nextScheduledRoot,qa.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===qa){(qa=n).nextScheduledRoot=$a,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if(o>e&&(e=o,t=r),r===qa)break;if(1073741823===e)break;n=r,r=r.nextScheduledRoot}}Qa=t,Ja=e}var ys=!1;function ks(){return!!ys||!!i.unstable_shouldYield()&&(ys=!0)}function _s(){try{if(!ks()&&null!==$a){fs();var e=$a;do{var t=e.expirationTime;0!==t&&ss<=t&&(e.nextExpirationTimeToWorkOn=ss),e=e.nextScheduledRoot}while(e!==$a)}ws(0,!0)}finally{ys=!1}}function ws(e,t){if(gs(),t)for(fs(),cs=ss;null!==Qa&&0!==Ja&&e<=Ja&&!(ys&&ss>Ja);)Ss(Qa,Ja,ss>Ja),gs(),fs(),cs=ss;else for(;null!==Qa&&0!==Ja&&e<=Ja;)Ss(Qa,Ja,!1),gs();if(t&&(Ga=0,Za=null),0!==Ja&&hs(Qa,Ja),us=0,ds=null,null!==is)for(e=is,is=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(r){ts||(ts=!0,ns=r)}}if(ts)throw e=ns,ns=null,ts=!1,e}function Os(e,t){Xa&&s("253"),Qa=e,Ja=t,Ss(e,t,!1),ws(1073741823,!1)}function Ss(e,t,n){if(Xa&&s("245"),Xa=!0,n){var r=e.finishedWork;null!==r?Es(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,wr(r)),Fa(e,n),null!==(r=e.finishedWork)&&(ks()?e.finishedWork=r:Es(e,r,t)))}else null!==(r=e.finishedWork)?Es(e,r,t):(e.finishedWork=null,-1!==(r=e.timeoutHandle)&&(e.timeoutHandle=-1,wr(r)),Fa(e,n),null!==(r=e.finishedWork)&&Es(e,r,t));Xa=!1}function Es(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime>=n&&(null===is?is=[r]:is.push(r),r._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===ds?us++:(ds=e,us=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,(function(){La(e,t)}))}function Cs(e){null===Qa&&s("246"),Qa.expirationTime=0,ts||(ts=!0,ns=e)}function Ts(e,t){var n=rs;rs=!0;try{return e(t)}finally{(rs=n)||Xa||ws(1073741823,!1)}}function xs(e,t){if(rs&&!os){os=!0;try{return e(t)}finally{os=!1}}return e(t)}function Ds(e,t,n){rs||Xa||0===es||(ws(es,!1),es=0);var r=rs;rs=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,(function(){return e(t,n)}))}finally{(rs=r)||Xa||ws(1073741823,!1)}}function Ms(e,t,n,r,o){var i=t.current;e:if(n){t:{2===rn(n=n._reactInternalFiber)&&1===n.tag||s("170");var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(Lr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);s("171"),a=void 0}if(1===n.tag){var c=n.type;if(Lr(c)){n=Hr(n,c,a);break e}}n=a}else n=jr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Bi(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Ra(),Wi(i,o),Ka(i,r),r}function js(e,t,n,r){var o=t.current;return Ms(e,t,n,o=Va(ms(),o),r)}function Is(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ps(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ze,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ns(e){var t=1073741822-25*(1+((1073741822-ms()+500)/25|0));t>=ba&&(t=ba-1),this._expirationTime=ba=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Rs(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ls(e,t,n){e={current:t=$r(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function As(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function zs(e,t,n,r,o){var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=Is(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ls(e,!1,t)}(n,r),"function"==typeof o){var s=o;o=function(){var e=Is(i._internalRoot);s.call(e)}}xs((function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}))}return Is(i._internalRoot)}function Fs(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return As(t)||s("200"),Ps(e,t,null,n)}xe=function(e,t,n){switch(t){case"input":if(St(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=H(r);o||s("90"),Ke(r),St(r,o)}}}break;case"textarea":Jn(e,n);break;case"select":null!=(t=n.value)&&Zn(e,!!n.multiple,t,!1)}},Ns.prototype.render=function(e){this._defer||s("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Rs;return Ms(e,t,null,n,r._onCommit),r},Ns.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ns.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||s("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&s("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,Os(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Ns.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Rs.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Rs.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&s("191",n),n()}}},Ls.prototype.render=function(e,t){var n=this._internalRoot,r=new Rs;return null!==(t=void 0===t?null:t)&&r.then(t),js(e,n,null,r._onCommit),r},Ls.prototype.unmount=function(e){var t=this._internalRoot,n=new Rs;return null!==(e=void 0===e?null:e)&&n.then(e),js(null,t,null,n._onCommit),n},Ls.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new Rs;return null!==(n=void 0===n?null:n)&&o.then(n),js(t,r,e,o._onCommit),o},Ls.prototype.createBatch=function(){var e=new Ns(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ne=Ts,Re=Ds,Le=function(){Xa||0===es||(ws(es,!1),es=0)};var Hs,Vs,Bs={createPortal:Fs,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?s("188"):s("268",Object.keys(e))),e=null===(e=an(t))?null:e.stateNode},hydrate:function(e,t,n){return As(t)||s("200"),zs(null,e,t,!0,n)},render:function(e,t,n){return As(t)||s("200"),zs(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return As(n)||s("200"),(null==e||void 0===e._reactInternalFiber)&&s("38"),zs(e,t,n,!1,r)},unmountComponentAtNode:function(e){return As(e)||s("40"),!!e._reactRootContainer&&(xs((function(){zs(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return Fs.apply(void 0,arguments)},unstable_batchedUpdates:Ts,unstable_interactiveUpdates:Ds,flushSync:function(e,t){Xa&&s("187");var n=rs;rs=!0;try{return Ya(e,t)}finally{rs=n,ws(1073741823,!1)}},unstable_createRoot:function(e,t){return As(e)||s("299","unstable_createRoot"),new Ls(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=rs;rs=!0;try{Ya(e)}finally{(rs=t)||Xa||ws(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[z,F,H,j.injectEventPluginsByName,k,Y,function(e){x(e,K)},Ie,Pe,Mn,P]}};Vs=(Hs={findFiberByHostInstance:A,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ur=Kr((function(e){return t.onCommitFiberRoot(n,e)})),Wr=Kr((function(e){return t.onCommitFiberUnmount(n,e)}))}catch(r){}}(o({},Hs,{overrideProps:null,currentDispatcherRef:Ye.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=an(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vs?Vs(e):null}}));var Us={default:Bs},Ws=Us&&Bs||Us;e.exports=Ws.default||Ws},function(e,t,n){"use strict";e.exports=n(143)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=null,o=!1,i=3,a=-1,s=-1,c=!1,l=!1;function u(){if(!c){var e=r.expirationTime;l?S():l=!0,O(h,e)}}function d(){var e=r,t=r.next;if(r===t)r=null;else{var n=r.previous;r=n.next=t,t.previous=n}e.next=e.previous=null,n=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=i,a=s;i=e,s=t;try{var c=n()}finally{i=o,s=a}if("function"==typeof c)if(c={callback:c,priorityLevel:e,expirationTime:t,next:null,previous:null},null===r)r=c.next=c.previous=c;else{n=null,e=r;do{if(e.expirationTime>=t){n=e;break}e=e.next}while(e!==r);null===n?n=r:n===r&&(r=c,u()),(t=n.previous).next=n.previous=c,c.next=n,c.previous=t}}function f(){if(-1===a&&null!==r&&1===r.priorityLevel){c=!0;try{do{d()}while(null!==r&&1===r.priorityLevel)}finally{c=!1,null!==r?u():l=!1}}}function h(e){c=!0;var n=o;o=e;try{if(e)for(;null!==r;){var i=t.unstable_now();if(!(r.expirationTime<=i))break;do{d()}while(null!==r&&r.expirationTime<=i)}else if(null!==r)do{d()}while(null!==r&&!E())}finally{c=!1,o=n,null!==r?u():l=!1,f()}}var p,v,m=Date,b="function"==typeof setTimeout?setTimeout:void 0,g="function"==typeof clearTimeout?clearTimeout:void 0,y="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,k="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function _(e){p=y((function(t){g(v),e(t)})),v=b((function(){k(p),e(t.unstable_now())}),100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var O,S,E,C=null;if("undefined"!=typeof window?C=window:"undefined"!=typeof window&&(C=window),C&&C._schedMock){var T=C._schedMock;O=T[0],S=T[1],E=T[2],t.unstable_now=T[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var x=null,D=function(e){if(null!==x)try{x(e)}finally{x=null}};O=function(e){null!==x?setTimeout(O,0,e):(x=e,setTimeout(D,0,!1))},S=function(){x=null},E=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof k&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,j=!1,I=-1,P=!1,N=!1,R=0,L=33,A=33;E=function(){return R<=t.unstable_now()};var z=new MessageChannel,F=z.port2;z.port1.onmessage=function(){j=!1;var e=M,n=I;M=null,I=-1;var r=t.unstable_now(),o=!1;if(0>=R-r){if(!(-1!==n&&n<=r))return P||(P=!0,_(H)),M=e,void(I=n);o=!0}if(null!==e){N=!0;try{e(o)}finally{N=!1}}};var H=function(e){if(null!==M){_(H);var t=e-R+A;t<A&&L<A?(8>t&&(t=8),A=t<L?L:t):L=t,R=e+A,j||(j=!0,F.postMessage(void 0))}else P=!1};O=function(e,t){M=e,I=t,N||0>t?F.postMessage(void 0):P||(P=!0,_(H))},S=function(){M=null,j=!1,I=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=i,o=a;i=e,a=t.unstable_now();try{return n()}finally{i=r,a=o,f()}},t.unstable_next=function(e){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,o=a;i=n,a=t.unstable_now();try{return e()}finally{i=r,a=o,f()}},t.unstable_scheduleCallback=function(e,n){var o=-1!==a?a:t.unstable_now();if("object"==typeof n&&null!==n&&"number"==typeof n.timeout)n=o+n.timeout;else switch(i){case 1:n=o+-1;break;case 2:n=o+250;break;case 5:n=o+1073741823;break;case 4:n=o+1e4;break;default:n=o+5e3}if(e={callback:e,priorityLevel:i,expirationTime:n,next:null,previous:null},null===r)r=e.next=e.previous=e,u();else{o=null;var s=r;do{if(s.expirationTime>n){o=s;break}s=s.next}while(s!==r);null===o?o=r:o===r&&(r=e,u()),(n=o.previous).next=o.previous=e,e.next=o,e.previous=n}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)r=null;else{e===r&&(r=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=i;return function(){var r=i,o=a;i=n,a=t.unstable_now();try{return e.apply(this,arguments)}finally{i=r,a=o,f()}}},t.unstable_getCurrentPriorityLevel=function(){return i},t.unstable_shouldYield=function(){return!o&&(null!==r&&r.expirationTime<s||E())},t.unstable_continueExecution=function(){null!==r&&u()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return r}},function(e,t,n){"use strict";var r=n(59),o=n(1);function i(e,t,n,r,o,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(e=Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw e.framesToPop=1,e}}function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);i(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var s="function"==typeof Symbol&&Symbol.for,c=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,u=s?Symbol.for("react.strict_mode"):60108,d=s?Symbol.for("react.profiler"):60114,f=s?Symbol.for("react.provider"):60109,h=s?Symbol.for("react.context"):60110,p=s?Symbol.for("react.concurrent_mode"):60111,v=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,b=s?Symbol.for("react.memo"):60115,g=s?Symbol.for("react.lazy"):60116;function y(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"ConcurrentMode";case l:return"Fragment";case c:return"Portal";case d:return"Profiler";case u:return"StrictMode";case m:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case h:return"Context.Consumer";case f:return"Context.Provider";case v:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case b:return y(e.type);case g:if(e=1===e._status?e._result:null)return y(e)}return null}var k=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;k.hasOwnProperty("ReactCurrentDispatcher")||(k.ReactCurrentDispatcher={current:null});var _={};function w(e,t){for(var n=0|e._threadCount;n<=t;n++)e[n]=e._currentValue2,e._threadCount=n+1}for(var O=new Uint16Array(16),S=0;15>S;S++)O[S]=S+1;O[15]=0;var E=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,C=Object.prototype.hasOwnProperty,T={},x={};function D(e){return!!C.call(x,e)||!C.call(T,e)&&(E.test(e)?x[e]=!0:(T[e]=!0,!1))}function M(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function j(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){I[e]=new j(e,0,!1,e,null)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];I[t]=new j(t,1,!1,e[1],null)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){I[e]=new j(e,2,!1,e.toLowerCase(),null)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){I[e]=new j(e,2,!1,e,null)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){I[e]=new j(e,3,!1,e.toLowerCase(),null)})),["checked","multiple","muted","selected"].forEach((function(e){I[e]=new j(e,3,!0,e,null)})),["capture","download"].forEach((function(e){I[e]=new j(e,4,!1,e,null)})),["cols","rows","size","span"].forEach((function(e){I[e]=new j(e,6,!1,e,null)})),["rowSpan","start"].forEach((function(e){I[e]=new j(e,5,!1,e.toLowerCase(),null)}));var P=/[\-:]([a-z])/g;function N(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(P,N);I[t]=new j(t,1,!1,e,null)})),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(P,N);I[t]=new j(t,1,!1,e,"http://www.w3.org/1999/xlink")})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(P,N);I[t]=new j(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")})),["tabIndex","crossOrigin"].forEach((function(e){I[e]=new j(e,1,!1,e.toLowerCase(),null)}));var R=/["'&<>]/;function L(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=R.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}var A=null,z=null,F=null,H=!1,V=!1,B=null,U=0;function W(){return null===A&&a("321"),A}function K(){return 0<U&&a("312"),{memoizedState:null,queue:null,next:null}}function Y(){return null===F?null===z?(H=!1,z=F=K()):(H=!0,F=z):null===F.next?(H=!1,F=F.next=K()):(H=!0,F=F.next),F}function $(e,t,n,r){for(;V;)V=!1,U+=1,F=null,n=e(t,r);return z=A=null,U=0,F=B=null,n}function q(e,t){return"function"==typeof t?t(e):t}function G(e,t,n){if(A=W(),F=Y(),H){var r=F.queue;if(t=r.dispatch,null!==B&&void 0!==(n=B.get(r))){B.delete(r),r=F.memoizedState;do{r=e(r,n.action),n=n.next}while(null!==n);return F.memoizedState=r,[r,t]}return[F.memoizedState,t]}return e=e===q?"function"==typeof t?t():t:void 0!==n?n(t):t,F.memoizedState=e,e=(e=F.queue={last:null,dispatch:null}).dispatch=Z.bind(null,A,e),[F.memoizedState,e]}function Z(e,t,n){if(25>U||a("301"),e===A)if(V=!0,e={action:n,next:null},null===B&&(B=new Map),void 0===(n=B.get(t)))B.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}}function X(){}var Q=0,J={readContext:function(e){var t=Q;return w(e,t),e[t]},useContext:function(e){W();var t=Q;return w(e,t),e[t]},useMemo:function(e,t){if(A=W(),t=void 0===t?null:t,null!==(F=Y())){var n=F.memoizedState;if(null!==n&&null!==t){e:{var r=n[1];if(null===r)r=!1;else{for(var o=0;o<r.length&&o<t.length;o++){var i=t[o],a=r[o];if((i!==a||0===i&&1/i!=1/a)&&(i==i||a==a)){r=!1;break e}}r=!0}}if(r)return n[0]}}return e=e(),F.memoizedState=[e,t],e},useReducer:G,useRef:function(e){A=W();var t=(F=Y()).memoizedState;return null===t?(e={current:e},F.memoizedState=e):t},useState:function(e){return G(q,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:X,useEffect:X,useDebugValue:X},ee="http://www.w3.org/1999/xhtml";function te(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ne={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},re=r({menuitem:!0},ne),oe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ie=["Webkit","ms","Moz","O"];Object.keys(oe).forEach((function(e){ie.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),oe[t]=oe[e]}))}));var ae=/([A-Z])/g,se=/^ms-/,ce=o.Children.toArray,le=k.ReactCurrentDispatcher,ue={listing:!0,pre:!0,textarea:!0},de=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,fe={},he={};var pe=Object.prototype.hasOwnProperty,ve={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function me(e,t){void 0===e&&a("152",y(t)||"Component")}function be(e,t,n){function i(o,i){var s=function(e,t,n){var r=e.contextType;if("object"==typeof r&&null!==r)return w(r,n),r[n];if(e=e.contextTypes){for(var o in n={},e)n[o]=t[o];t=n}else t=_;return t}(i,t,n),c=[],l=!1,u={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(e,t){l=!0,c=[t]},enqueueSetState:function(e,t){if(null===c)return null;c.push(t)}},d=void 0;if(i.prototype&&i.prototype.isReactComponent){if(d=new i(o.props,s,u),"function"==typeof i.getDerivedStateFromProps){var f=i.getDerivedStateFromProps.call(null,o.props,d.state);null!=f&&(d.state=r({},d.state,f))}}else if(A={},d=i(o.props,s,u),null==(d=$(i,o.props,d,s))||null==d.render)return void me(e=d,i);if(d.props=o.props,d.context=s,d.updater=u,void 0===(u=d.state)&&(d.state=u=null),"function"==typeof d.UNSAFE_componentWillMount||"function"==typeof d.componentWillMount)if("function"==typeof d.componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&d.componentWillMount(),"function"==typeof d.UNSAFE_componentWillMount&&"function"!=typeof i.getDerivedStateFromProps&&d.UNSAFE_componentWillMount(),c.length){u=c;var h=l;if(c=null,l=!1,h&&1===u.length)d.state=u[0];else{f=h?u[0]:d.state;var p=!0;for(h=h?1:0;h<u.length;h++){var v=u[h];null!=(v="function"==typeof v?v.call(d,f,o.props,s):v)&&(p?(p=!1,f=r({},f,v)):r(f,v))}d.state=f}}else c=null;if(me(e=d.render(),i),o=void 0,"function"==typeof d.getChildContext&&"object"==typeof(s=i.childContextTypes))for(var m in o=d.getChildContext())m in s||a("108",y(i)||"Unknown",m);o&&(t=r({},t,o))}for(;o.isValidElement(e);){var s=e,c=s.type;if("function"!=typeof c)break;i(s,c)}return{child:e,context:t}}var ge=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");o.isValidElement(t)?t.type!==l?t=[t]:(t=t.props.children,t=o.isValidElement(t)?[t]:ce(t)):t=ce(t),t={type:null,domNamespace:ee,children:t,childIndex:0,context:_,footer:""};var r=O[0];if(0===r){var i=O,s=2*(r=i.length);65536>=s||a("304");var c=new Uint16Array(s);for(c.set(i),(O=c)[0]=r+1,i=r;i<s-1;i++)O[i]=i+1;O[s-1]=0}else O[0]=O[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}return e.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},e.prototype.pushProvider=function(e){var t=++this.contextIndex,n=e.type._context,r=this.threadID;w(n,r);var o=n[r];this.contextStack[t]=n,this.contextValueStack[t]=o,n[r]=e.props.value},e.prototype.popProvider=function(){var e=this.contextIndex,t=this.contextStack[e],n=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,t[this.threadID]=n},e.prototype.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},e.prototype.read=function(e){if(this.exhausted)return null;var t=Q;Q=this.threadID;var n=le.current;le.current=J;try{for(var r=[""],o=!1;r[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var i=this.threadID;O[i]=O[0],O[0]=i;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===f)this.popProvider(s.type);else if(s.type===m){this.suspenseDepth--;var l=r.pop();if(o){o=!1;var u=s.fallbackFrame;u||a("303"),this.stack.push(u);continue}r[this.suspenseDepth]+=l}r[this.suspenseDepth]+=c}else{var d=s.children[s.childIndex++],h="";try{h+=this.render(d,s.context,s.domNamespace)}catch(p){throw p}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{le.current=n,Q=t}},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?L(n):this.previousWasTextNode?"\x3c!-- --\x3e"+L(n):(this.previousWasTextNode=!0,L(n));if(e=(t=be(e,t,this.threadID)).child,t=t.context,null===e||!1===e)return"";if(!o.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var i=e.$$typeof;i===c&&a("257"),a("258",i.toString())}return e=ce(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(i=e.type))return this.renderDOM(e,t,n);switch(i){case u:case p:case d:case l:return e=ce(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case m:a("294")}if("object"==typeof i&&null!==i)switch(i.$$typeof){case v:A={};var s=i.render(e.props,e.ref);return s=$(i.render,e.props,s,e.ref),s=ce(s),this.stack.push({type:null,domNamespace:n,children:s,childIndex:0,context:t,footer:""}),"";case b:return e=[o.createElement(i.type,r({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case f:return n={type:e,domNamespace:n,children:i=ce(e.props.children),childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case h:i=e.type,s=e.props;var y=this.threadID;return w(i,y),i=ce(s.children(i[y])),this.stack.push({type:e,domNamespace:n,children:i,childIndex:0,context:t,footer:""}),"";case g:a("295")}a("130",null==i?i:typeof i,"")},e.prototype.renderDOM=function(e,t,n){var i=e.type.toLowerCase();n===ee&&te(i),fe.hasOwnProperty(i)||(de.test(i)||a("65",i),fe[i]=!0);var s=e.props;if("input"===i)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===i){var c=s.value;if(null==c){c=s.defaultValue;var l=s.children;null!=l&&(null!=c&&a("92"),Array.isArray(l)&&(1>=l.length||a("93"),l=l[0]),c=""+l),null==c&&(c="")}s=r({},s,{value:void 0,children:""+c})}else if("select"===i)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===i){l=this.currentSelectValue;var u=function(e){if(null==e)return e;var t="";return o.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(s.children);if(null!=l){var d=null!=s.value?s.value+"":u;if(c=!1,Array.isArray(l)){for(var f=0;f<l.length;f++)if(""+l[f]===d){c=!0;break}}else c=""+l===d;s=r({selected:void 0,children:void 0},s,{selected:c,children:u})}}for(k in(c=s)&&(re[i]&&(null!=c.children||null!=c.dangerouslySetInnerHTML)&&a("137",i,""),null!=c.dangerouslySetInnerHTML&&(null!=c.children&&a("60"),"object"==typeof c.dangerouslySetInnerHTML&&"__html"in c.dangerouslySetInnerHTML||a("61")),null!=c.style&&"object"!=typeof c.style&&a("62","")),c=s,l=this.makeStaticMarkup,u=1===this.stack.length,d="<"+e.type,c)if(pe.call(c,k)){var h=c[k];if(null!=h){if("style"===k){f=void 0;var p="",v="";for(f in h)if(h.hasOwnProperty(f)){var m=0===f.indexOf("--"),b=h[f];if(null!=b){var g=f;if(he.hasOwnProperty(g))g=he[g];else{var y=g.replace(ae,"-$1").toLowerCase().replace(se,"-ms-");g=he[g]=y}p+=v+g+":",v=f,p+=m=null==b||"boolean"==typeof b||""===b?"":m||"number"!=typeof b||0===b||oe.hasOwnProperty(v)&&oe[v]?(""+b).trim():b+"px",v=";"}}h=p||null}f=null;e:if(m=i,b=c,-1===m.indexOf("-"))m="string"==typeof b.is;else switch(m){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":m=!1;break e;default:m=!0}m?ve.hasOwnProperty(k)||(f=D(f=k)&&null!=h?f+'="'+L(h)+'"':""):(m=k,f=h,h=I.hasOwnProperty(m)?I[m]:null,(b="style"!==m)&&(b=null!==h?0===h.type:2<m.length&&("o"===m[0]||"O"===m[0])&&("n"===m[1]||"N"===m[1])),b||M(m,f,h,!1)?f="":null!==h?(m=h.attributeName,f=3===(h=h.type)||4===h&&!0===f?m+'=""':m+'="'+L(f)+'"'):f=D(m)?m+'="'+L(f)+'"':""),f&&(d+=" "+f)}}l||u&&(d+=' data-reactroot=""');var k=d;c="",ne.hasOwnProperty(i)?k+="/>":(k+=">",c="</"+e.type+">");e:{if(null!=(l=s.dangerouslySetInnerHTML)){if(null!=l.__html){l=l.__html;break e}}else if("string"==typeof(l=s.children)||"number"==typeof l){l=L(l);break e}l=null}return null!=l?(s=[],ue[i]&&"\n"===l.charAt(0)&&(k+="\n"),k+=l):s=ce(s.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?te(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:i,children:s,childIndex:0,context:t,footer:c}),this.previousWasTextNode=!1,k},e}(),ye={renderToString:function(e){e=new ge(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new ge(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){a("207")},renderToStaticNodeStream:function(){a("208")},version:"16.8.6"},ke={default:ye},_e=ke&&ye||ke;e.exports=_e.default||_e},function(e,t,n){"use strict";var r=n(74),o=n(75),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,formatter:o.formatters[o.default],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},f=function e(t,n,o,i,a,c,u,f,h,p,v,m,b){var g=t;if("function"==typeof u?g=u(n,g):g instanceof Date?g=p(g):"comma"===o&&s(g)&&(g=g.join(",")),null===g){if(i)return c&&!m?c(n,d.encoder,b):n;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||r.isBuffer(g))return c?[v(m?n:c(n,d.encoder,b))+"="+v(c(g,d.encoder,b))]:[v(n)+"="+v(String(g))];var y,k=[];if(void 0===g)return k;if(s(u))y=u;else{var _=Object.keys(g);y=f?_.sort(f):_}for(var w=0;w<y.length;++w){var O=y[w];a&&null===g[O]||(s(g)?l(k,e(g[O],"function"==typeof o?o(n,O):n,o,i,a,c,u,f,h,p,v,m,b)):l(k,e(g[O],n+(h?"."+O:"["+O+"]"),o,i,a,c,u,f,h,p,v,m,b)))}return k};e.exports=function(e,t){var n,r=e,c=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=d.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof c.filter?r=(0,c.filter)("",r):s(c.filter)&&(n=c.filter);var u,h=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=a[u];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var v=0;v<n.length;++v){var m=n[v];c.skipNulls&&null===r[m]||l(h,f(r[m],m,p,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.formatter,c.encodeValuesOnly,c.charset))}var b=h.join(c.delimiter),g=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),b.length>0?g+b:""}},function(e,t,n){"use strict";var r=n(74),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var l=0;null!==(a=i.exec(r))&&l<n.depth;){if(l+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a&&n.parseArrays)i=[].concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);n.parseArrays||""!==s?!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=r:i[s]=r:i={0:r}}r=i}return r}(c,t,n)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth?e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,s={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=c.split(t.delimiter,l),d=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<u.length;++n)0===u[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[n]?f="utf-8":"utf8=%26%2310003%3B"===u[n]&&(f="iso-8859-1"),d=n,n=u.length);for(n=0;n<u.length;++n)if(n!==d){var h,p,v=u[n],m=v.indexOf("]="),b=-1===m?v.indexOf("="):m+1;-1===b?(h=t.decoder(v,i.decoder,f),p=t.strictNullHandling?null:""):(h=t.decoder(v.slice(0,b),i.decoder,f),p=t.decoder(v.slice(b+1),i.decoder,f)),p&&t.interpretNumericEntities&&"iso-8859-1"===f&&(p=a(p)),p&&t.comma&&p.indexOf(",")>-1&&(p=p.split(",")),o.call(s,h)?s[h]=r.combine(s[h],p):s[h]=p}return s}(e,n):e,l=n.plainObjects?Object.create(null):{},u=Object.keys(c),d=0;d<u.length;++d){var f=u[d],h=s(f,c[f],n);l=r.merge(l,h,n)}return r.compact(l)}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,s;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(s=e[a=n[i]])&&!t.hasOwnProperty(a)||s!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new w(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=c(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===l)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=s;var l={};function u(){}function d(){}function f(){}var h={};h[o]=function(){return this};var p=Object.getPrototypeOf,v=p&&p(p(O([])));v&&v!==t&&n.call(v,o)&&(h=v);var m=f.prototype=u.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function g(e){var t;this._invoke=function(r,o){function i(){return new Promise((function(t,i){!function t(r,o,i,a){var s=c(e[r],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}(r,o,t,i)}))}return t=t?t.then(i,i):i()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=m.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(g.prototype),g.prototype[i]=function(){return this},e.AsyncIterator=g,e.async=function(t,n,r,o){var i=new g(s(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(m),m[a]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,w.prototype={constructor:w,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(151)),o=i(n(47));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(a(e),a(r.default)),n=function e(n){var r=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],a=function(n){var o=function(e){return function(t){try{var o=e?n.throw(t):n.next(t),s=o.value;if(o.done)return r(s);a(s)}catch(c){return i(c)}}},a=function n(r){t.some((function(t){return t(r,n,e,o(!1),o(!0))}))};o(!1)()},s=o.default.iterator(n)?n:regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))();a(s,r,i)};return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var r,o=n(47),i=(r=o)&&r.__esModule?r:{default:r};var a=t.any=function(e,t,n,r){return r(e),!0},s=t.error=function(e,t,n,r,o){return!!i.default.error(e)&&(o(e.error),!0)},c=t.object=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.obj(e.value))return!1;var a={},s=Object.keys(e.value),c=0,l=!1;return s.map((function(t){n(e.value[t],(function(e){return function(e,t){l||(a[e]=t,++c===s.length&&r(a))}(t,e)}),(function(e){return function(e,t){l||(l=!0,o(t))}(0,e)}))})),!0},l=t.array=function(e,t,n,r,o){if(!i.default.all(e)||!i.default.array(e.value))return!1;var a=[],s=0,c=!1;return e.value.map((function(t,i){n(t,(function(t){return function(t,n){c||(a[t]=n,++s===e.value.length&&r(a))}(i,t)}),(function(e){return function(e,t){c||(c=!0,o(t))}(0,e)}))})),!0},u=t.iterator=function(e,t,n,r,o){return!!i.default.iterator(e)&&(n(e,t,o),!0)};t.default=[s,u,l,c,a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var r=a(n(47)),o=n(76),i=a(n(153));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.promise=function(e,t,n,o,i){return!!r.default.promise(e)&&(e.then(t,i),!0)},c=new Map,l=t.fork=function(e,t,n){if(!r.default.fork(e))return!1;var a=Symbol("fork"),s=(0,i.default)();c.set(a,s),n(e.iterator.apply(null,e.args),(function(e){return s.dispatch(e)}),(function(e){return s.dispatch((0,o.error)(e))}));var l=s.subscribe((function(){l(),c.delete(a)}));return t(a),!0},u=t.join=function(e,t,n,o,i){if(!r.default.join(e))return!1;var a,s=c.get(e.task);return s?a=s.subscribe((function(e){a(),t(e)})):i("join error : task not found"),!0},d=t.race=function(e,t,n,o,i){if(!r.default.race(e))return!1;var a,s=!1,c=function(e,n,r){s||(s=!0,e[n]=r,t(e))},l=function(e){s||i(e)};return r.default.array(e.competitors)?(a=e.competitors.map((function(){return!1})),e.competitors.forEach((function(e,t){n(e,(function(e){return c(a,t,e)}),l)}))):function(){var t=Object.keys(e.competitors).reduce((function(e,t){return e[t]=!1,e}),{});Object.keys(e.competitors).forEach((function(r){n(e.competitors[r],(function(e){return c(t,r,e)}),l)}))}(),!0};t.default=[s,l,u,d,function(e,t){if(!r.default.subscribe(e))return!1;if(!r.default.channel(e.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=e.channel.subscribe((function(e){n&&n(),t(e)}));return!0}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},dispatch:function(t){e.slice().forEach((function(e){return e(t)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var r,o=n(47),i=(r=o)&&r.__esModule?r:{default:r};var a=t.call=function(e,t,n,r,o){if(!i.default.call(e))return!1;try{t(e.func.apply(e.context,e.args))}catch(a){o(a)}return!0},s=t.cps=function(e,t,n,r,o){var a;return!!i.default.cps(e)&&((a=e.func).call.apply(a,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e.args),[function(e,n){e?o(e):t(n)}])),!0)};t.default=[a,s]},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a,s;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(void 0===(s=e[a=n[i]])&&!t.hasOwnProperty(a)||s!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){var r=n(37);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return o.colors[Math.abs(t)%o.colors.length]}function o(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var a=r,s=Number(new Date),c=s-(n||s);a.diff=c,a.prev=n,a.curr=s,n=s,t[0]=o.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var r=o.formatters[n];if("function"==typeof r){var i=t[l];e=r.call(a,i),t.splice(l,1),l--}return e})),o.formatArgs.call(a,t);var u=a.log||o.log;u.apply(a,t)}}return r.namespace=e,r.enabled=o.enabled(e),r.useColors=o.useColors(),r.color=t(e),r.destroy=i,r.extend=a,"function"==typeof o.init&&o.init(r),o.instances.push(r),r}function i(){var e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function a(e,t){var n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){var e=[].concat(r(o.names.map(s)),r(o.skips.map(s).map((function(e){return"-"+e})))).join(",");return o.enable(""),e},o.enable=function(e){var t;o.save(e),o.names=[],o.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$")));for(t=0;t<o.instances.length;t++){var i=o.instances[t];i.enabled=o.enabled(i.namespace)}},o.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1},o.humanize=n(162),Object.keys(e).forEach((function(t){o[t]=e[t]})),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){var n=1e3,r=6e4,o=36e5,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=Object.keys;e.exports=function(e,t){var n,o,i,a;if(e===t)return!0;if(n=r(e),o=r(t),n.length!==o.length)return!1;for(i=0;i<n.length;){if(e[a=n[i]]!==t[a])return!1;i++}return!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n;if(e===t)return!0;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,u=l&&l(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=l(n);f&&f!==u&&e(t,f,d)}var h=a(n);s&&(h=h.concat(s(n)));for(var p=0;p<h.length;++p){var v=h[p];if(!(r[v]||o[v]||d&&d[v])){var m=c(n,v);try{i(t,v,m)}catch(b){}}}return t}return t}},function(e,t){!function(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,i){return!!this.paused||!t[o]&&!t[i]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}(Mousetrap)},function(e,t,n){n(168)},function(e,t,n){"use strict";var r,o=n(169);(0,((r=o)&&r.__esModule?r:{default:r}).default)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){(0,o.default)(r.default)};var r=i(n(170)),o=i(n(191));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){e.exports=n(171).default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(172)),o=c(n(187)),i=n(188),a=c(n(189)),s=c(n(190));function c(e){return e&&e.__esModule?e:{default:e}}t.default={create:function(e){var t={},n=Object.keys(e),r=(o.default.get(i.GLOBAL_CACHE_KEY)||{}).namespace,s=void 0===r?"":r;return n.forEach((function(e){var n=(0,a.default)(s,e);t[e]=n})),t},resolve:function(e){var t=(0,r.default)(e,1/0),n=(0,s.default)(t),o=n.classNames,i=n.hasInlineStyles,a=n.inlineStyles,c={className:o.map((function(e,t){return String(e)+" "+String(e)+"_"+String(t+1)})).join(" ")};return i&&(c.style=a),c}}},function(e,t,n){"use strict";var r=n(20),o=n(26),i=n(79),a=n(89),s=a(),c=n(186),l=o.call(Function.call,s);r(l,{getPolyfill:a,implementation:i,shim:c}),e.exports=l},function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(78),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),l=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=l&&n;if(s&&e.length>0&&!o.call(e,0))for(var v=0;v<e.length;++v)f.push(String(v));if(r&&e.length>0)for(var m=0;m<e.length;++m)f.push(String(m));else for(var b in e)p&&"prototype"===b||!o.call(e,b)||f.push(String(b));if(c)for(var g=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(t){return!1}}(e),y=0;y<u.length;++y)g&&"constructor"===u[y]||!o.call(e,u[y])||f.push(u[y]);return f}}e.exports=r},function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==i.call(t))throw new TypeError(r+t);for(var n,a=o.call(arguments,1),s=function(){if(this instanceof n){var r=t.apply(this,a.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(o.call(arguments)))},c=Math.max(0,t.length-a.length),l=[],u=0;u<c;u++)l.push("$"+u);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},function(e,t,n){"use strict";var r=n(26),o=n(80),i=n(63),a=n(185),s=n(48),c=s("%TypeError%"),l=r.call(Function.call,s("%ObjectPrototype%").propertyIsEnumerable),u=r.call(Function.apply,s("%ArrayPrototype%").push),d=i(i({},o),{ToIndex:function(e){if(void 0===e)return 0;var t=this.ToInteger(e);if(t<0)throw new RangeError("index must be >= 0");var n=this.ToLength(t);if(!this.SameValueZero(t,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n},EnumerableOwnProperties:function(e,t){var n=o.EnumerableOwnNames(e);if("key"===t)return n;if("value"===t||"key+value"===t){var r=[];return a(n,(function(n){l(e,n)&&u(r,["value"===t?e[n]:[n,e[n]]])})),r}throw new c('Assertion failed: "kind" is not "key", "value", or "key+value": '+t)}});delete d.EnumerableOwnNames,e.exports=d},function(e,t,n){"use strict";var r=n(39),o=n(177),i=n(61),a=n(48),s=a("%TypeError%"),c=a("%SyntaxError%"),l=a("%Array%"),u=a("%String%"),d=a("%Object%"),f=a("%Number%"),h=a("%Symbol%",!0),p=a("%RegExp%"),v=!!h,m=n(84),b=n(85),g=n(86),y=f.MAX_SAFE_INTEGER||Math.pow(2,53)-1,k=n(63),_=n(87),w=n(88),O=n(181),S=parseInt,E=n(26),C=E.call(Function.call,l.prototype.slice),T=E.call(Function.call,u.prototype.slice),x=E.call(Function.call,p.prototype.test,/^0b[01]+$/i),D=E.call(Function.call,p.prototype.test,/^0o[0-7]+$/i),M=E.call(Function.call,p.prototype.exec),j=new p("["+["
","",""].join("")+"]","g"),I=E.call(Function.call,p.prototype.test,j),P=E.call(Function.call,p.prototype.test,/^[-+]0x[0-9a-f]+$/i),N=E.call(Function.call,u.prototype.charCodeAt),R=E.call(Function.call,Object.prototype.toString),L=E.call(Function.call,a("%NumberPrototype%").valueOf),A=E.call(Function.call,a("%BooleanPrototype%").valueOf),z=E.call(Function.call,a("%StringPrototype%").valueOf),F=E.call(Function.call,a("%DatePrototype%").valueOf),H=Math.floor,V=Math.abs,B=Object.create,U=d.getOwnPropertyDescriptor,W=d.isExtensible,K=d.defineProperty,Y=["\t\n\v\f\r "," \u2028","\u2029\ufeff"].join(""),$=new RegExp("(^["+Y+"]+)|(["+Y+"]+$)","g"),q=E.call(Function.call,u.prototype.replace),G=n(182),Z=n(184),X=k(k({},G),{Call:function(e,t){var n=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new s(e+" is not a function");return e.apply(t,n)},ToPrimitive:o,ToNumber:function(e){var t=O(e)?e:o(e,f);if("symbol"==typeof t)throw new s("Cannot convert a Symbol value to a number");if("string"==typeof t){if(x(t))return this.ToNumber(S(T(t,2),2));if(D(t))return this.ToNumber(S(T(t,2),8));if(I(t)||P(t))return NaN;var n=function(e){return q(e,$,"")}(t);if(n!==t)return this.ToNumber(n)}return f(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(b(t)||0===t||!g(t))return 0;var n=_(t)*H(V(t));return w(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(b(t)||t<=0)return 0;if(t>=255)return 255;var n=H(e);return n+.5<t?n+1:t<n+.5?n:n%2!=0?n+1:n},ToString:function(e){if("symbol"==typeof e)throw new s("Cannot convert a Symbol value to a string");return u(e)},ToObject:function(e){return this.RequireObjectCoercible(e),d(e)},ToPropertyKey:function(e){var t=this.ToPrimitive(e,u);return"symbol"==typeof t?t:this.ToString(t)},ToLength:function(e){var t=this.ToInteger(e);return t<=0?0:t>y?y:t},CanonicalNumericIndexString:function(e){if("[object String]"!==R(e))throw new s("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:G.CheckObjectCoercible,IsArray:l.isArray||function(e){return"[object Array]"===R(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!O(e)&&W(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||b(e)||!g(e))return!1;var t=V(e);return H(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(v){var t=e[h.match];if(void 0!==t)return G.ToBoolean(t)}return Z(e)},SameValueZero:function(e,t){return e===t||b(e)&&b(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new s(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":G.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new s("O.constructor is not an Object");var r=v&&h.species?n[h.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new s("no constructor found")},CompletePropertyDescriptor:function(e){return m(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");if("Boolean"!==this.Type(r))throw new s("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(o){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new s("O must be an Object");if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(v&&"symbol"==typeof h.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new s("P must be a Property Key");var n=C(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!v)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,h.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new s("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new s("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new s("Assertion failed: completion is not a thunk for a Completion Record");var n,r=t,o=this.GetMethod(e,"return");if(void 0===o)return r();try{var i=this.Call(o,e,[])}catch(a){throw n=r(),r=null,a}if(n=r(),r=null,"Object"!==this.Type(i))throw new s("iterator .return must return an object");return n},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new s("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new s("R must be an Object");if("String"!==this.Type(t))throw new s("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new s('"exec" method must return `null` or an Object')}return M(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new s("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&v&&h.species&&null===(n=this.Get(n,h.species))&&(n=void 0)),void 0===n)return l(r);if(!this.IsConstructor(n))throw new s("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=U(e,t),o=r||"function"!=typeof W||W(e);return!(!(!r||r.writable&&r.configurable)||!o)&&(K(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new s("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new s("Assertion failed: proto must be null or an object");var n=arguments.length<2?[]:t;if(n.length>0)throw new c("es-abstract does not yet support internal slots");if(null===e&&!B)throw new c("native Object.create support is required to create null objects");return B(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new s("S must be a String");if(!this.IsInteger(t)||t<0||t>y)throw new s("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new s("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=N(e,t);if(r<55296||r>56319)return t+1;var o=N(e,t+1);return o<56320||o>57343?t+1:t+2},CreateMethodProperty:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!K(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0})},DefinePropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");return!!K(e,t,n)},DeletePropertyOrThrow:function(e,t){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new s("Assertion failed: IsPropertyKey(P) is not true");var n=delete e[t];if(!n)throw new TypeError("Attempt to delete property failed.");return n},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new s("Assertion failed: Type(O) is not Object");return i(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:L(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:A(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:z(e)},thisTimeValue:function(e){return F(e)}});delete X.CheckObjectCoercible,e.exports=X},function(e,t,n){"use strict";e.exports=n(178)},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,o=n(81),i=n(62),a=n(179),s=n(82),c=function(e,t){if(null==e)throw new TypeError("Cannot call method on "+e);if("string"!=typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var n,r,a,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(n=e[s[a]],i(n)&&(r=n.call(e),o(r)))return r;throw new TypeError("No default value")},l=function(e,t){var n=e[t];if(null!=n){if(!i(n))throw new TypeError(n+" returned for property "+t+" of object "+e+" is not a function");return n}};e.exports=function(e){if(o(e))return e;var t,n="default";if(arguments.length>1&&(arguments[1]===String?n="string":arguments[1]===Number&&(n="number")),r&&(Symbol.toPrimitive?t=l(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),void 0!==t){var i=t.call(e,n);if(o(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(a(e)||s(e))&&(n="string"),c(e,"default"===n?"number":n)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=window.Symbol,o=n(83);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(48),o=r("%Object%"),i=r("%TypeError%"),a=r("%String%"),s=n(84),c=n(85),l=n(86),u=n(87),d=n(88),f=n(62),h=n(183),p=n(39),v={ToPrimitive:h,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return c(t)?0:0!==t&&l(t)?u(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(c(t)||0===t||!l(t))return 0;var n=u(t)*Math.floor(Math.abs(t));return d(n,65536)},ToString:function(e){return a(e)},ToObject:function(e){return this.CheckObjectCoercible(e),o(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new i(t||"Cannot call method on "+e);return e},IsCallable:f,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:c(e)&&c(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(p(e,n)&&!t[n])return!1;var r=p(e,"[[Value]]"),o=p(e,"[[Get]]")||p(e,"[[Set]]");if(r&&o)throw new i("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Get]]")&&!p(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!(!p(e,"[[Value]]")&&!p(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(s(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(s(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new i("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new i("ToPropertyDescriptor requires an object");var t={};if(p(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),p(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),p(e,"value")&&(t["[[Value]]"]=e.value),p(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),p(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(p(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new i("setter must be a function");t["[[Set]]"]=r}if((p(t,"[[Get]]")||p(t,"[[Set]]"))&&(p(t,"[[Value]]")||p(t,"[[Writable]]")))throw new i("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=v},function(e,t,n){"use strict";var r=Object.prototype.toString,o=n(81),i=n(62),a=function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===r.call(e)?String:Number)===String||t===Number){var n,a,s=t===String?["toString","valueOf"]:["valueOf","toString"];for(a=0;a<s.length;++a)if(i(e[s[a]])&&(n=e[s[a]](),o(n)))return n;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")};e.exports=function(e){return o(e)?e:arguments.length>1?a(e,arguments[1]):a(e)}},function(e,t,n){"use strict";var r=n(39),o=RegExp.prototype.exec,i=Object.getOwnPropertyDescriptor,a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===a.call(e);var t=i(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,o.call(e),!0}catch(n){return!1}finally{e.lastIndex=t}}(e)}},function(e,t,n){"use strict";e.exports=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)}},function(e,t,n){"use strict";var r=n(20),o=n(89);e.exports=function(){var e=o();return r(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),e}},function(e,t,n){"use strict";var r=n(20),o=n(82),i="__ global cache key __";"function"==typeof Symbol&&o(Symbol("foo"))&&"function"==typeof Symbol.for&&(i=Symbol.for(i));var a=function(){return!0},s=function(){if(!window[i]){var e={};e[i]={};var t={};t[i]=a,r(window,e,t)}return window[i]},c=s(),l=function(e){return o(e)?Symbol.prototype.valueOf.call(e):typeof e+" | "+String(e)},u=function(e){if(!function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(e))throw new TypeError("key must not be an object")},d={clear:function(){delete window[i],c=s()},delete:function(e){return u(e),delete c[l(e)],!d.has(e)},get:function(e){return u(e),c[l(e)]},has:function(e){return u(e),l(e)in c},set:function(e,t){u(e);var n=l(e),o={};o[n]=t;var i={};return i[n]=a,r(c,o,i),d.has(e)},setIfMissingThenGet:function(e,t){if(d.has(e))return d.get(e);var n=t();return d.set(e,n),n}};e.exports=d},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.GLOBAL_CACHE_KEY="reactWithStylesInterfaceCSS",t.MAX_SPECIFICITY=20},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(e.length>0?String(e)+"__":"")+String(t)}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[],n=!1,r={},o=0;o<e.length;o++){var i=e[o];i&&("string"==typeof i?t.push(i):(Object.assign(r,i),n=!0))}return{classNames:t,hasInlineStyles:n,inlineStyles:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){r.default.registerInterface(e),r.default.registerTheme(o.default)};var r=i(n(90)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64);Object.defineProperty(t,"CalendarDay",{enumerable:!0,get:function(){return O(r).default}});var o=n(95);Object.defineProperty(t,"CalendarMonth",{enumerable:!0,get:function(){return O(o).default}});var i=n(97);Object.defineProperty(t,"CalendarMonthGrid",{enumerable:!0,get:function(){return O(i).default}});var a=n(213);Object.defineProperty(t,"DateRangePicker",{enumerable:!0,get:function(){return O(a).default}});var s=n(112);Object.defineProperty(t,"DateRangePickerInput",{enumerable:!0,get:function(){return O(s).default}});var c=n(111);Object.defineProperty(t,"DateRangePickerInputController",{enumerable:!0,get:function(){return O(c).default}});var l=n(104);Object.defineProperty(t,"DateRangePickerShape",{enumerable:!0,get:function(){return O(l).default}});var u=n(71);Object.defineProperty(t,"DayPicker",{enumerable:!0,get:function(){return O(u).default}});var d=n(120);Object.defineProperty(t,"DayPickerRangeController",{enumerable:!0,get:function(){return O(d).default}});var f=n(123);Object.defineProperty(t,"DayPickerSingleDateController",{enumerable:!0,get:function(){return O(f).default}});var h=n(236);Object.defineProperty(t,"SingleDatePicker",{enumerable:!0,get:function(){return O(h).default}});var p=n(125);Object.defineProperty(t,"SingleDatePickerInput",{enumerable:!0,get:function(){return O(p).default}});var v=n(124);Object.defineProperty(t,"SingleDatePickerShape",{enumerable:!0,get:function(){return O(v).default}});var m=n(42);Object.defineProperty(t,"isInclusivelyAfterDay",{enumerable:!0,get:function(){return O(m).default}});var b=n(237);Object.defineProperty(t,"isInclusivelyBeforeDay",{enumerable:!0,get:function(){return O(b).default}});var g=n(121);Object.defineProperty(t,"isNextDay",{enumerable:!0,get:function(){return O(g).default}});var y=n(31);Object.defineProperty(t,"isSameDay",{enumerable:!0,get:function(){return O(y).default}});var k=n(50);Object.defineProperty(t,"toISODateString",{enumerable:!0,get:function(){return O(k).default}});var _=n(69);Object.defineProperty(t,"toLocalizedDateString",{enumerable:!0,get:function(){return O(_).default}});var w=n(32);function O(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"toMomentObject",{enumerable:!0,get:function(){return O(w).default}})},function(e,t,n){"use strict";var r=n(20),o=n(93);e.exports=function(){var e=o();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},function(e,t,n){"use strict";var r=n(195);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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:i,resetWarningCache:o};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){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){var r=n(6);e.exports={isValidMoment:function(e){return!("function"==typeof r.isMoment&&!r.isMoment(e))&&("function"==typeof e.isValid?e.isValid():!isNaN(e))}}},function(e,t){var n={invalidPredicate:"`predicate` must be a function",invalidPropValidator:"`propValidator` must be a function",requiredCore:"is marked as required",invalidTypeCore:"Invalid input type",predicateFailureCore:"Failed to succeed with predicate",anonymousMessage:"<<anonymous>>",baseInvalidMessage:"Invalid "};function r(e){if("function"!=typeof e)throw new Error(n.invalidPropValidator);var t=e.bind(null,!1,null);return t.isRequired=e.bind(null,!0,null),t.withPredicate=function(t){if("function"!=typeof t)throw new Error(n.invalidPredicate);var r=e.bind(null,!1,t);return r.isRequired=e.bind(null,!0,t),r},t}function o(e,t,r){return new Error("The prop `"+e+"` "+n.requiredCore+" in `"+t+"`, but its value is `"+r+"`.")}e.exports={constructPropValidatorVariations:r,createMomentChecker:function(e,t,i,a){return r((function(r,s,c,l,u,d,f){var h=c[l],p=typeof h,v=function(e,t,n,r){var i=void 0===r,a=null===r;if(e){if(i)return o(n,t,"undefined");if(a)return o(n,t,"null")}return i||a?null:-1}(r,u=u||n.anonymousMessage,f=f||l,h);if(-1!==v)return v;if(t&&!t(h))return new Error(n.invalidTypeCore+": `"+l+"` of type `"+p+"` supplied to `"+u+"`, expected `"+e+"`.");if(!i(h))return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+p+"` supplied to `"+u+"`, expected `"+a+"`.");if(s&&!s(h)){var m=s.name||n.anonymousMessage;return new Error(n.baseInvalidMessage+d+" `"+l+"` of type `"+p+"` supplied to `"+u+"`. "+n.predicateFailureCore+" `"+m+"`.")}return null}))},messages:n}},function(e,t,n){"use strict";function r(){return null}function o(){return r}r.isRequired=r,e.exports={and:o,between:o,booleanSome:o,childrenHavePropXorChildren:o,childrenOf:o,childrenOfType:o,childrenSequenceOf:o,componentWithName:o,disallowedIf:o,elementType:o,empty:o,explicitNull:o,forbidExtraProps:Object,integer:o,keysOf:o,mutuallyExclusiveProps:o,mutuallyExclusiveTrueProps:o,nChildren:o,nonNegativeInteger:r,nonNegativeNumber:o,numericString:o,object:o,or:o,range:o,ref:o,requiredBy:o,restrictedProp:o,sequenceOf:o,shape:o,stringStartsWith:o,uniqueArray:o,uniqueArrayOf:o,valuesOf:o,withShape:o}},function(e,t,n){"use strict";var r=n(201),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(p){var o=h(n);o&&o!==p&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=c(t),v=c(n),m=0;m<a.length;++m){var b=a[m];if(!(i[b]||r&&r[b]||v&&v[b]||s&&s[b])){var g=f(n,b);try{l(t,b,g)}catch(y){}}}return t}return t}},function(e,t,n){"use strict";e.exports=n(202)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case a:case c:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case l:return e;default:return t}}case m:case v:case i:return t}}}function g(e){return b(e)===f}t.typeOf=b,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===c||e===s||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h)},t.isAsyncMode=function(e){return g(e)||b(e)===d},t.isConcurrentMode=g,t.isContextConsumer=function(e){return b(e)===u},t.isContextProvider=function(e){return b(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return b(e)===h},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===v},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===c},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===p}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});t.CHANNEL="__direction__",t.DIRECTIONS={LTR:"ltr",RTL:"rtl"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default.shape({getState:i.default.func,setState:i.default.func,subscribe:i.default.func})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"==typeof e)return e;if("function"==typeof e)return e(t);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=n(12),i=s(n(64)),a=s(n(207));function s(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.forbidExtraProps)({children:(0,o.or)([(0,o.childrenOfType)(i.default),(0,o.childrenOfType)(a.default)]).isRequired});function l(e){var t=e.children;return r.default.createElement("tr",null,t)}l.propTypes=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureCustomizableCalendarDay=t.selectedStyles=t.lastInRangeStyles=t.selectedSpanStyles=t.hoveredSpanStyles=t.blockedOutOfRangeStyles=t.blockedCalendarStyles=t.blockedMinNightsStyles=t.highlightedCalendarStyles=t.outsideStyles=t.defaultStyles=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=b(n(13)),a=b(n(1)),s=b(n(4)),c=b(n(30)),l=b(n(21)),u=n(12),d=n(16),f=b(n(6)),h=n(14),p=b(n(15)),v=b(n(94)),m=n(7);function b(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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}var k=b(n(91)).default.reactDates.color;function _(e,t){if(!e)return null;var n=e.hover;return t&&n?n:e}var w=s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string,hover:s.default.shape({background:s.default.string,border:(0,u.or)([s.default.string,s.default.number]),color:s.default.string})}),O=(0,u.forbidExtraProps)((0,i.default)({},d.withStylesPropTypes,{day:l.default.momentObj,daySize:u.nonNegativeInteger,isOutsideDay:s.default.bool,modifiers:s.default.instanceOf(Set),isFocused:s.default.bool,tabIndex:s.default.oneOf([0,-1]),onDayClick:s.default.func,onDayMouseEnter:s.default.func,onDayMouseLeave:s.default.func,renderDayContents:s.default.func,ariaLabelFormat:s.default.string,defaultStyles:w,outsideStyles:w,todayStyles:w,firstDayOfWeekStyles:w,lastDayOfWeekStyles:w,highlightedCalendarStyles:w,blockedMinNightsStyles:w,blockedCalendarStyles:w,blockedOutOfRangeStyles:w,hoveredSpanStyles:w,selectedSpanStyles:w,lastInRangeStyles:w,selectedStyles:w,selectedStartStyles:w,selectedEndStyles:w,afterHoveredStartStyles:w,phrases:s.default.shape((0,p.default)(h.CalendarDayPhrases))})),S=t.defaultStyles={border:"1px solid "+String(k.core.borderLight),color:k.text,background:k.background,hover:{background:k.core.borderLight,border:"1px double "+String(k.core.borderLight),color:"inherit"}},E=t.outsideStyles={background:k.outside.backgroundColor,border:0,color:k.outside.color},C=t.highlightedCalendarStyles={background:k.highlighted.backgroundColor,color:k.highlighted.color,hover:{background:k.highlighted.backgroundColor_hover,color:k.highlighted.color_active}},T=t.blockedMinNightsStyles={background:k.minimumNights.backgroundColor,border:"1px solid "+String(k.minimumNights.borderColor),color:k.minimumNights.color,hover:{background:k.minimumNights.backgroundColor_hover,color:k.minimumNights.color_active}},x=t.blockedCalendarStyles={background:k.blocked_calendar.backgroundColor,border:"1px solid "+String(k.blocked_calendar.borderColor),color:k.blocked_calendar.color,hover:{background:k.blocked_calendar.backgroundColor_hover,border:"1px solid "+String(k.blocked_calendar.borderColor),color:k.blocked_calendar.color_active}},D=t.blockedOutOfRangeStyles={background:k.blocked_out_of_range.backgroundColor,border:"1px solid "+String(k.blocked_out_of_range.borderColor),color:k.blocked_out_of_range.color,hover:{background:k.blocked_out_of_range.backgroundColor_hover,border:"1px solid "+String(k.blocked_out_of_range.borderColor),color:k.blocked_out_of_range.color_active}},M=t.hoveredSpanStyles={background:k.hoveredSpan.backgroundColor,border:"1px solid "+String(k.hoveredSpan.borderColor),color:k.hoveredSpan.color,hover:{background:k.hoveredSpan.backgroundColor_hover,border:"1px solid "+String(k.hoveredSpan.borderColor),color:k.hoveredSpan.color_active}},j=t.selectedSpanStyles={background:k.selectedSpan.backgroundColor,border:"1px solid "+String(k.selectedSpan.borderColor),color:k.selectedSpan.color,hover:{background:k.selectedSpan.backgroundColor_hover,border:"1px solid "+String(k.selectedSpan.borderColor),color:k.selectedSpan.color_active}},I=t.lastInRangeStyles={borderRight:k.core.primary},P=t.selectedStyles={background:k.selected.backgroundColor,border:"1px solid "+String(k.selected.borderColor),color:k.selected.color,hover:{background:k.selected.backgroundColor_hover,border:"1px solid "+String(k.selected.borderColor),color:k.selected.color_active}},N={day:(0,f.default)(),daySize:m.DAY_SIZE,isOutsideDay:!1,modifiers:new Set,isFocused:!1,tabIndex:-1,onDayClick:function(){},onDayMouseEnter:function(){},onDayMouseLeave:function(){},renderDayContents:null,ariaLabelFormat:"dddd, LL",defaultStyles:S,outsideStyles:E,todayStyles:{},highlightedCalendarStyles:C,blockedMinNightsStyles:T,blockedCalendarStyles:x,blockedOutOfRangeStyles:D,hoveredSpanStyles:M,selectedSpanStyles:j,lastInRangeStyles:I,selectedStyles:P,selectedStartStyles:{},selectedEndStyles:{},afterHoveredStartStyles:{},firstDayOfWeekStyles:{},lastDayOfWeekStyles:{},phrases:h.CalendarDayPhrases},R=function(e){function t(){var e;g(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.state={isHovered:!1},i.setButtonRef=i.setButtonRef.bind(i),i}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),o(t,[{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isFocused,r=t.tabIndex;0===r&&(n||r!==e.tabIndex)&&this.buttonRef.focus()}},{key:"onDayClick",value:function(e,t){(0,this.props.onDayClick)(e,t)}},{key:"onDayMouseEnter",value:function(e,t){var n=this.props.onDayMouseEnter;this.setState({isHovered:!0}),n(e,t)}},{key:"onDayMouseLeave",value:function(e,t){var n=this.props.onDayMouseLeave;this.setState({isHovered:!1}),n(e,t)}},{key:"onKeyDown",value:function(e,t){var n=this.props.onDayClick,r=t.key;"Enter"!==r&&" "!==r||n(e,t)}},{key:"setButtonRef",value:function(e){this.buttonRef=e}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,o=t.ariaLabelFormat,i=t.daySize,s=t.isOutsideDay,c=t.modifiers,l=t.tabIndex,u=t.renderDayContents,f=t.styles,h=t.phrases,p=t.defaultStyles,m=t.outsideStyles,b=t.todayStyles,g=t.firstDayOfWeekStyles,y=t.lastDayOfWeekStyles,k=t.highlightedCalendarStyles,w=t.blockedMinNightsStyles,O=t.blockedCalendarStyles,S=t.blockedOutOfRangeStyles,E=t.hoveredSpanStyles,C=t.selectedSpanStyles,T=t.lastInRangeStyles,x=t.selectedStyles,D=t.selectedStartStyles,M=t.selectedEndStyles,j=t.afterHoveredStartStyles,I=this.state.isHovered;if(!n)return a.default.createElement("td",null);var P=(0,v.default)(n,o,i,c,h),N=P.daySizeStyles,R=P.useDefaultCursor,L=P.selected,A=P.hoveredSpan,z=P.isOutsideRange,F=P.ariaLabel;return a.default.createElement("td",r({},(0,d.css)(f.CalendarDay,R&&f.CalendarDay__defaultCursor,N,_(p,I),s&&_(m,I),c.has("today")&&_(b,I),c.has("first-day-of-week")&&_(g,I),c.has("last-day-of-week")&&_(y,I),c.has("highlighted-calendar")&&_(k,I),c.has("blocked-minimum-nights")&&_(w,I),c.has("blocked-calendar")&&_(O,I),A&&_(E,I),c.has("after-hovered-start")&&_(j,I),c.has("selected-span")&&_(C,I),c.has("last-in-range")&&_(T,I),L&&_(x,I),c.has("selected-start")&&_(D,I),c.has("selected-end")&&_(M,I),z&&_(S,I)),{role:"button",ref:this.setButtonRef,"aria-label":F,onMouseEnter:function(t){e.onDayMouseEnter(n,t)},onMouseLeave:function(t){e.onDayMouseLeave(n,t)},onMouseUp:function(e){e.currentTarget.blur()},onClick:function(t){e.onDayClick(n,t)},onKeyDown:function(t){e.onKeyDown(n,t)},tabIndex:l}),u?u(n,c):n.format("D"))}}]),t}(a.default.Component);R.propTypes=O,R.defaultProps=N,t.PureCustomizableCalendarDay=R,t.default=(0,d.withStyles)((function(e){return{CalendarDay:{boxSizing:"border-box",cursor:"pointer",fontSize:e.reactDates.font.size,textAlign:"center",":active":{outline:0}},CalendarDay__defaultCursor:{cursor:"default"}}}))(R)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default.localeData().firstDayOfWeek();if(!i.default.isMoment(e)||!e.isValid())throw new TypeError("`month` must be a valid moment object");if(-1===a.WEEKDAYS.indexOf(n))throw new TypeError("`firstDayOfWeek` must be an integer between 0 and 6");for(var r=e.clone().startOf("month").hour(12),o=e.clone().endOf("month").hour(12),s=(r.day()+7-n)%7,c=(n+6-o.day())%7,l=r.clone().subtract(s,"day"),u=o.clone().add(c,"day"),d=u.diff(l,"days")+1,f=l.clone(),h=[],p=0;p<d;p+=1){p%7==0&&h.push([]);var v=null;(p>=s&&p<d-c||t)&&(v=f.clone()),h[h.length-1].push(v),f.add(1,"day")}return h};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r},a=n(7)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!!("undefined"!=typeof window&&"TransitionEvent"in window)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{transform:e,msTransform:e,MozTransform:e,WebkitTransform:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().subtract(1,"month"),t)};var r=i(n(6)),o=i(n(99));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&(0,o.default)(e.clone().add(1,"month"),t)};var r=i(n(6)),o=i(n(99));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureDateRangePicker=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=C(n(13)),a=C(n(1)),s=C(n(30)),c=C(n(6)),l=n(16),u=n(126),d=n(12),f=n(51),h=C(n(34)),p=C(n(65)),v=C(n(104)),m=n(14),b=C(n(108)),g=C(n(109)),y=C(n(67)),k=C(n(42)),_=C(n(110)),w=C(n(111)),O=C(n(120)),S=C(n(44)),E=n(7);function C(e){return e&&e.__esModule?e:{default:e}}var T=(0,d.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,v.default)),x={startDate:null,endDate:null,focusedInput:null,startDatePlaceholderText:"Start Date",endDatePlaceholderText:"End Date",disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDates:!1,showDefaultInputIcon:!1,inputIconPosition:E.ICON_BEFORE_POSITION,customInputIcon:null,customArrowIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,keepFocusOnInput:!1,renderMonthText:null,orientation:E.HORIZONTAL_ORIENTATION,anchorDirection:E.ANCHOR_LEFT,openDirection:E.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDates:!1,renderCalendarInfo:null,calendarInfoPosition:E.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:E.DAY_SIZE,isRTL:!1,firstDayOfWeek:null,verticalHeight:null,transitionDuration:void 0,verticalSpacing:E.DEFAULT_VERTICAL_SPACING,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,minimumNights:1,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,k.default)(e,(0,c.default)())},isDayHighlighted:function(){return!1},displayFormat:function(){return c.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:m.DateRangePickerPhrases,dayAriaLabelFormat:void 0},D=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.state={dayPickerContainerStyles:{},isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1},n.isTouchDevice=!1,n.onOutsideClick=n.onOutsideClick.bind(n),n.onDateRangePickerInputFocus=n.onDateRangePickerInputFocus.bind(n),n.onDayPickerFocus=n.onDayPickerFocus.bind(n),n.onDayPickerBlur=n.onDayPickerBlur.bind(n),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind(n),n.responsivizePickerPosition=n.responsivizePickerPosition.bind(n),n.disableScroll=n.disableScroll.bind(n),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,f.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focusedInput&&this.setState({isDateRangePickerInputFocused:!0}),this.isTouchDevice=(0,h.default)()}},{key:"shouldComponentUpdate",value:function(e,t){return(0,s.default)(this,e,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.focusedInput;!e.focusedInput&&t&&this.isOpened()?(this.responsivizePickerPosition(),this.disableScroll()):!e.focusedInput||t||this.isOpened()||this.enableScroll&&this.enableScroll()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()}},{key:"onOutsideClick",value:function(e){var t=this.props,n=t.onFocusChange,r=t.onClose,o=t.startDate,i=t.endDate,a=t.appendToBody;this.isOpened()&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!1,showKeyboardShortcuts:!1}),n(null),r({startDate:o,endDate:i})))}},{key:"onDateRangePickerInputFocus",value:function(e){var t=this.props,n=t.onFocusChange,r=t.readOnly,o=t.withPortal,i=t.withFullScreenPortal,a=t.keepFocusOnInput;e&&(o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur()),n(e)}},{key:"onDayPickerFocus",value:function(){var e=this.props,t=e.focusedInput,n=e.onFocusChange;t||n(E.START_DATE),this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})}},{key:"onDayPickerBlur",value:function(){this.setState({isDateRangePickerInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})}},{key:"setDayPickerContainerRef",value:function(e){this.dayPickerContainer=e}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"isOpened",value:function(){var e=this.props.focusedInput;return e===E.START_DATE||e===E.END_DATE}},{key:"disableScroll",value:function(){var e=this.props,t=e.appendToBody,n=e.disableScroll;(t||n)&&this.isOpened()&&(this.enableScroll=(0,_.default)(this.container))}},{key:"responsivizePickerPosition",value:function(){if(this.setState({dayPickerContainerStyles:{}}),this.isOpened()){var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,a=e.withFullScreenPortal,s=e.appendToBody,c=this.state.dayPickerContainerStyles,l=n===E.ANCHOR_LEFT;if(!o&&!a){var u=this.dayPickerContainer.getBoundingClientRect(),d=c[n]||0,f=l?u[E.ANCHOR_RIGHT]:u[E.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:(0,i.default)({},(0,b.default)(n,d,f,r),s&&(0,g.default)(t,n,this.container))})}}}},{key:"showKeyboardShortcutsPanel",value:function(){this.setState({isDateRangePickerInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})}},{key:"maybeRenderDayPickerWithPortal",value:function(){var e=this.props,t=e.withPortal,n=e.withFullScreenPortal,r=e.appendToBody;return this.isOpened()?t||n||r?a.default.createElement(u.Portal,null,this.renderDayPicker()):this.renderDayPicker():null}},{key:"renderDayPicker",value:function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,o=e.isDayBlocked,i=e.isDayHighlighted,s=e.isOutsideRange,u=e.numberOfMonths,d=e.orientation,f=e.monthFormat,h=e.renderMonthText,p=e.navPrev,v=e.navNext,m=e.onPrevMonthClick,b=e.onNextMonthClick,g=e.onDatesChange,k=e.onFocusChange,_=e.withPortal,w=e.withFullScreenPortal,C=e.daySize,T=e.enableOutsideDays,x=e.focusedInput,D=e.startDate,M=e.endDate,j=e.minimumNights,I=e.keepOpenOnDateSelect,P=e.renderCalendarDay,N=e.renderDayContents,R=e.renderCalendarInfo,L=e.renderMonthElement,A=e.calendarInfoPosition,z=e.firstDayOfWeek,F=e.initialVisibleMonth,H=e.hideKeyboardShortcutsPanel,V=e.customCloseIcon,B=e.onClose,U=e.phrases,W=e.dayAriaLabelFormat,K=e.isRTL,Y=e.weekDayFormat,$=e.styles,q=e.verticalHeight,G=e.transitionDuration,Z=e.verticalSpacing,X=e.small,Q=e.disabled,J=e.theme.reactDates,ee=this.state,te=ee.dayPickerContainerStyles,ne=ee.isDayPickerFocused,re=ee.showKeyboardShortcuts,oe=!w&&_?this.onOutsideClick:void 0,ie=F||function(){return D||M||(0,c.default)()},ae=V||a.default.createElement(S.default,(0,l.css)($.DateRangePicker_closeButton_svg)),se=(0,y.default)(J,X),ce=_||w;return a.default.createElement("div",r({ref:this.setDayPickerContainerRef},(0,l.css)($.DateRangePicker_picker,t===E.ANCHOR_LEFT&&$.DateRangePicker_picker__directionLeft,t===E.ANCHOR_RIGHT&&$.DateRangePicker_picker__directionRight,d===E.HORIZONTAL_ORIENTATION&&$.DateRangePicker_picker__horizontal,d===E.VERTICAL_ORIENTATION&&$.DateRangePicker_picker__vertical,!ce&&n===E.OPEN_DOWN&&{top:se+Z},!ce&&n===E.OPEN_UP&&{bottom:se+Z},ce&&$.DateRangePicker_picker__portal,w&&$.DateRangePicker_picker__fullScreenPortal,K&&$.DateRangePicker_picker__rtl,te),{onClick:oe}),a.default.createElement(O.default,{orientation:d,enableOutsideDays:T,numberOfMonths:u,onPrevMonthClick:m,onNextMonthClick:b,onDatesChange:g,onFocusChange:k,onClose:B,focusedInput:x,startDate:D,endDate:M,monthFormat:f,renderMonthText:h,withPortal:ce,daySize:C,initialVisibleMonth:ie,hideKeyboardShortcutsPanel:H,navPrev:p,navNext:v,minimumNights:j,isOutsideRange:s,isDayHighlighted:i,isDayBlocked:o,keepOpenOnDateSelect:I,renderCalendarDay:P,renderDayContents:N,renderCalendarInfo:R,renderMonthElement:L,calendarInfoPosition:A,isFocused:ne,showKeyboardShortcuts:re,onBlur:this.onDayPickerBlur,phrases:U,dayAriaLabelFormat:W,isRTL:K,firstDayOfWeek:z,weekDayFormat:Y,verticalHeight:q,transitionDuration:G,disabled:Q}),w&&a.default.createElement("button",r({},(0,l.css)($.DateRangePicker_closeButton),{type:"button",onClick:this.onOutsideClick,"aria-label":U.closeDatePicker}),ae))}},{key:"render",value:function(){var e=this.props,t=e.startDate,n=e.startDateId,o=e.startDatePlaceholderText,i=e.endDate,s=e.endDateId,c=e.endDatePlaceholderText,u=e.focusedInput,d=e.screenReaderInputMessage,f=e.showClearDates,h=e.showDefaultInputIcon,v=e.inputIconPosition,m=e.customInputIcon,b=e.customArrowIcon,g=e.customCloseIcon,y=e.disabled,k=e.required,_=e.readOnly,O=e.openDirection,S=e.phrases,C=e.isOutsideRange,T=e.minimumNights,x=e.withPortal,D=e.withFullScreenPortal,M=e.displayFormat,j=e.reopenPickerOnClearDates,I=e.keepOpenOnDateSelect,P=e.onDatesChange,N=e.onClose,R=e.isRTL,L=e.noBorder,A=e.block,z=e.verticalSpacing,F=e.small,H=e.regular,V=e.styles,B=this.state.isDateRangePickerInputFocused,U=!x&&!D,W=z<E.FANG_HEIGHT_PX,K=a.default.createElement(w.default,{startDate:t,startDateId:n,startDatePlaceholderText:o,isStartDateFocused:u===E.START_DATE,endDate:i,endDateId:s,endDatePlaceholderText:c,isEndDateFocused:u===E.END_DATE,displayFormat:M,showClearDates:f,showCaret:!x&&!D&&!W,showDefaultInputIcon:h,inputIconPosition:v,customInputIcon:m,customArrowIcon:b,customCloseIcon:g,disabled:y,required:k,readOnly:_,openDirection:O,reopenPickerOnClearDates:j,keepOpenOnDateSelect:I,isOutsideRange:C,minimumNights:T,withFullScreenPortal:D,onDatesChange:P,onFocusChange:this.onDateRangePickerInputFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,onClose:N,phrases:S,screenReaderMessage:d,isFocused:B,isRTL:R,noBorder:L,block:A,small:F,regular:H,verticalSpacing:z});return a.default.createElement("div",r({ref:this.setContainerRef},(0,l.css)(V.DateRangePicker,A&&V.DateRangePicker__block)),U&&a.default.createElement(p.default,{onOutsideClick:this.onOutsideClick},K,this.maybeRenderDayPickerWithPortal()),!U&&K,!U&&this.maybeRenderDayPickerWithPortal())}}]),t}(a.default.Component);D.propTypes=T,D.defaultProps=x,t.PureDateRangePicker=D,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{DateRangePicker:{position:"relative",display:"inline-block"},DateRangePicker__block:{display:"block"},DateRangePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},DateRangePicker_picker__rtl:{direction:"rtl"},DateRangePicker_picker__directionLeft:{left:0},DateRangePicker_picker__directionRight:{right:0},DateRangePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:0,height:"100%",width:"100%"},DateRangePicker_picker__fullScreenPortal:{backgroundColor:n.background},DateRangePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:0,padding:15,zIndex:r+2,":hover":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"},":focus":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"}},DateRangePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}))(D)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),i=u(n(4)),a=n(12),s=n(51),c=u(n(66)),l=u(n(217));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}var h={BLOCK:"block",FLEX:"flex",INLINE_BLOCK:"inline-block"},p=(0,a.forbidExtraProps)({children:i.default.node.isRequired,onOutsideClick:i.default.func.isRequired,disabled:i.default.bool,useCapture:i.default.bool,display:i.default.oneOf((0,c.default)(h))}),v={disabled:!1,useCapture:!0,display:h.BLOCK},m=function(e){function t(){var e;d(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return i.onMouseDown=i.onMouseDown.bind(i),i.onMouseUp=i.onMouseUp.bind(i),i.setChildNodeRef=i.setChildNodeRef.bind(i),i}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(){var e=this.props,t=e.disabled,n=e.useCapture;t||this.addMouseDownEventListener(n)}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled,n=e.useCapture;this.props.disabled!==t&&(t?this.removeEventListeners():this.addMouseDownEventListener(n))}},{key:"componentWillUnmount",value:function(){this.removeEventListeners()}},{key:"onMouseDown",value:function(e){var t=this.props.useCapture;this.childNode&&(0,l.default)(this.childNode,e.target)||(this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),this.removeMouseUp=(0,s.addEventListener)(document,"mouseup",this.onMouseUp,{capture:t}))}},{key:"onMouseUp",value:function(e){var t=this.props.onOutsideClick,n=this.childNode&&(0,l.default)(this.childNode,e.target);this.removeMouseUp&&(this.removeMouseUp(),this.removeMouseUp=null),n||t(e)}},{key:"setChildNodeRef",value:function(e){this.childNode=e}},{key:"addMouseDownEventListener",value:function(e){this.removeMouseDown=(0,s.addEventListener)(document,"mousedown",this.onMouseDown,{capture:e})}},{key:"removeEventListeners",value:function(){this.removeMouseDown&&this.removeMouseDown(),this.removeMouseUp&&this.removeMouseUp()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.display;return o.default.createElement("div",{ref:this.setChildNodeRef,style:n!==h.BLOCK&&(0,c.default)(h).includes(n)?{display:n}:void 0},t)}}]),t}(o.default.Component);t.default=m,m.propTypes=p,m.defaultProps=v},function(e,t,n){"use strict";e.exports=n(80)},function(e,t,n){"use strict";var r=n(101),o=n(20);e.exports=function(){var e=r();return o(Object,{values:e},{values:function(){return Object.values!==e}}),e}},function(e,t,n){"use strict";var r=n(20),o=n(102),i=n(103),a=i(),s=function(e,t){return a.apply(e,[t])};r(s,{getPolyfill:i,implementation:o,shim:n(218)}),e.exports=s},function(e,t,n){"use strict";var r=n(20),o=n(103);e.exports=function(){var e=o();return"undefined"!=typeof document&&(r(document,{contains:e},{contains:function(){return document.contains!==e}}),"undefined"!=typeof Element&&r(Element.prototype,{contains:e},{contains:function(){return Element.prototype.contains!==e}})),e}},function(e,t,n){var r=n(68),o=n(220),i=n(222),a=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,u,d,f,h,p=0,v=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=l;return c=l=void 0,p=t,d=e.apply(r,n)}function y(e){return p=e,f=setTimeout(_,t),v?g(e):d}function k(e){var n=e-h;return void 0===h||n>=t||n<0||m&&e-p>=u}function _(){var e=o();if(k(e))return w(e);f=setTimeout(_,function(e){var n=t-(e-h);return m?s(n,u-(e-p)):n}(e))}function w(e){return f=void 0,b&&c?g(e):(c=l=void 0,d)}function O(){var e=o(),n=k(e);if(c=arguments,l=this,h=e,n){if(void 0===f)return y(h);if(m)return clearTimeout(f),f=setTimeout(_,t),g(h)}return void 0===f&&(f=setTimeout(_,t)),d}return t=i(t)||0,r(n)&&(v=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,b="trailing"in n?!!n.trailing:b),O.cancel=function(){void 0!==f&&clearTimeout(f),p=0,c=h=l=f=void 0},O.flush=function(){return void 0===f?d:w(o())},O}},function(e,t,n){var r=n(115);e.exports=function(){return r.Date.now()}},function(e,t){var n="object"==typeof window&&window&&window.Object===Object&&window;e.exports=n},function(e,t,n){var r=n(68),o=n(223),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(224),o=n(227);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(116),o=n(225),i=n(226),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(116),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return e?n(e(t.clone())):t};var r=function(e){return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=b(n(13)),i=b(n(1)),a=b(n(4)),s=n(12),c=n(16),l=n(14),u=b(n(15)),d=b(n(118)),f=b(n(117)),h=b(n(230)),p=b(n(231)),v=b(n(33)),m=n(7);function b(e){return e&&e.__esModule?e:{default:e}}function g(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var y=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{navPrev:a.default.node,navNext:a.default.node,orientation:v.default,onPrevMonthClick:a.default.func,onNextMonthClick:a.default.func,phrases:a.default.shape((0,u.default)(l.DayPickerNavigationPhrases)),isRTL:a.default.bool})),k={navPrev:null,navNext:null,orientation:m.HORIZONTAL_ORIENTATION,onPrevMonthClick:function(){},onNextMonthClick:function(){},phrases:l.DayPickerNavigationPhrases,isRTL:!1};function _(e){var t=e.navPrev,n=e.navNext,o=e.onPrevMonthClick,a=e.onNextMonthClick,s=e.orientation,l=e.phrases,u=e.isRTL,v=e.styles,b=s===m.HORIZONTAL_ORIENTATION,y=s!==m.HORIZONTAL_ORIENTATION,k=s===m.VERTICAL_SCROLLABLE,_=t,w=n,O=!1,S=!1;if(!_){O=!0;var E=y?h.default:d.default;u&&!y&&(E=f.default),_=i.default.createElement(E,(0,c.css)(b&&v.DayPickerNavigation_svg__horizontal,y&&v.DayPickerNavigation_svg__vertical))}if(!w){S=!0;var C=y?p.default:f.default;u&&!y&&(C=d.default),w=i.default.createElement(C,(0,c.css)(b&&v.DayPickerNavigation_svg__horizontal,y&&v.DayPickerNavigation_svg__vertical))}var T=k?S:S||O;return i.default.createElement("div",c.css.apply(void 0,[v.DayPickerNavigation,b&&v.DayPickerNavigation__horizontal].concat(g(y&&[v.DayPickerNavigation__vertical,T&&v.DayPickerNavigation__verticalDefault]),g(k&&[v.DayPickerNavigation__verticalScrollable,T&&v.DayPickerNavigation__verticalScrollableDefault]))),!k&&i.default.createElement("div",r({role:"button",tabIndex:"0"},c.css.apply(void 0,[v.DayPickerNavigation_button,O&&v.DayPickerNavigation_button__default].concat(g(b&&[v.DayPickerNavigation_button__horizontal].concat(g(O&&[v.DayPickerNavigation_button__horizontalDefault,!u&&v.DayPickerNavigation_leftButton__horizontalDefault,u&&v.DayPickerNavigation_rightButton__horizontalDefault]))),g(y&&[v.DayPickerNavigation_button__vertical].concat(g(O&&[v.DayPickerNavigation_button__verticalDefault,v.DayPickerNavigation_prevButton__verticalDefault]))))),{"aria-label":l.jumpToPrevMonth,onClick:o,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||o(e)},onMouseUp:function(e){e.currentTarget.blur()}}),_),i.default.createElement("div",r({role:"button",tabIndex:"0"},c.css.apply(void 0,[v.DayPickerNavigation_button,S&&v.DayPickerNavigation_button__default].concat(g(b&&[v.DayPickerNavigation_button__horizontal].concat(g(S&&[v.DayPickerNavigation_button__horizontalDefault,u&&v.DayPickerNavigation_leftButton__horizontalDefault,!u&&v.DayPickerNavigation_rightButton__horizontalDefault]))),g(y&&[v.DayPickerNavigation_button__vertical,v.DayPickerNavigation_nextButton__vertical].concat(g(S&&[v.DayPickerNavigation_button__verticalDefault,v.DayPickerNavigation_nextButton__verticalDefault,k&&v.DayPickerNavigation_nextButton__verticalScrollableDefault]))))),{"aria-label":l.jumpToNextMonth,onClick:a,onKeyUp:function(e){var t=e.key;"Enter"!==t&&" "!==t||a(e)},onMouseUp:function(e){e.currentTarget.blur()}}),w))}_.propTypes=y,_.defaultProps=k,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color;return{DayPickerNavigation:{position:"relative",zIndex:t.zIndex+2},DayPickerNavigation__horizontal:{height:0},DayPickerNavigation__vertical:{},DayPickerNavigation__verticalScrollable:{},DayPickerNavigation__verticalDefault:{position:"absolute",width:"100%",height:52,bottom:0,left:0},DayPickerNavigation__verticalScrollableDefault:{position:"relative"},DayPickerNavigation_button:{cursor:"pointer",userSelect:"none",border:0,padding:0,margin:0},DayPickerNavigation_button__default:{border:"1px solid "+String(n.core.borderLight),backgroundColor:n.background,color:n.placeholderText,":focus":{border:"1px solid "+String(n.core.borderMedium)},":hover":{border:"1px solid "+String(n.core.borderMedium)},":active":{background:n.backgroundDark}},DayPickerNavigation_button__horizontal:{},DayPickerNavigation_button__horizontalDefault:{position:"absolute",top:18,lineHeight:.78,borderRadius:3,padding:"6px 9px"},DayPickerNavigation_leftButton__horizontalDefault:{left:22},DayPickerNavigation_rightButton__horizontalDefault:{right:22},DayPickerNavigation_button__vertical:{},DayPickerNavigation_button__verticalDefault:{padding:5,background:n.background,boxShadow:"0 0 5px 2px rgba(0, 0, 0, 0.1)",position:"relative",display:"inline-block",height:"100%",width:"50%"},DayPickerNavigation_prevButton__verticalDefault:{},DayPickerNavigation_nextButton__verticalDefault:{borderLeft:0},DayPickerNavigation_nextButton__verticalScrollableDefault:{width:"100%"},DayPickerNavigation_svg__horizontal:{height:19,width:19,fill:n.core.grayLight,display:"block"},DayPickerNavigation_svg__vertical:{height:42,width:42,fill:n.text,display:"block"}}}))(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M32.1 712.6l453.2-452.2c11-11 21-11 32 0l453.2 452.2c4 5 6 10 6 16 0 13-10 23-22 23-7 0-12-2-16-7L501.3 308.5 64.1 744.7c-4 5-9 7-15 7-7 0-12-2-17-7-9-11-9-21 0-32.1z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e){return i.default.createElement("svg",e,i.default.createElement("path",{d:"M967.5 288.5L514.3 740.7c-11 11-21 11-32 0L29.1 288.5c-4-5-6-11-6-16 0-13 10-23 23-23 6 0 11 2 15 7l437.2 436.2 437.2-436.2c4-5 9-7 16-7 6 0 11 2 16 7 9 10.9 9 21 0 32z"}))};a.defaultProps={viewBox:"0 0 1000 1000"},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOTTOM_RIGHT=t.TOP_RIGHT=t.TOP_LEFT=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=p(n(13)),a=p(n(1)),s=p(n(4)),c=n(12),l=n(16),u=n(14),d=p(n(15)),f=p(n(233)),h=p(n(44));function p(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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}var b=t.TOP_LEFT="top-left",g=t.TOP_RIGHT="top-right",y=t.BOTTOM_RIGHT="bottom-right",k=(0,c.forbidExtraProps)((0,i.default)({},l.withStylesPropTypes,{block:s.default.bool,buttonLocation:s.default.oneOf([b,g,y]),showKeyboardShortcutsPanel:s.default.bool,openKeyboardShortcutsPanel:s.default.func,closeKeyboardShortcutsPanel:s.default.func,phrases:s.default.shape((0,d.default)(u.DayPickerKeyboardShortcutsPhrases))})),_={block:!1,buttonLocation:y,showKeyboardShortcutsPanel:!1,openKeyboardShortcutsPanel:function(){},closeKeyboardShortcutsPanel:function(){},phrases:u.DayPickerKeyboardShortcutsPhrases};function w(e){return[{unicode:"↵",label:e.enterKey,action:e.selectFocusedDate},{unicode:"←/→",label:e.leftArrowRightArrow,action:e.moveFocusByOneDay},{unicode:"↑/↓",label:e.upArrowDownArrow,action:e.moveFocusByOneWeek},{unicode:"PgUp/PgDn",label:e.pageUpPageDown,action:e.moveFocusByOneMonth},{unicode:"Home/End",label:e.homeEnd,action:e.moveFocustoStartAndEndOfWeek},{unicode:"Esc",label:e.escape,action:e.returnFocusToInput},{unicode:"?",label:e.questionMark,action:e.openThisPanel}]}var O=function(e){function t(){var e;v(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),a=i.props.phrases;return i.keyboardShortcuts=w(a),i.onShowKeyboardShortcutsButtonClick=i.onShowKeyboardShortcutsButtonClick.bind(i),i.setShowKeyboardShortcutsButtonRef=i.setShowKeyboardShortcutsButtonRef.bind(i),i.setHideKeyboardShortcutsButtonRef=i.setHideKeyboardShortcutsButtonRef.bind(i),i.handleFocus=i.handleFocus.bind(i),i.onKeyDown=i.onKeyDown.bind(i),i}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),o(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.phrases;e.phrases!==t&&(this.keyboardShortcuts=w(e.phrases))}},{key:"componentDidUpdate",value:function(){this.handleFocus()}},{key:"onKeyDown",value:function(e){e.stopPropagation();var t=this.props.closeKeyboardShortcutsPanel;switch(e.key){case"Enter":case" ":case"Spacebar":case"Escape":t();break;case"ArrowUp":case"ArrowDown":break;case"Tab":case"Home":case"End":case"PageUp":case"PageDown":case"ArrowLeft":case"ArrowRight":e.preventDefault()}}},{key:"onShowKeyboardShortcutsButtonClick",value:function(){var e=this;(0,this.props.openKeyboardShortcutsPanel)((function(){e.showKeyboardShortcutsButton.focus()}))}},{key:"setShowKeyboardShortcutsButtonRef",value:function(e){this.showKeyboardShortcutsButton=e}},{key:"setHideKeyboardShortcutsButtonRef",value:function(e){this.hideKeyboardShortcutsButton=e}},{key:"handleFocus",value:function(){this.hideKeyboardShortcutsButton&&this.hideKeyboardShortcutsButton.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.block,o=t.buttonLocation,i=t.showKeyboardShortcutsPanel,s=t.closeKeyboardShortcutsPanel,c=t.styles,u=t.phrases,d=i?u.hideKeyboardShortcutsPanel:u.showKeyboardShortcutsPanel,p=o===y,v=o===g,m=o===b;return a.default.createElement("div",null,a.default.createElement("button",r({ref:this.setShowKeyboardShortcutsButtonRef},(0,l.css)(c.DayPickerKeyboardShortcuts_buttonReset,c.DayPickerKeyboardShortcuts_show,p&&c.DayPickerKeyboardShortcuts_show__bottomRight,v&&c.DayPickerKeyboardShortcuts_show__topRight,m&&c.DayPickerKeyboardShortcuts_show__topLeft),{type:"button","aria-label":d,onClick:this.onShowKeyboardShortcutsButtonClick,onKeyDown:function(t){"Enter"===t.key?t.preventDefault():"Space"===t.key&&e.onShowKeyboardShortcutsButtonClick(t)},onMouseUp:function(e){e.currentTarget.blur()}}),a.default.createElement("span",(0,l.css)(c.DayPickerKeyboardShortcuts_showSpan,p&&c.DayPickerKeyboardShortcuts_showSpan__bottomRight,v&&c.DayPickerKeyboardShortcuts_showSpan__topRight,m&&c.DayPickerKeyboardShortcuts_showSpan__topLeft),"?")),i&&a.default.createElement("div",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_panel),{role:"dialog","aria-labelledby":"DayPickerKeyboardShortcuts_title","aria-describedby":"DayPickerKeyboardShortcuts_description"}),a.default.createElement("div",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_title),{id:"DayPickerKeyboardShortcuts_title"}),u.keyboardShortcuts),a.default.createElement("button",r({ref:this.setHideKeyboardShortcutsButtonRef},(0,l.css)(c.DayPickerKeyboardShortcuts_buttonReset,c.DayPickerKeyboardShortcuts_close),{type:"button",tabIndex:"0","aria-label":u.hideKeyboardShortcutsPanel,onClick:s,onKeyDown:this.onKeyDown}),a.default.createElement(h.default,(0,l.css)(c.DayPickerKeyboardShortcuts_closeSvg))),a.default.createElement("ul",r({},(0,l.css)(c.DayPickerKeyboardShortcuts_list),{id:"DayPickerKeyboardShortcuts_description"}),this.keyboardShortcuts.map((function(e){var t=e.unicode,r=e.label,o=e.action;return a.default.createElement(f.default,{key:r,unicode:t,label:r,action:o,block:n})})))))}}]),t}(a.default.Component);O.propTypes=k,O.defaultProps=_,t.default=(0,l.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.font,o=t.zIndex;return{DayPickerKeyboardShortcuts_buttonReset:{background:"none",border:0,borderRadius:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",padding:0,cursor:"pointer",fontSize:r.size,":active":{outline:"none"}},DayPickerKeyboardShortcuts_show:{width:22,position:"absolute",zIndex:o+2},DayPickerKeyboardShortcuts_show__bottomRight:{borderTop:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),bottom:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topRight:{borderBottom:"26px solid transparent",borderRight:"33px solid "+String(n.core.primary),top:0,right:0,":hover":{borderRight:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_show__topLeft:{borderBottom:"26px solid transparent",borderLeft:"33px solid "+String(n.core.primary),top:0,left:0,":hover":{borderLeft:"33px solid "+String(n.core.primary_dark)}},DayPickerKeyboardShortcuts_showSpan:{color:n.core.white,position:"absolute"},DayPickerKeyboardShortcuts_showSpan__bottomRight:{bottom:0,right:-28},DayPickerKeyboardShortcuts_showSpan__topRight:{top:1,right:-28},DayPickerKeyboardShortcuts_showSpan__topLeft:{top:1,left:-28},DayPickerKeyboardShortcuts_panel:{overflow:"auto",background:n.background,border:"1px solid "+String(n.core.border),borderRadius:2,position:"absolute",top:0,bottom:0,right:0,left:0,zIndex:o+2,padding:22,margin:33},DayPickerKeyboardShortcuts_title:{fontSize:16,fontWeight:"bold",margin:0},DayPickerKeyboardShortcuts_list:{listStyle:"none",padding:0,fontSize:r.size},DayPickerKeyboardShortcuts_close:{position:"absolute",right:22,top:22,zIndex:o+2,":active":{outline:"none"}},DayPickerKeyboardShortcuts_closeSvg:{height:15,width:15,fill:n.core.grayLighter,":hover":{fill:n.core.grayLight},":focus":{fill:n.core.grayLight}}}}))(O)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=l(n(13)),i=l(n(1)),a=l(n(4)),s=n(12),c=n(16);function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,s.forbidExtraProps)((0,o.default)({},c.withStylesPropTypes,{unicode:a.default.string.isRequired,label:a.default.string.isRequired,action:a.default.string.isRequired,block:a.default.bool}));function d(e){var t=e.unicode,n=e.label,o=e.action,a=e.block,s=e.styles;return i.default.createElement("li",(0,c.css)(s.KeyboardShortcutRow,a&&s.KeyboardShortcutRow__block),i.default.createElement("div",(0,c.css)(s.KeyboardShortcutRow_keyContainer,a&&s.KeyboardShortcutRow_keyContainer__block),i.default.createElement("span",r({},(0,c.css)(s.KeyboardShortcutRow_key),{role:"img","aria-label":String(n)+","}),t)),i.default.createElement("div",(0,c.css)(s.KeyboardShortcutRow_action),o))}d.propTypes=u,d.defaultProps={block:!1},t.default=(0,c.withStyles)((function(e){return{KeyboardShortcutRow:{listStyle:"none",margin:"6px 0"},KeyboardShortcutRow__block:{marginBottom:16},KeyboardShortcutRow_keyContainer:{display:"inline-block",whiteSpace:"nowrap",textAlign:"right",marginRight:6},KeyboardShortcutRow_keyContainer__block:{textAlign:"left",display:"inline"},KeyboardShortcutRow_key:{fontFamily:"monospace",fontSize:12,textTransform:"uppercase",background:e.reactDates.color.core.grayLightest,padding:"2px 6px"},KeyboardShortcutRow_action:{display:"inline",wordBreak:"break-word",marginLeft:8}}}))(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.default.localeData().firstDayOfWeek(),n=e.clone().startOf("month"),r=a(n,t);return Math.ceil((r+e.daysInMonth())/7)};var r,o=n(6),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return(e.day()-t+7)%7}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return"undefined"!=typeof document&&document.activeElement}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PureSingleDatePicker=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=T(n(13)),a=T(n(1)),s=T(n(6)),c=n(16),l=n(126),u=n(12),d=n(51),f=T(n(34)),h=T(n(65)),p=T(n(124)),v=n(14),m=T(n(32)),b=T(n(69)),g=T(n(108)),y=T(n(109)),k=T(n(67)),_=T(n(42)),w=T(n(110)),O=T(n(125)),S=T(n(123)),E=T(n(44)),C=n(7);function T(e){return e&&e.__esModule?e:{default:e}}var x=(0,u.forbidExtraProps)((0,i.default)({},c.withStylesPropTypes,p.default)),D={date:null,focused:!1,id:"date",placeholder:"Date",disabled:!1,required:!1,readOnly:!1,screenReaderInputMessage:"",showClearDate:!1,showDefaultInputIcon:!1,inputIconPosition:C.ICON_BEFORE_POSITION,customInputIcon:null,customCloseIcon:null,noBorder:!1,block:!1,small:!1,regular:!1,verticalSpacing:C.DEFAULT_VERTICAL_SPACING,keepFocusOnInput:!1,orientation:C.HORIZONTAL_ORIENTATION,anchorDirection:C.ANCHOR_LEFT,openDirection:C.OPEN_DOWN,horizontalMargin:0,withPortal:!1,withFullScreenPortal:!1,appendToBody:!1,disableScroll:!1,initialVisibleMonth:null,firstDayOfWeek:null,numberOfMonths:2,keepOpenOnDateSelect:!1,reopenPickerOnClearDate:!1,renderCalendarInfo:null,calendarInfoPosition:C.INFO_POSITION_BOTTOM,hideKeyboardShortcutsPanel:!1,daySize:C.DAY_SIZE,isRTL:!1,verticalHeight:null,transitionDuration:void 0,horizontalMonthPadding:13,navPrev:null,navNext:null,onPrevMonthClick:function(){},onNextMonthClick:function(){},onClose:function(){},renderMonthText:null,renderCalendarDay:void 0,renderDayContents:null,renderMonthElement:null,enableOutsideDays:!1,isDayBlocked:function(){return!1},isOutsideRange:function(e){return!(0,_.default)(e,(0,s.default)())},isDayHighlighted:function(){},displayFormat:function(){return s.default.localeData().longDateFormat("L")},monthFormat:"MMMM YYYY",weekDayFormat:"dd",phrases:v.SingleDatePickerPhrases,dayAriaLabelFormat:void 0},M=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.isTouchDevice=!1,n.state={dayPickerContainerStyles:{},isDayPickerFocused:!1,isInputFocused:!1,showKeyboardShortcuts:!1},n.onDayPickerFocus=n.onDayPickerFocus.bind(n),n.onDayPickerBlur=n.onDayPickerBlur.bind(n),n.showKeyboardShortcutsPanel=n.showKeyboardShortcutsPanel.bind(n),n.onChange=n.onChange.bind(n),n.onFocus=n.onFocus.bind(n),n.onClearFocus=n.onClearFocus.bind(n),n.clearDate=n.clearDate.bind(n),n.responsivizePickerPosition=n.responsivizePickerPosition.bind(n),n.disableScroll=n.disableScroll.bind(n),n.setDayPickerContainerRef=n.setDayPickerContainerRef.bind(n),n.setContainerRef=n.setContainerRef.bind(n),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),o(t,[{key:"componentDidMount",value:function(){this.removeEventListener=(0,d.addEventListener)(window,"resize",this.responsivizePickerPosition,{passive:!0}),this.responsivizePickerPosition(),this.disableScroll(),this.props.focused&&this.setState({isInputFocused:!0}),this.isTouchDevice=(0,f.default)()}},{key:"componentDidUpdate",value:function(e){var t=this.props.focused;!e.focused&&t?(this.responsivizePickerPosition(),this.disableScroll()):e.focused&&!t&&this.enableScroll&&this.enableScroll()}},{key:"componentWillUnmount",value:function(){this.removeEventListener&&this.removeEventListener(),this.enableScroll&&this.enableScroll()}},{key:"onChange",value:function(e){var t=this.props,n=t.isOutsideRange,r=t.keepOpenOnDateSelect,o=t.onDateChange,i=t.onFocusChange,a=t.onClose,s=(0,m.default)(e,this.getDisplayFormat());s&&!n(s)?(o(s),r||(i({focused:!1}),a({date:s}))):o(null)}},{key:"onFocus",value:function(){var e=this.props,t=e.disabled,n=e.onFocusChange,r=e.readOnly,o=e.withPortal,i=e.withFullScreenPortal,a=e.keepFocusOnInput;o||i||r&&!a||this.isTouchDevice&&!a?this.onDayPickerFocus():this.onDayPickerBlur(),t||n({focused:!0})}},{key:"onClearFocus",value:function(e){var t=this.props,n=t.date,r=t.focused,o=t.onFocusChange,i=t.onClose,a=t.appendToBody;r&&(a&&this.dayPickerContainer.contains(e.target)||(this.setState({isInputFocused:!1,isDayPickerFocused:!1}),o({focused:!1}),i({date:n})))}},{key:"onDayPickerFocus",value:function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!1})}},{key:"onDayPickerBlur",value:function(){this.setState({isInputFocused:!0,isDayPickerFocused:!1,showKeyboardShortcuts:!1})}},{key:"getDateString",value:function(e){var t=this.getDisplayFormat();return e&&t?e&&e.format(t):(0,b.default)(e)}},{key:"getDisplayFormat",value:function(){var e=this.props.displayFormat;return"string"==typeof e?e:e()}},{key:"setDayPickerContainerRef",value:function(e){this.dayPickerContainer=e}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"clearDate",value:function(){var e=this.props,t=e.onDateChange,n=e.reopenPickerOnClearDate,r=e.onFocusChange;t(null),n&&r({focused:!0})}},{key:"disableScroll",value:function(){var e=this.props,t=e.appendToBody,n=e.disableScroll,r=e.focused;(t||n)&&r&&(this.enableScroll=(0,w.default)(this.container))}},{key:"responsivizePickerPosition",value:function(){this.setState({dayPickerContainerStyles:{}});var e=this.props,t=e.openDirection,n=e.anchorDirection,r=e.horizontalMargin,o=e.withPortal,a=e.withFullScreenPortal,s=e.appendToBody,c=e.focused,l=this.state.dayPickerContainerStyles;if(c){var u=n===C.ANCHOR_LEFT;if(!o&&!a){var d=this.dayPickerContainer.getBoundingClientRect(),f=l[n]||0,h=u?d[C.ANCHOR_RIGHT]:d[C.ANCHOR_LEFT];this.setState({dayPickerContainerStyles:(0,i.default)({},(0,g.default)(n,f,h,r),s&&(0,y.default)(t,n,this.container))})}}}},{key:"showKeyboardShortcutsPanel",value:function(){this.setState({isInputFocused:!1,isDayPickerFocused:!0,showKeyboardShortcuts:!0})}},{key:"maybeRenderDayPickerWithPortal",value:function(){var e=this.props,t=e.focused,n=e.withPortal,r=e.withFullScreenPortal,o=e.appendToBody;return t?n||r||o?a.default.createElement(l.Portal,null,this.renderDayPicker()):this.renderDayPicker():null}},{key:"renderDayPicker",value:function(){var e=this.props,t=e.anchorDirection,n=e.openDirection,o=e.onDateChange,i=e.date,s=e.onFocusChange,l=e.focused,u=e.enableOutsideDays,d=e.numberOfMonths,f=e.orientation,h=e.monthFormat,p=e.navPrev,v=e.navNext,m=e.onPrevMonthClick,b=e.onNextMonthClick,g=e.onClose,y=e.withPortal,_=e.withFullScreenPortal,w=e.keepOpenOnDateSelect,O=e.initialVisibleMonth,T=e.renderMonthText,x=e.renderCalendarDay,D=e.renderDayContents,M=e.renderCalendarInfo,j=e.renderMonthElement,I=e.calendarInfoPosition,P=e.hideKeyboardShortcutsPanel,N=e.firstDayOfWeek,R=e.customCloseIcon,L=e.phrases,A=e.dayAriaLabelFormat,z=e.daySize,F=e.isRTL,H=e.isOutsideRange,V=e.isDayBlocked,B=e.isDayHighlighted,U=e.weekDayFormat,W=e.styles,K=e.verticalHeight,Y=e.transitionDuration,$=e.verticalSpacing,q=e.horizontalMonthPadding,G=e.small,Z=e.theme.reactDates,X=this.state,Q=X.dayPickerContainerStyles,J=X.isDayPickerFocused,ee=X.showKeyboardShortcuts,te=!_&&y?this.onClearFocus:void 0,ne=R||a.default.createElement(E.default,null),re=(0,k.default)(Z,G),oe=y||_;return a.default.createElement("div",r({ref:this.setDayPickerContainerRef},(0,c.css)(W.SingleDatePicker_picker,t===C.ANCHOR_LEFT&&W.SingleDatePicker_picker__directionLeft,t===C.ANCHOR_RIGHT&&W.SingleDatePicker_picker__directionRight,n===C.OPEN_DOWN&&W.SingleDatePicker_picker__openDown,n===C.OPEN_UP&&W.SingleDatePicker_picker__openUp,!oe&&n===C.OPEN_DOWN&&{top:re+$},!oe&&n===C.OPEN_UP&&{bottom:re+$},f===C.HORIZONTAL_ORIENTATION&&W.SingleDatePicker_picker__horizontal,f===C.VERTICAL_ORIENTATION&&W.SingleDatePicker_picker__vertical,oe&&W.SingleDatePicker_picker__portal,_&&W.SingleDatePicker_picker__fullScreenPortal,F&&W.SingleDatePicker_picker__rtl,Q),{onClick:te}),a.default.createElement(S.default,{date:i,onDateChange:o,onFocusChange:s,orientation:f,enableOutsideDays:u,numberOfMonths:d,monthFormat:h,withPortal:oe,focused:l,keepOpenOnDateSelect:w,hideKeyboardShortcutsPanel:P,initialVisibleMonth:O,navPrev:p,navNext:v,onPrevMonthClick:m,onNextMonthClick:b,onClose:g,renderMonthText:T,renderCalendarDay:x,renderDayContents:D,renderCalendarInfo:M,renderMonthElement:j,calendarInfoPosition:I,isFocused:J,showKeyboardShortcuts:ee,onBlur:this.onDayPickerBlur,phrases:L,dayAriaLabelFormat:A,daySize:z,isRTL:F,isOutsideRange:H,isDayBlocked:V,isDayHighlighted:B,firstDayOfWeek:N,weekDayFormat:U,verticalHeight:K,transitionDuration:Y,horizontalMonthPadding:q}),_&&a.default.createElement("button",r({},(0,c.css)(W.SingleDatePicker_closeButton),{"aria-label":L.closeDatePicker,type:"button",onClick:this.onClearFocus}),a.default.createElement("div",(0,c.css)(W.SingleDatePicker_closeButton_svg),ne)))}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.placeholder,o=e.disabled,i=e.focused,s=e.required,l=e.readOnly,u=e.openDirection,d=e.showClearDate,f=e.showDefaultInputIcon,p=e.inputIconPosition,v=e.customCloseIcon,m=e.customInputIcon,b=e.date,g=e.phrases,y=e.withPortal,k=e.withFullScreenPortal,_=e.screenReaderInputMessage,w=e.isRTL,S=e.noBorder,E=e.block,T=e.small,x=e.regular,D=e.verticalSpacing,M=e.styles,j=this.state.isInputFocused,I=this.getDateString(b),P=!y&&!k,N=D<C.FANG_HEIGHT_PX,R=a.default.createElement(O.default,{id:t,placeholder:n,focused:i,isFocused:j,disabled:o,required:s,readOnly:l,openDirection:u,showCaret:!y&&!k&&!N,onClearDate:this.clearDate,showClearDate:d,showDefaultInputIcon:f,inputIconPosition:p,customCloseIcon:v,customInputIcon:m,displayValue:I,onChange:this.onChange,onFocus:this.onFocus,onKeyDownShiftTab:this.onClearFocus,onKeyDownTab:this.onClearFocus,onKeyDownArrowDown:this.onDayPickerFocus,onKeyDownQuestionMark:this.showKeyboardShortcutsPanel,screenReaderMessage:_,phrases:g,isRTL:w,noBorder:S,block:E,small:T,regular:x,verticalSpacing:D});return a.default.createElement("div",r({ref:this.setContainerRef},(0,c.css)(M.SingleDatePicker,E&&M.SingleDatePicker__block)),P&&a.default.createElement(h.default,{onOutsideClick:this.onClearFocus},R,this.maybeRenderDayPickerWithPortal()),!P&&R,!P&&this.maybeRenderDayPickerWithPortal())}}]),t}(a.default.Component);M.propTypes=x,M.defaultProps=D,t.PureSingleDatePicker=M,t.default=(0,c.withStyles)((function(e){var t=e.reactDates,n=t.color,r=t.zIndex;return{SingleDatePicker:{position:"relative",display:"inline-block"},SingleDatePicker__block:{display:"block"},SingleDatePicker_picker:{zIndex:r+1,backgroundColor:n.background,position:"absolute"},SingleDatePicker_picker__rtl:{direction:"rtl"},SingleDatePicker_picker__directionLeft:{left:0},SingleDatePicker_picker__directionRight:{right:0},SingleDatePicker_picker__portal:{backgroundColor:"rgba(0, 0, 0, 0.3)",position:"fixed",top:0,left:0,height:"100%",width:"100%"},SingleDatePicker_picker__fullScreenPortal:{backgroundColor:n.background},SingleDatePicker_closeButton:{background:"none",border:0,color:"inherit",font:"inherit",lineHeight:"normal",overflow:"visible",cursor:"pointer",position:"absolute",top:0,right:0,padding:15,zIndex:r+2,":hover":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"},":focus":{color:"darken("+String(n.core.grayLighter)+", 10%)",textDecoration:"none"}},SingleDatePicker_closeButton_svg:{height:15,width:15,fill:n.core.grayLighter}}}))(M)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return!(!r.default.isMoment(e)||!r.default.isMoment(t))&&!(0,o.default)(e,t)};var r=i(n(6)),o=i(n(54));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";var r=n(239);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,c=n.offsetTop||0,l=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),h=r.offset(e),p=r.outerHeight(e),v=r.outerWidth(e),m=void 0,b=void 0,g=void 0,y=void 0,k=void 0,_=void 0,w=void 0,O=void 0,S=void 0,E=void 0;f?(w=t,E=r.height(w),S=r.width(w),O={left:r.scrollLeft(w),top:r.scrollTop(w)},k={left:h.left-O.left-l,top:h.top-O.top-c},_={left:h.left+v-(O.left+S)+d,top:h.top+p-(O.top+E)+u},y=O):(m=r.offset(t),b=t.clientHeight,g=t.clientWidth,y={left:t.scrollLeft,top:t.scrollTop},k={left:h.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-l,top:h.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},_={left:h.left+v-(m.left+g+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:h.top+p-(m.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||_.top>0?!0===a?r.scrollTop(t,y.top+k.top):!1===a?r.scrollTop(t,y.top+_.top):k.top<0?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top):i||((a=void 0===a||!!a)?r.scrollTop(t,y.top+k.top):r.scrollTop(t,y.top+_.top)),o&&(k.left<0||_.left>0?!0===s?r.scrollLeft(t,y.left+k.left):!1===s?r.scrollLeft(t,y.left+_.left):k.left<0?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,y.left+k.left):r.scrollLeft(t,y.left+_.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var l=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/;var d=void 0;function f(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===d(e,"boxSizing")}"undefined"!=typeof window&&(d=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(l.test(n)&&!u.test(t)){var r=e.style,o=r.left,i=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=o,e.runtimeStyle.left=i}return""===n?"auto":n});var p=["margin","border","padding"];function v(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s=void 0;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(d(e,s))||0}return r}function b(e){return null!=e&&e==e.window}var g={};function y(e,t,n){if(b(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(d(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=d(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,c=o||a;if(-1===n)return s?c-m(e,["border","padding"],r):a;if(s){var l=2===n?-m(e,["border"],r):m(e,["margin"],r);return c+(1===n?0:l)}return a+m(e,p.slice(n),r)}f(["Width","Height"],(function(e){g["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],g["viewport"+e](n))},g["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var k={position:"absolute",visibility:"hidden",display:"block"};function _(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=y.apply(void 0,n):v(e,k,(function(){t=y.apply(void 0,n)})),t}function w(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):d(e,t);for(var i in t)t.hasOwnProperty(i)&&w(e,i,t[i])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,n){return t&&_(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,r){if(void 0===r)return t&&_(t,e,-1);if(t){d(t);return h(t)&&(r+=m(t,["padding","border"],n)),w(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return c(e);!function(e,t){"static"===w(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(w(e,i))||0,r[i]=o+t[i]-n[i]);w(e,r)}(e,t)},isWindow:b,each:f,css:w,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(b(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(b(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var s=n(1),c=n(4),l=n(245),u=n(246),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),s=(n.innerRef,a(n,["onResize","maxRows","onChange","style","innerRef"])),c=e.state.lineHeight,l=e.saveDOMNodeRef,u=r&&c?c*r:null;return i({},s,{saveDOMNodeRef:l,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout((function(){return l(e.textarea)})),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=a(e,["children","saveDOMNodeRef"]);return s.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(e){this.props.value===this.currentValue&&this.props.rows===e.rows||this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:c.number,maxRows:c.number,onResize:c.func,innerRef:c.func},t}(s.Component);t.default=d},function(e,t,n){var r,o,i;o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(u){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,a=null,s=function(){e.clientWidth!==r&&d()},c=function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",c,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:c,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function l(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(l("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(l("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),a!==r){a=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(s){}}}}function s(e){var t=o.get(e);t&&t.destroy()}function c(e){var t=o.get(e);t&&t.update()}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return a(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],c),e}),t.default=l,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(247);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=r(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var c=document.body;c.appendChild(a),n=a.offsetHeight,c.removeChild(a)}return n}},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},function(e,t,n){(function(e){var r;!function(o){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var a,s=2147483647,c=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,h=String.fromCharCode;function p(e){throw RangeError(d[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function m(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+v((e=e.replace(u,".")).split("."),t).join(".")}function b(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function g(e){return v(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function y(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,n){var r=0;for(e=n?f(e/700):e>>1,e+=f(e/t);e>455;r+=36)e=f(e/35);return f(r+36*e/(e+38))}function _(e){var t,n,r,o,i,a,c,l,u,d,h,v=[],m=e.length,b=0,y=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&p("not-basic"),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=b,a=1,c=36;o>=m&&p("invalid-input"),((l=(h=e.charCodeAt(o++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>f((s-b)/a))&&p("overflow"),b+=l*a,!(l<(u=c<=_?1:c>=_+26?26:c-_));c+=36)a>f(s/(d=36-u))&&p("overflow"),a*=d;_=k(b-i,t=v.length+1,0==i),f(b/t)>s-y&&p("overflow"),y+=f(b/t),b%=t,v.splice(b++,0,y)}return g(v)}function w(e){var t,n,r,o,i,a,c,l,u,d,v,m,g,_,w,O=[];for(m=(e=b(e)).length,t=128,n=0,i=72,a=0;a<m;++a)(v=e[a])<128&&O.push(h(v));for(r=o=O.length,o&&O.push("-");r<m;){for(c=s,a=0;a<m;++a)(v=e[a])>=t&&v<c&&(c=v);for(c-t>f((s-n)/(g=r+1))&&p("overflow"),n+=(c-t)*g,t=c,a=0;a<m;++a)if((v=e[a])<t&&++n>s&&p("overflow"),v==t){for(l=n,u=36;!(l<(d=u<=i?1:u>=i+26?26:u-i));u+=36)w=l-d,_=36-d,O.push(h(y(d+w%_,0))),l=f(w/_);O.push(h(y(l,0))),i=k(n,g,r==o),n=0,++r}++n,++t}return O.join("")}a={version:"1.3.2",ucs2:{decode:b,encode:g},decode:_,encode:w,toASCII:function(e){return m(e,(function(e){return l.test(e)?"xn--"+w(e):e}))},toUnicode:function(e){return m(e,(function(e){return c.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(60)(e))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(251),t.encode=t.stringify=n(252)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var a=/\+/g;e=e.split(t);var s=1e3;o&&"number"==typeof o.maxKeys&&(s=o.maxKeys);var c=e.length;s>0&&c>s&&(c=s);for(var l=0;l<c;++l){var u,d,f,h,p=e[l].replace(a,"%20"),v=p.indexOf(n);v>=0?(u=p.substr(0,v),d=p.substr(v+1)):(u=p,d=""),f=decodeURIComponent(u),h=decodeURIComponent(d),r(i,f)?Array.isArray(i[f])?i[f].push(h):i[f]=[i[f],h]:i[f]=h}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,o){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(o){var i=encodeURIComponent(r(o))+n;return Array.isArray(e[o])?e[o].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[o]))})).join(t):o?encodeURIComponent(r(o))+n+encodeURIComponent(r(e)):""}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getIsResolving",(function(){return yt})),n.d(r,"hasStartedResolution",(function(){return kt})),n.d(r,"hasFinishedResolution",(function(){return _t})),n.d(r,"isResolving",(function(){return wt})),n.d(r,"getCachedResolvers",(function(){return Ot}));var o={};n.r(o),n.d(o,"startResolution",(function(){return St})),n.d(o,"finishResolution",(function(){return Et})),n.d(o,"invalidateResolution",(function(){return Ct})),n.d(o,"invalidateResolutionForStore",(function(){return Tt})),n.d(o,"invalidateResolutionForStoreSelector",(function(){return xt}));var i={};n.r(i),n.d(i,"getIsResolving",(function(){return ir})),n.d(i,"hasStartedResolution",(function(){return ar})),n.d(i,"hasFinishedResolution",(function(){return sr})),n.d(i,"isResolving",(function(){return cr})),n.d(i,"getCachedResolvers",(function(){return lr}));var a={};n.r(a),n.d(a,"startResolution",(function(){return ur})),n.d(a,"finishResolution",(function(){return dr})),n.d(a,"invalidateResolution",(function(){return fr})),n.d(a,"invalidateResolutionForStore",(function(){return hr})),n.d(a,"invalidateResolutionForStoreSelector",(function(){return pr}));var s={};n.r(s),n.d(s,"getFormatTypes",(function(){return so})),n.d(s,"getFormatType",(function(){return co})),n.d(s,"getFormatTypeForBareElement",(function(){return lo})),n.d(s,"getFormatTypeForClassName",(function(){return uo}));var c={};n.r(c),n.d(c,"addFormatTypes",(function(){return fo})),n.d(c,"removeFormatTypes",(function(){return ho}));var l={};n.r(l),n.d(l,"find",(function(){return Ci}));var u={};n.r(u),n.d(u,"isTabbableIndex",(function(){return xi})),n.d(u,"find",(function(){return Ii}));var d={};n.r(d),n.d(d,"getIsResolving",(function(){return au})),n.d(d,"hasStartedResolution",(function(){return su})),n.d(d,"hasFinishedResolution",(function(){return cu})),n.d(d,"isResolving",(function(){return lu})),n.d(d,"getCachedResolvers",(function(){return uu}));var f={};n.r(f),n.d(f,"startResolution",(function(){return du})),n.d(f,"finishResolution",(function(){return fu})),n.d(f,"invalidateResolution",(function(){return hu})),n.d(f,"invalidateResolutionForStore",(function(){return pu})),n.d(f,"invalidateResolutionForStoreSelector",(function(){return vu}));var h={};n.r(h),n.d(h,"getBlockTypes",(function(){return Uu})),n.d(h,"getBlockType",(function(){return Wu})),n.d(h,"getBlockStyles",(function(){return Ku})),n.d(h,"getCategories",(function(){return Yu})),n.d(h,"getDefaultBlockName",(function(){return $u})),n.d(h,"getFreeformFallbackBlockName",(function(){return qu})),n.d(h,"getUnregisteredFallbackBlockName",(function(){return Gu})),n.d(h,"getChildBlockNames",(function(){return Zu})),n.d(h,"getBlockSupport",(function(){return Xu})),n.d(h,"hasBlockSupport",(function(){return Qu})),n.d(h,"isMatchingSearchTerm",(function(){return Ju})),n.d(h,"hasChildBlocks",(function(){return ed})),n.d(h,"hasChildBlocksWithInserterSupport",(function(){return td}));var p={};n.r(p),n.d(p,"addBlockTypes",(function(){return nd})),n.d(p,"removeBlockTypes",(function(){return rd})),n.d(p,"addBlockStyles",(function(){return od})),n.d(p,"removeBlockStyles",(function(){return id})),n.d(p,"setDefaultBlockName",(function(){return ad})),n.d(p,"setFreeformFallbackBlockName",(function(){return sd})),n.d(p,"setUnregisteredFallbackBlockName",(function(){return cd})),n.d(p,"setCategories",(function(){return ld})),n.d(p,"updateCategory",(function(){return ud}));var v={};n.r(v),n.d(v,"getIsResolving",(function(){return mp})),n.d(v,"hasStartedResolution",(function(){return bp})),n.d(v,"hasFinishedResolution",(function(){return gp})),n.d(v,"isResolving",(function(){return yp})),n.d(v,"getCachedResolvers",(function(){return kp}));var m={};n.r(m),n.d(m,"startResolution",(function(){return _p})),n.d(m,"finishResolution",(function(){return wp})),n.d(m,"invalidateResolution",(function(){return Op})),n.d(m,"invalidateResolutionForStore",(function(){return Sp})),n.d(m,"invalidateResolutionForStoreSelector",(function(){return Ep}));var b={};n.r(b),n.d(b,"receiveUserQuery",(function(){return wv})),n.d(b,"receiveCurrentUser",(function(){return Ov})),n.d(b,"addEntities",(function(){return Sv})),n.d(b,"receiveEntityRecords",(function(){return Ev})),n.d(b,"receiveThemeSupports",(function(){return Cv})),n.d(b,"receiveEmbedPreview",(function(){return Tv})),n.d(b,"saveEntityRecord",(function(){return xv})),n.d(b,"receiveUploadPermissions",(function(){return Dv})),n.d(b,"receiveUserPermission",(function(){return Mv})),n.d(b,"receiveAutosaves",(function(){return jv}));var g={};n.r(g),n.d(g,"isRequestingEmbedPreview",(function(){return $v})),n.d(g,"getAuthors",(function(){return qv})),n.d(g,"getCurrentUser",(function(){return Gv})),n.d(g,"getUserQueryResults",(function(){return Zv})),n.d(g,"getEntitiesByKind",(function(){return Xv})),n.d(g,"getEntity",(function(){return Qv})),n.d(g,"getEntityRecord",(function(){return Jv})),n.d(g,"getEntityRecords",(function(){return em})),n.d(g,"getThemeSupports",(function(){return tm})),n.d(g,"getEmbedPreview",(function(){return nm})),n.d(g,"isPreviewEmbedFallback",(function(){return rm})),n.d(g,"hasUploadPermissions",(function(){return om})),n.d(g,"canUser",(function(){return im})),n.d(g,"getAutosaves",(function(){return am})),n.d(g,"getAutosave",(function(){return sm})),n.d(g,"hasFetchedAutosaves",(function(){return cm}));var y={};n.r(y),n.d(y,"getAuthors",(function(){return ym})),n.d(y,"getCurrentUser",(function(){return km})),n.d(y,"getEntityRecord",(function(){return _m})),n.d(y,"getEntityRecords",(function(){return wm})),n.d(y,"getThemeSupports",(function(){return Om})),n.d(y,"getEmbedPreview",(function(){return Sm})),n.d(y,"hasUploadPermissions",(function(){return Em})),n.d(y,"canUser",(function(){return Cm})),n.d(y,"getAutosaves",(function(){return Tm})),n.d(y,"getAutosave",(function(){return xm}));var k={};n.r(k),n.d(k,"getIsResolving",(function(){return Fm})),n.d(k,"hasStartedResolution",(function(){return Hm})),n.d(k,"hasFinishedResolution",(function(){return Vm})),n.d(k,"isResolving",(function(){return Bm})),n.d(k,"getCachedResolvers",(function(){return Um}));var _={};n.r(_),n.d(_,"startResolution",(function(){return Wm})),n.d(_,"finishResolution",(function(){return Km})),n.d(_,"invalidateResolution",(function(){return Ym})),n.d(_,"invalidateResolutionForStore",(function(){return $m})),n.d(_,"invalidateResolutionForStoreSelector",(function(){return qm}));var w={};n.r(w),n.d(w,"setIsMatching",(function(){return wb}));var O={};n.r(O),n.d(O,"isViewportMatch",(function(){return Ob}));var S={};n.r(S),n.d(S,"getIsResolving",(function(){return Ab})),n.d(S,"hasStartedResolution",(function(){return zb})),n.d(S,"hasFinishedResolution",(function(){return Fb})),n.d(S,"isResolving",(function(){return Hb})),n.d(S,"getCachedResolvers",(function(){return Vb}));var E={};n.r(E),n.d(E,"startResolution",(function(){return Bb})),n.d(E,"finishResolution",(function(){return Ub})),n.d(E,"invalidateResolution",(function(){return Wb})),n.d(E,"invalidateResolutionForStore",(function(){return Kb})),n.d(E,"invalidateResolutionForStoreSelector",(function(){return Yb}));var C={};n.r(C),n.d(C,"resetBlocks",(function(){return oy})),n.d(C,"receiveBlocks",(function(){return iy})),n.d(C,"updateBlockAttributes",(function(){return ay})),n.d(C,"updateBlock",(function(){return sy})),n.d(C,"selectBlock",(function(){return cy})),n.d(C,"selectPreviousBlock",(function(){return ly})),n.d(C,"selectNextBlock",(function(){return uy})),n.d(C,"startMultiSelect",(function(){return dy})),n.d(C,"stopMultiSelect",(function(){return fy})),n.d(C,"multiSelect",(function(){return hy})),n.d(C,"clearSelectedBlock",(function(){return py})),n.d(C,"toggleSelection",(function(){return vy})),n.d(C,"replaceBlocks",(function(){return my})),n.d(C,"replaceBlock",(function(){return by})),n.d(C,"moveBlocksDown",(function(){return yy})),n.d(C,"moveBlocksUp",(function(){return ky})),n.d(C,"moveBlockToPosition",(function(){return _y})),n.d(C,"insertBlock",(function(){return wy})),n.d(C,"insertBlocks",(function(){return Oy})),n.d(C,"showInsertionPoint",(function(){return Sy})),n.d(C,"hideInsertionPoint",(function(){return Ey})),n.d(C,"setTemplateValidity",(function(){return Cy})),n.d(C,"synchronizeTemplate",(function(){return Ty})),n.d(C,"mergeBlocks",(function(){return xy})),n.d(C,"removeBlocks",(function(){return Dy})),n.d(C,"removeBlock",(function(){return My})),n.d(C,"replaceInnerBlocks",(function(){return jy})),n.d(C,"toggleBlockMode",(function(){return Iy})),n.d(C,"startTyping",(function(){return Py})),n.d(C,"stopTyping",(function(){return Ny})),n.d(C,"enterFormattedText",(function(){return Ry})),n.d(C,"exitFormattedText",(function(){return Ly})),n.d(C,"selectionChange",(function(){return Ay})),n.d(C,"insertDefaultBlock",(function(){return zy})),n.d(C,"updateBlockListSettings",(function(){return Fy})),n.d(C,"updateSettings",(function(){return Hy})),n.d(C,"__unstableSaveReusableBlock",(function(){return Vy})),n.d(C,"__unstableMarkLastChangeAsPersistent",(function(){return By}));var T={};function x(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){x(e,t,n[t])}))}return e}function M(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function j(e,t){if(null==e)return{};var n,r,o=M(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.r(T),n.d(T,"INSERTER_UTILITY_HIGH",(function(){return Uy})),n.d(T,"INSERTER_UTILITY_MEDIUM",(function(){return Wy})),n.d(T,"INSERTER_UTILITY_LOW",(function(){return Ky})),n.d(T,"INSERTER_UTILITY_NONE",(function(){return Yy})),n.d(T,"getBlockDependantsCacheBust",(function(){return Gy})),n.d(T,"getBlockName",(function(){return Zy})),n.d(T,"isBlockValid",(function(){return Xy})),n.d(T,"getBlockAttributes",(function(){return Qy})),n.d(T,"getBlock",(function(){return Jy})),n.d(T,"__unstableGetBlockWithoutInnerBlocks",(function(){return ek})),n.d(T,"getBlocks",(function(){return tk})),n.d(T,"getClientIdsOfDescendants",(function(){return nk})),n.d(T,"getClientIdsWithDescendants",(function(){return rk})),n.d(T,"getGlobalBlockCount",(function(){return ok})),n.d(T,"getBlocksByClientId",(function(){return ik})),n.d(T,"getBlockCount",(function(){return ak})),n.d(T,"getSelectionStart",(function(){return sk})),n.d(T,"getSelectionEnd",(function(){return ck})),n.d(T,"getBlockSelectionStart",(function(){return lk})),n.d(T,"getBlockSelectionEnd",(function(){return uk})),n.d(T,"getSelectedBlockCount",(function(){return dk})),n.d(T,"hasSelectedBlock",(function(){return fk})),n.d(T,"getSelectedBlockClientId",(function(){return hk})),n.d(T,"getSelectedBlock",(function(){return pk})),n.d(T,"getBlockRootClientId",(function(){return vk})),n.d(T,"getBlockHierarchyRootClientId",(function(){return mk})),n.d(T,"getAdjacentBlockClientId",(function(){return bk})),n.d(T,"getPreviousBlockClientId",(function(){return gk})),n.d(T,"getNextBlockClientId",(function(){return yk})),n.d(T,"getSelectedBlocksInitialCaretPosition",(function(){return kk})),n.d(T,"getSelectedBlockClientIds",(function(){return _k})),n.d(T,"getMultiSelectedBlockClientIds",(function(){return wk})),n.d(T,"getMultiSelectedBlocks",(function(){return Ok})),n.d(T,"getFirstMultiSelectedBlockClientId",(function(){return Sk})),n.d(T,"getLastMultiSelectedBlockClientId",(function(){return Ek})),n.d(T,"isFirstMultiSelectedBlock",(function(){return Tk})),n.d(T,"isBlockMultiSelected",(function(){return xk})),n.d(T,"isAncestorMultiSelected",(function(){return Dk})),n.d(T,"getMultiSelectedBlocksStartClientId",(function(){return Mk})),n.d(T,"getMultiSelectedBlocksEndClientId",(function(){return jk})),n.d(T,"getBlockOrder",(function(){return Ik})),n.d(T,"getBlockIndex",(function(){return Pk})),n.d(T,"isBlockSelected",(function(){return Nk})),n.d(T,"hasSelectedInnerBlock",(function(){return Rk})),n.d(T,"isBlockWithinSelection",(function(){return Lk})),n.d(T,"hasMultiSelection",(function(){return Ak})),n.d(T,"isMultiSelecting",(function(){return zk})),n.d(T,"isSelectionEnabled",(function(){return Fk})),n.d(T,"getBlockMode",(function(){return Hk})),n.d(T,"isTyping",(function(){return Vk})),n.d(T,"isCaretWithinFormattedText",(function(){return Bk})),n.d(T,"getBlockInsertionPoint",(function(){return Uk})),n.d(T,"isBlockInsertionPointVisible",(function(){return Wk})),n.d(T,"isValidTemplate",(function(){return Kk})),n.d(T,"getTemplate",(function(){return Yk})),n.d(T,"getTemplateLock",(function(){return $k})),n.d(T,"canInsertBlockType",(function(){return Gk})),n.d(T,"getInserterItems",(function(){return Jk})),n.d(T,"hasInserterItems",(function(){return e_})),n.d(T,"getBlockListSettings",(function(){return t_})),n.d(T,"getSettings",(function(){return n_})),n.d(T,"isLastBlockChangePersistent",(function(){return r_})),n.d(T,"__unstableIsLastBlockChangeIgnored",(function(){return o_}));var I=n(1),P=n.n(I),N=n(0);function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t,n){return I.Children.forEach(t,(function(t,r){t&&"string"!=typeof t&&(t=Object(I.cloneElement)(t,{key:[n,r].join()})),e.push(t)})),e}),[])}var L=n(11),A=function(e){return!Object(N.isNumber)(e)&&(Object(N.isString)(e)||Object(N.isArray)(e)?!e.length:!e)};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function F(e){return(F="function"==typeof Symbol&&"symbol"===z(Symbol.iterator)?function(e){return z(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":z(e)})(e)}var H=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/;function V(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function B(e){return function(e){return e.replace(/>/g,">")}(function(e){return e.replace(/"/g,""")}(V(e)))}function U(e){return function(e){return e.replace(/</g,"<")}(V(e))}function W(e){return!H.test(e)}function K(e){var t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",D({dangerouslySetInnerHTML:{__html:t}},n))}var Y=Object(I.createContext)(),$=Y.Provider,q=Y.Consumer,G=new Set(["string","boolean","number"]),Z=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),X=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),Q=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),J=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function ee(e,t){return t.some((function(t){return 0===e.indexOf(t)}))}function te(e){return"key"===e||"children"===e}function ne(e,t){switch(e){case"style":return function(e){if(!Object(N.isPlainObject)(e))return e;var t;for(var n in e){var r=e[n];if(null!=r){t?t+=";":t="";var o=oe(n),i=ie(n,r);t+=o+":"+i}}return t}(t)}return t}function re(e){switch(e){case"htmlFor":return"for";case"className":return"class"}return e.toLowerCase()}function oe(e){return Object(N.startsWith)(e,"--")?e:ee(e,["ms","O","Moz","Webkit"])?"-"+Object(N.kebabCase)(e):Object(N.kebabCase)(e)}function ie(e,t){return"number"!=typeof t||0===t||J.has(e)?t:t+"px"}function ae(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e||!1===e)return"";if(Array.isArray(e))return le(e,t,n);switch(F(e)){case"string":return U(e);case"number":return e.toString()}var r=e.type,o=e.props;switch(r){case I.StrictMode:case I.Fragment:return le(o.children,t,n);case K:var i=o.children,a=j(o,["children"]);return se(Object(N.isEmpty)(a)?null:"div",D({},a,{dangerouslySetInnerHTML:{__html:i}}),t,n)}switch(F(r)){case"string":return se(r,o,t,n);case"function":return r.prototype&&"function"==typeof r.prototype.render?ce(r,o,t,n):ae(r(o,n),t,n)}switch(r&&r.$$typeof){case $.$$typeof:return le(o.children,o.value,n);case q.$$typeof:return ae(o.children(t||r._currentValue),t,n)}return""}function se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o="";if("textarea"===e&&t.hasOwnProperty("value")?(o=le(t.value,n,r),t=Object(N.omit)(t,"value")):t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?o=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(o=le(t.children,n,r)),!e)return o;var i=ue(t);return Z.has(e)?"<"+e+i+"/>":"<"+e+i+">"+o+"</"+e+">"}function ce(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=new e(t,r);"function"==typeof o.getChildContext&&Object.assign(r,o.getChildContext());var i=ae(o.render(),n,r);return i}function le(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";e=Object(N.castArray)(e);for(var o=0;o<e.length;o++){var i=e[o];r+=ae(i,t,n)}return r}function ue(e){var t="";for(var n in e){var r=re(n);if(W(r)){var o=ne(n,e[n]);if(G.has(F(o))&&!te(n)){var i=X.has(r);if(!i||!1!==o){var a=i||ee(n,["data-","aria-"])||Q.has(r);("boolean"!=typeof o||a)&&(t+=" "+r,i||("string"==typeof o&&(o=B(o)),t+='="'+o+'"'))}}}}return t}var de=ae,fe=n(127),he=n(128),pe=n.n(he),ve=function(e,t){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php esc_html_e( '".concat(e,"', '").concat(t,"' ) ?>")}})},me=function(e,t,n,r){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _n( '".concat(e,"', '").concat(t,"', ").concat(n,", '").concat(r,"' ) ) ?>")}})},be=function(e,t,n){return Object(I.createElement)("span",{dangerouslySetInnerHTML:{__html:"<?php echo esc_html( _x( '".concat(e,"', '").concat(t,"', '").concat(n,"' ) ) ?>")}})},ge=function(e){return e},ye=n(38),ke=/^(?:https?:)?\/\/\S+$/i;function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;var n=e,r=e.indexOf("?");return-1!==r&&(t=Object.assign(Object(ye.parse)(e.substr(r+1)),t),n=n.substr(0,r)),n+"?"+Object(ye.stringify)(t)}function we(e,t){return void 0!==function(e,t){var n=e.indexOf("?");return(-1!==n?Object(ye.parse)(e.substr(n+1)):{})[t]}(e,t)}var Oe=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};var Se=Object(I.createContext)();Se.Provider,Se.Consumer,Object(I.forwardRef)((function(){return null})),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Te(e,t,n){return t&&Ce(e.prototype,t),n&&Ce(e,n),e}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return!t||"object"!==F(t)&&"function"!=typeof t?xe(e):t}function Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(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&&je(e,t)}var Pe=n(58),Ne=n.n(Pe),Re=Oe((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Ne()(e,this.props)||!Ne()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Ne()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());Oe((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Oe((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");function Ae(e){if(Array.isArray(e))return e}function ze(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Fe(e,t){return Ae(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||ze()}window.navigator.userAgent.indexOf("Trident");var He=n(9),Ve=n.n(He),Be=n(3),Ue=n.n(Be);function We(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,o)}function Ke(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){We(i,r,o,a,s,"next",e)}function s(e){We(i,r,o,a,s,"throw",e)}a(void 0)}))}}var Ye=n(72),$e=function(){return Math.random().toString(36).substring(7).split("").join(".")},qe={INIT:"@@redux/INIT"+$e(),REPLACE:"@@redux/REPLACE"+$e(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$e()}};function Ge(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ze(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(Ze)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function u(){if(c)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function d(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(c)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var t=!0;return l(),s.push(e),function(){if(t){if(c)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");t=!1,l();var n=s.indexOf(e);s.splice(n,1)}}}function f(e){if(!Ge(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}function h(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,f({type:qe.REPLACE})}function p(){var e,t=d;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}})[Ye.a]=function(){return this},e}return f({type:qe.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:h})[Ye.a]=p,r}function Xe(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function Qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Je(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(n,!0).forEach((function(t){Qe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function nt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return et({},n,{dispatch:r=tt.apply(void 0,i)(n.dispatch)})}}}function rt(e){return!!e&&"Generator"===e[Symbol.toStringTag]}var ot=n(18),it=n(10),at=n.n(it);function st(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function ct(e,t){return st(e)&&e.type===t}function lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!ct(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!st(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){st(e)&&t(e),n(e)}),r)}))}}var ut=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}};function dt(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function ft(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||dt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ht,pt=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},vt=n(8),mt=n.n(vt),bt=Object(N.flowRight)([(ht="selectorName",function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=n[ht];if(void 0===r)return t;var o=e(t[r],n);return o===t[r]?t:D({},t,x({},r,o))}})])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),gt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return bt(e,t)}return e};function yt(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function kt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==yt(e,t,n)}function _t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===yt(e,t,n)}function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===yt(e,t,n)}function Ot(e){return e}function St(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Et(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Ct(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Tt(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function xt(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Dt(e,t,n){var i,a=t.reducer,s=function(e,t,n){var r=[pt(n,e),ut];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=lt(e,t.dispatch);return function(e){return function(t){return rt(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:gt,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),c=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},o,t.actions),s),l=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(r,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s,n);if(t.resolvers){var u=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!kt(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(St(o,a)),e.next=9,Mt.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Et(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,l,s);i=u.resolvers,l=u.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var d=s&&function(e){var t=s.__unstableOriginalGetState();s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:a,store:s,actions:c,selectors:l,resolvers:i,getSelectors:function(){return l},getActions:function(){return c},subscribe:d}}function Mt(e,t,n){return jt.apply(this,arguments)}function jt(){return(jt=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var It=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Dt(e,t,u);return l(e,n),n.store},l("core/data",It(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}();var Nt=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var Rt=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var Lt=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(Rt(t)&&Nt(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,s=e[t].handlers;for(a=s.length;a>0&&!(o>=s[a-1].priority);a--);a===s.length?s[a]=i:s.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Wt("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var At=function(e,t){return function(n,r){if(Rt(n)&&(t||Nt(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},s=i.length-1;s>=0;s--)a(s);return"hookRemoved"!==n&&Wt("hookRemoved",n,r),o}}};var zt=function(e){return function(t){return t in e}};var Ft=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var s={name:n,currentIndex:0};for(e.__current.push(s);s.currentIndex<r.length;){var c=r[s.currentIndex],l=c.callback.apply(null,i);t&&(i[0]=l),s.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var Ht=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var Vt=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var Bt=function(e){return function(t){if(Rt(t))return e[t]&&e[t].runs?e[t].runs:0}};var Ut=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:Lt(e),addFilter:Lt(t),removeAction:At(e),removeFilter:At(t),hasAction:zt(e),hasFilter:zt(t),removeAllActions:At(e,!0),removeAllFilters:At(t,!0),doAction:Ft(e),applyFilters:Ft(t,!0),currentAction:Ht(e),currentFilter:Ht(t),doingAction:Vt(e),doingFilter:Vt(t),didAction:Bt(e),didFilter:Bt(t),actions:e,filters:t}}(),Wt=(Ut.addAction,Ut.addFilter,Ut.removeAction,Ut.removeFilter,Ut.hasAction,Ut.hasFilter,Ut.removeAllActions,Ut.removeAllFilters,Ut.doAction);Ut.applyFilters,Ut.currentAction,Ut.currentFilter,Ut.doingAction,Ut.doingFilter,Ut.didAction,Ut.didFilter,Ut.actions,Ut.filters,Object.create(null);var Kt,Yt,$t={getItem:function(e){return Kt&&Kt[e]?Kt[e]:null},setItem:function(e,t){Kt||$t.clear(),Kt[e]=String(t)},clear:function(){Kt=Object.create(null)}},qt=$t;try{(Yt=window.localStorage).setItem("__wpDataTestLocalStorage",""),Yt.removeItem("__wpDataTestLocalStorage")}catch(hE){Yt=qt}var Gt=Yt;function Zt(e){var t,n=e.storage,r=void 0===n?Gt:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Xt=function(e,t){var n=Zt(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Xt.__unstableMigrate=function(e){var t=Zt(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Qt=Object(I.createContext)();Qt.Provider,Qt.Consumer,Object(I.forwardRef)((function(){return null})),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);var Jt=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,en=n(130),tn=Object(I.createContext)(Pt),nn=tn.Consumer,rn=(tn.Provider,nn);function on(){return Object(I.useContext)(tn)}var an=Object(I.createContext)(!1);an.Consumer,an.Provider;var sn,cn,ln,un,dn="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,fn=(sn=[],cn=new WeakMap,ln=!1,un=function e(t){do{if(0===sn.length)return void(ln=!1);var n=sn.shift();cn.get(n)(),cn.delete(n)}while(t&&t.timeRemaining&&t.timeRemaining()>0);Jt(e)},{add:function(e,t){cn.has(e)||sn.push(e),cn.set(e,t),ln||(ln=!0,Jt(un))},flush:function(e){if(!cn.has(e))return!1;cn.delete(e);var t=sn.indexOf(e);return sn.splice(t,1),!0}});function hn(e,t){var n,r=Object(I.useCallback)(e,t),o=on(),i=Object(I.useContext)(an),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Fe(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(hE){var h="An error occurred while running 'mapSelect': ".concat(hE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return dn((function(){c.current=r,l.current!==i&&(l.current=i,fn.flush(a)),u.current=n,d.current=void 0,f.current=!0})),dn((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(en.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(hE){d.current=hE}s({})}};l.current?fn.add(a,e):e();var t=o.subscribe((function(){l.current?fn.add(a,e):e()}));return function(){f.current=!1,t(),fn.flush(a)}}),[o]),n}var pn=function(e){return Oe((function(t){return Re((function(n){var r=hn((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Le({},n,r))}))}),"withSelect")},vn="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,mn=function(e,t){var n=on(),r=Object(I.useRef)(e);return vn((function(){r.current=e})),Object(I.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(ft(t)))},bn=function(e){return Oe((function(t){return function(n){var r=mn((function(t,r){return e(t,n,r)}),[]);return Object(I.createElement)(t,Le({},n,r))}}),"withDispatch")};Oe((function(e){return function(t){return Object(I.createElement)(rn,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");Pt.select,Pt.dispatch,Pt.subscribe,Pt.registerGenericStore;var gn=Pt.registerStore,yn=(Pt.use,n(131)),kn={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var _n,wn,On=function(e){if(e in kn)return kn[e];throw new Error("config key `"+e+"` does not exist")},Sn=n.n(yn)()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var En={initialize:function(e,t,n){En.setUser(e,t),En.setSuperProps(n),En.identifyUser()},setUser:function(e,t){wn={ID:e,username:t}},setSuperProps:function(e){_n=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);Sn("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),Sn('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);On("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);Sn("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),Sn('Built stat "%s" in group "%s"',t,e);return n}(e,t);On("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){En.tracks.recordPageView(e),En.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,o,i,a){En.ga.recordPurchase(e,t,n,r,o,i,a)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(_n&&(Sn("- Super Props: %o",_n),t=Object(N.assign)(t,_n)),Sn('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):Sn('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};En.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){En.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){Sn("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};En.ga.initialized||(wn&&(e={userId:"u-"+wn.ID}),window.ga("create",On("google_analytics_key"),"auto",e),En.ga.initialized=!0)},recordPageView:function(e,t){En.ga.initialize(),Sn("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),On("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){En.ga.initialize();var o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),Sn(o),On("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,o,i,a){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:a}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:o,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){wn&&window._tkq.push(["identifyUser",wn.ID,wn.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}},Cn=En,Tn=function(e){return Object(I.createElement)("g",e)},xn=function(e){return Object(I.createElement)("path",e)},Dn=function(e){return Object(I.createElement)("polygon",e)},Mn=function(e){var t=D({},e,{role:"img","aria-hidden":"true",focusable:"false"});return Object(I.createElement)("svg",t)},jn=n(2),In=n.n(jn);var Pn=function(e){var t=e.type,n=e.options,r=void 0===n?{}:n,o=e.children;if("appear"===t){var i,a=r.origin,s=Fe((void 0===a?"top":a).split(" "),2),c=s[0],l=s[1],u=void 0===l?"center":l;return o({className:In()("components-animate__appear",(i={},x(i,"is-from-"+u,"center"!==u),x(i,"is-from-"+c,"middle"!==c),i))})}if("slide-in"===t){var d=r.origin,f=void 0===d?"left":d;return o({className:In()("components-animate__slide-in","is-from-"+f)})}return o({})};function Nn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(N.includes)(["iPad","iPhone"],t)}var Rn="alt",Ln="ctrl",An="shift",zn={primary:function(e){return e()?["meta"]:[Ln]},primaryShift:function(e){return e()?[An,"meta"]:[Ln,An]},primaryAlt:function(e){return e()?[Rn,"meta"]:[Ln,Rn]},secondary:function(e){return e()?[An,Rn,"meta"]:[Ln,An,Rn]},access:function(e){return e()?[Ln,Rn]:[An,Rn]},ctrl:function(){return[Ln]},alt:function(){return[Rn]},ctrlShift:function(){return[Ln,An]},shift:function(){return[An]},shiftAlt:function(){return[An,Rn]}},Fn=Object(N.mapValues)(zn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn;return[].concat(ft(e(n)),[t.toLowerCase()]).join("+")}})),Hn=Object(N.mapValues)(zn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn,o=r(),i=(x(n={},Rn,o?"⌥":"Alt"),x(n,Ln,o?"^":"Ctrl"),x(n,"meta","⌘"),x(n,An,o?"⇧":"Shift"),n),a=e(r).reduce((function(e,t){var n=Object(N.get)(i,t,t);return[].concat(ft(e),o?[n]:[n,"+"])}),[]),s=Object(N.capitalize)(t);return[].concat(ft(a),[s])}})),Vn=Object(N.mapValues)(Hn,(function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn;return e(t,n).join("")}})),Bn=(Object(N.mapValues)(zn,(function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nn,o=r(),i=(x(n={},An,"Shift"),x(n,"meta",o?"Command":"Control"),x(n,Ln,"Control"),x(n,Rn,o?"Option":"Alt"),x(n,",",ve("Comma")),x(n,".",ve("Period")),x(n,"`",ve("Backtick")),n);return[].concat(ft(e(r)),[t]).map((function(e){return Object(N.capitalize)(Object(N.get)(i,e,e))})).join(o?" ":" + ")}})),Object(N.mapValues)(zn,(function(e){return function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Nn,o=e(r);return!!o.every((function(e){return t["".concat(e,"Key")]}))&&(n?t.key===n:Object(N.includes)(o,t.key.toLowerCase()))}})));var Un=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},Wn=n(5),Kn=n.n(Wn),Yn=Un((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),$n=new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());var qn=function(e){return Un((function(t){var n=function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).handleEvent=e.handleEvent.bind(xe(e)),e.handleRef=e.handleRef.bind(xe(e)),e}return Ie(r,n),Te(r,[{key:"componentDidMount",value:function(){var t=this;Object(N.forEach)(e,(function(e,n){$n.add(n,t)}))}},{key:"componentWillUnmount",value:function(){var t=this;Object(N.forEach)(e,(function(e,n){$n.remove(n,t)}))}},{key:"handleEvent",value:function(t){var n=e[t.type];"function"==typeof this.wrappedRef[n]&&this.wrappedRef[n](t)}},{key:"handleRef",value:function(e){this.wrappedRef=e,this.props.forwardedRef&&this.props.forwardedRef(e)}},{key:"render",value:function(){return Object(I.createElement)(t,Le({},this.props.ownProps,{ref:this.handleRef}))}}]),r}(I.Component);return Object(I.forwardRef)((function(e,t){return Object(I.createElement)(n,{ownProps:e,forwardedRef:t})}))}),"withGlobalEvents")},Gn=Un((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Zn=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");function Xn(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Qn(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function Jn(e,t){return Qn(e)&&e.type===t}function er(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!Jn(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Qn(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Qn(e)&&t(e),n(e)}),r)}))}}var tr=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},nr=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},rr=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),or=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return rr(e,t)}return e};function ir(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function ar(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==ir(e,t,n)}function sr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===ir(e,t,n)}function cr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===ir(e,t,n)}function lr(e){return e}function ur(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function dr(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function fr(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function hr(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function pr(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function vr(e,t,n){var r,o=t.reducer,s=function(e,t,n){var r=[nr(n,e),tr];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=er(e,t.dispatch);return function(e){return function(t){return Xn(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:or,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),c=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},a,t.actions),s),l=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(i,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),s,n);if(t.resolvers){var u=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!ar(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(ur(o,a)),e.next=9,mr.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(dr(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,l,s);r=u.resolvers,l=u.selectors}s.__unstableOriginalGetState=s.getState,s.getState=function(){return s.__unstableOriginalGetState().root};var d=s&&function(e){var t=s.__unstableOriginalGetState();s.subscribe((function(){var n=s.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:s,actions:c,selectors:l,resolvers:r,getSelectors:function(){return l},getActions:function(){return c},subscribe:d}}function mr(e,t,n){return br.apply(this,arguments)}function br(){return(br=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var gr=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var yr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=vr(e,t,u);return l(e,n),n.store},l("core/data",gr(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}();var kr=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var _r=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var wr=function(e){return function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(_r(t)&&kr(n))if("function"==typeof r)if("number"==typeof o){var i={callback:r,priority:o,namespace:n};if(e[t]){var a,s=e[t].handlers;for(a=s.length;a>0&&!(o>=s[a-1].priority);a--);a===s.length?s[a]=i:s.splice(a,0,i),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=a&&e.currentIndex++}))}else e[t]={handlers:[i],runs:0};"hookAdded"!==t&&Rr("hookAdded",t,n,r,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var Or=function(e,t){return function(n,r){if(_r(n)&&(t||kr(r))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var i=e[n].handlers,a=function(t){i[t].namespace===r&&(i.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},s=i.length-1;s>=0;s--)a(s);return"hookRemoved"!==n&&Rr("hookRemoved",n,r),o}}};var Sr=function(e){return function(t){return t in e}};var Er=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;var r=e[n].handlers;for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(!r||!r.length)return t?i[0]:void 0;var s={name:n,currentIndex:0};for(e.__current.push(s);s.currentIndex<r.length;){var c=r[s.currentIndex],l=c.callback.apply(null,i);t&&(i[0]=l),s.currentIndex++}return e.__current.pop(),t?i[0]:void 0}};var Cr=function(e){return function(){return e.__current&&e.__current.length?e.__current[e.__current.length-1].name:null}};var Tr=function(e){return function(t){return void 0===t?void 0!==e.__current[0]:!!e.__current[0]&&t===e.__current[0].name}};var xr=function(e){return function(t){if(_r(t))return e[t]&&e[t].runs?e[t].runs:0}};var Dr=function(){var e=Object.create(null),t=Object.create(null);return e.__current=[],t.__current=[],{addAction:wr(e),addFilter:wr(t),removeAction:Or(e),removeFilter:Or(t),hasAction:Sr(e),hasFilter:Sr(t),removeAllActions:Or(e,!0),removeAllFilters:Or(t,!0),doAction:Er(e),applyFilters:Er(t,!0),currentAction:Cr(e),currentFilter:Cr(t),doingAction:Tr(e),doingFilter:Tr(t),didAction:xr(e),didFilter:xr(t),actions:e,filters:t}},Mr=Dr(),jr=Mr.addAction,Ir=Mr.addFilter,Pr=Mr.removeAction,Nr=(Mr.removeFilter,Mr.hasAction,Mr.hasFilter),Rr=(Mr.removeAllActions,Mr.removeAllFilters,Mr.doAction),Lr=Mr.applyFilters,Ar=(Mr.currentAction,Mr.currentFilter,Mr.doingAction,Mr.doingFilter,Mr.didAction,Mr.didFilter,Mr.actions,Mr.filters,Object.create(null));function zr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.version,r=t.alternative,o=t.plugin,i=t.link,a=t.hint,s=o?" from ".concat(o):"",c=n?"".concat(s," in ").concat(n):"",l=r?" Please use ".concat(r," instead."):"",u=i?" See: ".concat(i):"",d=a?" Note: ".concat(a):"",f="".concat(e," is deprecated and will be removed").concat(c,".").concat(l).concat(u).concat(d);f in Ar||(Rr("deprecated",e,t,f),console.warn(f),Ar[f]=!0)}var Fr,Hr,Vr={getItem:function(e){return Fr&&Fr[e]?Fr[e]:null},setItem:function(e,t){Fr||Vr.clear(),Fr[e]=String(t)},clear:function(){Fr=Object.create(null)}},Br=Vr;try{(Hr=window.localStorage).setItem("__wpDataTestLocalStorage",""),Hr.removeItem("__wpDataTestLocalStorage")}catch(hE){Hr=Br}var Ur=Hr;function Wr(e){var t,n=e.storage,r=void 0===n?Ur:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Kr=function(e,t){var n=Wr(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Kr.__unstableMigrate=function(e){var t=Wr(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var Yr=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};Yr((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());Yr((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),Yr((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var $r=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,qr=Object(I.createContext)(yr),Gr=qr.Consumer,Zr=(qr.Provider,Gr);var Xr=Object(I.createContext)(!1);Xr.Consumer,Xr.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);$r(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Yr((function(e){return function(t){return Object(I.createElement)(Zr,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");var Qr=yr.select,Jr=(yr.dispatch,yr.subscribe,yr.registerGenericStore,yr.registerStore);yr.use;var eo,to,no=Ve()({formatTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_FORMAT_TYPES":return D({},e,Object(N.keyBy)(t.formatTypes,"name"));case"REMOVE_FORMAT_TYPES":return Object(N.omit)(e,t.names)}return e}});function ro(e){return[e]}function oo(){var e={clear:function(){e.head=null}};return e}function io(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}eo={},to="undefined"!=typeof WeakMap;var ao=function(e,t){var n,r;function o(){n=to?new WeakMap:oo()}function i(){var n,o,i,a,s,c=arguments.length;for(a=new Array(c),i=0;i<c;i++)a[i]=arguments[i];for(s=t.apply(null,a),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!io(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),o=n.head;o;){if(io(o.args,a,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,a)},a[0]=null,o.args=a,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=ro),r=to?function(e){var t,r,o,i,a,s=n,c=!0;for(t=0;t<e.length;t++){if(r=e[t],!(a=r)||"object"!=typeof a){c=!1;break}s.has(r)?s=s.get(r):(o=new WeakMap,s.set(r,o),s=o)}return s.has(eo)||((i=oo()).isUniqueByDependants=c,s.set(eo,i)),s.get(eo)}:function(){return n},i.getDependants=t,i.clear=o,o(),i},so=ao((function(e){return Object.values(e.formatTypes)}),(function(e){return[e.formatTypes]}));function co(e,t){return e.formatTypes[t]}function lo(e,t){return Object(N.find)(so(e),(function(e){var n=e.className,r=e.tagName;return null===n&&t===r}))}function uo(e,t){return Object(N.find)(so(e),(function(e){var n=e.className;return null!==n&&" ".concat(t," ").indexOf(" ".concat(n," "))>=0}))}function fo(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Object(N.castArray)(e)}}function ho(e){return{type:"REMOVE_FORMAT_TYPES",names:Object(N.castArray)(e)}}function po(e,t){if(e===t)return!0;if(!e||!t)return!1;if(e.type!==t.type)return!1;var n=e.attributes,r=t.attributes;if(n===r)return!0;if(!n||!r)return!1;var o=Object.keys(n),i=Object.keys(r);if(o.length!==i.length)return!1;for(var a=o.length,s=0;s<a;s++){var c=o[s];if(n[c]!==r[c])return!1}return!0}function vo(e){var t=e.formats.slice();return t.forEach((function(e,n){var r=t[n-1];if(r){var o=e.slice();o.forEach((function(e,t){var n=r[t];po(e,n)&&(o[t]=n)})),t[n]=o}})),D({},e,{formats:t})}function mo(e,t,n){return(e=e.slice())[t]=n,e}function bo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var s=Object(N.find)(a[n],{type:t.type});if(s){for(var c=a[n].indexOf(s);a[n]&&a[n][c]===s;)a[n]=mo(a[n],c,t),n--;for(r++;a[r]&&a[r][c]===s;)a[r]=mo(a[r],c,t),r++}}else{for(var l=1/0,u=n;u<r;u++)if(a[u]){a[u]=a[u].filter((function(e){return e.type!==t.type}));var d=a[u].length;d<l&&(l=d)}else a[u]=[],l=0;for(var f=n;f<r;f++)a[f].splice(l,0,t)}return vo(D({},e,{formats:a,activeFormats:[].concat(ft(Object(N.reject)(i,{type:t.type})),[t])}))}function go(e,t){var n=e.implementation;return go.body||(go.body=n.createHTMLDocument("").body),go.body.innerHTML=t,go.body}Jr("core/rich-text",{reducer:no,selectors:s,actions:c});var yo=window.Node,ko=yo.TEXT_NODE,_o=yo.ELEMENT_NODE;function wo(e,t){for(var n in e)if(e[n]===t)return n}function Oo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.element,n=e.text,r=e.html,o=e.range,i=e.multilineTag,a=e.multilineWrapperTags,s=e.__unstableIsEditableTree;return"string"==typeof n&&n.length>0?{formats:Array(n.length),replacements:Array(n.length),text:n}:("string"==typeof r&&r.length>0&&(t=go(document,r)),"object"!==F(t)?{formats:[],replacements:[],text:""}:i?To({element:t,range:o,multilineTag:i,multilineWrapperTags:a,isEditableTree:s}):Co({element:t,range:o,isEditableTree:s}))}function So(e,t,n,r){if(n){var o=t.parentNode,i=n.startContainer,a=n.startOffset,s=n.endContainer,c=n.endOffset,l=e.text.length;void 0!==r.start?e.start=l+r.start:t===i&&t.nodeType===ko?e.start=l+a:o===i&&t===i.childNodes[a]?e.start=l:o===i&&t===i.childNodes[a-1]?e.start=l+r.text.length:t===i&&(e.start=l),void 0!==r.end?e.end=l+r.end:t===s&&t.nodeType===ko?e.end=l+c:o===s&&t===s.childNodes[c-1]?e.end=l+r.text.length:o===s&&t===s.childNodes[c]?e.end=l:t===s&&(e.end=l+c)}}function Eo(e){return e.replace(/[\n\r\t]+/g," ")}function Co(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,s=e.isEditableTree,c={formats:[],replacements:[],text:""};if(!t)return c;if(!t.hasChildNodes())return So(c,t,n,{formats:[],replacements:[],text:""}),c;for(var l=t.childNodes.length,u=function(e){var i=t.childNodes[e],l=i.nodeName.toLowerCase();if(i.nodeType===ko){var u=Eo(i.nodeValue);return n=function(e,t,n){if(t){var r=t.startContainer,o=t.endContainer,i=t.startOffset,a=t.endOffset;return e===r&&(i=n(e.nodeValue.slice(0,i)).length),e===o&&(a=n(e.nodeValue.slice(0,a)).length),{startContainer:r,startOffset:i,endContainer:o,endOffset:a}}}(i,n,Eo),So(c,i,n,{text:u}),c.formats.length+=u.length,c.replacements.length+=u.length,c.text+=u,"continue"}if(i.nodeType!==_o)return"continue";if(i.getAttribute("data-rich-text-padding")||s&&"br"===l&&!i.getAttribute("data-rich-text-line-break"))return So(c,i,n,{formats:[],replacements:[],text:""}),"continue";if("br"===l)return So(c,i,n,{formats:[],replacements:[],text:""}),Do(c,Oo({text:"\n"})),"continue";var d=c.formats[c.formats.length-1],f=d&&d[d.length-1],h=function(e){var t,n=e.type,r=e.attributes;if(r&&r.class&&(t=Qr("core/rich-text").getFormatTypeForClassName(r.class))&&(r.class=" ".concat(r.class," ").replace(" ".concat(t.className," ")," ").trim(),r.class||delete r.class),t||(t=Qr("core/rich-text").getFormatTypeForBareElement(n)),!t)return r?{type:n,attributes:r}:{type:n};if(t.__experimentalCreatePrepareEditableTree&&!t.__experimentalCreateOnChangeEditableValue)return null;if(!r)return{type:t.name};var o={},i={};for(var a in r){var s=wo(t.attributes,a);s?o[s]=r[a]:i[a]=r[a]}return{type:t.name,attributes:o,unregisteredAttributes:i}}({type:l,attributes:xo({element:i})}),p=po(h,f)?f:h;if(o&&-1!==o.indexOf(l)){var v=To({element:i,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:[].concat(ft(a),[p]),isEditableTree:s});return So(c,i,n,v),Do(c,v),"continue"}var m=Co({element:i,range:n,multilineTag:r,multilineWrapperTags:o,isEditableTree:s});So(c,i,n,m),p?0===m.text.length?p.attributes&&Do(c,{formats:[,],replacements:[p],text:""}):Do(c,D({},m,{formats:Array.from(m.formats,(function(e){return e?[p].concat(ft(e)):[p]}))})):Do(c,m)},d=0;d<l;d++)u(d);return c}function To(e){var t=e.element,n=e.range,r=e.multilineTag,o=e.multilineWrapperTags,i=e.currentWrapperTags,a=void 0===i?[]:i,s=e.isEditableTree,c={formats:[],replacements:[],text:""};if(!t||!t.hasChildNodes())return c;for(var l=t.children.length,u=0;u<l;u++){var d=t.children[u];if(d.nodeName.toLowerCase()===r){var f=Co({element:d,range:n,multilineTag:r,multilineWrapperTags:o,currentWrapperTags:a,isEditableTree:s});(0!==u||a.length>0)&&Do(c,{formats:[,],replacements:a.length>0?[a]:[,],text:"\u2028"}),So(c,d,n,f),Do(c,f)}}return c}function xo(e){var t=e.element;if(t.hasAttributes()){for(var n,r=t.attributes.length,o=0;o<r;o++){var i=t.attributes[o],a=i.name,s=i.value;0!==a.indexOf("data-rich-text-")&&((n=n||{})[a]=s)}return n}}function Do(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function Mo(e){var t=e.formats,n=e.start,r=e.end,o=e.activeFormats;if(void 0===n)return[];if(n===r){if(o)return o;var i=t[n-1]||[],a=t[n]||[];return i.length<a.length?i:a}return t[n]||[]}function jo(e,t){return Object(N.find)(Mo(e),{type:t})}function Io(e){return e.text}function Po(e){for(var t=e.start,n=e.text,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,o=r;o--;)if("\u2028"===n[o])return o}function No(e){var t=e.replacements[Po(e,e.start)];return!t||t.length<1}function Ro(e,t,n){var r=e.replacements[Po(e,e.start)];return r&&0!==r.length?r[r.length-1].type===t:t===n}function Lo(e){var t=e.start,n=e.end;if(void 0!==t&&void 0!==n)return t===n}function Ao(e){return 0===e.text.length}function zo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.activeFormats,a=o.slice();if(n===r){var s=Object(N.find)(a[n],{type:t});if(s){for(;Object(N.find)(a[n],s);)Fo(a,n,t),n--;for(r++;Object(N.find)(a[r],s);)Fo(a,r,t),r++}}else for(var c=n;c<r;c++)a[c]&&Fo(a,c,t);return vo(D({},e,{formats:a,activeFormats:Object(N.reject)(i,{type:t})}))}function Fo(e,t,n){var r=e[t].filter((function(e){return e.type!==n}));r.length?e[t]=r:delete e[t]}function Ho(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.start,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.end,o=e.formats,i=e.replacements,a=e.text;"string"==typeof t&&(t=Oo({text:t}));var s=n+t.text.length;return vo({formats:o.slice(0,n).concat(t.formats,o.slice(r)),replacements:i.slice(0,n).concat(t.replacements,i.slice(r)),text:a.slice(0,n)+t.text+a.slice(r),start:s,end:s})}function Vo(e,t,n){return Ho(e,Oo(),t,n)}function Bo(e,t,n){var r=e.formats,o=e.replacements,i=e.text,a=e.start,s=e.end;return i=i.replace(t,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),c=1;c<t;c++)i[c-1]=arguments[c];var l,u,d=i[i.length-2],f=n;return"function"==typeof f&&(f=n.apply(void 0,[e].concat(i))),"object"===F(f)?(l=f.formats,u=f.replacements,f=f.text):(l=Array(f.length),u=Array(f.length),r[d]&&(l=l.fill(r[d]))),r=r.slice(0,d).concat(l,r.slice(d+e.length)),o=o.slice(0,d).concat(u,o.slice(d+e.length)),a&&(a=s=d+f.length),f})),vo({formats:r,replacements:o,text:i,start:a,end:s})}function Uo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=e.formats,o=e.replacements,i=e.text;return void 0===t||void 0===n?D({},e):{formats:r.slice(t,n),replacements:o.slice(t,n),text:i.slice(t,n)}}function Wo(e,t){var n=e.formats,r=e.replacements,o=e.text,i=e.start,a=e.end;if("string"!=typeof t)return Ko.apply(void 0,arguments);var s=0;return o.split(t).map((function(e){var o=s,c={formats:n.slice(o,o+e.length),replacements:r.slice(o,o+e.length),text:e};return s+=t.length+e.length,void 0!==i&&void 0!==a&&(i>=o&&i<s?c.start=i-o:i<o&&a>o&&(c.start=0),a>=o&&a<s?c.end=a-o:i<s&&a>s&&(c.end=e.length)),c}))}function Ko(e){var t=e.formats,n=e.replacements,r=e.text,o=e.start,i=e.end,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,c={formats:t.slice(0,a),replacements:n.slice(0,a),text:r.slice(0,a)},l={formats:t.slice(s),replacements:n.slice(s),text:r.slice(s),start:0,end:0};return[Bo(c,/\u2028+$/,""),Bo(l,/^\u2028+/,"")]}function Yo(e){var t=e.type,n=e.attributes,r=e.unregisteredAttributes,o=e.object,i=e.boundaryClass,a=function(e){return Qr("core/rich-text").getFormatType(e)}(t),s={};if(i&&(s["data-rich-text-format-boundary"]="true"),!a)return n&&(s=D({},n,s)),{type:t,attributes:s,object:o};for(var c in s=D({},r,s),n){var l=!!a.attributes&&a.attributes[c];l?s[l]=n[c]:s[c]=n[c]}return a.className&&(s.class?s.class="".concat(a.className," ").concat(s.class):s.class=a.className),{type:a.tagName,object:a.object,attributes:s}}var $o={type:"br",attributes:{"data-rich-text-padding":"true"},object:!0};function qo(e){var t,n,r,o=e.value,i=e.multilineTag,a=e.createEmpty,s=e.append,c=e.getLastChild,l=e.getParent,u=e.isText,d=e.getText,f=e.remove,h=e.appendText,p=e.onStartIndex,v=e.onEndIndex,m=e.isEditableTree,b=o.formats,g=o.replacements,y=o.text,k=o.start,_=o.end,w=b.length+1,O=a(),S={type:i},E=Mo(o),C=E[E.length-1];i?(s(s(O,{type:i}),""),n=t=[S]):s(O,"");for(var T=function(e){var o=y.charAt(e),a=m&&(!r||"\u2028"===r||"\n"===r),w=b[e];i&&(w="\u2028"===o?t=(g[e]||[]).reduce((function(e,t){return e.push(t,S),e}),[S]):[].concat(ft(t),ft(w||[])));var E=c(O);if(a&&"\u2028"===o){for(var T=E;!u(T);)T=c(T);s(l(T),$o),s(l(T),"")}if("\u2028"===r){for(var x=E;!u(x);)x=c(x);p&&k===e&&p(O,x),v&&_===e&&v(O,x)}if(w&&w.forEach((function(e,t){if(!E||!n||e!==n[t]||"\u2028"===o&&w.length-1===t){var r=e.type,i=e.attributes,a=e.unregisteredAttributes,h=m&&"\u2028"!==o&&e===C,p=l(E),v=s(p,Yo({type:r,attributes:i,unregisteredAttributes:a,boundaryClass:h}));u(E)&&0===d(E).length&&f(E),E=s(v,"")}else E=c(E)})),"\u2028"===o)return n=w,r=o,"continue";0===e&&(p&&0===k&&p(O,E),v&&0===_&&v(O,E)),""===o?(E=s(l(E),Yo(D({},g[e],{object:!0}))),E=s(l(E),"")):"\n"===o?(E=s(l(E),{type:"br",attributes:m?{"data-rich-text-line-break":"true"}:void 0,object:!0}),E=s(l(E),"")):u(E)?h(E,o):E=s(l(E),o),p&&k===e+1&&p(O,E),v&&_===e+1&&v(O,E),a&&e===y.length&&s(l(E),$o),n=w,r=o},x=0;x<w;x++)T(x);return O}var Go=window.Node.TEXT_NODE;function Zo(e,t,n){for(var r=e.parentNode,o=0;e=e.previousSibling;)o++;return n=[o].concat(ft(n)),r!==t&&(n=Zo(r,t,n)),n}function Xo(e,t){for(t=ft(t);e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}var Qo=function(){return go(document,"")};function Jo(e,t){"string"==typeof t&&(t=e.ownerDocument.createTextNode(t));var n=t,r=n.type,o=n.attributes;if(r)for(var i in t=e.ownerDocument.createElement(r),o)t.setAttribute(i,o[i]);return e.appendChild(t)}function ei(e,t){e.appendData(t)}function ti(e){return e.lastChild}function ni(e){return e.parentNode}function ri(e){return e.nodeType===Go}function oi(e){return e.nodeValue}function ii(e){return e.parentNode.removeChild(e)}function ai(e){var t=e.value,n=e.multilineTag,r=e.prepareEditableTree,o=e.isEditableTree,i=void 0===o||o,a=[],s=[];return r&&(t=D({},t,{formats:r(t)})),{body:qo({value:t,multilineTag:n,createEmpty:Qo,append:Jo,getLastChild:ti,getParent:ni,isText:ri,getText:oi,remove:ii,appendText:ei,onStartIndex:function(e,t){a=Zo(t,e,[t.nodeValue.length])},onEndIndex:function(e,t){s=Zo(t,e,[t.nodeValue.length])},isEditableTree:i}),selection:{startPath:a,endPath:s}}}function si(e){var t=e.value,n=e.current,r=e.multilineTag,o=e.prepareEditableTree,i=e.__unstableDomOnly,a=ai({value:t,multilineTag:r,prepareEditableTree:o}),s=a.body,c=a.selection;!function e(t,n){var r,o=0;for(;r=t.firstChild;){var i=n.childNodes[o];if(i)if(i.isEqualNode(r))t.removeChild(r);else if(i.nodeName!==r.nodeName||i.nodeType===Go&&i.data!==r.data)n.replaceChild(r,i);else{var a=i.attributes,s=r.attributes;if(a)for(var c=a.length;c--;){var l=a[c].name;r.getAttribute(l)||i.removeAttribute(l)}if(s)for(var u=0;u<s.length;u++){var d=s[u],f=(l=d.name,d.value);i.getAttribute(l)!==f&&i.setAttribute(l,f)}e(r,i),t.removeChild(r)}else n.appendChild(r);o++}for(;n.childNodes[o];)n.removeChild(n.childNodes[o])}(s,n),void 0===t.start||i||function(e,t){var n=e.startPath,r=e.endPath,o=Xo(t,n),i=o.node,a=o.offset,s=Xo(t,r),c=s.node,l=s.offset,u=window.getSelection(),d=t.ownerDocument,f=d.createRange();f.setStart(i,a),f.setEnd(c,l),d.activeElement!==t&&t.focus();if(u.rangeCount>0){if(h=f,p=u.getRangeAt(0),h.startContainer===p.startContainer&&h.startOffset===p.startOffset&&h.endContainer===p.endContainer&&h.endOffset===p.endOffset)return;u.removeAllRanges()}var h,p;u.addRange(f)}(c,n)}function ci(e){return gi(qo({value:e.value,multilineTag:e.multilineTag,createEmpty:li,append:di,getLastChild:ui,getParent:hi,isText:pi,getText:vi,remove:mi,appendText:fi}).children)}function li(){return{}}function ui(e){var t=e.children;return t&&t[t.length-1]}function di(e,t){return"string"==typeof t&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function fi(e,t){e.text+=t}function hi(e){return e.parent}function pi(e){return"string"==typeof e.text}function vi(e){return e.text}function mi(e){var t=e.parent.children.indexOf(e);return-1!==t&&e.parent.children.splice(t,1),e}function bi(e){var t=e.type,n=e.attributes,r=e.object,o=e.children,i="";for(var a in n)W(a)&&(i+=" ".concat(a,'="').concat(B(n[a]),'"'));return r?"<".concat(t).concat(i,">"):"<".concat(t).concat(i,">").concat(gi(o),"</").concat(t,">")}function gi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return void 0===e.text?bi(e):U(e.text)})).join("")}function yi(e,t){var n=Po(e);if(void 0===n)return e;var r=e.text,o=e.replacements,i=e.end,a=Po(e,n),s=o[n]||[],c=o[a]||[];if(s.length>c.length)return e;for(var l=o.slice(),u=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;)if("\u2028"===n[i]){var a=r[i]||[];if(a.length===o.length+1)return i;if(a.length<=o.length)return}}(e,n),d=n;d<i;d++)if("\u2028"===r[d])if(u){var f=o[u]||[];l[d]=f.concat((l[d]||[]).slice(f.length-1))}else{var h=o[a]||[],p=h[h.length-1]||t;l[d]=h.concat([p],(l[d]||[]).slice(h.length))}return D({},e,{replacements:l})}function ki(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t;i-- >=0;){if("\u2028"===n[i])if((r[i]||[]).length===o.length-1)return i}}function _i(e){var t=e.text,n=e.replacements,r=e.start,o=e.end,i=Po(e,r);if(void 0===n[i])return e;for(var a=n.slice(0),s=n[ki(e,i)]||[],c=function(e,t){for(var n=e.text,r=e.replacements,o=r[t]||[],i=t,a=t||0;a<n.length;a++)if("\u2028"===n[a]){if(!((r[a]||[]).length>=o.length))return i;i=a}return i}(e,Po(e,o)),l=i;l<=c;l++)if("\u2028"===t[l]){var u=a[l]||[];a[l]=s.concat(u.slice(s.length+1)),0===a[l].length&&delete a[l]}return D({},e,{replacements:a})}function wi(e,t){for(var n,r=e.text,o=e.replacements,i=e.start,a=e.end,s=Po(e,i),c=o[s]||[],l=o[Po(e,a)]||[],u=ki(e,s),d=o.slice(),f=c.length-1,h=l.length-1,p=u+1||0;p<r.length;p++)if("\u2028"===r[p]){if((d[p]||[]).length<=f)break;d[p]&&(n=!0,d[p]=d[p].map((function(e,n){return n<f||n>h?e:t})))}return n?D({},e,{replacements:d}):e}function Oi(e){var t=e.value,n=e.start,r=e.end,o=e.formats,i=t.formats[n-1]||[],a=t.formats[r]||[];for(t.activeFormats=o.map((function(e,t){if(i[t]){if(po(e,i[t]))return i[t]}else if(a[t]&&po(e,a[t]))return a[t];return e}));--r>=n;)t.activeFormats.length>0?t.formats[r]=t.activeFormats:delete t.formats[r];return t}var Si=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function Ei(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function Ci(e){return ft(e.querySelectorAll(Si)).filter((function(e){return!!Ei(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var n=document.querySelector('img[usemap="#'+t.name+'"]');return!!n&&Ei(n)}(e))}))}function Ti(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function xi(e){return-1!==Ti(e)}function Di(e,t){return{element:e,index:t}}function Mi(e){return e.element}function ji(e,t){var n=Ti(e.element),r=Ti(t.element);return n===r?e.index-t.index:n-r}function Ii(e){return Ci(e).filter(xi).map(Di).sort(ji).map(Mi).reduce((t={},function(e,n){var r=n.nodeName,o=n.type,i=n.checked,a=n.name;if("INPUT"!==r||"radio"!==o||!a)return e.concat(n);var s=t.hasOwnProperty(a);if(!i&&s)return e;if(s){var c=t[a];e=Object(N.without)(e,c)}return t[a]=n,e.concat(n)}),[]);var t}var Pi=window.getComputedStyle,Ni=window.Node,Ri=Ni.TEXT_NODE,Li=(Ni.ELEMENT_NODE,Ni.DOCUMENT_POSITION_PRECEDING),Ai=Ni.DOCUMENT_POSITION_FOLLOWING;function zi(e,t,n){if(Object(N.includes)(["INPUT","TEXTAREA"],e.tagName))return e.selectionStart===e.selectionEnd&&(t?0===e.selectionStart:e.value.length===e.selectionStart);if(!e.isContentEditable)return!0;var r=window.getSelection();if(!r.rangeCount)return!1;var o=r.getRangeAt(0).cloneRange(),i=function(e){var t=e.anchorNode,n=e.focusNode,r=e.anchorOffset,o=e.focusOffset,i=t.compareDocumentPosition(n);return!(i&Li)&&(!!(i&Ai)||(0!==i||r<=o))}(r),a=r.isCollapsed;a||o.collapse(!i);var s=Vi(o);if(!s)return!1;var c=window.getComputedStyle(e),l=parseInt(c.lineHeight,10)||0;if(!a&&s.height>l&&i===t)return!1;var u=parseInt(c["padding".concat(t?"Top":"Bottom")],10)||0,d=3*parseInt(l,10)/4,f=e.getBoundingClientRect();if(!(t?f.top+u>s.top-d:f.bottom-u<s.bottom+d))return!1;if(n)return!0;var h="rtl"===c.direction?!t:t,p=h?f.left+1:f.right-1,v=t?f.top+d:f.bottom-d,m=Ui(document,p,v,e);if(!m)return!1;var b=h?"left":"right",g=Vi(m);return Math.round(g[b])===Math.round(s[b])}function Fi(e,t){return zi(e,t)}function Hi(e,t){return zi(e,t,!0)}function Vi(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t);(e=document.createRange()).setStart(n,r),e.setEnd(n,r)}var o=e.getClientRects()[0];if(!o){var i=document.createTextNode("");(e=e.cloneRange()).insertNode(i),o=e.getClientRects()[0],i.parentNode.removeChild(i)}return o}function Bi(e,t){if(e){if(Object(N.includes)(["INPUT","TEXTAREA"],e.tagName))return e.focus(),void(t?(e.selectionStart=e.value.length,e.selectionEnd=e.value.length):(e.selectionStart=0,e.selectionEnd=0));if(e.focus(),e.isContentEditable){var n=e[t?"lastChild":"firstChild"];if(n){var r=window.getSelection(),o=document.createRange();o.selectNodeContents(n),o.collapse(!t),r.removeAllRanges(),r.addRange(o)}}}}function Ui(e,t,n,r){r.style.zIndex="10000";var o=function(e,t,n){if(e.caretRangeFromPoint)return e.caretRangeFromPoint(t,n);if(!e.caretPositionFromPoint)return null;var r=e.caretPositionFromPoint(t,n);if(!r)return null;var o=e.createRange();return o.setStart(r.offsetNode,r.offset),o.collapse(!0),o}(e,t,n);return r.style.zIndex=null,o}function Wi(e){try{var t=e.nodeName,n=e.selectionStart,r=e.contentEditable;return"INPUT"===t&&null!==n||"TEXTAREA"===t||"true"===r}catch(hE){return!1}}function Ki(e){if(Object(N.includes)(["INPUT","TEXTAREA"],e.nodeName))return 0===e.selectionStart&&e.value.length===e.selectionEnd;if(!e.isContentEditable)return!0;var t=window.getSelection(),n=t.rangeCount?t.getRangeAt(0):null;if(!n)return!0;var r=n.startContainer,o=n.endContainer,i=n.startOffset,a=n.endOffset;if(r===e&&o===e&&0===i&&a===e.childNodes.length)return!0;var s=e.lastChild,c=s.nodeType===Ri?s.data.length:s.childNodes.length;return r===e.firstChild&&o===e.lastChild&&0===i&&a===c}function Yi(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return Yi(e.parentNode)}}function $i(e,t){Gi(t,e.parentNode),qi(e)}function qi(e){e.parentNode.removeChild(e)}function Gi(e,t){t.parentNode.insertBefore(e,t.nextSibling)}function Zi(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}function Xi(e,t){for(var n=e.ownerDocument.createElement(t);e.firstChild;)n.appendChild(e.firstChild);return e.parentNode.replaceChild(n,e),n}function Qi(e,t){t.parentNode.insertBefore(e,t),e.appendChild(t)}var Ji={focusable:l,tabbable:u},ea=["button","submit"];var ta=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(xe(e)),e.queueBlurCheck=e.queueBlurCheck.bind(xe(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e)}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,n=e.target;Object(N.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(N.includes)(ea,e.type)}return!1}(n)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(I.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(I.createElement)(e,Le({ref:this.bindNode},this.props)))}}]),n}(I.Component)}),"withFocusOutside");var na=Object(I.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,i=e.isLarge,a=e.isSmall,s=e.isTertiary,c=e.isToggled,l=e.isBusy,u=e.isDefault,d=e.isLink,f=e.isDestructive,h=e.className,p=e.disabled,v=j(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isToggled","isBusy","isDefault","isLink","isDestructive","className","disabled"]),m=In()("components-button",h,{"is-button":u||o||i||a,"is-default":u||i||a,"is-primary":o,"is-large":i,"is-small":a,"is-tertiary":s,"is-toggled":c,"is-busy":l,"is-link":d,"is-destructive":f}),b=void 0===n||p?"button":"a",g="a"===b?{href:n,target:r}:{type:"button",disabled:p};return Object(I.createElement)(b,D({},g,v,{className:m,ref:t}))})),ra=function(){return window.innerWidth<782},oa=function(){return"rtl"===document.documentElement.dir};function ia(e,t,n,r){var o=t.width;"left"===n&&oa()?n="right":"right"===n&&oa()&&(n="left");var i,a=Math.round(e.left+e.width/2),s={popoverLeft:a,contentWidth:(a-o/2>0?o/2:a)+(a+o/2>window.innerWidth?window.innerWidth-a:o/2)},c="middle"===r?e.left:a,l={popoverLeft:c,contentWidth:c-o>0?o:c},u="middle"===r?e.right:a,d={popoverLeft:u,contentWidth:u+o>window.innerWidth?window.innerWidth-u:o},f=null;if("center"===n&&s.contentWidth===o)i="center";else if("left"===n&&l.contentWidth===o)i="left";else if("right"===n&&d.contentWidth===o)i="right";else{var h="left"===(i=l.contentWidth>d.contentWidth?"left":"right")?l.contentWidth:d.contentWidth;f=h!==o?h:null}return{xAxis:i,popoverLeft:"center"===i?s.popoverLeft:"left"===i?l.popoverLeft:d.popoverLeft,contentWidth:f}}function aa(e,t,n){var r,o=t.height,i=e.top+e.height/2,a={popoverTop:i,contentHeight:(i-o/2>0?o/2:i)+(i+o/2>window.innerHeight?window.innerHeight-i:o/2)},s={popoverTop:e.top,contentHeight:e.top-10-o>0?o:e.top-10},c={popoverTop:e.bottom,contentHeight:e.bottom+10+o>window.innerHeight?window.innerHeight-10-e.bottom:o},l=null;if("middle"===n&&a.contentHeight===o)r="middle";else if("top"===n&&s.contentHeight===o)r="top";else if("bottom"===n&&c.contentHeight===o)r="bottom";else{var u="top"===(r=s.contentHeight>c.contentHeight?"top":"bottom")?s.contentHeight:c.contentHeight;l=u!==o?u:null}return{yAxis:r,popoverTop:"middle"===r?a.popoverTop:"top"===r?s.popoverTop:c.popoverTop,contentHeight:l}}var sa=Object(I.createContext)({focusHistory:[]}),ca=sa.Provider,la=sa.Consumer;ca.displayName="FocusReturnProvider",la.displayName="FocusReturnConsumer";I.Component;var ua=Un((function e(t){if((r=t)instanceof I.Component||"function"==typeof r){var n=t;return e({})(n)}var r,o=t.onFocusReturn,i=void 0===o?N.stubTrue:o;return function(e){var t=function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,n=this.ownFocusedElements;if(t&&!1!==i())for(var r,o=[].concat(ft(N.without.apply(void 0,[this.props.focusHistory].concat(ft(n)))),[e]);r=o.pop();)if(document.body.contains(r))return void r.focus()}},{key:"render",value:function(){return Object(I.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(I.createElement)(e,this.props))}}]),n}(I.Component);return function(e){return Object(I.createElement)(la,null,(function(n){return Object(I.createElement)(t,Le({},e,n))}))}}}),"withFocusReturn"),da=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).focusContainRef=Object(I.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"handleTabBehaviour",value:function(e){if(9===e.keyCode){var t=Ji.tabbable.find(this.focusContainRef.current);if(t.length){var n=t[0],r=t[t.length-1];e.shiftKey&&e.target===n?(e.preventDefault(),r.focus()):(e.shiftKey||e.target!==r)&&t.includes(e.target)||(e.preventDefault(),n.focus())}}}},{key:"render",value:function(){return Object(I.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(I.createElement)(e,this.props))}}]),n}(I.Component)}),"withConstrainedTabbing"),fa=n(55),ha=n.n(fa),pa=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"handleClickOutside",value:function(e){var t=this.props.onClickOutside;t&&t(e)}},{key:"render",value:function(){return this.props.children}}]),t}(I.Component),va=ha()(pa);var ma=function(e){var t,n,r=e.shortcut,o=e.className;return r?(Object(N.isString)(r)&&(t=r),Object(N.isObject)(r)&&(t=r.display,n=r.ariaLabel),Object(I.createElement)("span",{className:o,"aria-label":n},t)):null},ba=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).delayedSetIsOver=Object(N.debounce)((function(t){return e.setState({isOver:t})}),700),e.state={isOver:!1},e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel()}},{key:"emitToChild",value:function(e,t){var n=this.props.children;if(1===I.Children.count(n)){var r=I.Children.only(n);"function"==typeof r.props[e]&&r.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var n=this;return function(r){if(n.emitToChild(e,r),!r.currentTarget.disabled){n.delayedSetIsOver.cancel();var o=Object(N.includes)(["focus","mouseenter"],r.type);o!==n.state.isOver&&(t?n.delayedSetIsOver(o):n.setState({isOver:o}))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.position,r=e.text,o=e.shortcut;if(1!==I.Children.count(t))return t;var i=I.Children.only(t),a=this.state.isOver;return Object(I.cloneElement)(i,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),children:R(i.props.children,a&&Object(I.createElement)(La,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1},r,Object(I.createElement)(ma,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),t}(I.Component),ga=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"render",value:function(){var e,t=this.props,n=t.icon,r=t.size,o=void 0===r?20:r,i=t.className,a=(t.ariaPressed,j(t,["icon","size","className","ariaPressed"]));switch(n){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var s=function(e,t){return["dashicon","dashicons-"+e,t].filter(Boolean).join(" ")}(n,i);return Object(I.createElement)(Mn,Le({"aria-hidden":!0,role:"img",focusable:"false",className:s,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 20 20"},a),Object(I.createElement)(xn,{d:e}))}}]),t}(I.Component);var ya=Object(I.forwardRef)((function(e,t){var n=e.icon,r=e.children,o=e.label,i=e.className,a=e.tooltip,s=e.shortcut,c=e.labelPosition,l=j(e,["icon","children","label","className","tooltip","shortcut","labelPosition"]),u=l["aria-pressed"],d=In()("components-icon-button",i,{"has-text":r}),f=a||o,h=!l.disabled&&(a||s||!!o&&(!r||Object(N.isArray)(r)&&!r.length)&&!1!==a),p=Object(I.createElement)(na,Le({"aria-label":o},l,{className:d,ref:t}),Object(N.isString)(n)?Object(I.createElement)(ga,{icon:n,ariaPressed:u}):n,r);return h&&(p=Object(I.createElement)(ba,{text:f,shortcut:s,position:c},p)),p}));var ka=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,i=0,a=0;function s(e){var t=n.scrollingElement||n.body;e&&(a=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=a)}function c(){0===i&&s(!0),++i}function l(){1===i&&s(!1),--i}return(function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){c()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),t}(I.Component))}(),_a=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).stopEventPropagationOutsideContainer=n.stopEventPropagationOutsideContainer.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"stopEventPropagationOutsideContainer",value:function(e){e.stopPropagation()}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",Le({},n,{onMouseDown:this.stopEventPropagationOutsideContainer}),t)}}]),t}(I.Component),wa=Object(I.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){}}),Oa=wa.Provider,Sa=wa.Consumer,Ea=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).registerSlot=e.registerSlot.bind(xe(e)),e.registerFill=e.registerFill.bind(xe(e)),e.unregisterSlot=e.unregisterSlot.bind(xe(e)),e.unregisterFill=e.unregisterFill.bind(xe(e)),e.getSlot=e.getSlot.bind(xe(e)),e.getFills=e.getFills.bind(xe(e)),e.slots={},e.fills={},e.state={registerSlot:e.registerSlot,unregisterSlot:e.unregisterSlot,registerFill:e.registerFill,unregisterFill:e.unregisterFill,getSlot:e.getSlot,getFills:e.getFills},e}return Ie(t,e),Te(t,[{key:"registerSlot",value:function(e,t){var n=this.slots[e];this.slots[e]=t,this.forceUpdateFills(e),this.forceUpdateSlot(e),n&&n.forceUpdate()}},{key:"registerFill",value:function(e,t){this.fills[e]=[].concat(ft(this.fills[e]||[]),[t]),this.forceUpdateSlot(e)}},{key:"unregisterSlot",value:function(e,t){this.slots[e]===t&&(delete this.slots[e],this.forceUpdateFills(e))}},{key:"unregisterFill",value:function(e,t){this.fills[e]=Object(N.without)(this.fills[e],t),this.resetFillOccurrence(e),this.forceUpdateSlot(e)}},{key:"getSlot",value:function(e){return this.slots[e]}},{key:"getFills",value:function(e,t){return this.slots[e]!==t?[]:Object(N.sortBy)(this.fills[e],"occurrence")}},{key:"resetFillOccurrence",value:function(e){Object(N.forEach)(this.fills[e],(function(e){e.occurrence=void 0}))}},{key:"forceUpdateFills",value:function(e){Object(N.forEach)(this.fills[e],(function(e){e.forceUpdate()}))}},{key:"forceUpdateSlot",value:function(e){var t=this.getSlot(e);t&&t.forceUpdate()}},{key:"render",value:function(){return Object(I.createElement)(Oa,{value:this.state},this.props.children)}}]),t}(I.Component),Ca=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.bubblesVirtually,o=void 0!==r&&r,i=e.fillProps,a=void 0===i?{}:i,s=e.getFills;if(o)return Object(I.createElement)("div",{ref:this.bindNode});var c=Object(N.map)(s(n,this),(function(e){var t=e.occurrence,n=Object(N.isFunction)(e.children)?e.children(a):e.children;return I.Children.map(n,(function(e,n){if(!e||Object(N.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return Object(I.cloneElement)(e,{key:r})}))})).filter(Object(N.negate)(A));return Object(I.createElement)(I.Fragment,null,Object(N.isFunction)(t)?t(c):c)}}]),t}(I.Component),Ta=function(e){return Object(I.createElement)(Sa,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return Object(I.createElement)(Ca,Le({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},xa=0;function Da(e){var t=e.name,n=e.getSlot,r=e.children,o=e.registerFill,i=e.unregisterFill,a=Fe(Object(I.useState)({}),2)[1],s=function(){return a({})},c=Object(I.useRef)({name:t,children:r});c.current.occurrence||(c.current.occurrence=++xa),Object(I.useLayoutEffect)((function(){return c.current.forceUpdate=s,o(t,c.current),function(){return i(t,c.current)}}),[]),Object(I.useLayoutEffect)((function(){c.current.children=r;var e=n(t);e&&!e.props.bubblesVirtually&&e.forceUpdate()}),[r]),Object(I.useLayoutEffect)((function(){t!==c.current.name&&(i(c.current.name,c.current),c.current.name=t,o(t,c.current))}),[t]);var l=n(t);return l&&l.node&&l.props.bubblesVirtually?(Object(N.isFunction)(r)&&(r=r(l.props.fillProps)),Object(L.createPortal)(r,l.node)):null}var Ma=function(e){return Object(I.createElement)(Sa,null,(function(t){var n=t.getSlot,r=t.registerFill,o=t.unregisterFill;return Object(I.createElement)(Da,Le({},e,{getSlot:n,registerFill:r,unregisterFill:o}))}))};function ja(e){var t=function(t){return Object(I.createElement)(Ma,Le({name:e},t))};t.displayName=e+"Fill";var n=function(t){return Object(I.createElement)(Ta,Le({name:e},t))};return n.displayName=e+"Slot",{Fill:t,Slot:n}}var Ia=da(ua((function(e){return e.children})));function Pa(e,t){Object(I.useEffect)((function(){var n,r=function(r){window.cancelAnimationFrame(n),t&&r&&"scroll"===r.type&&t.current.contains(r.target)||(n=window.requestAnimationFrame(e))};return window.addEventListener("resize",r),window.addEventListener("scroll",r),function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r)}}),[])}function Na(e,t,n,r,o){var i=Fe(Object(I.useState)({popoverLeft:null,popoverTop:null,yAxis:"top",xAxis:"center",contentHeight:null,contentWidth:null,isMobile:!1}),2),a=i[0],s=i[1],c=function(){if(e&&t){var o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.split(" "),i=Fe(o,2),a=i[0],s=i[1],c=void 0===s?"center":s,l=aa(e,t,a),u=ia(e,t,c,l.yAxis);return D({isMobile:ra()&&r},u,l)}(e,t,n,r);a.yAxis===o.yAxis&&a.xAxis===o.xAxis&&a.popoverLeft===o.popoverLeft&&a.popoverTop===o.popoverTop&&a.contentHeight===o.contentHeight&&a.contentWidth===o.contentWidth&&a.isMobile===o.isMobile||s(o)}};return Object(I.useEffect)(c,[e,t]),Pa(c,o),a}var Ra=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,i=e.className,a=e.onClickOutside,s=void 0===a?n:a,c=e.noArrow,l=void 0!==c&&c,u=e.position,d=void 0===u?"top":u,f=(e.range,e.focusOnMount),h=void 0===f?"firstElement":f,p=e.anchorRect,v=e.getAnchorRect,m=e.expandOnMobile,b=e.animate,g=void 0===b||b,y=j(e,["headerTitle","onClose","onKeyDown","children","className","onClickOutside","noArrow","position","range","focusOnMount","anchorRect","getAnchorRect","expandOnMobile","animate"]),k=Object(I.useRef)(null),_=Object(I.useRef)(null),w=Fe(Object(I.useState)(!1),2),O=w[0],S=w[1],E=function(e,t,n,r){var o=Fe(Object(I.useState)(null),2),i=o[0],a=o[1],s=function(){if(e.current){var t;if(n)t=n;else if(r)t=r(e.current);else{var o=e.current.parentNode.getBoundingClientRect(),s=window.getComputedStyle(e.current.parentNode),c=s.paddingTop,l=s.paddingBottom,u=parseInt(c,10),d=parseInt(l,10);t={x:o.left,y:o.top+u,width:o.width,height:o.height-u-d,left:o.left,right:o.right,top:o.top+u,bottom:o.bottom-d}}!Kn()(t,i)&&a(t)}};return Object(I.useEffect)(s,[n,r]),Object(I.useEffect)((function(){if(!n){var e=setInterval(s,500);return function(){return clearInterval(e)}}}),[n]),Pa(s,t),i}(k,_,p,v),C=function(e){var t=Fe(Object(I.useState)(null),2),n=t[0],r=t[1];return Object(I.useEffect)((function(){var t=e.current.getBoundingClientRect();r({width:t.width,height:t.height})}),[]),n}(_);Object(I.useEffect)((function(){C&&S(!0)}),[C]);var T=Na(E,C,d,m,_);!function(e,t){Object(I.useEffect)((function(){var n=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var n=Ji.tabbable.find(t.current)[0];n?n.focus():t.current.focus()}}),0);return function(){return clearTimeout(n)}}),[])}(h,_);var x=function(e){27===e.keyCode&&n&&(e.stopPropagation(),n()),r&&r(e)},D={top:"bottom",bottom:"top"}[T.yAxis]||"middle",M={left:"right",right:"left"}[T.xAxis]||"center",P=In()("components-popover",i,"is-"+T.yAxis,"is-"+T.xAxis,{"is-mobile":T.isMobile,"is-without-arrow":l||"center"===T.xAxis&&"middle"===T.yAxis}),N=Object(I.createElement)(va,{onClickOutside:s},Object(I.createElement)(Pn,{type:g&&O?"appear":null,options:{origin:D+" "+M}},(function(e){var r=e.className;return Object(I.createElement)(_a,Le({className:In()(P,r),style:{top:!T.isMobile&&T.popoverTop?T.popoverTop+"px":void 0,left:!T.isMobile&&T.popoverLeft?T.popoverLeft+"px":void 0,visibility:C?void 0:"hidden"}},y,{onKeyDown:x}),T.isMobile&&Object(I.createElement)("div",{className:"components-popover__header"},Object(I.createElement)("span",{className:"components-popover__header-title"},t),Object(I.createElement)(ya,{className:"components-popover__close",icon:"no-alt",onClick:n})),Object(I.createElement)("div",{ref:_,className:"components-popover__content",style:{maxHeight:!T.isMobile&&T.contentHeight?T.contentHeight+"px":void 0,maxWidth:!T.isMobile&&T.contentWidth?T.contentWidth+"px":void 0},tabIndex:"-1"},o))})));return h&&(N=Object(I.createElement)(Ia,null,N)),Object(I.createElement)(Sa,null,(function(e){var t=e.getSlot;return t&&t("Popover")&&(N=Object(I.createElement)(Ma,{name:"Popover"},N)),Object(I.createElement)("span",{ref:k},N,T.isMobile&&m&&Object(I.createElement)(ka,null))}))};Ra.Slot=function(){return Object(I.createElement)(Ta,{bubblesVirtually:!0,name:"Popover"})};var La=Ra,Aa=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t},za=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},Fa="",Ha=function(e){return e=e.replace(/<[^<>]+>/g," "),Fa===e&&(e+=" "),Fa=e,e};(function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)})((function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&(e=Aa("polite")),null===t&&(t=Aa("assertive"))}));var Va=function(e,t){za(),e=Ha(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)},Ba=Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).debouncedSpeak=Object(N.debounce)(e.speak.bind(xe(e)),500),e}return Ie(n,t),Te(n,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Va(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),n}(I.Component)}),"withSpokenMessages");function Ua(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=[],o=0;o<t.length;o++){var i=t[o],a=i.keywords,s=void 0===a?[]:a;"string"==typeof i.label&&(s=[].concat(ft(s),[i.label]));var c=s.some((function(t){return e.test(Object(N.deburr)(t))}));if(c&&(r.push(i),r.length===n))break}return r}function Wa(){var e=window.getSelection().getRangeAt(0);if(e)return Vi(e)}var Ka=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e.select=e.select.bind(xe(e)),e.reset=e.reset.bind(xe(e)),e.resetWhenSuppressed=e.resetWhenSuppressed.bind(xe(e)),e.handleKeyDown=e.handleKeyDown.bind(xe(e)),e.debouncedLoadOptions=Object(N.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return Ie(t,e),Te(t,null,[{key:"getInitialState",value:function(){return{search:/./,selectedIndex:0,suppress:void 0,open:void 0,query:void 0,filteredOptions:[]}}}]),Te(t,[{key:"bindNode",value:function(e){this.node=e}},{key:"insertCompletion",value:function(e){var t=this.state,n=t.open,r=t.query,o=this.props,i=o.record,a=o.onChange,s=i.start,c=s-n.triggerPrefix.length-r.length;a(Ho(i,Oo({html:de(e)}),c,s))}},{key:"select",value:function(e){var t=this.props.onReplace,n=this.state,r=n.open,o=n.query,i=(r||{}).getOptionCompletion;if(!e.isDisabled){if(i){var a=i(e.value,o),s=void 0===a.action||void 0===a.value?{action:"insert-at-caret",value:a}:a,c=s.action,l=s.value;"replace"===c?t([l]):"insert-at-caret"===c&&this.insertCompletion(l)}this.reset()}}},{key:"reset",value:function(){!!this.node&&this.setState(this.constructor.getInitialState())}},{key:"resetWhenSuppressed",value:function(){var e=this.state,t=e.open,n=e.suppress;t&&n===t.idx&&this.reset()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(ge(me("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t(ve("No results."),"assertive"))}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,o=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(o===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(e.idx,"-").concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[],isDisabled:!!e.isOptionDisabled&&e.isOptionDisabled(t)}})),a=Ua(n.state.search,i),s=a.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((x(r={},"options_"+e.idx,i),x(r,"filteredOptions",a),x(r,"selectedIndex",s),r)),n.announce(a)}}))}},{key:"handleKeyDown",value:function(e){var t=this.state,n=t.open,r=t.suppress,o=t.selectedIndex,i=t.filteredOptions;if(n)if(r!==n.idx){if(0!==i.length){var a;switch(e.keyCode){case 38:a=(0===o?i.length:o)-1,this.setState({selectedIndex:a});break;case 40:a=(o+1)%i.length,this.setState({selectedIndex:a});break;case 27:this.setState({suppress:n.idx});break;case 13:this.select(i[o]);break;case 37:case 39:return void this.reset();default:return}e.preventDefault(),e.stopPropagation()}}else switch(e.keyCode){case 32:var s=e.ctrlKey,c=e.shiftKey,l=e.altKey,u=e.metaKey;s&&!(c||l||u)&&(this.setState({suppress:void 0}),e.preventDefault(),e.stopPropagation());break;case 38:case 40:case 37:case 39:this.reset()}}},{key:"toggleKeyEvents",value:function(e){var t=e?"addEventListener":"removeEventListener";this.node[t]("keydown",this.handleKeyDown,!0)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.record,o=n.completers,i=e.record,a=t.open;if(!this.state.open!=!a&&this.toggleKeyEvents(!!this.state.open),Lo(r)){var s=Object(N.deburr)(Io(Uo(r,0))),c=Object(N.deburr)(Io(Uo(i,0)));if(s!==c){var l=Io(Uo(r,void 0,Io(r).length)),u=Object(N.map)(o,(function(e,t){return D({},e,{idx:t})})),d=Object(N.find)(u,(function(e){var t=e.triggerPrefix,n=e.allowContext,r=s.lastIndexOf(t);return-1!==r&&(!(n&&!n(s.slice(0,r),l))&&/^\S*$/.test(s.slice(r+t.length)))}));if(!d)return void this.reset();var f=Object(N.escapeRegExp)(d.triggerPrefix),h=s.match(new RegExp("".concat(f,"(\\S*)$"))),p=h&&h[1],v=this.state,m=v.open,b=v.suppress,g=v.query;!d||m&&d.idx===m.idx&&p===g||(d.isDebounced?this.debouncedLoadOptions(d,p):this.loadOptions(d,p));var y=d?new RegExp("(?:\\b|\\s|^)"+Object(N.escapeRegExp)(p),"i"):/./,k=d?Ua(y,this.state["options_"+d.idx]):[],_=d&&b===d.idx?b:void 0;(m||d)&&this.setState({selectedIndex:0,filteredOptions:k,suppress:_,search:y,open:d,query:p}),d&&this.state["options_"+d.idx]&&this.announce(k)}}}},{key:"componentWillUnmount",value:function(){this.toggleKeyEvents(!1),this.debouncedLoadOptions.cancel()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.instanceId,o=this.state,i=o.open,a=o.suppress,s=o.selectedIndex,c=o.filteredOptions,l=(c[s]||{}).key,u=void 0===l?"":l,d=i||{},f=d.className,h=a!==d.idx&&c.length>0,p=h?"components-autocomplete-listbox-".concat(r):null,v=h?"components-autocomplete-item-".concat(r,"-").concat(u):null;return Object(I.createElement)("div",{ref:this.bindNode,onClick:this.resetWhenSuppressed,className:"components-autocomplete"},n({isExpanded:h,listBoxId:p,activeId:v}),h&&Object(I.createElement)(La,{focusOnMount:!1,onClose:this.reset,position:"top right",className:"components-autocomplete__popover",getAnchorRect:Wa},Object(I.createElement)("div",{id:p,role:"listbox",className:"components-autocomplete__results"},h&&Object(N.map)(c,(function(t,n){return Object(I.createElement)(na,{key:t.key,id:"components-autocomplete-item-".concat(r,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:In()("components-autocomplete__result",f,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(I.Component),Ya=Object(N.flowRight)([Ba,Gn,ta])(Ka);function $a(e){var t=e.id,n=e.label,r=e.help,o=e.className,i=e.children;return Object(I.createElement)("div",{className:In()("components-base-control",o)},Object(I.createElement)("div",{className:"components-base-control__field"},n&&t&&Object(I.createElement)("label",{className:"components-base-control__label",htmlFor:t},n),n&&!t&&Object(I.createElement)($a.VisualLabel,null,n),i),!!r&&Object(I.createElement)("p",{id:t+"__help",className:"components-base-control__help"},r))}$a.VisualLabel=function(e){var t=e.className,n=e.children;return t=In()("components-base-control__label",t),Object(I.createElement)("span",{className:t},n)};var qa=$a;Gn((function(e){var t=e.label,n=e.className,r=e.heading,o=e.checked,i=e.help,a=e.instanceId,s=e.onChange,c=j(e,["label","className","heading","checked","help","instanceId","onChange"]),l="inspector-checkbox-control-".concat(a);return Object(I.createElement)(qa,{label:r,id:l,help:i,className:n},Object(I.createElement)("input",Le({id:l,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return s(e.target.checked)},checked:o,"aria-describedby":i?l+"__help":void 0},c)),Object(I.createElement)("label",{className:"components-checkbox-control__label",htmlFor:l},t))}));var Ga=n(132),Za=n.n(Ga),Xa=(I.Component,function(e){var t=e.className,n=e.colorValue,r=j(e,["className","colorValue"]);return Object(I.createElement)("span",Le({className:In()("component-color-indicator",t),style:{background:n}},r))}),Qa=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).toggle=e.toggle.bind(xe(e)),e.close=e.close.bind(xe(e)),e.closeIfClickOutside=e.closeIfClickOutside.bind(xe(e)),e.containerRef=Object(I.createRef)(),e.state={isOpen:!1},e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfClickOutside",value:function(e){this.containerRef.current.contains(e.target)||this.close()}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,r=t.renderToggle,o=t.position,i=void 0===o?"bottom":o,a=t.className,s=t.contentClassName,c=t.expandOnMobile,l=t.headerTitle,u=t.focusOnMount,d={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(I.createElement)("div",{className:a,ref:this.containerRef},r(d),e&&Object(I.createElement)(La,{className:s,position:i,onClose:this.close,onClickOutside:this.closeIfClickOutside,expandOnMobile:c,headerTitle:l,focusOnMount:u},n(d)))}}]),t}(I.Component),Ja=n(17),es=n.n(Ja);function ts(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.hex?es()(e.hex):es()(e),r=n.toHsl();r.h=Math.round(r.h),r.s=Math.round(100*r.s),r.l=Math.round(100*r.l);var o=n.toHsv();o.h=Math.round(o.h),o.s=Math.round(100*o.s),o.v=Math.round(100*o.v);var i=n.toRgb(),a=n.toHex();0===r.s&&(r.h=t||0,o.h=t||0);var s="000000"===a&&0===i.a;return{color:n,hex:s?"transparent":"#".concat(a),hsl:r,hsv:o,oldHue:e.h||t||r.h,rgb:i,source:e.source}}function ns(e,t){e.preventDefault();var n=t.getBoundingClientRect(),r=n.left,o=n.top,i=n.width,a=n.height,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,c="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=s-(r+window.pageXOffset),u=c-(o+window.pageYOffset);return l<0?l=0:l>i?l=i:u<0?u=0:u>a&&(u=a),{top:u,left:l,width:i,height:a}}function rs(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&es()(e).isValid()}var os=n(133),is=n.n(os);n(166);var as=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindKeyTarget=e.bindKeyTarget.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){var e=this,t=this.keyTarget,n=void 0===t?document:t;this.mousetrap=new is.a(n),Object(N.forEach)(this.props.shortcuts,(function(t,n){var r=e.props,o=r.bindGlobal,i=r.eventName,a=o?"bindGlobal":"bind";e.mousetrap[a](n,t,i)}))}},{key:"componentWillUnmount",value:function(){this.mousetrap.reset()}},{key:"bindKeyTarget",value:function(e){this.keyTarget=e}},{key:"render",value:function(){var e=this.props.children;return I.Children.count(e)?Object(I.createElement)("div",{ref:this.bindKeyTarget},e):null}}]),t}(I.Component),ss=Yn(function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).container=Object(I.createRef)(),e.increase=e.increase.bind(xe(e)),e.decrease=e.decrease.bind(xe(e)),e.handleChange=e.handleChange.bind(xe(e)),e.handleMouseDown=e.handleMouseDown.bind(xe(e)),e.handleMouseUp=e.handleMouseUp.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r;e=parseInt(100*e,10);var i={h:n.h,s:n.s,l:n.l,a:(parseInt(100*n.a,10)+e)/100,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i=parseInt(100*n.a,10)-parseInt(100*e,10),a={h:n.h,s:n.s,l:n.l,a:n.a<=e?0:i/100,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=ns(e,n),o=r.left,i=r.width,a=o<0?0:Math.round(100*o/i)/100;return t.hsl.a!==a?{h:t.hsl.h,s:t.hsl.s,l:t.hsl.l,a:a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.rgb,n="".concat(t.r,",").concat(t.g,",").concat(t.b),r={background:"linear-gradient(to right, rgba(".concat(n,", 0) 0%, rgba(").concat(n,", 1) 100%)")},o={left:"".concat(100*t.a,"%")},i={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(.1)},"shift+right":function(){return e.increase(.1)},pageup:function(){return e.increase(.1)},end:function(){return e.increase(1)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(.1)},"shift+left":function(){return e.decrease(.1)},pagedown:function(){return e.decrease(.1)},home:function(){return e.decrease(1)}};return Object(I.createElement)(as,{shortcuts:i},Object(I.createElement)("div",{className:"components-color-picker__alpha"},Object(I.createElement)("div",{className:"components-color-picker__alpha-gradient",style:r}),Object(I.createElement)("div",{className:"components-color-picker__alpha-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(I.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"0","aria-valuenow":t.a,"aria-orientation":"horizontal","aria-label":ve("Alpha value, from 0 (transparent) to 1 (fully opaque)."),className:"components-color-picker__alpha-pointer",style:o,onKeyDown:this.preventKeyEvents}))))}}]),t}(I.Component)),cs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).container=Object(I.createRef)(),e.increase=e.increase.bind(xe(e)),e.decrease=e.decrease.bind(xe(e)),e.handleChange=e.handleChange.bind(xe(e)),e.handleMouseDown=e.handleMouseDown.bind(xe(e)),e.handleMouseUp=e.handleMouseUp.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"increase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i={h:n.h+e>=359?359:n.h+e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"decrease",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.props,n=t.hsl,r=t.onChange,o=void 0===r?N.noop:r,i={h:n.h<=e?0:n.h-e,s:n.s,l:n.l,a:n.a,source:"rgb"};o(i)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=ns(e,n),o=r.left,i=r.width,a=o>=i?359:360*(100*o/i)/100;return t.hsl.h!==a?{h:a,s:t.hsl.s,l:t.hsl.l,a:t.hsl.a,source:"rgb"}:null}(e,this.props,this.container.current);r&&n(r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsl,r=void 0===n?{}:n,o=t.instanceId,i={left:"".concat(100*r.h/360,"%")},a={up:function(){return e.increase()},right:function(){return e.increase()},"shift+up":function(){return e.increase(10)},"shift+right":function(){return e.increase(10)},pageup:function(){return e.increase(10)},end:function(){return e.increase(359)},down:function(){return e.decrease()},left:function(){return e.decrease()},"shift+down":function(){return e.decrease(10)},"shift+left":function(){return e.decrease(10)},pagedown:function(){return e.decrease(10)},home:function(){return e.decrease(359)}};return Object(I.createElement)(as,{shortcuts:a},Object(I.createElement)("div",{className:"components-color-picker__hue"},Object(I.createElement)("div",{className:"components-color-picker__hue-gradient"}),Object(I.createElement)("div",{className:"components-color-picker__hue-bar",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},Object(I.createElement)("div",{tabIndex:"0",role:"slider","aria-valuemax":"1","aria-valuemin":"359","aria-valuenow":r.h,"aria-orientation":"horizontal","aria-label":ve("Hue value in degrees, from 0 to 359."),"aria-describedby":"components-color-picker__hue-description-".concat(o),className:"components-color-picker__hue-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(I.createElement)("p",{className:"components-color-picker__hue-description screen-reader-text",id:"components-color-picker__hue-description-".concat(o)},ve("Move the arrow left or right to change hue.")))))}}]),t}(I.Component),ls=Object(N.flowRight)(Yn,Gn)(cs);var us=Gn((function(e){var t=e.label,n=e.value,r=e.help,o=e.className,i=e.instanceId,a=e.onChange,s=e.type,c=void 0===s?"text":s,l=j(e,["label","value","help","className","instanceId","onChange","type"]),u="inspector-text-control-".concat(i);return Object(I.createElement)(qa,{label:t,id:u,help:r,className:o},Object(I.createElement)("input",Le({className:"components-text-control__input",type:c,id:u,value:n,onChange:function(e){return a(e.target.value)},"aria-describedby":r?u+"__help":void 0},l)))})),ds=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).handleBlur=e.handleBlur.bind(xe(e)),e.handleChange=e.handleChange.bind(xe(e)),e.handleKeyDown=e.handleKeyDown.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"handleBlur",value:function(){var e=this.props,t=e.value,n=e.valueKey;(0,e.onChange)({source:e.source,state:"commit",value:t,valueKey:n})}},{key:"handleChange",value:function(e){var t=this.props,n=t.valueKey,r=t.onChange,o=t.source;e.length>4&&rs(e)?r({source:o,state:"commit",value:e,valueKey:n}):r({source:o,state:"draft",value:e,valueKey:n})}},{key:"handleKeyDown",value:function(e){var t=e.keyCode;if(13===t||38===t||40===t){var n=this.props,r=n.value,o=n.valueKey;(0,n.onChange)({source:n.source,state:"commit",value:r,valueKey:o})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.value,o=j(t,["label","value"]);return Object(I.createElement)(us,Le({className:"components-color-picker__inputs-field",label:n,value:r,onChange:function(t){return e.handleChange(t)},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},Object(N.omit)(o,["onChange","valueKey","source"])))}}]),t}(I.Component),fs=Yn(ya),hs=function(e){function t(e){var n,r=e.hsl;Ee(this,t),n=De(this,Me(t).apply(this,arguments));var o=1===r.a?"hex":"rgb";return n.state={view:o},n.toggleViews=n.toggleViews.bind(xe(n)),n.resetDraftValues=n.resetDraftValues.bind(xe(n)),n.handleChange=n.handleChange.bind(xe(n)),n.normalizeValue=n.normalizeValue.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"toggleViews",value:function(){"hex"===this.state.view?(this.setState({view:"rgb"},this.resetDraftValues),Va(ve("RGB mode active"))):"rgb"===this.state.view?(this.setState({view:"hsl"},this.resetDraftValues),Va(ve("Hue/saturation/lightness mode active"))):"hsl"===this.state.view&&(1===this.props.hsl.a?(this.setState({view:"hex"},this.resetDraftValues),Va(ve("Hex color mode active"))):(this.setState({view:"rgb"},this.resetDraftValues),Va(ve("RGB mode active"))))}},{key:"resetDraftValues",value:function(){return this.props.onChange({state:"reset"})}},{key:"normalizeValue",value:function(e,t){return"a"!==e?t:t>0?0:t>1?1:Math.round(100*t)/100}},{key:"handleChange",value:function(e){var t=e.source,n=e.state,r=e.value,o=e.valueKey;this.props.onChange({source:t,state:n,valueKey:o,value:this.normalizeValue(o,r)})}},{key:"renderFields",value:function(){var e=this.props.disableAlpha,t=void 0!==e&&e;return"hex"===this.state.view?Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(ds,{source:this.state.view,label:ve("Color value in hexadecimal"),valueKey:"hex",value:this.props.hex,onChange:this.handleChange})):"rgb"===this.state.view?Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"screen-reader-text"},ve("Color value in RGB")),Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(ds,{source:this.state.view,label:"r",valueKey:"r",value:this.props.rgb.r,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(I.createElement)(ds,{source:this.state.view,label:"g",valueKey:"g",value:this.props.rgb.g,onChange:this.handleChange,type:"number",min:"0",max:"255"}),Object(I.createElement)(ds,{source:this.state.view,label:"b",valueKey:"b",value:this.props.rgb.b,onChange:this.handleChange,type:"number",min:"0",max:"255"}),t?null:Object(I.createElement)(ds,{source:this.state.view,label:"a",valueKey:"a",value:this.props.rgb.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):"hsl"===this.state.view?Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"screen-reader-text"},ve("Color value in HSL")),Object(I.createElement)("div",{className:"components-color-picker__inputs-fields"},Object(I.createElement)(ds,{source:this.state.view,label:"h",valueKey:"h",value:this.props.hsl.h,onChange:this.handleChange,type:"number",min:"0",max:"359"}),Object(I.createElement)(ds,{source:this.state.view,label:"s",valueKey:"s",value:this.props.hsl.s,onChange:this.handleChange,type:"number",min:"0",max:"100"}),Object(I.createElement)(ds,{source:this.state.view,label:"l",valueKey:"l",value:this.props.hsl.l,onChange:this.handleChange,type:"number",min:"0",max:"100"}),t?null:Object(I.createElement)(ds,{source:this.state.view,label:"a",valueKey:"a",value:this.props.hsl.a,onChange:this.handleChange,type:"number",min:"0",max:"1",step:"0.05"}))):void 0}},{key:"render",value:function(){return Object(I.createElement)("div",{className:"components-color-picker__inputs-wrapper"},this.renderFields(),Object(I.createElement)("div",{className:"components-color-picker__inputs-toggle"},Object(I.createElement)(fs,{icon:"arrow-down-alt2",label:ve("Change color format"),onClick:this.toggleViews})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(I.Component),ps=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).throttle=Object(N.throttle)((function(e,t,n){e(t,n)}),50),n.container=Object(I.createRef)(),n.saturate=n.saturate.bind(xe(n)),n.brighten=n.brighten.bind(xe(n)),n.handleChange=n.handleChange.bind(xe(n)),n.handleMouseDown=n.handleMouseDown.bind(xe(n)),n.handleMouseUp=n.handleMouseUp.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"saturate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?N.noop:r,i=Object(N.clamp)(n.s+Math.round(100*e),0,100),a={h:n.h,s:i,v:n.v,a:n.a,source:"rgb"};o(a)}},{key:"brighten",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.01,t=this.props,n=t.hsv,r=t.onChange,o=void 0===r?N.noop:r,i=Object(N.clamp)(n.v+Math.round(100*e),0,100),a={h:n.h,s:n.s,v:i,a:n.a,source:"rgb"};o(a)}},{key:"handleChange",value:function(e){var t=this.props.onChange,n=void 0===t?N.noop:t,r=function(e,t,n){var r=ns(e,n),o=r.top,i=r.left,a=r.width,s=r.height,c=i<0?0:100*i/a,l=o>=s?0:-100*o/s+100;return l<1&&(l=0),{h:t.hsl.h,s:c,v:l,a:t.hsl.a,source:"rgb"}}(e,this.props,this.container.current);this.throttle(n,r,e)}},{key:"handleMouseDown",value:function(e){this.handleChange(e),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)}},{key:"handleMouseUp",value:function(){this.unbindEventListeners()}},{key:"preventKeyEvents",value:function(e){9!==e.keyCode&&e.preventDefault()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hsv,r=t.hsl,o=t.instanceId,i={top:"".concat(100-n.v,"%"),left:"".concat(n.s,"%")},a={up:function(){return e.brighten()},"shift+up":function(){return e.brighten(.1)},pageup:function(){return e.brighten(1)},down:function(){return e.brighten(-.01)},"shift+down":function(){return e.brighten(-.1)},pagedown:function(){return e.brighten(-1)},right:function(){return e.saturate()},"shift+right":function(){return e.saturate(.1)},end:function(){return e.saturate(1)},left:function(){return e.saturate(-.01)},"shift+left":function(){return e.saturate(-.1)},home:function(){return e.saturate(-1)}};return Object(I.createElement)(as,{shortcuts:a},Object(I.createElement)("div",{style:{background:"hsl(".concat(r.h,",100%, 50%)")},className:"components-color-picker__saturation-color",ref:this.container,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,role:"application"},Object(I.createElement)("div",{className:"components-color-picker__saturation-white"}),Object(I.createElement)("div",{className:"components-color-picker__saturation-black"}),Object(I.createElement)("button",{"aria-label":ve("Choose a shade"),"aria-describedby":"color-picker-saturation-".concat(o),className:"components-color-picker__saturation-pointer",style:i,onKeyDown:this.preventKeyEvents}),Object(I.createElement)("div",{className:"screen-reader-text",id:"color-picker-saturation-".concat(o)},ve("Use your arrow keys to change the base color. Move up to lighten the color, down to darken, left to decrease saturation, and right to increase saturation."))))}}]),t}(I.Component),vs=Object(N.flowRight)(Yn,Gn)(ps),ms=function(e){return String(e).toLowerCase()},bs=function(e){return e.hex?rs(e.hex):(t=e,n=0,r=0,Object(N.each)(["r","g","b","a","h","s","l","v"],(function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1))})),n===r&&t);var t,n,r},gs=function(e,t){var n=t.source,r=t.valueKey,o=t.value;return"hex"===n?x({source:n},n,o):D({source:n},D({},e[n],x({},r,o)))},ys=function(e){function t(e){var n,r=e.color,o=void 0===r?"0071a1":r;Ee(this,t),n=De(this,Me(t).apply(this,arguments));var i=ts(o);return n.state=D({},i,{draftHex:ms(i.hex),draftRgb:i.rgb,draftHsl:i.hsl}),n.commitValues=n.commitValues.bind(xe(n)),n.setDraftValues=n.setDraftValues.bind(xe(n)),n.resetDraftValues=n.resetDraftValues.bind(xe(n)),n.handleInputChange=n.handleInputChange.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"commitValues",value:function(e){var t=this.props,n=t.oldHue,r=t.onChangeComplete,o=void 0===r?N.noop:r;if(bs(e)){var i=ts(e,e.h||n);this.setState(D({},i,{draftHex:ms(i.hex),draftHsl:i.hsl,draftRgb:i.rgb}),Object(N.debounce)(Object(N.partial)(o,i),100))}}},{key:"resetDraftValues",value:function(){this.setState({draftHex:this.state.hex,draftHsl:this.state.hsl,draftRgb:this.state.rgb})}},{key:"setDraftValues",value:function(e){switch(e.source){case"hex":this.setState({draftHex:ms(e.hex)});break;case"rgb":this.setState({draftRgb:e});break;case"hsl":this.setState({draftHsl:e})}}},{key:"handleInputChange",value:function(e){switch(e.state){case"reset":this.resetDraftValues();break;case"commit":var t=gs(this.state,e);(function(e){return"hex"===e.source&&!e.hex||(!("hsl"!==e.source||e.h&&e.s&&e.l)||!("rgb"!==e.source||e.r&&e.g&&e.b||e.h&&e.s&&e.v&&e.a||e.h&&e.s&&e.l&&e.a))})(t)||this.commitValues(t);break;case"draft":this.setDraftValues(gs(this.state,e))}}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.disableAlpha,r=this.state,o=r.color,i=r.hsl,a=r.hsv,s=r.rgb,c=r.draftHex,l=r.draftHsl,u=r.draftRgb,d=In()(t,{"components-color-picker":!0,"is-alpha-disabled":n,"is-alpha-enabled":!n});return Object(I.createElement)("div",{className:d},Object(I.createElement)("div",{className:"components-color-picker__saturation"},Object(I.createElement)(vs,{hsl:i,hsv:a,onChange:this.commitValues})),Object(I.createElement)("div",{className:"components-color-picker__body"},Object(I.createElement)("div",{className:"components-color-picker__controls"},Object(I.createElement)("div",{className:"components-color-picker__swatch"},Object(I.createElement)("div",{className:"components-color-picker__active",style:{backgroundColor:o&&o.toRgbString()}})),Object(I.createElement)("div",{className:"components-color-picker__toggles"},Object(I.createElement)(ls,{hsl:i,onChange:this.commitValues}),n?null:Object(I.createElement)(ss,{rgb:s,hsl:i,onChange:this.commitValues}))),Object(I.createElement)(hs,{rgb:u,hsl:l,hex:c,onChange:this.handleInputChange,disableAlpha:n})))}}]),t}(I.Component);n(167);var ks=n(6),_s=n.n(ks),ws=n(134),Os=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onChangeMoment=e.onChangeMoment.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onChangeMoment",value:function(e){var t=this.props,n=t.currentDate,r=t.onChange,o=n?_s()(n):_s()(),i={hours:o.hours(),minutes:o.minutes(),seconds:0};r(e.set(i).format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMomentDate",value:function(e){return null===e?null:e?_s()(e):_s()()}},{key:"render",value:function(){var e=this.props,t=e.currentDate,n=e.isInvalidDate,r=this.getMomentDate(t);return Object(I.createElement)("div",{className:"components-datetime__date"},Object(I.createElement)(ws.DayPickerSingleDateController,{date:r,daySize:30,focused:!0,hideKeyboardShortcutsPanel:!0,key:"datepicker-controller-".concat(r?r.format("MM-YYYY"):"null"),noBorder:!0,numberOfMonths:1,onDateChange:this.onChangeMoment,transitionDuration:0,weekDayFormat:"ddd",isRTL:"rtl"===document.documentElement.dir,isOutsideRange:function(e){return n&&n(e.toDate())}}))}}]),t}(I.Component),Ss=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={day:"",month:"",year:"",hours:"",minutes:"",am:!0,date:null},e.changeDate=e.changeDate.bind(xe(e)),e.updateMonth=e.updateMonth.bind(xe(e)),e.onChangeMonth=e.onChangeMonth.bind(xe(e)),e.updateDay=e.updateDay.bind(xe(e)),e.onChangeDay=e.onChangeDay.bind(xe(e)),e.updateYear=e.updateYear.bind(xe(e)),e.onChangeYear=e.onChangeYear.bind(xe(e)),e.updateHours=e.updateHours.bind(xe(e)),e.updateMinutes=e.updateMinutes.bind(xe(e)),e.onChangeHours=e.onChangeHours.bind(xe(e)),e.onChangeMinutes=e.onChangeMinutes.bind(xe(e)),e.renderMonth=e.renderMonth.bind(xe(e)),e.renderDay=e.renderDay.bind(xe(e)),e.renderDayMonthFormat=e.renderDayMonthFormat.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.syncState(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.currentTime,r=t.is12Hour;n===e.currentTime&&r===e.is12Hour||this.syncState(this.props)}},{key:"changeDate",value:function(e){var t=e.clone().startOf("minute");this.setState({date:t}),this.props.onChange(e.format("YYYY-MM-DDTHH:mm:ss"))}},{key:"getMaxHours",value:function(){return this.props.is12Hour?12:23}},{key:"getMinHours",value:function(){return this.props.is12Hour?1:0}},{key:"syncState",value:function(e){var t=e.currentTime,n=e.is12Hour,r=t?_s()(t):_s()(),o=r.format("DD"),i=r.format("MM"),a=r.format("YYYY"),s=r.format("mm"),c=r.format("A"),l=r.format(n?"hh":"HH"),u=t?_s()(t):_s()();this.setState({day:o,month:i,year:a,minutes:s,hours:l,am:c,date:u})}},{key:"updateHours",value:function(){var e=this.props.is12Hour,t=this.state,n=t.am,r=t.hours,o=t.date,i=parseInt(r,10);if(!Object(N.isInteger)(i)||e&&(i<1||i>12)||!e&&(i<0||i>23))this.syncState(this.props);else{var a=e?o.clone().hours("AM"===n?i%12:(i%12+12)%24):o.clone().hours(i);this.changeDate(a)}}},{key:"updateMinutes",value:function(){var e=this.state,t=e.minutes,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<0||r>59)this.syncState(this.props);else{var o=n.clone().minutes(r);this.changeDate(o)}}},{key:"updateDay",value:function(){var e=this.state,t=e.day,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<1||r>31)this.syncState(this.props);else{var o=n.clone().date(r);this.changeDate(o)}}},{key:"updateMonth",value:function(){var e=this.state,t=e.month,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<1||r>12)this.syncState(this.props);else{var o=n.clone().month(r-1);this.changeDate(o)}}},{key:"updateYear",value:function(){var e=this.state,t=e.year,n=e.date,r=parseInt(t,10);if(!Object(N.isInteger)(r)||r<0||r>9999)this.syncState(this.props);else{var o=n.clone().year(r);this.changeDate(o)}}},{key:"updateAmPm",value:function(e){var t=this;return function(){var n,r=t.state,o=r.am,i=r.date,a=r.hours;o!==e&&(n="PM"===e?i.clone().hours((parseInt(a,10)%12+12)%24):i.clone().hours(parseInt(a,10)%12),t.changeDate(n))}}},{key:"onChangeDay",value:function(e){this.setState({day:e.target.value})}},{key:"onChangeMonth",value:function(e){this.setState({month:e.target.value})}},{key:"onChangeYear",value:function(e){this.setState({year:e.target.value})}},{key:"onChangeHours",value:function(e){this.setState({hours:e.target.value})}},{key:"onChangeMinutes",value:function(e){var t=e.target.value;this.setState({minutes:""===t?"":("0"+t).slice(-2)})}},{key:"renderMonth",value:function(e){return Object(I.createElement)("div",{key:"render-month",className:"components-datetime__time-field components-datetime__time-field-month"},Object(I.createElement)("select",{"aria-label":ve("Month"),className:"components-datetime__time-field-month-select",value:e,onChange:this.onChangeMonth,onBlur:this.updateMonth},Object(I.createElement)("option",{value:"01"},ve("January")),Object(I.createElement)("option",{value:"02"},ve("February")),Object(I.createElement)("option",{value:"03"},ve("March")),Object(I.createElement)("option",{value:"04"},ve("April")),Object(I.createElement)("option",{value:"05"},ve("May")),Object(I.createElement)("option",{value:"06"},ve("June")),Object(I.createElement)("option",{value:"07"},ve("July")),Object(I.createElement)("option",{value:"08"},ve("August")),Object(I.createElement)("option",{value:"09"},ve("September")),Object(I.createElement)("option",{value:"10"},ve("October")),Object(I.createElement)("option",{value:"11"},ve("November")),Object(I.createElement)("option",{value:"12"},ve("December"))))}},{key:"renderDay",value:function(e){return Object(I.createElement)("div",{key:"render-day",className:"components-datetime__time-field components-datetime__time-field-day"},Object(I.createElement)("input",{"aria-label":ve("Day"),className:"components-datetime__time-field-day-input",type:"number",value:e,step:1,min:1,onChange:this.onChangeDay,onBlur:this.updateDay}))}},{key:"renderDayMonthFormat",value:function(e){var t=this.state,n=t.day,r=t.month,o=[this.renderDay(n),this.renderMonth(r)];return e?o:o.reverse()}},{key:"render",value:function(){var e=this.props.is12Hour,t=this.state,n=t.year,r=t.minutes,o=t.hours,i=t.am;return Object(I.createElement)("div",{className:In()("components-datetime__time")},Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"components-datetime__time-legend invisible"},ve("Date")),Object(I.createElement)("div",{className:"components-datetime__time-wrapper"},this.renderDayMonthFormat(e),Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-year"},Object(I.createElement)("input",{"aria-label":ve("Year"),className:"components-datetime__time-field-year-input",type:"number",step:1,value:n,onChange:this.onChangeYear,onBlur:this.updateYear})))),Object(I.createElement)("fieldset",null,Object(I.createElement)("legend",{className:"components-datetime__time-legend invisible"},ve("Time")),Object(I.createElement)("div",{className:"components-datetime__time-wrapper"},Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-time"},Object(I.createElement)("input",{"aria-label":ve("Hours"),className:"components-datetime__time-field-hours-input",type:"number",step:1,min:this.getMinHours(),max:this.getMaxHours(),value:o,onChange:this.onChangeHours,onBlur:this.updateHours}),Object(I.createElement)("span",{className:"components-datetime__time-separator","aria-hidden":"true"},":"),Object(I.createElement)("input",{"aria-label":ve("Minutes"),className:"components-datetime__time-field-minutes-input",type:"number",min:0,max:59,value:r,onChange:this.onChangeMinutes,onBlur:this.updateMinutes})),e&&Object(I.createElement)("div",{className:"components-datetime__time-field components-datetime__time-field-am-pm"},Object(I.createElement)(na,{"aria-pressed":"AM"===i,isDefault:!0,className:"components-datetime__time-am-button",isToggled:"AM"===i,onClick:this.updateAmPm("AM")},ve("AM")),Object(I.createElement)(na,{"aria-pressed":"PM"===i,isDefault:!0,className:"components-datetime__time-pm-button",isToggled:"PM"===i,onClick:this.updateAmPm("PM")},ve("PM"))))))}}]),t}(I.Component),Es=(I.Component,Object(I.createContext)(!1)),Cs=Es.Consumer,Ts=Es.Provider,xs=["BUTTON","FIELDSET","INPUT","OPTGROUP","OPTION","SELECT","TEXTAREA"],Ds=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindNode=e.bindNode.bind(xe(e)),e.disable=e.disable.bind(xe(e)),e.debouncedDisable=Object(N.debounce)(e.disable,{leading:!0}),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.disable(),this.observer=new window.MutationObserver(this.debouncedDisable),this.observer.observe(this.node,{childList:!0,attributes:!0,subtree:!0})}},{key:"componentWillUnmount",value:function(){this.observer.disconnect(),this.debouncedDisable.cancel()}},{key:"bindNode",value:function(e){this.node=e}},{key:"disable",value:function(){Ji.focusable.find(this.node).forEach((function(e){Object(N.includes)(xs,e.nodeName)&&e.setAttribute("disabled",""),e.hasAttribute("tabindex")&&e.removeAttribute("tabindex"),e.hasAttribute("contenteditable")&&e.setAttribute("contenteditable","false")}))}},{key:"render",value:function(){var e=this.props,t=e.className,n=j(e,["className"]);return Object(I.createElement)(Ts,{value:!0},Object(I.createElement)("div",Le({ref:this.bindNode,className:In()(t,"components-disabled")},n),this.props.children))}}]),t}(I.Component);Ds.Consumer=Cs;var Ms=Ds,js=Zn(function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onDragStart=e.onDragStart.bind(xe(e)),e.onDragOver=e.onDragOver.bind(xe(e)),e.onDragEnd=e.onDragEnd.bind(xe(e)),e.resetDragState=e.resetDragState.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){this.resetDragState()}},{key:"onDragEnd",value:function(e){var t=this.props.onDragEnd,n=void 0===t?N.noop:t;e.preventDefault(),this.resetDragState(),this.props.setTimeout(n)}},{key:"onDragOver",value:function(e){this.cloneWrapper.style.top="".concat(parseInt(this.cloneWrapper.style.top,10)+e.clientY-this.cursorTop,"px"),this.cloneWrapper.style.left="".concat(parseInt(this.cloneWrapper.style.left,10)+e.clientX-this.cursorLeft,"px"),this.cursorLeft=e.clientX,this.cursorTop=e.clientY}},{key:"onDragStart",value:function(e){var t=this.props,n=t.elementId,r=t.transferData,o=t.onDragStart,i=void 0===o?N.noop:o,a=document.getElementById(n);if(a){if("function"==typeof e.dataTransfer.setDragImage){var s=document.createElement("div");s.id="drag-image-".concat(n),s.classList.add("components-draggable__invisible-drag-image"),document.body.appendChild(s),e.dataTransfer.setDragImage(s,0,0),this.props.setTimeout((function(){document.body.removeChild(s)}))}e.dataTransfer.setData("text",JSON.stringify(r));var c=a.getBoundingClientRect(),l=a.parentNode,u=parseInt(c.top,10),d=parseInt(c.left,10),f=a.cloneNode(!0);f.id="clone-".concat(n),this.cloneWrapper=document.createElement("div"),this.cloneWrapper.classList.add("components-draggable__clone"),this.cloneWrapper.style.width="".concat(c.width+40,"px"),c.height>700?(this.cloneWrapper.style.transform="scale(0.5)",this.cloneWrapper.style.transformOrigin="top left",this.cloneWrapper.style.top="".concat(e.clientY-100,"px"),this.cloneWrapper.style.left="".concat(e.clientX,"px")):(this.cloneWrapper.style.top="".concat(u-20,"px"),this.cloneWrapper.style.left="".concat(d-20,"px")),ft(f.querySelectorAll("iframe")).forEach((function(e){return e.parentNode.removeChild(e)})),this.cloneWrapper.appendChild(f),l.appendChild(this.cloneWrapper),this.cursorLeft=e.clientX,this.cursorTop=e.clientY,document.body.classList.add("is-dragging-components-draggable"),document.addEventListener("dragover",this.onDragOver),this.props.setTimeout(i)}else e.preventDefault()}},{key:"resetDragState",value:function(){document.removeEventListener("dragover",this.onDragOver),this.cloneWrapper&&this.cloneWrapper.parentNode&&(this.cloneWrapper.parentNode.removeChild(this.cloneWrapper),this.cloneWrapper=null),document.body.classList.remove("is-dragging-components-draggable")}},{key:"render",value:function(){return(0,this.props.children)({onDraggableStart:this.onDragStart,onDraggableEnd:this.onDragEnd})}}]),t}(I.Component)),Is=Object(I.createContext)({addDropZone:function(){},removeDropZone:function(){}}),Ps=Is.Provider,Ns=Is.Consumer,Rs=function(e){var t=e.dataTransfer;if(t){if(Object(N.includes)(t.types,"Files"))return"file";if(Object(N.includes)(t.types,"text/html"))return"html"}return"default"},Ls=function(e,t){return"file"===e&&t.onFilesDrop||"html"===e&&t.onHTMLDrop||"default"===e&&t.onDrop},As=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onDragOver=e.onDragOver.bind(xe(e)),e.onDrop=e.onDrop.bind(xe(e)),e.addDropZone=e.addDropZone.bind(xe(e)),e.removeDropZone=e.removeDropZone.bind(xe(e)),e.resetDragState=e.resetDragState.bind(xe(e)),e.toggleDraggingOverDocument=Object(N.throttle)(e.toggleDraggingOverDocument.bind(xe(e)),200),e.dropZones=[],e.dropZoneCallbacks={addDropZone:e.addDropZone,removeDropZone:e.removeDropZone},e.state={hoveredDropZone:-1,isDraggingOverDocument:!1,position:null},e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){window.addEventListener("dragover",this.onDragOver),window.addEventListener("mouseup",this.resetDragState)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragover",this.onDragOver),window.removeEventListener("mouseup",this.resetDragState)}},{key:"addDropZone",value:function(e){this.dropZones.push(e)}},{key:"removeDropZone",value:function(e){this.dropZones=Object(N.filter)(this.dropZones,(function(t){return t!==e}))}},{key:"resetDragState",value:function(){this.toggleDraggingOverDocument.cancel();var e=this.state,t=e.isDraggingOverDocument,n=e.hoveredDropZone;(t||-1!==n)&&(this.setState({hoveredDropZone:-1,isDraggingOverDocument:!1,position:null}),this.dropZones.forEach((function(e){return e.setState({isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null})})))}},{key:"toggleDraggingOverDocument",value:function(e,t){var n=this,r=window.CustomEvent&&e instanceof window.CustomEvent?e.detail:e,o=Object(N.filter)(this.dropZones,(function(e){return Ls(t,e)&&function(e,t,n){var r=e.getBoundingClientRect();return r.bottom!==r.top&&r.left!==r.right&&(t>=r.left&&t<=r.right&&n>=r.top&&n<=r.bottom)}(e.element,r.clientX,r.clientY)})),i=Object(N.find)(o,(function(e){return!Object(N.some)(o,(function(t){return t!==e&&e.element.parentElement.contains(t.element)}))})),a=this.dropZones.indexOf(i),s=null;if(i){var c=i.element.getBoundingClientRect();s={x:r.clientX-c.left<c.right-r.clientX?"left":"right",y:r.clientY-c.top<c.bottom-r.clientY?"top":"bottom"}}var l=[];this.state.isDraggingOverDocument?a!==this.state.hoveredDropZone?(-1!==this.state.hoveredDropZone&&l.push(this.dropZones[this.state.hoveredDropZone]),i&&l.push(i)):i&&a===this.state.hoveredDropZone&&!Object(N.isEqual)(s,this.state.position)&&l.push(i):l=this.dropZones,l.forEach((function(e){var r=n.dropZones.indexOf(e)===a;e.setState({isDraggingOverDocument:Ls(t,e),isDraggingOverElement:r,position:r?s:null,type:r?t:null})}));var u={isDraggingOverDocument:!0,hoveredDropZone:a,position:s};Kn()(u,this.state)||this.setState(u)}},{key:"onDragOver",value:function(e){this.toggleDraggingOverDocument(e,Rs(e)),e.preventDefault()}},{key:"onDrop",value:function(e){e.dataTransfer&&e.dataTransfer.files.length;var t=this.state,n=t.position,r=t.hoveredDropZone,o=Rs(e),i=this.dropZones[r];if(this.resetDragState(),i)switch(o){case"file":i.onFilesDrop(ft(e.dataTransfer.files),n);break;case"html":i.onHTMLDrop(e.dataTransfer.getData("text/html"),n);break;case"default":i.onDrop(e,n)}e.stopPropagation(),e.preventDefault()}},{key:"render",value:function(){return Object(I.createElement)("div",{onDrop:this.onDrop,className:"components-drop-zone__provider"},Object(I.createElement)(Ps,{value:this.dropZoneCallbacks},this.props.children))}}]),t}(I.Component),zs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).dropZoneElement=Object(I.createRef)(),e.dropZone={element:null,onDrop:e.props.onDrop,onFilesDrop:e.props.onFilesDrop,onHTMLDrop:e.props.onHTMLDrop,setState:e.setState.bind(xe(e))},e.state={isDraggingOverDocument:!1,isDraggingOverElement:!1,position:null,type:null},e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.dropZone.element=this.dropZoneElement.current,this.props.addDropZone(this.dropZone)}},{key:"componentWillUnmount",value:function(){this.props.removeDropZone(this.dropZone)}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.label,o=this.state,i=o.isDraggingOverDocument,a=o.isDraggingOverElement,s=o.position,c=o.type,l=In()("components-drop-zone",n,x({"is-active":i||a,"is-dragging-over-document":i,"is-dragging-over-element":a,"is-close-to-top":s&&"top"===s.y,"is-close-to-bottom":s&&"bottom"===s.y,"is-close-to-left":s&&"left"===s.x,"is-close-to-right":s&&"right"===s.x},"is-dragging-".concat(c),!!c));return a&&(e=Object(I.createElement)("div",{className:"components-drop-zone__content"},Object(I.createElement)(ga,{icon:"upload",size:"40",className:"components-drop-zone__content-icon"}),Object(I.createElement)("span",{className:"components-drop-zone__content-text"},r||ve("Drop files to upload")))),Object(I.createElement)("div",{ref:this.dropZoneElement,className:l},e)}}]),t}(I.Component),Fs=function(e){return Object(I.createElement)(Ns,null,(function(t){var n=t.addDropZone,r=t.removeDropZone;return Object(I.createElement)(zs,Le({addDropZone:n,removeDropZone:r},e))}))};var Hs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(xe(e)),e.bindContainer=e.bindContainer.bind(xe(e)),e.getFocusableContext=e.getFocusableContext.bind(xe(e)),e.getFocusableIndex=e.getFocusableIndex.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(N.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?Ji.tabbable:Ji.focusable).find(this.container),n=this.getFocusableIndex(t,e);return n>-1&&e?{index:n,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var n=e.indexOf(t);if(-1!==n)return n}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,n=this.props,r=n.cycle,o=void 0===r||r,i=n.eventToOffset,a=n.onNavigate,s=void 0===a?N.noop:a,c=n.stopNavigationEvents,l=i(e);if(void 0!==l&&c&&(e.nativeEvent.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault(),e.stopPropagation()),l){var u=t(document.activeElement);if(u){var d=u.index,f=u.focusables,h=o?function(e,t,n){var r=e+n;return r<0?t+r:r>=t?r-t:r}(d,f.length,l):d+l;h>=0&&h<f.length&&(f[h].focus(),s(h,f[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)("div",Le({ref:this.bindContainer},Object(N.omit)(n,["stopNavigationEvents","eventToOffset","onNavigate","cycle","onlyBrowserTabstops","forwardedRef"]),{onKeyDown:this.onKeyDown,onFocus:this.onFocus}),t)}}]),t}(I.Component),Vs=function(e,t){return Object(I.createElement)(Hs,Le({},e,{forwardedRef:t}))};Vs.displayName="NavigableContainer";var Bs=Object(I.forwardRef)(Vs);var Us=Object(I.forwardRef)((function(e,t){var n=e.role,r=void 0===n?"menu":n,o=e.orientation,i=void 0===o?"vertical":o,a=j(e,["role","orientation"]);return Object(I.createElement)(Bs,Le({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:r,"aria-orientation":"presentation"===r?null:i,eventToOffset:function(e){var t=e.keyCode,n=[40],r=[38];return"horizontal"===i&&(n=[39],r=[37]),"both"===i&&(n=[39,40],r=[37,38]),Object(N.includes)(n,t)?1:Object(N.includes)(r,t)?-1:void 0}},a))}));Object(I.forwardRef)((function(e,t){var n=e.eventToOffset,r=j(e,["eventToOffset"]);return Object(I.createElement)(Bs,Le({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!0,eventToOffset:function(e){var t=e.keyCode,r=e.shiftKey;return 9===t?r?-1:1:n?n(e):void 0}},r))}));var Ws=function(e){var t,n=e.children,r=e.className,o=e.controls,i=e.icon,a=void 0===i?"menu":i,s=e.label,c=e.menuLabel,l=e.position,u=e.__unstableLabelPosition,d=e.__unstableMenuClassName,f=e.__unstablePopoverClassName,h=e.__unstableToggleClassName;return Object(N.isEmpty)(o)&&!Object(N.isFunction)(n)?null:(Object(N.isEmpty)(o)||(t=o,Array.isArray(t[0])||(t=[t])),Object(I.createElement)(Qa,{className:In()("components-dropdown-menu",r),contentClassName:In()("components-dropdown-menu__popover",f),position:l,renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(ya,{className:In()("components-dropdown-menu__toggle",h,{"is-opened":t}),icon:a,onClick:n,onKeyDown:function(e){t||40!==e.keyCode||(e.preventDefault(),e.stopPropagation(),n())},"aria-haspopup":"true","aria-expanded":t,label:s,labelPosition:u,tooltip:s},!a&&Object(I.createElement)("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(e){return Object(I.createElement)(Us,{className:In()("components-dropdown-menu__menu",d),role:"menu","aria-label":c||s},Object(N.isFunction)(n)?n(e):null,Object(N.flatMap)(t,(function(t,n){return t.map((function(t,r){return Object(I.createElement)(ya,{key:[n,r].join(),onClick:function(n){n.stopPropagation(),e.onClose(),t.onClick&&t.onClick()},className:In()("components-dropdown-menu__menu-item",{"has-separator":n>0&&0===r,"is-active":t.isActive}),icon:t.icon,role:"menuitem",disabled:t.isDisabled},t.title)}))})))}}))};Object(I.forwardRef)((function(e,t){var n=e.href,r=e.children,o=e.className,i=e.rel,a=void 0===i?"":i,s=j(e,["href","children","className","rel"]);a=Object(N.uniq)(Object(N.compact)([].concat(ft(a.split(" ")),["external","noreferrer","noopener"]))).join(" ");var c=In()("components-external-link",o);return(Object(I.createElement)("a",Le({},s,{className:c,href:n,target:"_blank",rel:a,ref:t}),r,Object(I.createElement)("span",{className:"screen-reader-text"},ve("(opens in a new tab)")),Object(I.createElement)(ga,{icon:"external",className:"components-external-link__icon"})))}));var Ks=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).onMouseMove=n.onMouseMove.bind(xe(n)),n.state={isDragging:!1,bounds:{},percentages:e.value},n.containerRef=Object(I.createRef)(),n.imageRef=Object(I.createRef)(),n.horizontalPositionChanged=n.horizontalPositionChanged.bind(xe(n)),n.verticalPositionChanged=n.verticalPositionChanged.bind(xe(n)),n.onLoad=n.onLoad.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(e){e.url!==this.props.url&&this.setState({isDragging:!1})}},{key:"calculateBounds",value:function(){var e={top:0,left:0,bottom:0,right:0,width:0,height:0};if(!this.imageRef.current)return e;var t=this.imageRef.current.clientWidth,n=this.imageRef.current.clientHeight,r=this.pickerDimensions(),o=r.width/t,i=r.height/n;return i>=o?(e.width=e.right=r.width,e.height=n*o,e.top=(r.height-e.height)/2,e.bottom=e.top+e.height):(e.height=e.bottom=r.height,e.width=t*i,e.left=(r.width-e.width)/2,e.right=e.left+e.width),e}},{key:"onLoad",value:function(){this.setState({bounds:this.calculateBounds()})}},{key:"onMouseMove",value:function(e){var t=this.state,n=t.isDragging,r=t.bounds,o=this.props.onChange;if(n){var i=this.pickerDimensions(),a={left:e.pageX-i.left,top:e.pageY-i.top},s=Math.max(r.left,Math.min(a.left,r.right)),c=Math.max(r.top,Math.min(a.top,r.bottom)),l={x:(s-r.left)/(i.width-2*r.left),y:(c-r.top)/(i.height-2*r.top)};this.setState({percentages:l},(function(){o({x:this.state.percentages.x,y:this.state.percentages.y})}))}}},{key:"fractionToPercentage",value:function(e){return Math.round(100*e)}},{key:"horizontalPositionChanged",value:function(e){this.positionChangeFromTextControl("x",e.target.value)}},{key:"verticalPositionChanged",value:function(e){this.positionChangeFromTextControl("y",e.target.value)}},{key:"positionChangeFromTextControl",value:function(e,t){var n=this.props.onChange,r=this.state.percentages,o=Math.max(Math.min(parseInt(t),100),0);r[e]=o?o/100:0,this.setState({percentages:r},(function(){n({x:this.state.percentages.x,y:this.state.percentages.y})}))}},{key:"pickerDimensions",value:function(){return this.containerRef.current?{width:this.containerRef.current.clientWidth,height:this.containerRef.current.clientHeight,top:this.containerRef.current.getBoundingClientRect().top+document.body.scrollTop,left:this.containerRef.current.getBoundingClientRect().left}:{width:0,height:0,left:0,top:0}}},{key:"handleFocusOutside",value:function(){this.setState({isDragging:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.url,o=t.value,i=t.label,a=t.help,s=t.className,c=this.state,l=c.bounds,u=c.isDragging,d=c.percentages,f=this.pickerDimensions(),h={left:o.x*(f.width-2*l.left)+l.left,top:o.y*(f.height-2*l.top)+l.top},p={left:"".concat(h.left,"px"),top:"".concat(h.top,"px")},v=In()("components-focal-point-picker__icon_container",u?"is-dragging":null),m="inspector-focal-point-picker-control-".concat(n),b="inspector-focal-point-picker-control-horizontal-position-".concat(n),g="inspector-focal-point-picker-control-vertical-position-".concat(n);return Object(I.createElement)(qa,{label:i,id:m,help:a,className:s},Object(I.createElement)("div",{className:"components-focal-point-picker-wrapper"},Object(I.createElement)("div",{className:"components-focal-point-picker",onMouseDown:function(){return e.setState({isDragging:!0})},onDragStart:function(){return e.setState({isDragging:!0})},onMouseUp:function(){return e.setState({isDragging:!1})},onDrop:function(){return e.setState({isDragging:!1})},onMouseMove:this.onMouseMove,ref:this.containerRef,role:"button",tabIndex:"-1"},Object(I.createElement)("img",{alt:"Dimensions helper",onLoad:this.onLoad,ref:this.imageRef,src:r,draggable:"false"}),Object(I.createElement)("div",{className:v,style:p},Object(I.createElement)(Mn,{className:"components-focal-point-picker__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30"},Object(I.createElement)(xn,{className:"components-focal-point-picker__icon-outline",d:"M15 1C7.3 1 1 7.3 1 15s6.3 14 14 14 14-6.3 14-14S22.7 1 15 1zm0 22c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z"}),Object(I.createElement)(xn,{className:"components-focal-point-picker__icon-fill",d:"M15 3C8.4 3 3 8.4 3 15s5.4 12 12 12 12-5.4 12-12S21.6 3 15 3zm0 22C9.5 25 5 20.5 5 15S9.5 5 15 5s10 4.5 10 10-4.5 10-10 10z"}))))),Object(I.createElement)("div",{className:"components-focal-point-picker_position-display-container"},Object(I.createElement)(qa,{label:ve("Horizontal Pos."),id:b},Object(I.createElement)("input",{className:"components-text-control__input",id:b,max:100,min:0,onChange:this.horizontalPositionChanged,type:"number",value:this.fractionToPercentage(d.x)}),Object(I.createElement)("span",null,"%")),Object(I.createElement)(qa,{label:ve("Vertical Pos."),id:g},Object(I.createElement)("input",{className:"components-text-control__input",id:g,max:100,min:0,onChange:this.verticalPositionChanged,type:"number",value:this.fractionToPercentage(d.y)}),Object(I.createElement)("span",null,"%"))))}}]),t}(I.Component);Ks.defaultProps={url:null,value:{x:.5,y:.5},onChange:function(){}};Object(N.flowRight)([Gn,ta])(Ks);var Ys=window.FocusEvent,$s=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).checkFocus=n.checkFocus.bind(xe(n)),n.node=e.iframeRef||Object(I.createRef)(),n}return Ie(t,e),Te(t,[{key:"checkFocus",value:function(){var e=this.node.current;if(document.activeElement===e){var t=new Ys("focus",{bubbles:!0});e.dispatchEvent(t);var n=this.props.onFocus;n&&n(t)}}},{key:"render",value:function(){return Object(I.createElement)("iframe",Le({ref:this.node},Object(N.omit)(this.props,["iframeRef","onFocus"])))}}]),t}(I.Component),qs=qn({blur:"checkFocus"})($s);var Gs=Object(N.flowRight)([Gn,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Un((function(t){return function(n){function r(){var t;return Ee(this,r),(t=De(this,Me(r).apply(this,arguments))).setState=t.setState.bind(xe(t)),t.state=e,t}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(t,Le({},this.props,this.state,{setState:this.setState}))}}]),r}(I.Component)}),"withState")}({currentInput:null})])((function(e){var t=e.className,n=e.currentInput,r=e.label,o=e.value,i=e.instanceId,a=e.onChange,s=e.beforeIcon,c=e.afterIcon,l=e.help,u=e.allowReset,d=e.initialPosition,f=e.min,h=e.max,p=e.setState,v=j(e,["className","currentInput","label","value","instanceId","onChange","beforeIcon","afterIcon","help","allowReset","initialPosition","min","max","setState"]),m="inspector-range-control-".concat(i),b=null===n?o:n,g=function(){null!==n&&p({currentInput:null})},y=function(e){var t=e.target.value;e.target.checkValidity()?(g(),a(""===t?void 0:parseFloat(t))):p({currentInput:t})},k=Object(N.isFinite)(b)?b:d||"";return Object(I.createElement)(qa,{label:r,id:m,help:l,className:In()("components-range-control",t)},s&&Object(I.createElement)(ga,{icon:s}),Object(I.createElement)("input",Le({className:"components-range-control__slider",id:m,type:"range",value:k,onChange:y,"aria-describedby":l?m+"__help":void 0,min:f,max:h},v)),c&&Object(I.createElement)(ga,{icon:c}),Object(I.createElement)("input",Le({className:"components-range-control__number",type:"number",onChange:y,"aria-label":r,value:b,min:f,max:h,onBlur:g},v)),u&&Object(I.createElement)(na,{onClick:function(){g(),a()},disabled:void 0===o,isSmall:!0,isDefault:!0,className:"components-range-control__reset"},ve("Reset")))}));var Zs=function(e){var t=e.fallbackFontSize,n=e.fontSizes,r=void 0===n?[]:n,o=e.disableCustomFontSizes,i=void 0!==o&&o,a=e.onChange,s=e.value,c=e.withSlider,l=void 0!==c&&c;if(i&&!r.length)return null;var u=r.find((function(e){return e.size===s})),d=u&&u.name||!s&&be("Normal","font size name")||be("Custom","font size name");return Object(I.createElement)(qa,null,Object(I.createElement)(qa.VisualLabel,null,ve("Font Size")),Object(I.createElement)("div",{className:"components-font-size-picker__buttons"},r.length>0&&Object(I.createElement)(Qa,{className:"components-font-size-picker__dropdown",contentClassName:"components-font-size-picker__dropdown-content",position:"bottom",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(na,{className:"components-font-size-picker__selector",isLarge:!0,onClick:n,"aria-expanded":t,"aria-label":ve("Font size: %s")},d)},renderContent:function(){return Object(I.createElement)(Us,null,Object(N.map)(r,(function(e){var t=e.name,n=e.size,r=e.slug,o=s===n||!s&&"normal"===r;return Object(I.createElement)(na,{key:r,onClick:function(){return a("normal"===r?void 0:n)},className:"is-font-".concat(r),role:"menuitemradio","aria-checked":o},o&&Object(I.createElement)(ga,{icon:"saved"}),Object(I.createElement)("span",{className:"components-font-size-picker__dropdown-text-size",style:{fontSize:n}},t))})))}}),!l&&!i&&Object(I.createElement)("input",{className:"components-range-control__number",type:"number",onChange:function(e){var t=e.target.value;a(""!==t?Number(t):void 0)},"aria-label":ve("Custom font size"),value:s||""}),Object(I.createElement)(na,{className:"components-color-palette__clear",type:"button",disabled:void 0===s,onClick:function(){return a(void 0)},isSmall:!0,isDefault:!0},ve("Reset"))),l&&Object(I.createElement)(Gs,{className:"components-font-size-picker__custom-input",label:ve("Custom Size"),value:s||"",initialPosition:t,onChange:a,min:12,max:100,beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor"}))},Xs=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).openFileDialog=e.openFileDialog.bind(xe(e)),e.bindInput=e.bindInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"openFileDialog",value:function(){this.input.click()}},{key:"bindInput",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.accept,n=e.children,r=e.icon,o=void 0===r?"upload":r,i=e.multiple,a=void 0!==i&&i,s=e.onChange,c=e.render,l=j(e,["accept","children","icon","multiple","onChange","render"]),u=c?c({openFileDialog:this.openFileDialog}):Object(I.createElement)(ya,Le({icon:o,onClick:this.openFileDialog},l),n);return Object(I.createElement)("div",{className:"components-form-file-upload"},u,Object(I.createElement)("input",{type:"file",ref:this.bindInput,multiple:a,style:{display:"none"},accept:t,onChange:s}))}}]),t}(I.Component);var Qs=function(e){var t=e.className,n=e.checked,r=e.id,o=e.onChange,i=void 0===o?N.noop:o,a=j(e,["className","checked","id","onChange"]),s=In()("components-form-toggle",t,{"is-checked":n});return Object(I.createElement)("span",{className:s},Object(I.createElement)("input",Le({className:"components-form-toggle__input",id:r,type:"checkbox",checked:n,onChange:i},a)),Object(I.createElement)("span",{className:"components-form-toggle__track"}),Object(I.createElement)("span",{className:"components-form-toggle__thumb"}),n?Object(I.createElement)(Mn,{className:"components-form-toggle__on",width:"2",height:"6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2 6"},Object(I.createElement)(xn,{d:"M0 0h2v6H0z"})):Object(I.createElement)(Mn,{className:"components-form-toggle__off",width:"6",height:"6","aria-hidden":"true",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 6"},Object(I.createElement)(xn,{d:"M3 1.5c.8 0 1.5.7 1.5 1.5S3.8 4.5 3 4.5 1.5 3.8 1.5 3 2.2 1.5 3 1.5M3 0C1.3 0 0 1.3 0 3s1.3 3 3 3 3-1.3 3-3-1.3-3-3-3z"})))};var Js=Gn((function(e){var t=e.value,n=e.status,r=e.title,o=e.displayTransform,i=e.isBorderless,a=void 0!==i&&i,s=e.disabled,c=void 0!==s&&s,l=e.onClickRemove,u=void 0===l?N.noop:l,d=e.onMouseEnter,f=e.onMouseLeave,h=e.messages,p=(e.termPosition,e.termsCount,e.instanceId),v=In()("components-form-token-field__token",{"is-error":"error"===n,"is-success":"success"===n,"is-validating":"validating"===n,"is-borderless":a,"is-disabled":c}),m=o(t),b=ve("%1$s (%2$s of %3$s)");return Object(I.createElement)("span",{className:v,onMouseEnter:d,onMouseLeave:f,title:r},Object(I.createElement)("span",{className:"components-form-token-field__token-text",id:"components-form-token-field__token-text-".concat(p)},Object(I.createElement)("span",{className:"screen-reader-text"},b),Object(I.createElement)("span",{"aria-hidden":"true"},m)),Object(I.createElement)(ya,{className:"components-form-token-field__remove-token",icon:"dismiss",onClick:!c&&function(){return u({value:t})},label:h.remove,"aria-describedby":"components-form-token-field__token-text-".concat(p)}))})),ec=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onChange=e.onChange.bind(xe(e)),e.bindInput=e.bindInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"focus",value:function(){this.input.focus()}},{key:"hasFocus",value:function(){return this.input===document.activeElement}},{key:"bindInput",value:function(e){this.input=e}},{key:"onChange",value:function(e){this.props.onChange({value:e.target.value})}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.isExpanded,r=e.instanceId,o=e.selectedSuggestionIndex,i=j(e,["value","isExpanded","instanceId","selectedSuggestionIndex"]),a=t.length+1;return Object(I.createElement)("input",Le({ref:this.bindInput,id:"components-form-token-input-".concat(r),type:"text"},i,{value:t,onChange:this.onChange,size:a,className:"components-form-token-field__input",role:"combobox","aria-expanded":n,"aria-autocomplete":"list","aria-owns":n?"components-form-token-suggestions-".concat(r):void 0,"aria-activedescendant":-1!==o?"components-form-token-suggestions-".concat(r,"-").concat(o):void 0,"aria-describedby":"components-form-token-suggestions-howto-".concat(r)}))}}]),t}(I.Component),tc=n(22),nc=n.n(tc),rc=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).handleMouseDown=e.handleMouseDown.bind(xe(e)),e.bindList=e.bindList.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){var e=this;this.props.selectedIndex>-1&&this.props.scrollIntoView&&(this.scrollingIntoView=!0,nc()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"bindList",value:function(e){this.list=e}},{key:"handleHover",value:function(e){var t=this;return function(){t.scrollingIntoView||t.props.onHover(e)}}},{key:"handleClick",value:function(e){var t=this;return function(){t.props.onSelect(e)}}},{key:"handleMouseDown",value:function(e){e.preventDefault()}},{key:"computeSuggestionMatch",value:function(e){var t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;var n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}},{key:"render",value:function(){var e=this;return Object(I.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:"components-form-token-suggestions-".concat(this.props.instanceId),role:"listbox"},Object(N.map)(this.props.suggestions,(function(t,n){var r=e.computeSuggestionMatch(t),o=In()("components-form-token-field__suggestion",{"is-selected":n===e.props.selectedIndex});return Object(I.createElement)("li",{id:"components-form-token-suggestions-".concat(e.props.instanceId,"-").concat(n),role:"option",className:o,key:t,onMouseDown:e.handleMouseDown,onClick:e.handleClick(t),onMouseEnter:e.handleHover(t),"aria-selected":n===e.props.selectedIndex},r?Object(I.createElement)("span",{"aria-label":e.props.displayTransform(t)},r.suggestionBeforeMatch,Object(I.createElement)("strong",{className:"components-form-token-field__suggestion-match"},r.suggestionMatch),r.suggestionAfterMatch):e.props.displayTransform(t))})))}}]),t}(I.Component);rc.defaultProps={match:"",onHover:function(){},onSelect:function(){},suggestions:Object.freeze([])};var oc=Zn(rc),ic={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1},ac=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state=ic,e.onKeyDown=e.onKeyDown.bind(xe(e)),e.onKeyPress=e.onKeyPress.bind(xe(e)),e.onFocus=e.onFocus.bind(xe(e)),e.onBlur=e.onBlur.bind(xe(e)),e.deleteTokenBeforeInput=e.deleteTokenBeforeInput.bind(xe(e)),e.deleteTokenAfterInput=e.deleteTokenAfterInput.bind(xe(e)),e.addCurrentToken=e.addCurrentToken.bind(xe(e)),e.onContainerTouched=e.onContainerTouched.bind(xe(e)),e.renderToken=e.renderToken.bind(xe(e)),e.onTokenClickRemove=e.onTokenClickRemove.bind(xe(e)),e.onSuggestionHovered=e.onSuggestionHovered.bind(xe(e)),e.onSuggestionSelected=e.onSuggestionSelected.bind(xe(e)),e.onInputChange=e.onInputChange.bind(xe(e)),e.bindInput=e.bindInput.bind(xe(e)),e.bindTokensAndInput=e.bindTokensAndInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){this.state.isActive&&!this.input.hasFocus()&&this.input.focus()}},{key:"bindInput",value:function(e){this.input=e}},{key:"bindTokensAndInput",value:function(e){this.tokensAndInput=e}},{key:"onFocus",value:function(e){this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}},{key:"onBlur",value:function(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(ic)}},{key:"onKeyDown",value:function(e){var t=!1;switch(e.keyCode){case 8:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case 13:t=this.addCurrentToken();break;case 37:t=this.handleLeftArrowKey();break;case 38:t=this.handleUpArrowKey();break;case 39:t=this.handleRightArrowKey();break;case 40:t=this.handleDownArrowKey();break;case 46:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case 32:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case 27:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}},{key:"onKeyPress",value:function(e){var t=!1;switch(e.charCode){case 44:t=this.handleCommaKey()}t&&e.preventDefault()}},{key:"onContainerTouched",value:function(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}},{key:"onTokenClickRemove",value:function(e){this.deleteToken(e.value),this.input.focus()}},{key:"onSuggestionHovered",value:function(e){var t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}},{key:"onSuggestionSelected",value:function(e){this.addNewToken(e)}},{key:"onInputChange",value:function(e){var t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),o=Object(N.last)(r)||"",i=o.trim().length>1,a=this.getMatchingSuggestions(o),s=i&&!!a.length;r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:o,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.props.onInputChange(o),i&&(this.setState({isExpanded:s}),a.length?this.props.debouncedSpeak(ge(me("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",a.length),a.length),"assertive"):this.props.debouncedSpeak(ve("No results."),"assertive"))}},{key:"handleDeleteKey",value:function(e){var t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}},{key:"handleLeftArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}},{key:"handleRightArrowKey",value:function(){var e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}},{key:"handleUpArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(0===t.selectedSuggestionIndex?e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length:t.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}})),!0}},{key:"handleDownArrowKey",value:function(){var e=this;return this.setState((function(t,n){return{selectedSuggestionIndex:(t.selectedSuggestionIndex+1)%e.getMatchingSuggestions(t.incompleteTokenValue,n.suggestions,n.value,n.maxSuggestions,n.saveTransform).length,selectedSuggestionScroll:!0}})),!0}},{key:"handleEscapeKey",value:function(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}},{key:"handleCommaKey",value:function(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}},{key:"moveInputToIndex",value:function(e){this.setState((function(t,n){return{inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1}}))}},{key:"moveInputBeforePreviousToken",value:function(){this.setState((function(e,t){return{inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)}}))}},{key:"moveInputAfterNextToken",value:function(){this.setState((function(e){return{inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)}}))}},{key:"deleteTokenBeforeInput",value:function(){var e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}},{key:"deleteTokenAfterInput",value:function(){var e=this.getIndexOfInput();e<this.props.value.length&&(this.deleteToken(this.props.value[e]),this.moveInputToIndex(e))}},{key:"addCurrentToken",value:function(){var e=!1,t=this.getSelectedSuggestion();return t?(this.addNewToken(t),e=!0):this.inputHasValidValue()&&(this.addNewToken(this.state.incompleteTokenValue),e=!0),e}},{key:"addNewTokens",value:function(e){var t=this,n=Object(N.uniq)(e.map(this.props.saveTransform).filter(Boolean).filter((function(e){return!t.valueContainsToken(e)})));if(n.length>0){var r=Object(N.clone)(this.props.value);r.splice.apply(r,[this.getIndexOfInput(),0].concat(n)),this.props.onChange(r)}}},{key:"addNewToken",value:function(e){this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!1}),this.state.isActive&&this.input.focus()}},{key:"deleteToken",value:function(e){var t=this,n=this.props.value.filter((function(n){return t.getTokenValue(n)!==t.getTokenValue(e)}));this.props.onChange(n),this.props.speak(this.props.messages.removed,"assertive")}},{key:"getTokenValue",value:function(e){return"object"===F(e)?e.value:e}},{key:"getMatchingSuggestions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.incompleteTokenValue,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.suggestions,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.value,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.maxSuggestions,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.props.saveTransform,i=o(e),a=[],s=[];return 0===i.length?t=Object(N.difference)(t,n):(i=i.toLocaleLowerCase(),Object(N.each)(t,(function(e){var t=e.toLocaleLowerCase().indexOf(i);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&s.push(e))})),t=a.concat(s)),Object(N.take)(t,r)}},{key:"getSelectedSuggestion",value:function(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}},{key:"valueContainsToken",value:function(e){var t=this;return Object(N.some)(this.props.value,(function(n){return t.getTokenValue(e)===t.getTokenValue(n)}))}},{key:"getIndexOfInput",value:function(){return this.props.value.length-this.state.inputOffsetFromEnd}},{key:"isInputEmpty",value:function(){return 0===this.state.incompleteTokenValue.length}},{key:"inputHasValidValue",value:function(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}},{key:"renderTokensAndInput",value:function(){var e=Object(N.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}},{key:"renderToken",value:function(e,t,n){var r=this.getTokenValue(e),o=e.status?e.status:void 0,i=t+1,a=n.length;return Object(I.createElement)(Js,{key:"token-"+r,value:r,status:o,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==o&&this.props.disabled,messages:this.props.messages,termsCount:a,termPosition:i})}},{key:"renderInput",value:function(){var e=this.props,t=e.autoCapitalize,n=e.autoComplete,r=e.maxLength,o=e.value,i={instanceId:e.instanceId,autoCapitalize:t,autoComplete:n,ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return r&&o.length>=r||(i=D({},i,{onChange:this.onInputChange})),Object(I.createElement)(ec,i)}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.label,r=void 0===n?ve("Add item"):n,o=e.instanceId,i=e.className,a=this.state.isExpanded,s=In()(i,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":t}),c={className:"components-form-token-field",tabIndex:"-1"},l=this.getMatchingSuggestions();return t||(c=Object.assign({},c,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),Object(I.createElement)("div",c,Object(I.createElement)("label",{htmlFor:"components-form-token-input-".concat(o),className:"components-form-token-field__label"},r),Object(I.createElement)("div",{ref:this.bindTokensAndInput,className:s,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),a&&Object(I.createElement)(oc,{instanceId:o,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:l,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),Object(I.createElement)("p",{id:"components-form-token-suggestions-howto-".concat(o),className:"components-form-token-field__help"},this.props.tokenizeOnSpace?ve("Separate with commas, spaces, or the Enter key."):ve("Separate with commas or the Enter key.")))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}}]),t}(I.Component);ac.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:N.identity,saveTransform:function(e){return e.trim()},onChange:function(){},onInputChange:function(){},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:ve("Item added."),removed:ve("Item removed."),remove:ve("Remove item")}};Ba(Gn(ac));var sc=function(e){var t,n=e.icon,r=void 0===n?null:n,o=e.size,i=j(e,["icon","size"]);if("string"==typeof r)return t=o||20,Object(I.createElement)(ga,Le({icon:r,size:t},i));if(t=o||24,"function"==typeof r)return r.prototype instanceof I.Component?Object(I.createElement)(r,D({size:t},i)):r(D({size:t},i));if(r&&("svg"===r.type||r.type===Mn)){var a=D({width:t,height:t},r.props,i);return Object(I.createElement)(Mn,a)}return Object(I.isValidElement)(r)?Object(I.cloneElement)(r,D({size:t},i)):r};var cc=Gn((function(e){var t=e.children,n=e.className,r=void 0===n?"":n,o=e.instanceId,i=e.label;if(!I.Children.count(t))return null;var a="components-menu-group-label-".concat(o),s=In()(r,"components-menu-group");return Object(I.createElement)("div",{className:s},i&&Object(I.createElement)("div",{className:"components-menu-group__label",id:a,"aria-hidden":"true"},i),Object(I.createElement)("div",{role:"group","aria-labelledby":i?a:null},t))}));var lc=function(e){var t=e.children,n=e.info,r=e.className,o=e.icon,i=e.shortcut,a=e.isSelected,s=e.role,c=void 0===s?"menuitem":s,l=j(e,["children","info","className","icon","shortcut","isSelected","role"]);r=In()("components-menu-item__button",r,{"has-icon":o}),n&&(t=Object(I.createElement)("span",{className:"components-menu-item__info-wrapper"},t,Object(I.createElement)("span",{className:"components-menu-item__info"},n)));var u=na;return o&&(Object(N.isString)(o)||(o=Object(I.cloneElement)(o,{className:"components-menu-items__item-icon",height:20,width:20})),u=ya,l.icon=o),Object(I.createElement)(u,D({"aria-checked":"menuitemcheckbox"===c||"menuitemradio"===c?a:void 0,role:c,className:r},l),t,Object(I.createElement)(ma,{className:"components-menu-item__shortcut",shortcut:i}))};var uc=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).containerRef=Object(I.createRef)(),e.handleKeyDown=e.handleKeyDown.bind(xe(e)),e.handleClickOutside=e.handleClickOutside.bind(xe(e)),e.focusFirstTabbable=e.focusFirstTabbable.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusFirstTabbable()}},{key:"focusFirstTabbable",value:function(){var e=Ji.tabbable.find(this.containerRef.current);e.length&&e[0].focus()}},{key:"handleClickOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.onRequestClose(e)}},{key:"handleKeyDown",value:function(e){27===e.keyCode&&this.handleEscapeKeyDown(e)}},{key:"handleEscapeKeyDown",value:function(e){this.props.shouldCloseOnEsc&&(e.preventDefault(),this.onRequestClose(e))}},{key:"onRequestClose",value:function(e){var t=this.props.onRequestClose;t&&t(e)}},{key:"render",value:function(){var e=this.props,t=e.contentLabel,n=e.aria,r=n.describedby,o=n.labelledby,i=e.children,a=e.className,s=e.role,c=e.style;return Object(I.createElement)("div",{className:a,style:c,ref:this.containerRef,role:s,"aria-label":t,"aria-labelledby":t?null:o,"aria-describedby":r,tabIndex:"-1"},i)}}]),t}(I.Component),dc=Object(N.flowRight)([ua,da,ha.a,qn({keydown:"handleKeyDown"})])(uc),fc=function(e){var t=e.icon,n=e.title,r=e.onClose,o=e.closeLabel,i=e.headingId,a=e.isDismissable,s=o||ve("Close dialog");return Object(I.createElement)("div",{className:"components-modal__header"},Object(I.createElement)("div",{className:"components-modal__header-heading-container"},t&&Object(I.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&Object(I.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),a&&Object(I.createElement)(ya,{onClick:r,icon:"no-alt",label:s}))},hc=new Set(["alert","status","log","marquee","timer"]),pc=[],vc=!1;function mc(e){if(!vc){var t=document.body.children;Object(N.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||hc.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),pc.push(t))})),vc=!0}}var bc,gc=0,yc=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).prepareDOM(),n}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){1===++gc&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0===--gc&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){bc||(bc=document.createElement("div"),document.body.appendChild(bc)),this.node=document.createElement("div"),bc.appendChild(this.node)}},{key:"cleanDOM",value:function(){bc.removeChild(this.node)}},{key:"openFirstModal",value:function(){mc(bc),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),vc&&(Object(N.forEach)(pc,(function(e){e.removeAttribute("aria-hidden")})),pc=[],vc=!1)}},{key:"render",value:function(){var e=this.props,t=e.overlayClassName,n=e.className,r=e.onRequestClose,o=e.title,i=e.icon,a=e.closeButtonLabel,s=e.children,c=e.aria,l=e.instanceId,u=e.isDismissable,d=j(e,["overlayClassName","className","onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissable"]),f=c.labelledby||"components-modal-header-".concat(l);return Object(L.createPortal)(Object(I.createElement)(_a,{className:In()("components-modal__screen-overlay",t)},Object(I.createElement)(dc,Le({className:In()("components-modal__frame",n),onRequestClose:r,aria:{labelledby:o?f:null,describedby:c.describedby}},d),Object(I.createElement)("div",{className:"components-modal__content",tabIndex:"0"},Object(I.createElement)(fc,{closeLabel:a,headingId:f,icon:i,isDismissable:u,onClose:r,title:o}),s))),this.node)}}]),t}(I.Component);yc.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,onRequestClose:N.noop,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissable:!0,aria:{labelledby:null,describedby:null}};var kc=Gn(yc);var _c=function(e){var t=e.className,n=e.status,r=e.children,o=e.onRemove,i=void 0===o?N.noop:o,a=e.isDismissible,s=void 0===a||a,c=e.actions,l=void 0===c?[]:c,u=e.__unstableHTML,d=In()(t,"components-notice","is-"+n,{"is-dismissible":s});return u&&(r=Object(I.createElement)(K,null,r)),Object(I.createElement)("div",{className:d},Object(I.createElement)("div",{className:"components-notice__content"},r,l.map((function(e,t){var n=e.className,r=e.label,o=e.noDefaultClasses,i=void 0!==o&&o,a=e.onClick,s=e.url;return Object(I.createElement)(na,{key:t,href:s,isDefault:!i&&!s,isLink:!i&&!!s,onClick:s?void 0:a,className:In()("components-notice__action",n)},r)}))),s&&Object(I.createElement)(ya,{className:"components-notice__dismiss",icon:"no",label:ve("Dismiss this notice"),onClick:i,tooltip:!1}))};var wc=function(e){var t=e.notices,n=e.onRemove,r=void 0===n?N.noop:n,o=e.className,i=e.children;return o=In()("components-notice-list",o),Object(I.createElement)("div",{className:o},i,ft(t).reverse().map((function(e){return Object(I.createElement)(_c,Le({},Object(N.omit)(e,["content"]),{key:e.id,onRemove:(t=e.id,function(){return r(t)})}),e.content);var t})))};var Oc=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).state={opened:void 0===e.initialOpen||e.initialOpen},n.toggle=n.toggle.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"toggle",value:function(e){e.preventDefault(),void 0===this.props.opened&&this.setState((function(e){return{opened:!e.opened}})),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,s=void 0===r?this.state.opened:r,c=In()("components-panel__body",o,{"is-opened":s});return Object(I.createElement)("div",{className:c,ref:a},!!t&&Object(I.createElement)("h2",{className:"components-panel__body-title"},Object(I.createElement)(na,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":s},Object(I.createElement)("span",{"aria-hidden":"true"},s?Object(I.createElement)(Mn,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):Object(I.createElement)(Mn,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{fill:"none",d:"M0,0h24v24H0V0z"})),Object(I.createElement)(Tn,null,Object(I.createElement)(xn,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),t,i&&Object(I.createElement)(sc,{icon:i,className:"components-panel__icon",size:20}))),s&&n)}}]),t}(I.Component),Sc=function(e,t){return Object(I.createElement)(Oc,Le({},e,{forwardedRef:t}))};Sc.displayName="PanelBody";var Ec=Object(I.forwardRef)(Sc);var Cc=function(e){var t=e.icon,n=e.children,r=e.label,o=e.instructions,i=e.className,a=e.notices,s=e.preview,c=e.isColumnLayout,l=j(e,["icon","children","label","instructions","className","notices","preview","isColumnLayout"]),u=In()("components-placeholder",i),d=In()("components-placeholder__fieldset",{"is-column-layout":c});return Object(I.createElement)("div",Le({},l,{className:u}),a,s&&Object(I.createElement)("div",{className:"components-placeholder__preview"},s),Object(I.createElement)("div",{className:"components-placeholder__label"},Object(N.isString)(t)?Object(I.createElement)(ga,{icon:t}):t,r),!!o&&Object(I.createElement)("div",{className:"components-placeholder__instructions"},o),Object(I.createElement)("div",{className:d},n))};Gn((function(e){var t=e.label,n=e.className,r=e.selected,o=e.help,i=e.instanceId,a=e.onChange,s=e.options,c=void 0===s?[]:s,l="inspector-radio-control-".concat(i),u=function(e){return a(e.target.value)};return!Object(N.isEmpty)(c)&&Object(I.createElement)(qa,{label:t,id:l,help:o,className:In()(n,"components-radio-control")},c.map((function(e,t){return Object(I.createElement)("div",{key:"".concat(l,"-").concat(t),className:"components-radio-control__option"},Object(I.createElement)("input",{id:"".concat(l,"-").concat(t),className:"components-radio-control__input",type:"radio",name:l,value:e.value,onChange:u,checked:e.value===r,"aria-describedby":o?"".concat(l,"__help"):void 0}),Object(I.createElement)("label",{htmlFor:"".concat(l,"-").concat(t)},e.label))})))}));var Tc=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),xc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dc={base:{position:"absolute",userSelect:"none",MsUserSelect:"none"},top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},Mc=function(e){return Object(I.createElement)("div",{className:e.className,style:xc({},Dc.base,Dc[e.direction],e.replaceStyles||{}),onMouseDown:function(t){e.onResizeStart(t,e.direction)},onTouchStart:function(t){e.onResizeStart(t,e.direction)}},e.children)},jc={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},Ic={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},Pc=function(e,t,n){return Math.max(Math.min(e,n),t)},Nc=function(e,t){return Math.round(e/t)*t},Rc=function(e,t){return t.reduce((function(t,n){return Math.abs(n-e)<Math.abs(t-e)?n:t}))},Lc=function(e,t){return e.substr(e.length-t.length,t.length)===t},Ac=function(e){return"auto"===e.toString()?e.toString():Lc(e.toString(),"px")?e.toString():Lc(e.toString(),"%")?e.toString():Lc(e.toString(),"vh")?e.toString():Lc(e.toString(),"vw")?e.toString():Lc(e.toString(),"vmax")?e.toString():Lc(e.toString(),"vmin")?e.toString():e+"px"},zc=["style","className","grid","snap","bounds","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio"],Fc=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.state={isResizing:!1,resizeCursor:"auto",width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0}},n.updateExtendsProps(e),n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),"undefined"!=typeof window&&(window.addEventListener("mouseup",n.onMouseUp),window.addEventListener("mousemove",n.onMouseMove),window.addEventListener("mouseleave",n.onMouseUp),window.addEventListener("touchmove",n.onMouseMove),window.addEventListener("touchend",n.onMouseUp)),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),Tc(t,[{key:"updateExtendsProps",value:function(e){this.extendsProps=Object.keys(e).reduce((function(t,n){return-1!==zc.indexOf(n)?t:(t[n]=e[n],t)}),{})}},{key:"getParentSize",value:function(){var e=this.base;if(!e)return{width:window.innerWidth,height:window.innerHeight};var t=!1,n=this.parentNode.style.flexWrap,r=e.style.minWidth;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var o={width:e.offsetWidth,height:e.offsetHeight};return e.style.position="absolute",t&&(this.parentNode.style.flexWrap=n),e.style.minWidth=r,o}},{key:"componentDidMount",value:function(){var e=this.size;this.setState({width:this.state.width||e.width,height:this.state.height||e.height});var t=this.parentNode;if(t instanceof HTMLElement&&!this.base){var n=document.createElement("div");n.style.width="100%",n.style.height="100%",n.style.position="absolute",n.style.transform="scale(0, 0)",n.style.left="0",n.style.flex="0",n.classList?n.classList.add("__resizable_base__"):n.className+="__resizable_base__",t.appendChild(n)}}},{key:"componentWillReceiveProps",value:function(e){this.updateExtendsProps(e)}},{key:"componentWillUnmount",value:function(){if("undefined"!=typeof window){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseleave",this.onMouseUp),window.removeEventListener("touchmove",this.onMouseMove),window.removeEventListener("touchend",this.onMouseUp);var e=this.parentNode,t=this.base;if(!t||!e)return;if(!(e instanceof HTMLElement&&t instanceof Node))return;e.removeChild(t)}}},{key:"calculateNewSize",value:function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"}},{key:"onResizeStart",value:function(e,t){var n=0,r=0;if(e.nativeEvent instanceof MouseEvent){if(n=e.nativeEvent.clientX,r=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent instanceof TouchEvent&&(n=e.nativeEvent.touches[0].clientX,r=e.nativeEvent.touches[0].clientY);this.props.onResizeStart&&this.props.onResizeStart(e,t,this.resizable),this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.setState({original:{x:n,y:r,width:this.size.width,height:this.size.height},isResizing:!0,resizeCursor:window.getComputedStyle(e.target).cursor,direction:t})}},{key:"onMouseMove",value:function(e){if(this.state.isResizing){var t=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,n=e instanceof MouseEvent?e.clientY:e.touches[0].clientY,r=this.state,o=r.direction,i=r.original,a=r.width,s=r.height,c=this.props,l=c.lockAspectRatio,u=c.lockAspectRatioExtraHeight,d=c.lockAspectRatioExtraWidth,f=this.props.scale||1,h=this.props,p=h.maxWidth,v=h.maxHeight,m=h.minWidth,b=h.minHeight,g=this.props.resizeRatio||1,y=this.getParentSize();if(p&&"string"==typeof p&&Lc(p,"%")){var k=Number(p.replace("%",""))/100;p=y.width*k}if(v&&"string"==typeof v&&Lc(v,"%")){var _=Number(v.replace("%",""))/100;v=y.height*_}if(m&&"string"==typeof m&&Lc(m,"%")){var w=Number(m.replace("%",""))/100;m=y.width*w}if(b&&"string"==typeof b&&Lc(b,"%")){var O=Number(b.replace("%",""))/100;b=y.height*O}p=void 0===p?void 0:Number(p),v=void 0===v?void 0:Number(v),m=void 0===m?void 0:Number(m),b=void 0===b?void 0:Number(b);var S="number"==typeof l?l:i.width/i.height,E=i.width,C=i.height;if(/right/i.test(o)&&(E=i.width+(t-i.x)*g/f,l&&(C=(E-d)/S+u)),/left/i.test(o)&&(E=i.width-(t-i.x)*g/f,l&&(C=(E-d)/S+u)),/bottom/i.test(o)&&(C=i.height+(n-i.y)*g/f,l&&(E=(C-u)*S+d)),/top/i.test(o)&&(C=i.height-(n-i.y)*g/f,l&&(E=(C-u)*S+d)),"parent"===this.props.bounds){var T=this.parentNode;if(T instanceof HTMLElement){var x=T.getBoundingClientRect(),D=x.left,M=x.top,j=this.resizable.getBoundingClientRect(),I=j.left,P=j.top,N=T.offsetWidth+(D-I),R=T.offsetHeight+(M-P);p=p&&p<N?p:N,v=v&&v<R?v:R}}else if("window"===this.props.bounds){if("undefined"!=typeof window){var L=this.resizable.getBoundingClientRect(),A=L.left,z=L.top,F=window.innerWidth-A,H=window.innerHeight-z;p=p&&p<F?p:F,v=v&&v<H?v:H}}else if(this.props.bounds instanceof HTMLElement){var V=this.props.bounds.getBoundingClientRect(),B=V.left,U=V.top,W=this.resizable.getBoundingClientRect(),K=W.left,Y=W.top;if(!(this.props.bounds instanceof HTMLElement))return;var $=this.props.bounds.offsetWidth+(B-K),q=this.props.bounds.offsetHeight+(U-Y);p=p&&p<$?p:$,v=v&&v<q?v:q}var G=void 0===m?10:m,Z=void 0===p||p<0?E:p,X=void 0===b?10:b,Q=void 0===v||v<0?C:v;if(l){var J=(X-u)*S+d,ee=(Q-u)*S+d,te=(G-d)/S+u,ne=(Z-d)/S+u,re=Math.max(G,J),oe=Math.min(Z,ee),ie=Math.max(X,te),ae=Math.min(Q,ne);E=Pc(E,re,oe),C=Pc(C,ie,ae)}else E=Pc(E,G,Z),C=Pc(C,X,Q);this.props.grid&&(E=Nc(E,this.props.grid[0])),this.props.grid&&(C=Nc(C,this.props.grid[1])),this.props.snap&&this.props.snap.x&&(E=Rc(E,this.props.snap.x)),this.props.snap&&this.props.snap.y&&(C=Rc(C,this.props.snap.y));var se={width:E-i.width,height:C-i.height};if(a&&"string"==typeof a&&Lc(a,"%"))E=E/y.width*100+"%";if(s&&"string"==typeof s&&Lc(s,"%"))C=C/y.height*100+"%";this.setState({width:this.calculateNewSize(E,"width"),height:this.calculateNewSize(C,"height")}),this.props.onResize&&this.props.onResize(e,o,this.resizable,se)}}},{key:"onMouseUp",value:function(e){var t=this.state,n=t.isResizing,r=t.direction,o=t.original;if(n){var i={width:this.size.width-o.width,height:this.size.height-o.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,i),this.props.size&&this.setState(this.props.size),this.setState({isResizing:!1,resizeCursor:"auto"})}}},{key:"updateSize",value:function(e){this.setState({width:e.width,height:e.height})}},{key:"renderResizer",value:function(){var e=this,t=this.props,n=t.enable,r=t.handleStyles,o=t.handleClasses,i=t.handleWrapperStyle,a=t.handleWrapperClass,s=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?Object(I.createElement)(Mc,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:r&&r[t],className:o&&o[t]},s&&s[t]?Object(I.createElement)(s[t]):null):null}));return Object(I.createElement)("span",{className:a,style:i},c)}},{key:"render",value:function(){var e=this,t=this.state.isResizing?jc:Ic;return Object(I.createElement)("div",xc({ref:function(t){t&&(e.resizable=t)},style:xc({position:"relative"},t,this.props.style,this.sizeStyle,{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box"}),className:this.props.className},this.extendsProps),this.state.isResizing&&Object(I.createElement)("div",{style:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:""+(this.state.resizeCursor||"auto"),opacity:"0",position:"fixed",zIndex:"9999",top:"0",left:"0",bottom:"0",right:"0"}}),this.props.children,this.renderResizer())}},{key:"parentNode",get:function(){return this.resizable.parentNode}},{key:"propsSize",get:function(){return this.props.size||this.props.defaultSize}},{key:"base",get:function(){var e=this.parentNode;if(e)for(var t=[].slice.call(e.children),n=0;n<t.length;n+=1){var r=t[n];if(r instanceof HTMLElement&&r.classList.contains("__resizable_base__"))return r}}},{key:"size",get:function(){var e=0,t=0;if("undefined"!=typeof window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,o=this.resizable.style.position;"relative"!==o&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=o}return{width:e,height:t}}},{key:"sizeStyle",get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&Lc(e.propsSize[t].toString(),"%")){if(Lc(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return Ac(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Ac(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Ac(t.height):n("height")}}}]),t}(I.Component);Fc.defaultProps={onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1};var Hc=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).trySandbox=e.trySandbox.bind(xe(e)),e.checkMessageForResize=e.checkMessageForResize.bind(xe(e)),e.iframe=Object(I.createRef)(),e.state={width:0,height:0},e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.trySandbox()}},{key:"componentDidUpdate",value:function(){this.trySandbox()}},{key:"isFrameAccessible",value:function(){try{return!!this.iframe.current.contentDocument.body}catch(e){return!1}}},{key:"checkMessageForResize",value:function(e){var t=this.iframe.current,n=e.data||{};if("string"==typeof n)try{n=JSON.parse(n)}catch(u){}if(t&&t.contentWindow===e.source){var r=n,o=r.action,i=r.width,a=r.height,s=this.state,c=s.width,l=s.height;"resize"!==o||c===i&&l===a||this.setState({width:i,height:a})}}},{key:"trySandbox",value:function(){if(this.isFrameAccessible()&&null===this.iframe.current.contentDocument.body.getAttribute("data-resizable-iframe-connected")){var e=Object(I.createElement)("html",{lang:document.documentElement.lang,className:this.props.type},Object(I.createElement)("head",null,Object(I.createElement)("title",null,this.props.title),Object(I.createElement)("style",{dangerouslySetInnerHTML:{__html:"\n\t\t\tbody {\n\t\t\t\tmargin: 0;\n\t\t\t}\n\t\t\thtml,\n\t\t\tbody,\n\t\t\tbody > div,\n\t\t\tbody > div > iframe {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t\thtml.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio,\n\t\t\tbody.wp-has-aspect-ratio > div,\n\t\t\tbody.wp-has-aspect-ratio > div > iframe {\n\t\t\t\theight: 100%;\n\t\t\t\toverflow: hidden; /* If it has an aspect ratio, it shouldn't scroll. */\n\t\t\t}\n\t\t\tbody > div > * {\n\t\t\t\tmargin-top: 0 !important; /* Has to have !important to override inline styles. */\n\t\t\t\tmargin-bottom: 0 !important;\n\t\t\t}\n\t\t"}}),this.props.styles&&this.props.styles.map((function(e,t){return Object(I.createElement)("style",{key:t,dangerouslySetInnerHTML:{__html:e}})}))),Object(I.createElement)("body",{"data-resizable-iframe-connected":"data-resizable-iframe-connected",className:this.props.type},Object(I.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.html}}),Object(I.createElement)("script",{type:"text/javascript",dangerouslySetInnerHTML:{__html:"\n\t\t\t( function() {\n\t\t\t\tvar observer;\n\n\t\t\t\tif ( ! window.MutationObserver || ! document.body || ! window.parent ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tfunction sendResize() {\n\t\t\t\t\tvar clientBoundingRect = document.body.getBoundingClientRect();\n\n\t\t\t\t\twindow.parent.postMessage( {\n\t\t\t\t\t\taction: 'resize',\n\t\t\t\t\t\twidth: clientBoundingRect.width,\n\t\t\t\t\t\theight: clientBoundingRect.height,\n\t\t\t\t\t}, '*' );\n\t\t\t\t}\n\n\t\t\t\tobserver = new MutationObserver( sendResize );\n\t\t\t\tobserver.observe( document.body, {\n\t\t\t\t\tattributes: true,\n\t\t\t\t\tattributeOldValue: false,\n\t\t\t\t\tcharacterData: true,\n\t\t\t\t\tcharacterDataOldValue: false,\n\t\t\t\t\tchildList: true,\n\t\t\t\t\tsubtree: true\n\t\t\t\t} );\n\n\t\t\t\twindow.addEventListener( 'load', sendResize, true );\n\n\t\t\t\t// Hack: Remove viewport unit styles, as these are relative\n\t\t\t\t// the iframe root and interfere with our mechanism for\n\t\t\t\t// determining the unconstrained page bounds.\n\t\t\t\tfunction removeViewportStyles( ruleOrNode ) {\n\t\t\t\t\tif( ruleOrNode.style ) {\n\t\t\t\t\t\t[ 'width', 'height', 'minHeight', 'maxHeight' ].forEach( function( style ) {\n\t\t\t\t\t\t\tif ( /^\\d+(vmin|vmax|vh|vw)$/.test( ruleOrNode.style[ style ] ) ) {\n\t\t\t\t\t\t\t\truleOrNode.style[ style ] = '';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tArray.prototype.forEach.call( document.querySelectorAll( '[style]' ), removeViewportStyles );\n\t\t\t\tArray.prototype.forEach.call( document.styleSheets, function( stylesheet ) {\n\t\t\t\t\tArray.prototype.forEach.call( stylesheet.cssRules || stylesheet.rules, removeViewportStyles );\n\t\t\t\t} );\n\n\t\t\t\tdocument.body.style.position = 'absolute';\n\t\t\t\tdocument.body.style.width = '100%';\n\t\t\t\tdocument.body.setAttribute( 'data-resizable-iframe-connected', '' );\n\n\t\t\t\tsendResize();\n\n\t\t\t\t// Resize events can change the width of elements with 100% width, but we don't\n\t\t\t\t// get an DOM mutations for that, so do the resize when the window is resized, too.\n\t\t\t\twindow.addEventListener( 'resize', sendResize, true );\n\t\t} )();"}}),this.props.scripts&&this.props.scripts.map((function(e){return Object(I.createElement)("script",{key:e,src:e})})))),t=this.iframe.current.contentWindow.document;t.open(),t.write("<!DOCTYPE html>"+de(e)),t.close()}}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.onFocus;return Object(I.createElement)(qs,{iframeRef:this.iframe,title:t,className:"components-sandbox",sandbox:"allow-scripts allow-same-origin allow-presentation",onLoad:this.trySandbox,onFocus:n,width:Math.ceil(this.state.width),height:Math.ceil(this.state.height)})}}],[{key:"defaultProps",get:function(){return{html:"",title:""}}}]),t}(I.Component);Hc=qn({message:"checkMessageForResize"})(Hc);Gn((function(e){var t=e.help,n=e.instanceId,r=e.label,o=e.multiple,i=void 0!==o&&o,a=e.onChange,s=e.options,c=void 0===s?[]:s,l=e.className,u=j(e,["help","instanceId","label","multiple","onChange","options","className"]),d="inspector-select-control-".concat(n);return!Object(N.isEmpty)(c)&&Object(I.createElement)(qa,{label:r,id:d,help:t,className:l},Object(I.createElement)("select",Le({id:d,className:"components-select-control__input",onChange:function(e){if(i){var t=ft(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));a(t)}else a(e.target.value)},"aria-describedby":t?"".concat(d,"__help"):void 0,multiple:i},u),c.map((function(e,t){return Object(I.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)}))))}));Object(I.forwardRef)((function(e,t){var n=e.className,r=e.children,o=e.actions,i=void 0===o?[]:o,a=e.onRemove,s=void 0===a?N.noop:a;Object(I.useEffect)((function(){var e=setTimeout((function(){s()}),1e4);return function(){return clearTimeout(e)}}),[]);var c=In()(n,"components-snackbar");return Object(I.createElement)("div",{ref:t,className:c,onClick:s,tabIndex:"0",role:"button",onKeyPress:s,label:ve("Dismiss this notice")},Object(I.createElement)("div",{className:"components-snackbar__content"},r,i.map((function(e,t){var n=e.className,r=e.label,o=e.onClick,i=e.url;return Object(I.createElement)(na,{key:t,href:i,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:In()("components-snackbar__action",n)},r)}))))})),n(37);var Vc=n(23),Bc=n.n(Vc),Uc=n(24),Wc=n.n(Uc),Kc=n(28),Yc=n.n(Kc),$c=n(25),qc=n.n($c),Gc=n(19),Zc=n.n(Gc),Xc=n(29),Qc=n.n(Xc),Jc=(n(46),{arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(Jc.str(e)||Jc.num(e))return e===t;if(Jc.obj(e)&&Jc.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!Jc.und(n)||e===t}});function el(){var e=Object(I.useState)(!1)[1];return Object(I.useCallback)((function(){return e((function(e){return!e}))}),[])}var tl,nl=function(){function e(){Zc()(this,e),this.payload=void 0,this.children=[]}return Qc()(e,[{key:"getAnimatedValue",value:function(){return this.getValue()}},{key:"getPayload",value:function(){return this.payload||this}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"getChildren",value:function(){return this.children}},{key:"addChild",value:function(e){0===this.children.length&&this.attach(),this.children.push(e)}},{key:"removeChild",value:function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()}}]),e}(),rl=function(e){function t(){var e;return Zc()(this,t),(e=Bc()(this,Wc()(t).apply(this,arguments))).payload={},e.attach=function(){return Object.values(e.payload).forEach((function(t){return t instanceof nl&&t.addChild(Yc()(e))}))},e.detach=function(){return Object.values(e.payload).forEach((function(t){return t instanceof nl&&t.removeChild(Yc()(e))}))},e}return qc()(t,e),Qc()(t,[{key:"getValue",value:function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof nl)&&(t[n]=r instanceof nl?r[e?"getAnimatedValue":"getValue"]():r)}return t}},{key:"getAnimatedValue",value:function(){return this.getValue(!0)}}]),t}(nl);function ol(e,t){tl={fn:e,transform:t}}function il(e){e}var al;function sl(e){al=e}function cl(e){e}var ll,ul=function(e){return e.current};function dl(e){ll=e}var fl=function(e){function t(e,n){var r;return Zc()(this,t),(r=Bc()(this,Wc()(t).call(this))).update=void 0,r.payload=e.style?Le({},e,{style:ll(e.style)}):e,r.update=n,r.attach(),r}return qc()(t,e),t}(rl);new Set;function hl(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return hl({range:e,output:t,extrapolate:n});if(al&&"string"==typeof e.output[0])return al(e);var r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,c){var l=c?c(e):e;if(l<t){if("identity"===a)return l;"clamp"===a&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?l=-l:n===1/0?l-=t:l=(l-t)/(n-t);l=i(l),r===-1/0?l=-l:o===1/0?l+=r:l=l*(o-r)+r;return l}(e,i[t],i[t+1],o[t],o[t+1],c,a,s,r.map)}}var pl=function(e){function t(e){var n;return Zc()(this,t),void 0===e&&(e={}),n=Bc()(this,Wc()(t).call(this)),!e.transform||e.transform instanceof nl||(e=tl.transform(e)),n.payload=e,n}return qc()(t,e),t}(rl),vl={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ml="[-+]?\\d*\\.?\\d+",bl=ml+"%";function gl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var yl=new RegExp("rgb"+gl(ml,ml,ml)),kl=new RegExp("rgba"+gl(ml,ml,ml,ml)),_l=new RegExp("hsl"+gl(ml,bl,bl)),wl=new RegExp("hsla"+gl(ml,bl,bl,ml)),Ol=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Sl=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,El=/^#([0-9a-fA-F]{6})$/,Cl=/^#([0-9a-fA-F]{8})$/;function Tl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function xl(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=Tl(o,r,e+1/3),a=Tl(o,r,e),s=Tl(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function Dl(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function Ml(e){return(parseFloat(e)%360+360)%360/360}function jl(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function Il(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function Pl(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=El.exec(t))?parseInt(n[1]+"ff",16)>>>0:vl.hasOwnProperty(t)?vl[t]:(n=yl.exec(t))?(Dl(n[1])<<24|Dl(n[2])<<16|Dl(n[3])<<8|255)>>>0:(n=kl.exec(t))?(Dl(n[1])<<24|Dl(n[2])<<16|Dl(n[3])<<8|jl(n[4]))>>>0:(n=Ol.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=Cl.exec(t))?parseInt(n[1],16)>>>0:(n=Sl.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=_l.exec(t))?(255|xl(Ml(n[1]),Il(n[2]),Il(n[3])))>>>0:(n=wl.exec(t))?(xl(Ml(n[1]),Il(n[2]),Il(n[3]))|jl(n[4]))>>>0:null;if(null===r)return e;var o=(16711680&(r=r||0))>>>16,i=(65280&r)>>>8,a=(255&r)/255;return"rgba(".concat((4278190080&r)>>>24,", ").concat(o,", ").concat(i,", ").concat(a,")")}var Nl=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Rl=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ll=new RegExp("(".concat(Object.keys(vl).join("|"),")"),"g"),Al={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},zl=["Webkit","Ms","Moz","O"];function Fl(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Al.hasOwnProperty(e)&&Al[e]?(""+t).trim():t+"px"}Al=Object.keys(Al).reduce((function(e,t){return zl.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Al);var Hl={};dl((function(e){return new pl(e)})),cl("div"),sl((function(e){var t=e.output.map((function(e){return e.replace(Rl,Pl)})).map((function(e){return e.replace(Ll,Pl)})),n=t[0].match(Nl).map((function(){return[]}));t.forEach((function(e){e.match(Nl).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Nl).map((function(t,r){return hl(Le({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Nl,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba(".concat(Math.round(t),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(o,")")}))}})),il(vl),ol((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,a=M(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var c in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(c)){var l=0===c.indexOf("--"),u=Fl(c,n[c],l);"float"===c&&(c="cssFloat"),l?e.style.setProperty(c,u):e.style[c]=u}for(var d in a){var f=s?d:Hl[d]||(Hl[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(f)&&e.setAttribute(f,a[d])}}),(function(e){return e}));var Vl,Bl;(Vl=function(e){return Object(I.forwardRef)((function(t,n){var r=el(),o=Object(I.useRef)(!0),i=Object(I.useRef)(null),a=Object(I.useRef)(null),s=Object(I.useCallback)((function(e){var t=i.current;i.current=new fl(e,(function(){var e=!1;a.current&&(e=tl.fn(a.current,i.current.getAnimatedValue())),a.current&&!1!==e||r()})),t&&t.detach()}),[]);Object(I.useEffect)((function(){return function(){o.current=!1,i.current&&i.current.detach()}}),[]),Object(I.useImperativeHandle)(n,(function(){return ul(a,o,r)})),s(t);var c,l=i.current.getValue(),u=(l.scrollTop,l.scrollLeft,M(l,["scrollTop","scrollLeft"])),d=(c=e,!Jc.fun(c)||c.prototype instanceof P.a.Component?function(e){return a.current=function(e,t){return t&&(Jc.fun(t)?t(e):Jc.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return P.a.createElement(e,Le({},u,{ref:d}))}))},void 0===(Bl=!1)&&(Bl=!0),function(e){return(Jc.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Bl?t[0].toLowerCase()+t.substring(1):t;return e[n]=Vl(n),e}),Vl)})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);function Ul(){return Object(I.createElement)("span",{className:"components-spinner"})}var Wl=function(e){var t=e.tabId,n=e.onClick,r=e.children,o=e.selected,i=j(e,["tabId","onClick","children","selected"]);return Object(I.createElement)(na,Le({role:"tab",tabIndex:o?null:-1,"aria-selected":o,id:t,onClick:n},i),r)};Gn(function(e){function t(){var e;Ee(this,t);var n=(e=De(this,Me(t).apply(this,arguments))).props,r=n.tabs,o=n.initialTabName;return e.handleClick=e.handleClick.bind(xe(e)),e.onNavigate=e.onNavigate.bind(xe(e)),e.state={selected:o||(r.length>0?r[0].name:null)},e}return Ie(t,e),Te(t,[{key:"handleClick",value:function(e){var t=this.props.onSelect,n=void 0===t?N.noop:t;this.setState({selected:e}),n(e)}},{key:"onNavigate",value:function(e,t){t.click()}},{key:"render",value:function(){var e=this,t=this.state.selected,n=this.props,r=n.activeClass,o=void 0===r?"is-active":r,i=n.className,a=n.instanceId,s=n.orientation,c=void 0===s?"horizontal":s,l=n.tabs,u=Object(N.find)(l,{name:t}),d=a+"-"+u.name;return Object(I.createElement)("div",{className:i},Object(I.createElement)(Us,{role:"tablist",orientation:c,onNavigate:this.onNavigate,className:"components-tab-panel__tabs"},l.map((function(n){return Object(I.createElement)(Wl,{className:"".concat(n.className," ").concat(n.name===t?o:""),tabId:a+"-"+n.name,"aria-controls":a+"-"+n.name+"-view",selected:n.name===t,key:n.name,onClick:Object(N.partial)(e.handleClick,n.name)},n.title)}))),u&&Object(I.createElement)("div",{"aria-labelledby":d,role:"tabpanel",id:d+"-view",className:"components-tab-panel__tab-content",tabIndex:"0"},this.props.children(u)))}}]),t}(I.Component));Gn((function(e){var t=e.label,n=e.value,r=e.help,o=e.instanceId,i=e.onChange,a=e.rows,s=void 0===a?4:a,c=e.className,l=j(e,["label","value","help","instanceId","onChange","rows","className"]),u="inspector-textarea-control-".concat(o);return Object(I.createElement)(qa,{label:t,id:u,help:r,className:c},Object(I.createElement)("textarea",Le({className:"components-textarea-control__input",id:u,rows:s,onChange:function(e){return i(e.target.value)},"aria-describedby":r?u+"__help":void 0,value:n},l)))})),Gn(function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onChange=e.onChange.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onChange",value:function(e){this.props.onChange&&this.props.onChange(e.target.checked)}},{key:"render",value:function(){var e,t,n=this.props,r=n.label,o=n.checked,i=n.help,a=n.instanceId,s=n.className,c="inspector-toggle-control-".concat(a);return i&&(e=c+"__help",t=Object(N.isFunction)(i)?i(o):i),Object(I.createElement)(qa,{id:c,help:t,className:In()("components-toggle-control",s)},Object(I.createElement)(Qs,{id:c,checked:o,onChange:this.onChange,"aria-describedby":e}),Object(I.createElement)("label",{htmlFor:c,className:"components-toggle-control__label"},r))}}]),t}(I.Component));var Kl=function(e){return Object(I.createElement)("div",{className:e.className},e.children)};var Yl=function(e){var t=e.containerClassName,n=e.icon,r=e.title,o=e.shortcut,i=e.subscript,a=e.onClick,s=e.className,c=e.isActive,l=e.isDisabled,u=e.extraProps,d=e.children;return Object(I.createElement)(Kl,{className:t},Object(I.createElement)(ya,Le({icon:n,label:r,shortcut:o,"data-subscript":i,onClick:function(e){e.stopPropagation(),a()},className:In()("components-toolbar__control",s,{"is-active":c}),"aria-pressed":c,disabled:l},u)),d)},$l=function(e){return Object(I.createElement)("div",{className:e.className},e.children)};var ql=function(e){var t=e.controls,n=void 0===t?[]:t,r=e.children,o=e.className,i=e.isCollapsed,a=e.icon,s=e.label,c=j(e,["controls","children","className","isCollapsed","icon","label"]);if(!(n&&n.length||r))return null;var l=n;return Array.isArray(l[0])||(l=[l]),i?Object(I.createElement)(Ws,{icon:a,label:s,controls:l,className:In()("components-toolbar",o)}):Object(I.createElement)($l,Le({className:In()("components-toolbar",o)},c),Object(N.flatMap)(l,(function(e,t){return e.map((function(e,n){return Object(I.createElement)(Yl,Le({key:[t,n].join(),containerClassName:t>0&&0===n?"has-left-divider":null},e))}))})),r)};Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).bindContainer=e.bindContainer.bind(xe(e)),e.focusNextRegion=e.focusRegion.bind(xe(e),1),e.focusPreviousRegion=e.focusRegion.bind(xe(e),-1),e.onClick=e.onClick.bind(xe(e)),e.state={isFocusingRegions:!1},e}return Ie(n,t),Te(n,[{key:"bindContainer",value:function(e){this.container=e}},{key:"focusRegion",value:function(e){var t=ft(this.container.querySelectorAll('[role="region"]'));if(t.length){var n=t[0],r=t.indexOf(document.activeElement);if(-1!==r){var o=r+e;n=t[o=(o=-1===o?t.length-1:o)===t.length?0:o]}n.focus(),this.setState({isFocusingRegions:!0})}}},{key:"onClick",value:function(){this.setState({isFocusingRegions:!1})}},{key:"render",value:function(){var t,n=In()("components-navigate-regions",{"is-focusing-regions":this.state.isFocusingRegions});return Object(I.createElement)("div",{ref:this.bindContainer,className:n,onClick:this.onClick},Object(I.createElement)(as,{bindGlobal:!0,shortcuts:(t={"ctrl+`":this.focusNextRegion},x(t,Fn.access("n"),this.focusNextRegion),x(t,"ctrl+shift+`",this.focusPreviousRegion),x(t,Fn.access("p"),this.focusPreviousRegion),t)}),Object(I.createElement)(e,this.props))}}]),n}(I.Component)}),"navigateRegions");function Gl(e){return Un((function(t){var n,r="core/with-filters/"+e;function o(){void 0===n&&(n=Lr(e,t))}var i=function(e){function t(){var e;return Ee(this,t),e=De(this,Me(t).apply(this,arguments)),o(),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){t.instances.push(this),1===t.instances.length&&(jr("hookRemoved",r,s),jr("hookAdded",r,s))}},{key:"componentWillUnmount",value:function(){t.instances=Object(N.without)(t.instances,this),0===t.instances.length&&(Pr("hookRemoved",r),Pr("hookAdded",r))}},{key:"render",value:function(){return Object(I.createElement)(n,this.props)}}]),t}(I.Component);i.instances=[];var a=Object(N.debounce)((function(){n=Lr(e,t),i.instances.forEach((function(e){e.forceUpdate()}))}),16);function s(t){t===e&&a()}return i}),"withFilters")}var Zl=n(45),Xl=n.n(Zl);Un((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).createNotice=e.createNotice.bind(xe(e)),e.createErrorNotice=e.createErrorNotice.bind(xe(e)),e.removeNotice=e.removeNotice.bind(xe(e)),e.removeAllNotices=e.removeAllNotices.bind(xe(e)),e.state={noticeList:[]},e.noticeOperations={createNotice:e.createNotice,createErrorNotice:e.createErrorNotice,removeAllNotices:e.removeAllNotices,removeNotice:e.removeNotice},e}return Ie(n,t),Te(n,[{key:"createNotice",value:function(e){var t=e.id?e:D({},e,{id:Xl()()});this.setState((function(e){return{noticeList:[].concat(ft(e.noticeList),[t])}}))}},{key:"createErrorNotice",value:function(e){this.createNotice({status:"error",content:e})}},{key:"removeNotice",value:function(e){this.setState((function(t){return{noticeList:t.noticeList.filter((function(t){return t.id!==e}))}}))}},{key:"removeAllNotices",value:function(){this.setState({noticeList:[]})}},{key:"render",value:function(){return Object(I.createElement)(e,Le({noticeList:this.state.noticeList,noticeOperations:this.noticeOperations,noticeUI:this.state.noticeList.length>0&&Object(I.createElement)(wc,{className:"components-with-notices-ui",notices:this.state.noticeList,onRemove:this.removeNotice})},this.props))}}]),n}(I.Component)}));function Ql(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Jl(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function eu(e,t){return Jl(e)&&e.type===t}function tu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!eu(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Jl(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Jl(e)&&t(e),n(e)}),r)}))}}var nu=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},ru=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},ou=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),iu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return ou(e,t)}return e};function au(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function su(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==au(e,t,n)}function cu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===au(e,t,n)}function lu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===au(e,t,n)}function uu(e){return e}function du(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function fu(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function hu(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function pu(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function vu(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function mu(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[ru(n,e),nu];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=tu(e,t.dispatch);return function(e){return function(t){return Ql(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:iu,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},f,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(d,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!su(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(du(o,a)),e.next=9,bu.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(fu(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function bu(e,t,n){return gu.apply(this,arguments)}function gu(){return(gu=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var yu=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var ku,_u,wu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=mu(e,t,u);return l(e,n),n.store},l("core/data",yu(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}(),Ou={getItem:function(e){return ku&&ku[e]?ku[e]:null},setItem:function(e,t){ku||Ou.clear(),ku[e]=String(t)},clear:function(){ku=Object.create(null)}},Su=Ou;try{(_u=window.localStorage).setItem("__wpDataTestLocalStorage",""),_u.removeItem("__wpDataTestLocalStorage")}catch(hE){_u=Su}var Eu=_u;function Cu(e){var t,n=e.storage,r=void 0===n?Eu:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Tu=function(e,t){var n=Cu(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Tu.__unstableMigrate=function(e){var t=Cu(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var xu=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};xu((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());xu((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),xu((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var Du=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Mu=Object(I.createContext)(wu),ju=Mu.Consumer,Iu=(Mu.Provider,ju);var Pu=Object(I.createContext)(!1);Pu.Consumer,Pu.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);Du(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,xu((function(e){return function(t){return Object(I.createElement)(Iu,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");var Nu=wu.select,Ru=(wu.dispatch,wu.subscribe,wu.registerGenericStore,wu.registerStore),Lu=(wu.use,[{slug:"common",title:ve("Common Blocks")},{slug:"formatting",title:ve("Formatting")},{slug:"layout",title:ve("Layout Elements")},{slug:"widgets",title:ve("Widgets")},{slug:"embed",title:ve("Embeds")},{slug:"reusable",title:ve("Reusable Blocks")}]);function Au(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case"REMOVE_BLOCK_TYPES":return-1!==n.names.indexOf(t)?null:t;case e:return n.name||null}return t}}var zu=Au("SET_DEFAULT_BLOCK_NAME"),Fu=Au("SET_FREEFORM_FALLBACK_BLOCK_NAME"),Hu=Au("SET_UNREGISTERED_FALLBACK_BLOCK_NAME");var Vu=Ve()({blockTypes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return D({},e,Object(N.keyBy)(Object(N.map)(t.blockTypes,(function(e){return Object(N.omit)(e,"styles ")})),"name"));case"REMOVE_BLOCK_TYPES":return Object(N.omit)(e,t.names)}return e},blockStyles:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_BLOCK_TYPES":return D({},e,Object(N.mapValues)(Object(N.keyBy)(t.blockTypes,"name"),(function(t){return Object(N.uniqBy)([].concat(ft(Object(N.get)(t,["styles"],[])),ft(Object(N.get)(e,[t.name],[]))),(function(e){return e.name}))})));case"ADD_BLOCK_STYLES":return D({},e,x({},t.blockName,Object(N.uniqBy)([].concat(ft(Object(N.get)(e,[t.blockName],[])),ft(t.styles)),(function(e){return e.name}))));case"REMOVE_BLOCK_STYLES":return D({},e,x({},t.blockName,Object(N.filter)(Object(N.get)(e,[t.blockName],[]),(function(e){return-1===t.styleNames.indexOf(e.name)}))))}return e},defaultBlockName:zu,freeformFallbackBlockName:Fu,unregisteredFallbackBlockName:Hu,categories:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lu,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CATEGORIES":return t.categories||[];case"UPDATE_CATEGORY":if(!t.category||Object(N.isEmpty)(t.category))return e;var n=Object(N.find)(e,["slug",t.slug]);if(n)return Object(N.map)(e,(function(e){return e.slug===t.slug?D({},e,t.category):e}))}return e}}),Bu=function(e,t){return"string"==typeof t?Wu(e,t):t},Uu=ao((function(e){return Object.values(e.blockTypes)}),(function(e){return[e.blockTypes]}));function Wu(e,t){return e.blockTypes[t]}function Ku(e,t){return e.blockStyles[t]}function Yu(e){return e.categories}function $u(e){return e.defaultBlockName}function qu(e){return e.freeformFallbackBlockName}function Gu(e){return e.unregisteredFallbackBlockName}var Zu=ao((function(e,t){return Object(N.map)(Object(N.filter)(e.blockTypes,(function(e){return Object(N.includes)(e.parent,t)})),(function(e){return e.name}))}),(function(e){return[e.blockTypes]})),Xu=function(e,t,n,r){var o=Bu(e,t);return Object(N.get)(o,["supports",n],r)};function Qu(e,t,n,r){return!!Xu(e,t,n,r)}function Ju(e,t,n){var r=Bu(e,t),o=Object(N.flow)([N.deburr,function(e){return e.toLowerCase()},function(e){return e.trim()}]),i=o(n),a=Object(N.flow)([o,function(e){return Object(N.includes)(e,i)}]);return a(r.title)||Object(N.some)(r.keywords,a)||a(r.category)}var ed=function(e,t){return Zu(e,t).length>0},td=function(e,t){return Object(N.some)(Zu(e,t),(function(t){return Qu(e,t,"inserter",!0)}))};function nd(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Object(N.castArray)(e)}}function rd(e){return{type:"REMOVE_BLOCK_TYPES",names:Object(N.castArray)(e)}}function od(e,t){return{type:"ADD_BLOCK_STYLES",styles:Object(N.castArray)(t),blockName:e}}function id(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Object(N.castArray)(t),blockName:e}}function ad(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}function sd(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}function cd(e){return{type:"SET_UNREGISTERED_FALLBACK_BLOCK_NAME",name:e}}function ld(e){return{type:"SET_CATEGORIES",categories:e}}function ud(e,t){return{type:"UPDATE_CATEGORY",slug:e,category:t}}Ru("core/blocks",{reducer:Vu,selectors:h,actions:p});function dd(e){var t=vd();if(e.name!==t)return!1;dd.block&&dd.block.name===t||(dd.block=wd(t));var n=dd.block,r=md(t);return Object(N.every)(r.attributes,(function(t,r){return n.attributes[r]===e.attributes[r]}))}function fd(e){return Object(N.isString)(e)?md(e):e}function hd(){return Nu("core/blocks").getFreeformFallbackBlockName()}function pd(){return Nu("core/blocks").getUnregisteredFallbackBlockName()}function vd(){return Nu("core/blocks").getDefaultBlockName()}function md(e){return Nu("core/blocks").getBlockType(e)}function bd(){return Nu("core/blocks").getBlockTypes()}function gd(e,t,n){return Nu("core/blocks").getBlockSupport(e,t,n)}function yd(e,t,n){return Nu("core/blocks").hasBlockSupport(e,t,n)}function kd(e){return"core/block"===e.name}var _d=function(e){return Nu("core/blocks").hasChildBlocksWithInserterSupport(e)};function wd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=md(e),o=Object(N.reduce)(r.attributes,(function(e,n,r){var o=t[r];return void 0!==o?e[r]=o:n.hasOwnProperty("default")&&(e[r]=n.default),-1!==["node","children"].indexOf(n.source)&&("string"==typeof e[r]?e[r]=[e[r]]:Array.isArray(e[r])||(e[r]=[])),e}),{}),i=Xl()();return{clientId:i,name:e,isValid:!0,attributes:o,innerBlocks:n}}var Od=function(e,t,n){if(Object(N.isEmpty)(n))return!1;var r=n.length>1,o=Object(N.first)(n).name;if(!(Sd(e)||!r||e.isMultiBlock))return!1;if(!Sd(e)&&!Object(N.every)(n,{name:o}))return!1;if(!("block"===e.type))return!1;var i=Object(N.first)(n);if(!("from"!==t||-1!==e.blocks.indexOf(i.name)||Sd(e)))return!1;if(!r&&Ed(i.name)&&Ed(e.blockName))return!1;if(Object(N.isFunction)(e.isMatch)){var a=e.isMultiBlock?n.map((function(e){return e.attributes})):i.attributes;if(!e.isMatch(a))return!1}return!0},Sd=function(e){return e&&"block"===e.type&&Array.isArray(e.blocks)&&e.blocks.includes("*")},Ed=function(e){return"core/group"===e};function Cd(e){if(Object(N.isEmpty)(e))return[];var t=function(e){if(Object(N.isEmpty)(e))return[];var t=bd();return Object(N.filter)(t,(function(t){return!!Td(xd("from",t.name),(function(t){return Od(t,"from",e)}))}))}(e),n=function(e){if(Object(N.isEmpty)(e))return[];var t=xd("to",md(Object(N.first)(e).name).name),n=Object(N.filter)(t,(function(t){return t&&Od(t,"to",e)}));return Object(N.flatMap)(n,(function(e){return e.blocks})).map((function(e){return md(e)}))}(e);return Object(N.uniq)([].concat(ft(t),ft(n)))}function Td(e,t){for(var n=Dr(),r=function(r){var o=e[r];t(o)&&n.addFilter("transform","transform/"+r.toString(),(function(e){return e||o}),o.priority)},o=0;o<e.length;o++)r(o);return n.applyFilters("transform",null)}function xd(e,t){if(void 0===t)return Object(N.flatMap)(bd(),(function(t){var n=t.name;return xd(e,n)}));var n=fd(t)||{},r=n.name,o=n.transforms;return o&&Array.isArray(o[e])?o[e].map((function(e){return D({},e,{blockName:r})})):[]}function Dd(e,t){var n=Object(N.castArray)(e),r=n.length>1,o=n[0],i=o.name;if(!Ed(t)&&r&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!e.length)return!1;var t=e[0].name;return Object(N.every)(e,["name",t])}(n))return null;var a,s=xd("from",t),c=Td(xd("to",i),(function(e){return"block"===e.type&&(Sd(e)||-1!==e.blocks.indexOf(t))&&(!r||e.isMultiBlock)}))||Td(s,(function(e){return"block"===e.type&&(Sd(e)||-1!==e.blocks.indexOf(i))&&(!r||e.isMultiBlock)}));if(!c)return null;if(a=c.isMultiBlock?Object(N.has)(c,"__experimentalConvert")?c.__experimentalConvert(n):c.transform(n.map((function(e){return e.attributes})),n.map((function(e){return e.innerBlocks}))):Object(N.has)(c,"__experimentalConvert")?c.__experimentalConvert(o):c.transform(o.attributes,o.innerBlocks),!Object(N.isObjectLike)(a))return null;if((a=Object(N.castArray)(a)).some((function(e){return!md(e.name)})))return null;var l=Object(N.findIndex)(a,(function(e){return e.name===t}));return l<0?null:a.map((function(t,n){var r=D({},t,{clientId:n===l?o.clientId:t.clientId});return Lr("blocks.switchToBlockType.transformedBlock",r,e)}))}function Md(e,t){for(var n,r=t.split(".");n=r.shift();){if(!(n in e))return;e=e[n]}return e}var jd,Id=function(){return jd||(jd=document.implementation.createHTMLDocument("")),jd};function Pd(e,t){if(t){if("string"==typeof e){var n=Id();n.body.innerHTML=e,e=n.body}if("function"==typeof t)return t(e);if(Object===t.constructor)return Object.keys(t).reduce((function(n,r){return n[r]=Pd(e,t[r]),n}),{})}}function Nd(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=n;if(e&&(r=n.querySelector(e)),r)return Md(r,t)}}var Rd,Ld,Ad,zd,Fd=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function Hd(e,t){for(var n=function(e){for(var t,n=[],r=e;t=r.match(Fd);)n.push(r.slice(0,t.index)),n.push(t[0]),r=r.slice(t.index+t[0].length);return r.length&&n.push(r),n}(e),r=!1,o=Object.keys(t),i=1;i<n.length;i+=2)for(var a=0;a<o.length;a++){var s=o[a];if(-1!==n[i].indexOf(s)){n[i]=n[i].replace(new RegExp(s,"g"),t[s]),r=!0;break}}return r&&(e=n.join("")),e}var Vd=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function Bd(e,t,n,r,o){return{blockName:e,attrs:t,innerBlocks:n,innerHTML:r,innerContent:o}}function Ud(e){return Bd(null,{},[],e,[e])}function Wd(){var e=function(){var e=Vd.exec(Rd);if(null===e)return["no-more-tokens"];var t=e.index,n=Fe(e,7),r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],c=n[6],l=r.length,u=!!o,d=!!c,f=(i||"core/")+a,h=!!s,p=h?function(e){try{return JSON.parse(e)}catch(t){return null}}(s):{};if(d)return["void-block",f,p,t,l];if(u)return["block-closer",f,null,t,l];return["block-opener",f,p,t,l]}(),t=Fe(e,5),n=t[0],r=t[1],o=t[2],i=t[3],a=t[4],s=zd.length,c=i>Ld?Ld:null;switch(n){case"no-more-tokens":if(0===s)return Kd(),!1;if(1===s)return $d(),!1;for(;0<zd.length;)$d();return!1;case"void-block":return 0===s?(null!==c&&Ad.push(Ud(Rd.substr(c,i-c))),Ad.push(Bd(r,o,[],"",[])),Ld=i+a,!0):(Yd(Bd(r,o,[],"",[]),i,a),Ld=i+a,!0);case"block-opener":return zd.push(function(e,t,n,r,o){return{block:e,tokenStart:t,tokenLength:n,prevOffset:r||t+n,leadingHtmlStart:o}}(Bd(r,o,[],"",[]),i,a,i+a,c)),Ld=i+a,!0;case"block-closer":if(0===s)return Kd(),!1;if(1===s)return $d(i),Ld=i+a,!0;var l=zd.pop(),u=Rd.substr(l.prevOffset,i-l.prevOffset);return l.block.innerHTML+=u,l.block.innerContent.push(u),l.prevOffset=i+a,Yd(l.block,l.tokenStart,l.tokenLength,i+a),Ld=i+a,!0;default:return Kd(),!1}}function Kd(e){var t=e||Rd.length-Ld;0!==t&&Ad.push(Ud(Rd.substr(Ld,t)))}function Yd(e,t,n,r){var o=zd[zd.length-1];o.block.innerBlocks.push(e);var i=Rd.substr(o.prevOffset,t-o.prevOffset);i&&(o.block.innerHTML+=i,o.block.innerContent.push(i)),o.block.innerContent.push(null),o.prevOffset=r||t+n}function $d(e){var t=zd.pop(),n=t.block,r=t.leadingHtmlStart,o=t.prevOffset,i=t.tokenStart,a=e?Rd.substr(o,e-o):Rd.substr(o);a&&(n.innerHTML+=a,n.innerContent.push(a)),null!==r&&Ad.push(Ud(Rd.substr(r,i-r))),Ad.push(n)}var qd=/^#[xX]([A-Fa-f0-9]+)$/,Gd=/^#([0-9]+)$/,Zd=/^([A-Za-z0-9]+)$/,Xd=(function(){function e(e){this.named=e}e.prototype.parse=function(e){if(e){var t=e.match(qd);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(Gd))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(Zd))?this.named[t[1]]:void 0}}}(),/[\t\n\f ]/),Qd=/[A-Za-z]/,Jd=/\r\n?/g;function ef(e){return Xd.test(e)}function tf(e){return Qd.test(e)}var nf,rf=function(){function e(e,t){this.delegate=e,this.entityParser=t,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer.toLowerCase();"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||tf(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){"-"===this.consume()&&"-"===this.peek()&&(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment())},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();ef(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();ef(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();ef(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();ef(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();ef(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();ef(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();ef(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();ef(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||tf(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(Jd,"\n")}(e);this.index<this.input.length;){var t=this.states[this.state];if(void 0===t)throw new Error("unhandled state "+this.state);t.call(this)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){"data"===this.state&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var e=this.peek();return this.index++,"\n"===e?(this.line++,this.column=0):this.column++,e},e.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(-1!==e){var t=this.input.slice(this.index,e),n=this.entityParser.parse(t);if(n){for(var r=t.length;r;)this.consume(),r--;return this.consume(),n}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},e.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer.toLowerCase();return"title"===e&&"</title>"!==this.input.substring(this.index,this.index+8)||"style"===e&&"</style>"!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),of=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new rf(this,e),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t<arguments.length;t++)if(e.type===arguments[t])return e;throw new Error("token type was unexpectedly "+e.type)},e.prototype.push=function(e){this.token=e,this.tokens.push(e)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(e){this.current("Chars").chars+=e},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},e.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},e.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},e}();function af(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===nf&&(nf=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),nf.innerHTML=e;var t=nf.textContent;return nf.innerHTML="",t}var sf=Object(I.createContext)((function(){})),cf=sf.Consumer,lf=sf.Provider,uf=xu((function(e){return function(t){return Object(I.createElement)(cf,null,(function(n){return Object(I.createElement)(e,Le({},t,{BlockContent:n}))}))}}),"withBlockContentContext"),df=function(e){var t=e.children,n=e.innerBlocks;return Object(I.createElement)(lf,{value:function(){var e=gf(n);return Object(I.createElement)(K,null,e)}},t)};function ff(e){var t="wp-block-"+e.replace(/\//,"-").replace(/^core-/,"");return Lr("blocks.getBlockDefaultClassName",t,e)}function hf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=fd(e),o=r.save;if(o.prototype instanceof I.Component){var i=new o({attributes:t});o=i.render.bind(i)}var a=o({attributes:t,innerBlocks:n});if(Object(N.isObject)(a)&&Nr("blocks.getSaveContent.extraProps")){var s=Lr("blocks.getSaveContent.extraProps",D({},a.props),r,t);Kn()(s,a.props)||(a=Object(I.cloneElement)(a,s))}return a=Lr("blocks.getSaveElement",a,r,t),Object(I.createElement)(df,{innerBlocks:n},a)}function pf(e,t,n){var r=fd(e);return de(hf(r,t,n))}function vf(e){var t=e.originalContent;if(e.isValid||e.innerBlocks.length)try{t=pf(e.name,e.attributes,e.innerBlocks)}catch(hE){}return t}function mf(e,t,n){var r=Object(N.isEmpty)(t)?"":function(e){return JSON.stringify(e).replace(/--/g,"\\u002d\\u002d").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/&/g,"\\u0026").replace(/\\"/g,"\\u0022")}(t)+" ",o=Object(N.startsWith)(e,"core/")?e.slice(5):e;return n?"\x3c!-- wp:".concat(o," ").concat(r,"--\x3e\n")+n+"\n\x3c!-- /wp:".concat(o," --\x3e"):"\x3c!-- wp:".concat(o," ").concat(r,"/--\x3e")}function bf(e){var t=e.name,n=vf(e);switch(t){case hd():case pd():return n;default:return mf(t,function(e,t){return Object(N.reduce)(e.attributes,(function(e,n,r){var o=t[r];return void 0===o?e:void 0!==n.source?e:"default"in n&&n.default===o?e:(e[r]=o,e)}),{})}(md(t),e.attributes),n)}}function gf(e){return Object(N.castArray)(e).map(bf).join("\n\n")}var yf=/[\t\n\r\v\f ]+/g,kf=/^[\t\n\r\v\f ]*$/,_f=/^url\s*\(['"\s]*(.*?)['"\s]*\)$/,wf=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"],Of=[].concat(wf,["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),Sf=[N.identity,function(e){return Mf(e).join(" ")}],Ef=/^[\da-z]+$/i,Cf=/^#\d+$/,Tf=/^#x[\da-f]+$/i;var xf=function(){function e(){Ee(this,e)}return Te(e,[{key:"parse",value:function(e){if(t=e,Ef.test(t)||Cf.test(t)||Tf.test(t))return af("&"+e+";");var t}}]),e}(),Df=function(){function e(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,["Block validation: "+t].concat(r))}}return{error:e(console.error),warning:e(console.warn)}}();function Mf(e){return e.trim().split(yf)}function jf(e){return e.attributes.filter((function(e){var t=Fe(e,2),n=t[0];return t[1]||0===n.indexOf("data-")||Object(N.includes)(Of,n)}))}function If(e,t){for(var n=e.chars,r=t.chars,o=0;o<Sf.length;o++){var i=Sf[o];if((n=i(n))===(r=i(r)))return!0}return Df.warning("Expected text `%s`, saw `%s`.",t.chars,e.chars),!1}function Pf(e){return e.replace(_f,"url($1)")}function Nf(e){var t=e.replace(/;?\s*$/,"").split(";").map((function(e){var t,n=e.split(":"),r=Ae(t=n)||dt(t)||ze(),o=r[0],i=r.slice(1).join(":");return[o.trim(),Pf(i.trim())]}));return Object(N.fromPairs)(t)}var Rf=D({class:function(e,t){return!N.xor.apply(void 0,ft([e,t].map(Mf))).length},style:function(e,t){return N.isEqual.apply(void 0,ft([e,t].map(Nf)))}},Object(N.fromPairs)(wf.map((function(e){return[e,N.stubTrue]}))));function Lf(e,t){if(e.length!==t.length)return Df.warning("Expected attributes %o, instead saw %o.",t,e),!1;var n=Fe([e,t].map(N.fromPairs),2),r=n[0],o=n[1];for(var i in r){if(!o.hasOwnProperty(i))return Df.warning("Encountered unexpected attribute `%s`.",i),!1;var a=r[i],s=o[i],c=Rf[i];if(c){if(!c(a,s))return Df.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,s,a),!1}else if(a!==s)return Df.warning("Expected attribute `%s` of value `%s`, saw `%s`.",i,s,a),!1}return!0}var Af={StartTag:function(e,t){return e.tagName!==t.tagName?(Df.warning("Expected tag name `%s`, instead saw `%s`.",t.tagName,e.tagName),!1):Lf.apply(void 0,ft([e,t].map(jf)))},Chars:If,Comment:If};function zf(e){for(var t;t=e.shift();){if("Chars"!==t.type)return t;if(!kf.test(t.chars))return t}}function Ff(e){try{return new of(new xf).tokenize(e)}catch(t){Df.warning("Malformed HTML detected: %s",e)}return null}function Hf(e,t){return!!e.selfClosing&&!(!t||t.tagName!==e.tagName||"EndTag"!==t.type)}function Vf(e,t,n){var r,o=fd(e);try{r=pf(o,t)}catch(hE){return Df.error("Block validation failed because an error occurred while generating block content:\n\n%s",hE.toString()),!1}var i=function(e,t){var n,r,o=Fe([e,t].map(Ff),2),i=o[0],a=o[1];if(!i||!a)return!1;for(;n=zf(i);){if(!(r=zf(a)))return Df.warning("Expected end of content, instead saw %o.",n),!1;if(n.type!==r.type)return Df.warning("Expected token of type `%s` (%o), instead saw `%s` (%o).",r.type,r,n.type,n),!1;var s=Af[n.type];if(s&&!s(n,r))return!1;Hf(n,a[0])?zf(a):Hf(r,i[0])&&zf(i)}return!(r=zf(a))||(Df.warning("Expected %o, instead saw end of content.",r),!1)}(n,r);return i||Df.error("Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s",o.name,o,r,n),i}function Bf(e){for(var t=[],n=0;n<e.length;n++)try{t.push(Zf(e[n]))}catch(hE){}return t}function Uf(e){return de(e)}function Wf(e){return function(t){var n=t;return e&&(n=t.querySelector(e)),n?Bf(n.childNodes):[]}}var Kf={concat:function(){for(var e=[],t=0;t<arguments.length;t++)for(var n=Object(N.castArray)(t<0||arguments.length<=t?void 0:arguments[t]),r=0;r<n.length;r++){var o=n[r],i="string"==typeof o&&"string"==typeof e[e.length-1];i?e[e.length-1]+=o:e.push(o)}return e},getChildrenArray:function(e){return e},fromDOM:Bf,toHTML:Uf,matcher:Wf},Yf=window.Node,$f=Yf.TEXT_NODE,qf=Yf.ELEMENT_NODE;function Gf(e){for(var t={},n=0;n<e.length;n++){var r=e[n],o=r.name,i=r.value;t[o]=i}return t}function Zf(e){if(e.nodeType===$f)return e.nodeValue;if(e.nodeType!==qf)throw new TypeError("A block node can only be created from a node of type text or element.");return{type:e.nodeName.toLowerCase(),props:D({},Gf(e.attributes),{children:Bf(e.childNodes)})}}function Xf(e){return function(t){var n=t;e&&(n=t.querySelector(e));try{return Zf(n)}catch(hE){return null}}}new Set(["attribute","html","text","tag"]);function Qf(e,t){return t.some((function(t){return function(e,t){switch(t){case"string":return"string"==typeof e;case"boolean":return"boolean"==typeof e;case"object":return!!e&&e.constructor===Object;case"null":return null===e;case"array":return Array.isArray(e);case"integer":case"number":return"number"==typeof e}return!0}(e,t)}))}function Jf(e){switch(e.source){case"attribute":var t=function(e,t){return 1===arguments.length&&(t=e,e=void 0),function(n){var r=Nd(e,"attributes")(n);if(r&&r.hasOwnProperty(t))return r[t].value}}(e.selector,e.attribute);return"boolean"===e.type&&(t=function(e){return Object(N.flow)([e,function(e){return void 0!==e}])}(t)),t;case"html":return r=e.selector,o=e.multiline,function(e){var t=e;if(r&&(t=e.querySelector(r)),!t)return"";if(o){for(var n="",i=t.children.length,a=0;a<i;a++){var s=t.children[a];s.nodeName.toLowerCase()===o&&(n+=s.outerHTML)}return n}return t.innerHTML};case"text":return function(e){return Nd(e,"textContent")}(e.selector);case"children":return Wf(e.selector);case"node":return Xf(e.selector);case"query":var n=Object(N.mapValues)(e.query,Jf);return function(e,t){return function(n){var r=n.querySelectorAll(e);return[].map.call(r,(function(e){return Pd(e,t)}))}}(e.selector,n);case"tag":return Object(N.flow)([Nd(e.selector,"nodeName"),function(e){return e.toLowerCase()}]);default:console.error('Unknown source type "'.concat(e.source,'"'))}var r,o}function eh(e,t){return Pd(e,Jf(t))}function th(e,t,n,r){var o,i=t.type,a=t.enum;switch(t.source){case void 0:o=r?r[e]:void 0;break;case"attribute":case"property":case"html":case"text":case"children":case"node":case"query":case"tag":o=eh(n,t)}return function(e,t){return void 0===t||Qf(e,Object(N.castArray)(t))}(o,i)&&function(e,t){return!Array.isArray(t)||t.includes(e)}(o,a)||(o=void 0),void 0===o?t.default:o}function nh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=fd(e),o=Object(N.mapValues)(r.attributes,(function(e,r){return th(r,e,t,n)}));return Lr("blocks.getBlockAttributes",o,r,t,n)}function rh(e){var t=e.blockName,n=e.attrs,r=e.innerBlocks,o=void 0===r?[]:r,i=e.innerHTML,a=hd(),s=pd()||a;n=n||{},i=i.trim();var c=t||a;"core/cover-image"===c&&(c="core/cover"),"core/text"!==c&&"core/cover-text"!==c||(c="core/paragraph"),c===a&&(i=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var r=e.split("</pre>"),o=r.pop();e="";for(var i=0;i<r.length;i++){var a=r[i],s=a.indexOf("<pre");if(-1!==s){var c="<pre wp-pre-tag-"+i+"></pre>";n.push([c,a.substr(s)+"</pre>"]),e+=a.substr(0,s)+c}else e+=a}e+=o}var l="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=Hd(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+l+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+l+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var u=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",u.forEach((function(t){e+="<p>"+t.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+l+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+l+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+l+"[^>]*>)\\s*</p>","g"),"$1"),t&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")}))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(function(e,t){return t?e:"<br />\n"}))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+l+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach((function(t){var n=Fe(t,2),r=n[0],o=n[1];e=e.replace(r,o)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}(i).trim());var l=md(c);if(!l){var u=i;c&&(i=mf(c,n,i)),n={originalName:t,originalUndelimitedContent:u},l=md(c=s)}o=o.map(rh);var d=c===a||c===s;if(l&&(i||!d)){var f=wd(c,nh(l,i,n),o);return d||(f.isValid=Vf(l,f.attributes,i)),f.originalContent=i,f=function(e,t){var n=md(e.name),r=n.deprecated;if(!r||!r.length)return e;for(var o=e,i=o.originalContent,a=o.innerBlocks,s=0;s<r.length;s++){var c=r[s].isEligible,l=void 0===c?N.stubFalse:c;if(!e.isValid||l(t,a)){var u=Object.assign(Object(N.omit)(n,["attributes","save","supports"]),r[s]),d=nh(u,i,t);if(Vf(u,d,i)){e=D({},e,{isValid:!0});var f=a,h=u.migrate;if(h){var p=Fe(Object(N.castArray)(h(d,a)),2),v=p[0];d=void 0===v?t:v;var m=p[1];f=void 0===m?a:m}e.attributes=d,e.innerBlocks=f}}}return e}(f,n)}}var oh,ih=(oh=function(e){Rd=e,Ld=0,Ad=[],zd=[],Vd.lastIndex=0;do{}while(Wd());return Ad},function(e){return oh(e).reduce((function(e,t){var n=rh(t);return n&&e.push(n),e}),[])}),ah={strong:{},em:{},s:{},del:{},ins:{},a:{attributes:["href","target","rel"]},code:{},abbr:{attributes:["title"]},sub:{},sup:{},br:{},"#text":{}};function sh(){return ah}function ch(e){var t=e.nodeName.toLowerCase();return sh().hasOwnProperty(t)||"span"===t}["strong","em","s","del","ins","a","code","abbr","sub","sup"].forEach((function(e){ah[e].children=Object(N.omit)(ah,e)}));var lh=window.Node,uh=lh.ELEMENT_NODE,dh=lh.TEXT_NODE;function fh(e){var t=e.map((function(e){var t=e.isMatch,n=e.blockName,r=e.schema,o=yd(n,"anchor");return o||t?Object(N.mapValues)(r,(function(e){var n=e.attributes||[];return o&&(n=[].concat(ft(n),["id"])),D({},e,{attributes:n,isMatch:t||void 0})})):r}));return N.mergeWith.apply(void 0,[{}].concat(ft(t),[function(e,t,n){switch(n){case"children":return"*"===e||"*"===t?"*":D({},e,t);case"attributes":case"require":return[].concat(ft(e||[]),ft(t||[]));case"isMatch":if(!e||!t)return;return function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}}]))}function hh(e){return!e.hasChildNodes()||Array.from(e.childNodes).every((function(e){return e.nodeType===dh?!e.nodeValue.trim():e.nodeType!==uh||("BR"===e.nodeName||!e.hasAttributes()&&hh(e))}))}function ph(e,t,n,r){Array.from(e).forEach((function(e){ph(e.childNodes,t,n,r),t.forEach((function(t){n.contains(e)&&t(e,n,r)}))}))}function vh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,ph(r.body.childNodes,t,r,n),r.body.innerHTML}function mh(e,t,n){var r=document.implementation.createHTMLDocument("");return r.body.innerHTML=e,function e(t,n,r,o){Array.from(t).forEach((function(t){var i=t.nodeName.toLowerCase();if(!r.hasOwnProperty(i)||r[i].isMatch&&!r[i].isMatch(t))e(t.childNodes,n,r,o),o&&!ch(t)&&t.nextElementSibling&&Gi(n.createElement("br"),t),Zi(t);else if(t.nodeType===uh){var a=r[i],s=a.attributes,c=void 0===s?[]:s,l=a.classes,u=void 0===l?[]:l,d=a.children,f=a.require,h=void 0===f?[]:f,p=a.allowEmpty;if(d&&!p&&hh(t))return void qi(t);if(t.hasAttributes()&&(Array.from(t.attributes).forEach((function(e){var n=e.name;"class"===n||Object(N.includes)(c,n)||t.removeAttribute(n)})),t.classList&&t.classList.length)){var v=u.map((function(e){return"string"==typeof e?function(t){return t===e}:e instanceof RegExp?function(t){return e.test(t)}:N.noop}));Array.from(t.classList).forEach((function(e){v.some((function(t){return t(e)}))||t.classList.remove(e)})),t.classList.length||t.removeAttribute("class")}if(t.hasChildNodes()){if("*"===d)return;if(d)h.length&&!t.querySelector(h.join(","))?(e(t.childNodes,n,r,o),Zi(t)):"BODY"===t.parentNode.nodeName&&ch(t)?(e(t.childNodes,n,r,o),Array.from(t.childNodes).some((function(e){return!ch(e)}))&&Zi(t)):e(t.childNodes,n,d,o);else for(;t.firstChild;)qi(t.firstChild)}}}))}(r.body.childNodes,r,t,n),r.body.innerHTML}var bh=window.Node,gh=bh.ELEMENT_NODE,yh=bh.TEXT_NODE,kh=function(e){var t=document.implementation.createHTMLDocument(""),n=document.implementation.createHTMLDocument(""),r=t.body,o=n.body;for(r.innerHTML=e;r.firstChild;){var i=r.firstChild;i.nodeType===yh?i.nodeValue.trim()?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):r.removeChild(i):i.nodeType===gh?"BR"===i.nodeName?(i.nextSibling&&"BR"===i.nextSibling.nodeName&&(o.appendChild(n.createElement("P")),r.removeChild(i.nextSibling)),o.lastChild&&"P"===o.lastChild.nodeName&&o.lastChild.hasChildNodes()?o.lastChild.appendChild(i):r.removeChild(i)):"P"===i.nodeName?hh(i)?r.removeChild(i):o.appendChild(i):ch(i)?(o.lastChild&&"P"===o.lastChild.nodeName||o.appendChild(n.createElement("P")),o.lastChild.appendChild(i)):o.appendChild(i):r.removeChild(i)}return o.innerHTML},_h=window.Node.COMMENT_NODE,wh=function(e,t){if(e.nodeType===_h)if("nextpage"!==e.nodeValue){if(0===e.nodeValue.indexOf("more")){for(var n=e.nodeValue.slice(4).trim(),r=e,o=!1;r=r.nextSibling;)if(r.nodeType===_h&&"noteaser"===r.nodeValue){o=!0,qi(r);break}$i(e,function(e,t,n){var r=n.createElement("wp-block");r.dataset.block="core/more",e&&(r.dataset.customText=e);t&&(r.dataset.noTeaser="");return r}(n,o,t))}}else $i(e,function(e){var t=e.createElement("wp-block");return t.dataset.block="core/nextpage",t}(t))};function Oh(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Sh=function(e){if(Oh(e)){var t=e,n=e.previousElementSibling;if(n&&n.nodeName===e.nodeName&&1===t.children.length){for(;t.firstChild;)n.appendChild(t.firstChild);t.parentNode.removeChild(t)}var r,o=e.parentNode;if(o&&"LI"===o.nodeName&&1===o.children.length&&!/\S/.test((r=o,ft(r.childNodes).map((function(e){var t=e.nodeValue;return void 0===t?"":t})).join("")))){var i=o,a=i.previousElementSibling,s=i.parentNode;a?(a.appendChild(t),s.removeChild(i)):(s.parentNode.insertBefore(t,s),s.parentNode.removeChild(s))}if(o&&Oh(o)){var c=e.previousElementSibling;c?c.appendChild(e):Zi(e)}}},Eh=function(e){"BLOCKQUOTE"===e.nodeName&&(e.innerHTML=kh(e.innerHTML))};var Ch=function(e,t,n){if(function(e,t){var n=e.nodeName.toLowerCase();return"figcaption"!==n&&!ch(e)&&Object(N.has)(t,["figure","children",n])}(e,n)){var r=e,o=e.parentNode;(function(e,t){var n=e.nodeName.toLowerCase();return Object(N.has)(t,["figure","children","a","children",n])})(e,n)&&"A"===o.nodeName&&1===o.childNodes.length&&(r=e.parentNode);for(var i=r;i&&"P"!==i.nodeName;)i=i.parentElement;var a=t.createElement("figure");i?i.parentNode.insertBefore(a,i):r.parentNode.insertBefore(a,r),a.appendChild(r)}},Th=n(56),xh=n.n(Th);function Dh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=Mh(e);r.lastIndex=n;var o=r.exec(t);if(o){if("["===o[1]&&"]"===o[7])return Dh(e,t,r.lastIndex);var i={index:o.index,content:o[0],shortcode:Ih(o)};return o[1]&&(i.content=i.content.slice(1),i.index++),o[7]&&(i.content=i.content.slice(0,-1)),i}}function Mh(e){return new RegExp("\\[(\\[?)("+e+")(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)","g")}var jh=xh()((function(e){var t,n={},r=[],o=/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|'([^']*)'(?:\s|$)|(\S+)(?:\s|$)/g;for(e=e.replace(/[\u00a0\u200b]/g," ");t=o.exec(e);)t[1]?n[t[1].toLowerCase()]=t[2]:t[3]?n[t[3].toLowerCase()]=t[4]:t[5]?n[t[5].toLowerCase()]=t[6]:t[7]?r.push(t[7]):t[8]?r.push(t[8]):t[9]&&r.push(t[9]);return{named:n,numeric:r}}));function Ih(e){var t;return t=e[4]?"self-closing":e[6]?"closed":"single",new Ph({tag:e[2],attrs:e[3],type:t,content:e[5]})}var Ph=Object(N.extend)((function(e){var t=this;Object(N.extend)(this,Object(N.pick)(e||{},"tag","attrs","type","content"));var n=this.attrs;this.attrs={named:{},numeric:[]},n&&(Object(N.isString)(n)?this.attrs=jh(n):Object(N.isEqual)(Object.keys(n),["named","numeric"])?this.attrs=n:Object(N.forEach)(n,(function(e,n){t.set(n,e)})))}),{next:Dh,replace:function(e,t,n){var r=arguments;return t.replace(Mh(e),(function(e,t,o,i,a,s,c,l){if("["===t&&"]"===l)return e;var u=n(Ih(r));return u?t+u+l:e}))},string:function(e){return new Ph(e).string()},regexp:Mh,attrs:jh,fromMatch:Ih});Object(N.extend)(Ph.prototype,{get:function(e){return this.attrs[Object(N.isNumber)(e)?"numeric":"named"][e]},set:function(e,t){return this.attrs[Object(N.isNumber)(e)?"numeric":"named"][e]=t,this},string:function(){var e="["+this.tag;return Object(N.forEach)(this.attrs.numeric,(function(t){/\s/.test(t)?e+=' "'+t+'"':e+=" "+t})),Object(N.forEach)(this.attrs.named,(function(t,n){e+=" "+n+'="'+t+'"'})),"single"===this.type?e+"]":"self-closing"===this.type?e+" /]":(e+="]",this.content&&(e+=this.content),e+"[/"+this.tag+"]")}});var Nh=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=xd("from"),o=Td(r,(function(e){return"shortcode"===e.type&&Object(N.some)(Object(N.castArray)(e.tag),(function(e){return Mh(e).test(t)}))}));if(!o)return[t];var i,a=Object(N.castArray)(o.tag),s=Object(N.first)(a);if(i=Dh(s,t,n)){var c=t.substr(0,i.index);if(n=i.index+i.content.length,!Object(N.includes)(i.shortcode.content||"","<")&&!/(\n|<p>)\s*$/.test(c))return e(t,n);var l=Object(N.mapValues)(Object(N.pickBy)(o.attributes,(function(e){return e.shortcode})),(function(e){return e.shortcode(i.shortcode.attrs,i)})),u=wd(o.blockName,nh(D({},md(o.blockName),{attributes:o.attributes}),i.shortcode.content,l));return[c,u].concat(ft(e(t.substr(n))))}return[t]},Rh=window.Node.COMMENT_NODE,Lh=function(e){e.nodeType===Rh&&qi(e)};function Ah(e,t){return e.every((function(e){return function(e,t){if(ch(e))return!0;if(!t)return!1;var n=e.nodeName.toLowerCase();return[["ul","li","ol"],["h1","h2","h3","h4","h5","h6"]].some((function(e){return 0===Object(N.difference)([n,t],e).length}))}(e,t)&&Ah(Array.from(e.children),t)}))}function zh(e){return"BR"===e.nodeName&&e.previousSibling&&"BR"===e.previousSibling.nodeName}var Fh=function(e,t){if("SPAN"===e.nodeName&&e.style){var n=e.style,r=n.fontWeight,o=n.fontStyle,i=n.textDecorationLine,a=n.verticalAlign;"bold"!==r&&"700"!==r||Qi(t.createElement("strong"),e),"italic"===o&&Qi(t.createElement("em"),e),"line-through"===i&&Qi(t.createElement("s"),e),"super"===a?Qi(t.createElement("sup"),e):"sub"===a&&Qi(t.createElement("sub"),e)}else"B"===e.nodeName?e=Xi(e,"strong"):"I"===e.nodeName?e=Xi(e,"em"):"A"===e.nodeName&&(e.target&&"_blank"===e.target.toLowerCase()?e.rel="noreferrer noopener":(e.removeAttribute("target"),e.removeAttribute("rel")))},Hh=function(e){"SCRIPT"!==e.nodeName&&"NOSCRIPT"!==e.nodeName&&"TEMPLATE"!==e.nodeName&&"STYLE"!==e.nodeName||e.parentNode.removeChild(e)},Vh=window.parseInt;function Bh(e){return"OL"===e.nodeName||"UL"===e.nodeName}var Uh=function(e,t){if("P"===e.nodeName){var n=e.getAttribute("style");if(n&&-1!==n.indexOf("mso-list")){var r=/mso-list\s*:[^;]+level([0-9]+)/i.exec(n);if(r){var o=Vh(r[1],10)-1||0,i=e.previousElementSibling;if(!i||!Bh(i)){var a=e.textContent.trim().slice(0,1),s=/[1iIaA]/.test(a),c=t.createElement(s?"ol":"ul");s&&c.setAttribute("type",a),e.parentNode.insertBefore(c,e)}var l=e.previousElementSibling,u=l.nodeName,d=t.createElement("li"),f=l;for(e.removeChild(e.firstElementChild);e.firstChild;)d.appendChild(e.firstChild);for(;o--;)Bh(f=f.lastElementChild||f)&&(f=f.lastElementChild||f);Bh(f)||(f=f.appendChild(t.createElement(u))),f.appendChild(d),e.parentNode.removeChild(e)}}}},Wh=window.URL,Kh=Wh.createObjectURL,Yh=(Wh.revokeObjectURL,{});function $h(e){var t=Kh(e);return Yh[t]=e,t}var qh=window,Gh=qh.atob,Zh=qh.File,Xh=function(e){if("IMG"===e.nodeName){if(0===e.src.indexOf("file:")&&(e.src=""),0===e.src.indexOf("data:")){var t,n=Fe(e.src.split(","),2),r=n[0],o=n[1],i=Fe(r.slice(5).split(";"),1)[0];if(!o||!i)return void(e.src="");try{t=Gh(o)}catch(u){return void(e.src="")}for(var a=new Uint8Array(t.length),s=0;s<a.length;s++)a[s]=t.charCodeAt(s);var c=i.replace("/","."),l=new Zh([a],c,{type:i});e.src=$h(l)}1!==e.height&&1!==e.width||e.parentNode.removeChild(e)}},Qh=n(135),Jh=new(n.n(Qh).a.Converter)({noHeaderId:!0,tables:!0,literalMidWordUnderscores:!0,omitExtraWLInCodeBlocks:!0,simpleLineBreaks:!0,strikethrough:!0});var ep=function(e){"IFRAME"===e.nodeName&&qi(e)},tp=function(e){e.id&&0===e.id.indexOf("docs-internal-guid-")&&Zi(e)},np=window.console;function rp(e){return e=mh(e=vh(e,[tp,Fh,Lh]),sh(),{inline:!0}),np.log("Processed inline HTML:\n\n",e),e}function op(e){var t,n=e.HTML,r=void 0===n?"":n,o=e.plainText,i=void 0===o?"":o,a=e.mode,s=void 0===a?"AUTO":a,c=e.tagName,l=e.canUserUseUnfilteredHTML,u=void 0!==l&&l;if(r=r.replace(/<meta[^>]+>/,""),"INLINE"!==s){var d=r||i;if(-1!==d.indexOf("\x3c!-- wp:"))return ih(d)}if(String.prototype.normalize&&(r=r.normalize()),!i||r&&!function(e){return!/<(?!br[ />])/i.test(e)}(r)||(t=i,r=Jh.makeHtml(function(e){return e.replace(/((?:^|\n)```)([^\n`]+)(```(?:$|\n))/,(function(e,t,n,r){return"".concat(t,"\n").concat(n,"\n").concat(r)}))}(t)),"AUTO"===s&&-1===i.indexOf("\n")&&0!==i.indexOf("<p>")&&0===r.indexOf("<p>")&&(s="INLINE")),"INLINE"===s)return rp(r);var f=Nh(r),h=f.length>1;if("AUTO"===s&&!h&&function(e,t){var n=document.implementation.createHTMLDocument("");n.body.innerHTML=e;var r=Array.from(n.body.children);return!r.some(zh)&&Ah(r,t)}(r,c))return rp(r);var p=Object(N.filter)(xd("from"),{type:"raw"}).map((function(e){return e.isMatch?e:D({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),v=sh(),m=fh(p),b=Object(N.compact)(Object(N.flatMap)(f,(function(e){if("string"!=typeof e)return e;var t=[tp,Uh,Hh,Sh,Xh,Fh,wh,Lh,Ch,Eh];u||t.unshift(ep);var n=D({},m,v);return e=mh(e=vh(e,t,m),n),e=kh(e),np.log("Processed HTML piece:\n\n",e),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=Td(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return wd("core/html",nh("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):wd(o,nh(o,e.outerHTML))}))}({html:e,rawTransforms:p})})));if("AUTO"===s&&1===b.length){var g=i.trim();if(""!==g&&-1===g.indexOf("\n"))return mh(vf(b[0]),v)}return b}function ip(e){var t=e.HTML,n=void 0===t?"":t;if(-1!==n.indexOf("\x3c!-- wp:"))return ih(n);var r=Nh(n),o=Object(N.filter)(xd("from"),{type:"raw"}).map((function(e){return e.isMatch?e:D({},e,{isMatch:function(t){return e.selector&&t.matches(e.selector)}})})),i=fh(o);return Object(N.compact)(Object(N.flatMap)(r,(function(e){return"string"!=typeof e?e:(e=vh(e,[Sh,wh,Ch,Eh],i),function(e){var t=e.html,n=e.rawTransforms,r=document.implementation.createHTMLDocument("");return r.body.innerHTML=t,Array.from(r.body.children).map((function(e){var t=Td(n,(function(t){return(0,t.isMatch)(e)}));if(!t)return wd("core/html",nh("core/html",e.outerHTML));var r=t.transform,o=t.blockName;return r?r(e):wd(o,nh(o,e.outerHTML))}))}({html:e=kh(e),rawTransforms:o}))})))}function ap(){return Nu("core/blocks").getCategories()}function sp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t?Object(N.map)(t,(function(t,n){var r=Fe(t,3),o=r[0],i=r[1],a=r[2],s=e[n];if(s&&s.name===o)return D({},s,{innerBlocks:sp(s.innerBlocks,a)});var c=md(o),l=function(e,t){return Object(N.mapValues)(t,(function(t,n){return u(e[n],t)}))},u=function(e,t){return n=e,"html"===Object(N.get)(n,["source"])&&Object(N.isArray)(t)?de(t):function(e){return"query"===Object(N.get)(e,["source"])}(e)&&t?t.map((function(t){return l(e.query,t)})):t;var n};return wd(o,l(Object(N.get)(c,["attributes"],{}),i),sp([],a))})):e}function cp(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function lp(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function up(e,t){return lp(e)&&e.type===t}function dp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!up(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!lp(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){lp(e)&&t(e),n(e)}),r)}))}}var fp=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},hp=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},pp=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),vp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return pp(e,t)}return e};function mp(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function bp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==mp(e,t,n)}function gp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===mp(e,t,n)}function yp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===mp(e,t,n)}function kp(e){return e}function _p(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function wp(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Op(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Sp(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Ep(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Cp(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[hp(n,e),fp];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=dp(e,t.dispatch);return function(e){return function(t){return cp(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:vp,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},m,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(v,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!bp(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(_p(o,a)),e.next=9,Tp.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(wp(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Tp(e,t,n){return xp.apply(this,arguments)}function xp(){return(xp=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Dp=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Mp,jp,Ip=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Cp(e,t,u);return l(e,n),n.store},l("core/data",Dp(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}(),Pp={getItem:function(e){return Mp&&Mp[e]?Mp[e]:null},setItem:function(e,t){Mp||Pp.clear(),Mp[e]=String(t)},clear:function(){Mp=Object.create(null)}},Np=Pp;try{(jp=window.localStorage).setItem("__wpDataTestLocalStorage",""),jp.removeItem("__wpDataTestLocalStorage")}catch(hE){jp=Np}var Rp=jp;function Lp(e){var t,n=e.storage,r=void 0===n?Rp:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var Ap=function(e,t){var n=Lp(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};Ap.__unstableMigrate=function(e){var t=Lp(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var zp=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}};zp((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure"),new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());zp((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),zp((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var Fp=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,Hp=Object(I.createContext)(Ip),Vp=Hp.Consumer,Bp=(Hp.Provider,Vp);var Up=Object(I.createContext)(!1);Up.Consumer,Up.Provider;"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);Fp(r)}}();"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,zp((function(e){return function(t){return Object(I.createElement)(Bp,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");function Wp(e){return e.isRegistrySelector=!0,e}function Kp(e){return e.isRegistryControl=!0,e}Ip.select,Ip.dispatch,Ip.subscribe,Ip.registerGenericStore;var Yp=Ip.registerStore,$p=(Ip.use,function(e){return function(t){return function(n,r){return void 0===n||e(r)?t(n,r):n}}}),qp=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}},Gp=function(e){return function(t){return function(n,r){return t(n,e(r))}}};function Zp(e){return{type:"RECEIVE_ITEMS",items:Object(N.castArray)(e)}}function Xp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return D({},Zp(e),{query:t})}var Qp=function(e){var t=new WeakMap;return function(n){var r;return t.has(n)?r=t.get(n):(r=e(n),Object(N.isObjectLike)(n)&&t.set(n,r)),r}}((function(e){for(var t={stableKey:"",page:1,perPage:10},n=Object.keys(e).sort(),r=0;r<n.length;r++){var o=n[r],i=e[o];switch(o){case"page":t[o]=Number(i);break;case"per_page":t.perPage=Number(i);break;default:t.stableKey+=(t.stableKey?"&":"")+_e("",x({},o,i)).slice(1)}}return t})),Jp=new WeakMap;function ev(e,t){var n=Qp(t),r=n.stableKey,o=n.page,i=n.perPage;if(!e.queries[r])return null;var a=e.queries[r];if(!a)return null;for(var s=-1===i?0:(o-1)*i,c=-1===i?a.length:Math.min(s+i,a.length),l=[],u=s;u<c;u++){var d=a[u];l.push(e.items[d])}return l}var tv=ao((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Jp.get(e);if(n){var r=n.get(t);if(void 0!==r)return r}else n=new mt.a,Jp.set(e,n);var o=ev(e,t);return n.set(t,o),o}));var nv=function(e){function t(e,n){var r=e.headers,o=void 0===r?{}:r;for(var i in o)if("x-wp-nonce"===i.toLowerCase())return n(e);return n(D({},e,{headers:D({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},rv=function(e,t){var n,r,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),o=(r=e.endpoint.replace(/^\//,""))?n+"/"+r:n),delete e.namespace,delete e.endpoint,t(D({},e,{path:o}))},ov=function(e){return function(t,n){return rv(t,(function(t){var r,o=t.url,i=t.path;return"string"==typeof i&&(r=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(i=i.replace("?","&")),o=r+i),n(D({},t,{url:o}))}))}},iv=function(e){return function(t,n){var r=t.parse,o=void 0===r||r;if("string"==typeof t.path){var i=t.method||"GET",a=function(e){var t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):r}(t.path);if(o&&"GET"===i&&e[a])return Promise.resolve(e[a].body);if("OPTIONS"===i&&e[i]&&e[i][a])return Promise.resolve(e[i][a])}return n(t)}},av=function(e){return e.json?e.json():Promise.reject(e)},sv=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},cv=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),n=e.url&&-1!==e.url.indexOf("per_page=-1");return t||n},lv=function(){var e=Ke(Ue.a.mark((function e(t,n){var r,o,i,a,s,c;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",n(t));case 2:if(cv(t)){e.next=4;break}return e.abrupt("return",n(t));case 4:return e.next=6,n(D({},(u={per_page:100},d=void 0,f=void 0,d=(l=t).path,f=l.url,D({},j(l,["path","url"]),{url:f&&_e(f,u),path:d&&_e(d,u)})),{parse:!1}));case 6:return r=e.sent,e.next=9,av(r);case 9:if(o=e.sent,Array.isArray(o)){e.next=12;break}return e.abrupt("return",o);case 12:if(i=sv(r)){e.next=15;break}return e.abrupt("return",o);case 15:a=[].concat(o);case 16:if(!i){e.next=27;break}return e.next=19,n(D({},t,{path:void 0,url:i,parse:!1}));case 19:return s=e.sent,e.next=22,av(s);case 22:c=e.sent,a=a.concat(c),i=sv(s),e.next=16;break;case 27:return e.abrupt("return",a);case 28:case"end":return e.stop()}var l,u,d,f}),e)})));return function(t,n){return e.apply(this,arguments)}}(),uv=new Set(["PATCH","PUT","DELETE"]);var dv={Accept:"application/json, */*;q=0.1"},fv={credentials:"include"},hv=[function(e,t){return"string"!=typeof e.url||we(e.url,"_locale")||(e.url=_e(e.url,{_locale:"user"})),"string"!=typeof e.path||we(e.path,"_locale")||(e.path=_e(e.path,{_locale:"user"})),t(e,t)},rv,function(e,t){var n=e.method,r=void 0===n?"GET":n;return uv.has(r.toUpperCase())&&(e=D({},e,{headers:D({},e.headers,{"X-HTTP-Method-Override":r,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},lv];var pv=function(e){var t=e.url,n=e.path,r=e.data,o=e.parse,i=void 0===o||o,a=j(e,["url","path","data","parse"]),s=e.body,c=e.headers;c=D({},dv,c),r&&(s=JSON.stringify(r),c["Content-Type"]="application/json");return window.fetch(t||n,D({},fv,a,{body:s,headers:c})).then((function(e){if(e.status>=200&&e.status<300)return e;throw e})).then((function(e){return i?204===e.status?null:e.json?e.json():Promise.reject(e):e})).catch((function(e){if(!i)throw e;var t={code:"invalid_json",message:ve("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t})).then((function(e){var t={code:"unknown_error",message:ve("An unknown error occurred.")};throw e||t}))}))};function vv(e){var t=[].concat(hv,[pv]);return function e(n){return function(r){var o=t[n];return n===t.length-1?o(r):o(r,e(n+1))}}(0)(e)}vv.use=function(e){hv.unshift(e)},vv.setFetchHandler=function(e){pv=e},vv.createNonceMiddleware=nv,vv.createPreloadingMiddleware=iv,vv.createRootURLMiddleware=ov,vv.fetchAllMiddleware=lv;var mv=vv;function bv(e){return{type:"API_FETCH",request:e}}function gv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"SELECT",selectorName:e,args:n}}function yv(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return{type:"RESOLVE_SELECT",selectorName:e,args:n}}var kv={API_FETCH:function(e){var t=e.request;return mv(t)},SELECT:Kp((function(e){return function(t){var n,r=t.selectorName,o=t.args;return(n=e.select("core"))[r].apply(n,ft(o))}})),RESOLVE_SELECT:Kp((function(e){return function(t){var n=t.selectorName,r=t.args;return new Promise((function(t){var o=function(){return e.select("core/data").hasFinishedResolution("core",n,r)},i=function(){return e.select("core")[n].apply(null,r)},a=i();if(o())return t(a);var s=e.subscribe((function(){o()&&(s(),t(i()))}))}))}}))},_v=Ue.a.mark(xv);function wv(e,t){return{type:"RECEIVE_USER_QUERY",users:Object(N.castArray)(t),queryID:e}}function Ov(e){return{type:"RECEIVE_CURRENT_USER",currentUser:e}}function Sv(e){return{type:"ADD_ENTITIES",entities:e}}function Ev(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return D({},r?Xp(n,r):Zp(n),{kind:e,name:t,invalidateCache:o})}function Cv(e){return{type:"RECEIVE_THEME_SUPPORTS",themeSupports:e}}function Tv(e,t){return{type:"RECEIVE_EMBED_PREVIEW",url:e,preview:t}}function xv(e,t,n){var r,o,i,a,s;return Ue.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,Vv(e);case 2:if(r=c.sent,o=Object(N.find)(r,{kind:e,name:t})){c.next=6;break}return c.abrupt("return");case 6:return i=o.key||Rv,a=n[i],c.next=10,bv({path:"".concat(o.baseURL).concat(a?"/"+a:""),method:a?"PUT":"POST",data:n});case 10:return s=c.sent,c.next=13,Ev(e,t,s,void 0,!0);case 13:return c.abrupt("return",s);case 14:case"end":return c.stop()}}),_v)}function Dv(e){return{type:"RECEIVE_USER_PERMISSION",key:"create/media",isAllowed:e}}function Mv(e,t){return{type:"RECEIVE_USER_PERMISSION",key:e,isAllowed:t}}function jv(e,t){return{type:"RECEIVE_AUTOSAVES",postId:e,autosaves:Object(N.castArray)(t)}}var Iv=Ue.a.mark(zv),Pv=Ue.a.mark(Fv),Nv=Ue.a.mark(Vv),Rv="id",Lv=[{name:"postType",kind:"root",key:"slug",baseURL:"/wp/v2/types"},{name:"media",kind:"root",baseURL:"/wp/v2/media",plural:"mediaItems"},{name:"taxonomy",kind:"root",key:"slug",baseURL:"/wp/v2/taxonomies",plural:"taxonomies"},{name:"widgetArea",kind:"root",baseURL:"/__experimental/widget-areas",plural:"widgetAreas"}],Av=[{name:"postType",loadEntities:zv},{name:"taxonomy",loadEntities:Fv}];function zv(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/types?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(N.map)(e,(function(e,t){return{kind:"postType",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),Iv)}function Fv(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/taxonomies?context=edit"});case 2:return e=t.sent,t.abrupt("return",Object(N.map)(e,(function(e,t){return{kind:"taxonomy",baseURL:"/wp/v2/"+e.rest_base,name:t}})));case 4:case"end":return t.stop()}}),Pv)}var Hv=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"get",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Object(N.find)(Lv,{kind:e,name:t}),i="root"===e?"":Object(N.upperFirst)(Object(N.camelCase)(e)),a=Object(N.upperFirst)(Object(N.camelCase)(t))+(r?"s":""),s=r&&o.plural?Object(N.upperFirst)(Object(N.camelCase)(o.plural)):a;return"".concat(n).concat(i).concat(s)};function Vv(e){var t,n;return Ue.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,gv("getEntitiesByKind",e);case 2:if(!(t=r.sent)||0===t.length){r.next=5;break}return r.abrupt("return",t);case 5:if(n=Object(N.find)(Av,{name:e})){r.next=8;break}return r.abrupt("return",[]);case 8:return r.next=10,n.loadEntities();case 10:return t=r.sent,r.next=13,Sv(t);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}}),Nv)}function Bv(e,t,n,r){for(var o=(n-1)*r,i=Math.max(e.length,o+t.length),a=new Array(i),s=0;s<i;s++){var c=s>=o&&s<o+t.length;a[s]=c?t[s-o]:e[s]}return a}var Uv=function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:qe.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:qe.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+qe.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(s){i=s}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},s=0;s<a.length;s++){var c=a[s],l=n[c],u=e[c],d=l(u,t);if(void 0===d){var f=Xe(c,t);throw new Error(f)}o[c]=d,r=r||d!==u}return r?o:e}}({items:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_ITEMS":return D({},e,Object(N.keyBy)(t.items,t.key||Rv))}return e},queries:Object(N.flowRight)([$p((function(e){return"query"in e})),Gp((function(e){return e.query?D({},e,Qp(e.query)):e})),qp("stableKey")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.page,o=t.perPage,i=t.key,a=void 0===i?Rv:i;return"RECEIVE_ITEMS"!==n?e:Bv(e||[],Object(N.map)(t.items,a),r,o)}))});function Wv(e){return Object(N.flowRight)([$p((function(t){return t.name&&t.kind&&t.name===e.name&&t.kind===e.kind})),Gp((function(t){return D({},t,{key:e.key||Rv})}))])(Uv)}function Kv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lv,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_ENTITIES":return[].concat(ft(e),ft(t.entities))}return e}var Yv=Ve()({terms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TERMS":return D({},e,x({},t.taxonomy,t.terms))}return e},users:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{byId:{},queries:{}},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_QUERY":return{byId:D({},e.byId,Object(N.keyBy)(t.users,"id")),queries:D({},e.queries,x({},t.queryID,Object(N.map)(t.users,(function(e){return e.id}))))}}return e},currentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser}return e},taxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_TAXONOMIES":return t.taxonomies}return e},themeSupports:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_THEME_SUPPORTS":return D({},e,t.themeSupports)}return e},entities:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Kv(e.config,t),r=e.reducer;if(!r||n!==e.config){var o=Object(N.groupBy)(n,"kind");r=Ve()(Object.entries(o).reduce((function(e,t){var n=Fe(t,2),r=n[0],o=n[1],i=Ve()(o.reduce((function(e,t){return D({},e,x({},t.name,Wv(t)))}),{}));return e[r]=i,e}),{}))}var i=r(e.data,t);return i===e.data&&n===e.config&&r===e.reducer?e:{reducer:r,data:i,config:n}},embedPreviews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_EMBED_PREVIEW":var n=t.url,r=t.preview;return D({},e,x({},n,r))}return e},userPermissions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_USER_PERMISSION":return D({},e,x({},t.key,t.isAllowed))}return e},autosaves:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RECEIVE_AUTOSAVES":var n=t.postId,r=t.autosaves;return D({},e,x({},n,r))}return e}}),$v=Wp((function(e){return function(t,n){return e("core/data").isResolving("core","getEmbedPreview",[n])}}));function qv(e){return Zv(e,"authors")}function Gv(e){return e.currentUser}var Zv=ao((function(e,t){var n=e.users.queries[t];return Object(N.map)(n,(function(t){return e.users.byId[t]}))}),(function(e,t){return[e.users.queries[t],e.users.byId]}));function Xv(e,t){return Object(N.filter)(e.entities.config,{kind:t})}function Qv(e,t,n){return Object(N.find)(e.entities.config,{kind:t,name:n})}function Jv(e,t,n,r){return Object(N.get)(e.entities.data,[t,n,"items",r])}function em(e,t,n,r){var o=Object(N.get)(e.entities.data,[t,n]);return o?tv(o,r):[]}function tm(e){return e.themeSupports}function nm(e,t){return e.embedPreviews[t]}function rm(e,t){var n=e.embedPreviews[t],r='<a href="'+t+'">'+t+"</a>";return!!n&&n.html===r}function om(e){return zr("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),Object(N.defaultTo)(im(e,"create","media"),!0)}function im(e,t,n,r){var o=Object(N.compact)([t,n,r]).join("/");return Object(N.get)(e,["userPermissions",o])}function am(e,t,n){return e.autosaves[n]}function sm(e,t,n,r){if(void 0!==r){var o=e.autosaves[n];return Object(N.find)(o,{author:r})}}var cm=Wp((function(e){return function(t,n,r){return e("core").hasFinishedResolution("getAutosaves",[n,r])}})),lm=Ue.a.mark(ym),um=Ue.a.mark(km),dm=Ue.a.mark(_m),fm=Ue.a.mark(wm),hm=Ue.a.mark(Om),pm=Ue.a.mark(Sm),vm=Ue.a.mark(Em),mm=Ue.a.mark(Cm),bm=Ue.a.mark(Tm),gm=Ue.a.mark(xm);function ym(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/users/?who=authors&per_page=-1"});case 2:return e=t.sent,t.next=5,wv("authors",e);case 5:case"end":return t.stop()}}),lm)}function km(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/users/me"});case 2:return e=t.sent,t.next=5,Ov(e);case 5:case"end":return t.stop()}}),um)}function _m(e,t,n){var r,o,i;return Ue.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,Vv(e);case 2:if(r=a.sent,o=Object(N.find)(r,{kind:e,name:t})){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,bv({path:"".concat(o.baseURL,"/").concat(n,"?context=edit")});case 8:return i=a.sent,a.next=11,Ev(e,t,i);case 11:case"end":return a.stop()}}),dm)}function wm(e,t){var n,r,o,i,a,s=arguments;return Ue.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:{},c.next=3,Vv(e);case 3:if(r=c.sent,o=Object(N.find)(r,{kind:e,name:t})){c.next=7;break}return c.abrupt("return");case 7:return i=_e(o.baseURL,D({},n,{context:"edit"})),c.next=10,bv({path:i});case 10:return a=c.sent,c.next=13,Ev(e,t,Object.values(a),n);case 13:case"end":return c.stop()}}),fm)}function Om(){var e;return Ue.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,bv({path:"/wp/v2/themes?status=active"});case 2:return e=t.sent,t.next=5,Cv(e[0].theme_supports);case 5:case"end":return t.stop()}}),hm)}function Sm(e){var t;return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,bv({path:_e("/oembed/1.0/proxy",{url:e})});case 3:return t=n.sent,n.next=6,Tv(e,t);case 6:n.next=12;break;case 8:return n.prev=8,n.t0=n.catch(0),n.next=12,Tv(e,!1);case 12:case"end":return n.stop()}}),pm,null,[[0,8]])}function Em(){return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return zr("select( 'core' ).hasUploadPermissions()",{alternative:"select( 'core' ).canUser( 'create', 'media' )"}),e.delegateYield(Cm("create","media"),"t0",2);case 2:case"end":return e.stop()}}),vm)}function Cm(e,t,n){var r,o,i,a,s,c;return Ue.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(r={create:"POST",read:"GET",update:"PUT",delete:"DELETE"}[e]){l.next=4;break}throw new Error("'".concat(e,"' is not a valid action."));case 4:return o=n?"/wp/v2/".concat(t,"/").concat(n):"/wp/v2/".concat(t),l.prev=5,l.next=8,bv({path:o,method:n?"GET":"OPTIONS",parse:!1});case 8:i=l.sent,l.next=14;break;case 11:return l.prev=11,l.t0=l.catch(5),l.abrupt("return");case 14:return a=Object(N.hasIn)(i,["headers","get"])?i.headers.get("allow"):Object(N.get)(i,["headers","Allow"],""),s=Object(N.compact)([e,t,n]).join("/"),c=Object(N.includes)(a,r),l.next=19,Mv(s,c);case 19:case"end":return l.stop()}}),mm,null,[[5,11]])}function Tm(e,t){var n,r,o;return Ue.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,yv("getPostType",e);case 2:return n=i.sent,r=n.rest_base,i.next=6,bv({path:"/wp/v2/".concat(r,"/").concat(t,"/autosaves?context=edit")});case 6:if(!(o=i.sent)||!o.length){i.next=10;break}return i.next=10,jv(t,o);case 10:case"end":return i.stop()}}),bm)}function xm(e,t){return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,yv("getAutosaves",e,t);case 2:case"end":return n.stop()}}),gm)}wm.shouldInvalidate=function(e,t,n){return"RECEIVE_ITEMS"===e.type&&e.invalidateCache&&t===e.kind&&n===e.name};var Dm=Lv.reduce((function(e,t){var n=t.kind,r=t.name;return e[Hv(n,r)]=function(e,t){return Jv(e,n,r,t)},e[Hv(n,r,"get",!0)]=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return em.apply(g,[e,n,r].concat(o))},e}),{}),Mm=Lv.reduce((function(e,t){var n=t.kind,r=t.name;e[Hv(n,r)]=function(e){return _m(n,r,e)};var o=Hv(n,r,"get",!0);return e[o]=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return wm.apply(y,[n,r].concat(t))},e[o].shouldInvalidate=function(e){for(var t,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(t=wm).shouldInvalidate.apply(t,[e,n,r].concat(i))},e}),{});function jm(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Im(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function Pm(e,t){return Im(e)&&e.type===t}function Nm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!Pm(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Im(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Im(e)&&t(e),n(e)}),r)}))}}Yp("core",{reducer:Yv,controls:kv,actions:D({},b,Lv.reduce((function(e,t){var n=t.kind,r=t.name;return e[Hv(n,r,"save")]=function(e){return xv(n,r,e)},e}),{})),selectors:D({},g,Dm),resolvers:D({},y,Mm)});var Rm=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},Lm=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},Am=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),zm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return Am(e,t)}return e};function Fm(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function Hm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==Fm(e,t,n)}function Vm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===Fm(e,t,n)}function Bm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===Fm(e,t,n)}function Um(e){return e}function Wm(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Km(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Ym(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function $m(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function qm(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function Gm(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[Lm(n,e),Rm];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=Nm(e,t.dispatch);return function(e){return function(t){return jm(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:zm,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},_,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(k,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!Hm(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(Wm(o,a)),e.next=9,Zm.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Km(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function Zm(e,t,n){return Xm.apply(this,arguments)}function Xm(){return(Xm=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Qm=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};var Jm,eb,tb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=Gm(e,t,u);return l(e,n),n.store},l("core/data",Qm(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}(),nb={getItem:function(e){return Jm&&Jm[e]?Jm[e]:null},setItem:function(e,t){Jm||nb.clear(),Jm[e]=String(t)},clear:function(){Jm=Object.create(null)}},rb=nb;try{(eb=window.localStorage).setItem("__wpDataTestLocalStorage",""),eb.removeItem("__wpDataTestLocalStorage")}catch(hE){eb=rb}var ob=eb;function ib(e){var t,n=e.storage,r=void 0===n?ob:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ab=function(e,t){var n=ib(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};ab.__unstableMigrate=function(e){var t=ib(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var sb=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},cb=function(e){return sb((function(t){return function(n){return e(n)?Object(I.createElement)(t,n):null}}),"ifCondition")},lb=sb((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());sb((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),sb((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var ub=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,db=Object(I.createContext)(tb),fb=db.Consumer,hb=(db.Provider,fb);function pb(){return Object(I.useContext)(db)}var vb=Object(I.createContext)(!1);vb.Consumer,vb.Provider;var mb="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,bb=function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);ub(r)};return{add:function(o,i){t.has(o)||e.push(o),t.set(o,i),n||(n=!0,ub(r))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}();function gb(e,t){var n,r=Object(I.useCallback)(e,t),o=pb(),i=Object(I.useContext)(vb),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Fe(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(hE){var h="An error occurred while running 'mapSelect': ".concat(hE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return mb((function(){c.current=r,l.current!==i&&(l.current=i,bb.flush(a)),u.current=n,d.current=void 0,f.current=!0})),mb((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(Wn.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(hE){d.current=hE}s({})}};l.current?bb.add(a,e):e();var t=o.subscribe((function(){l.current?bb.add(a,e):e()}));return function(){f.current=!1,t(),bb.flush(a)}}),[o]),n}var yb=function(e){return sb((function(t){return lb((function(n){var r=gb((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Le({},n,r))}))}),"withSelect")};"undefined"!=typeof window?I.useLayoutEffect:I.useEffect,sb((function(e){return function(t){return Object(I.createElement)(hb,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");tb.select;var kb=tb.dispatch,_b=(tb.subscribe,tb.registerGenericStore,tb.registerStore);tb.use;function wb(e){return{type:"SET_IS_MATCHING",values:e}}function Ob(e,t){return-1===t.indexOf(" ")&&(t=">= "+t),!!e[t]}_b("core/viewport",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_IS_MATCHING":return t.values}return e},actions:w,selectors:O});var Sb=function(e){return sb(yb((function(t){return Object(N.mapValues)(e,(function(e){return t("core/viewport").isViewportMatch(e)}))})),"withViewportMatch")},Eb=function(e){return sb(Object(N.flowRight)([Sb({isViewportMatch:e}),cb((function(e){return e.isViewportMatch}))]),"ifViewportMatches")},Cb={"<":"max-width",">=":"min-width"},Tb=Object(N.debounce)((function(){var e=Object(N.mapValues)(xb,(function(e){return e.matches}));kb("core/viewport").setIsMatching(e)}),{leading:!0}),xb=Object(N.reduce)({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},(function(e,t,n){return Object(N.forEach)(Cb,(function(r,o){var i=window.matchMedia("(".concat(r,": ").concat(t,"px)"));i.addListener(Tb);var a=[o,n].join(" ");e[a]=i})),e}),{});function Db(e){return!!e&&"Generator"===e[Symbol.toStringTag]}function Mb(e){return Object(N.isPlainObject)(e)&&Object(N.isString)(e.type)}function jb(e,t){return Mb(e)&&e.type===t}function Ib(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Object(N.map)(e,(function(e,t){return function(n,r,o,i,a){if(!jb(n,t))return!1;var s=e(n);return at()(s)?s.then(i,a):i(s),!0}})),r=function(e,n){return!!Mb(e)&&(t(e),n(),!0)};n.push(r);var o=Object(ot.create)(n);return function(e){return new Promise((function(n,r){return o(e,(function(e){Mb(e)&&t(e),n(e)}),r)}))}}window.addEventListener("orientationchange",Tb),Tb(),Tb.flush();var Pb=function(){return function(e){return function(t){return at()(t)?t.then((function(t){if(t)return e(t)})):e(t)}}},Nb=function(e,t){return function(){return function(n){return function(r){var o=e.select("core/data").getCachedResolvers(t);return Object.entries(o).forEach((function(n){var o=Fe(n,2),i=o[0],a=o[1],s=Object(N.get)(e.stores,[t,"resolvers",i]);s&&s.shouldInvalidate&&a.forEach((function(n,o){!1===n&&s.shouldInvalidate.apply(s,[r].concat(ft(o)))&&e.dispatch("core/data").invalidateResolution(t,i,o)}))})),n(r)}}}},Rb=Object(N.flowRight)([function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=r[e];if(void 0===o)return n;var i=t(n[o],r);return i===n[o]?n:D({},n,x({},o,i))}}}("selectorName")])((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new mt.a,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_RESOLUTION":case"FINISH_RESOLUTION":var n="START_RESOLUTION"===t.type,r=new mt.a(e);return r.set(t.args,n),r;case"INVALIDATE_RESOLUTION":var o=new mt.a(e);return o.delete(t.args),o}return e})),Lb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INVALIDATE_RESOLUTION_FOR_STORE":return{};case"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR":return Object(N.has)(e,[t.selectorName])?Object(N.omit)(e,[t.selectorName]):e;case"START_RESOLUTION":case"FINISH_RESOLUTION":case"INVALIDATE_RESOLUTION":return Rb(e,t)}return e};function Ab(e,t,n){var r=Object(N.get)(e,[t]);if(r)return r.get(n)}function zb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return void 0!==Ab(e,t,n)}function Fb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!1===Ab(e,t,n)}function Hb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return!0===Ab(e,t,n)}function Vb(e){return e}function Bb(e,t){return{type:"START_RESOLUTION",selectorName:e,args:t}}function Ub(e,t){return{type:"FINISH_RESOLUTION",selectorName:e,args:t}}function Wb(e,t){return{type:"INVALIDATE_RESOLUTION",selectorName:e,args:t}}function Kb(){return{type:"INVALIDATE_RESOLUTION_FOR_STORE"}}function Yb(e){return{type:"INVALIDATE_RESOLUTION_FOR_STORE_SELECTOR",selectorName:e}}function $b(e,t,n){var r,o=t.reducer,i=function(e,t,n){var r=[Nb(n,e),Pb];if(t.controls){var o=Object(N.mapValues)(t.controls,(function(e){return e.isRegistryControl?e(n):e}));r.push(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=Ib(e,t.dispatch);return function(e){return function(t){return Db(t)?n(t):e(t)}}}}(o))}var i=[nt.apply(void 0,r)];"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&i.push(window.__REDUX_DEVTOOLS_EXTENSION__({name:e,instanceId:e}));var a=t.reducer,s=t.initialState;return Ze(Ve()({metadata:Lb,root:a}),{root:s},Object(N.flowRight)(i))}(e,t,n),a=function(e,t){return Object(N.mapValues)(e,(function(e){return function(){return Promise.resolve(t.dispatch(e.apply(void 0,arguments)))}}))}(D({},E,t.actions),i),s=function(e,t,n){return Object(N.mapValues)(e,(function(e){var r=e.isRegistrySelector?e(n.select):e,o=function(){var e=arguments.length,n=new Array(e+1);n[0]=t.__unstableOriginalGetState();for(var o=0;o<e;o++)n[o+1]=arguments[o];return r.apply(void 0,n)};return o.hasResolver=!1,o}))}(D({},Object(N.mapValues)(S,(function(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.metadata].concat(r))}})),Object(N.mapValues)(t.selectors,(function(e){if(e.isRegistrySelector){var t=function(t){return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t).apply(void 0,[n.root].concat(o))}};return t.isRegistrySelector=e.isRegistrySelector,t}return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.apply(void 0,[t.root].concat(r))}}))),i,n);if(t.resolvers){var c=function(e,t,n){var r=Object(N.mapValues)(e,(function(e){var t=e.fulfill;return D({},e,{fulfill:void 0===t?e:t})}));return{resolvers:r,selectors:Object(N.mapValues)(t,(function(t,o){var i=e[o];if(!i)return t.hasResolver=!1,t;var a=function(){for(var e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];function c(){return l.apply(this,arguments)}function l(){return(l=Ke(Ue.a.mark((function e(){var t,s;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.getState(),"function"!=typeof i.isFulfilled||!i.isFulfilled.apply(i,[t].concat(a))){e.next=3;break}return e.abrupt("return");case 3:if(s=n.__unstableOriginalGetState(),!zb(s.metadata,o,a)){e.next=6;break}return e.abrupt("return");case 6:return n.dispatch(Bb(o,a)),e.next=9,qb.apply(void 0,[n,r,o].concat(a));case 9:n.dispatch(Ub(o,a));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return c.apply(void 0,a),t.apply(void 0,a)};return a.hasResolver=!0,a}))}}(t.resolvers,s,i);r=c.resolvers,s=c.selectors}i.__unstableOriginalGetState=i.getState,i.getState=function(){return i.__unstableOriginalGetState().root};var l=i&&function(e){var t=i.__unstableOriginalGetState();i.subscribe((function(){var n=i.__unstableOriginalGetState(),r=n!==t;t=n,r&&e()}))};return{reducer:o,store:i,actions:a,selectors:s,resolvers:r,getSelectors:function(){return s},getActions:function(){return a},subscribe:l}}function qb(e,t,n){return Gb.apply(this,arguments)}function Gb(){return(Gb=Ke(Ue.a.mark((function e(t,n,r){var o,i,a,s,c,l=arguments;return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Object(N.get)(n,[r])){e.next=3;break}return e.abrupt("return");case 3:for(i=l.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=l[s];if(!(c=o.fulfill.apply(o,a))){e.next=8;break}return e.next=8,t.dispatch(c);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Zb=function(e){return{getSelectors:function(){return["getIsResolving","hasStartedResolution","hasFinishedResolution","isResolving","getCachedResolvers"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.select(n))[t].apply(r,i)}}(n)))}),{})},getActions:function(){return["startResolution","finishResolution","invalidateResolution","invalidateResolutionForStore","invalidateResolutionForStoreSelector"].reduce((function(t,n){return D({},t,x({},n,function(t){return function(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.dispatch(n))[t].apply(r,i)}}(n)))}),{})},subscribe:function(){return function(){}}}};function Xb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={},r=[];function o(){r.forEach((function(e){return e()}))}var i=function(e){return r.push(e),function(){r=Object(N.without)(r,e)}};function a(e){var r=n[e];return r?r.getSelectors():t&&t.select(e)}function s(e){var r=n[e];return r?r.getActions():t&&t.dispatch(e)}function c(e){return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e?e:function(){return u[t].apply(null,arguments)}}))}function l(e,t){if("function"!=typeof t.getSelectors)throw new TypeError("config.getSelectors must be a function");if("function"!=typeof t.getActions)throw new TypeError("config.getActions must be a function");if("function"!=typeof t.subscribe)throw new TypeError("config.subscribe must be a function");n[e]=t,t.subscribe(o)}var u={registerGenericStore:l,stores:n,namespaces:n,subscribe:i,select:a,dispatch:s,use:d};function d(e,t){return u=D({},u,e(u,t))}return u.registerStore=function(e,t){if(!t.reducer)throw new TypeError("Must specify store reducer");var n=$b(e,t,u);return l(e,n),n.store},l("core/data",Zb(u)),Object.entries(e).forEach((function(e){var t=Fe(e,2),n=t[0],r=t[1];return u.registerStore(n,r)})),t&&t.subscribe(o),c(u)}var Qb,Jb,eg=Xb(),tg={getItem:function(e){return Qb&&Qb[e]?Qb[e]:null},setItem:function(e,t){Qb||tg.clear(),Qb[e]=String(t)},clear:function(){Qb=Object.create(null)}},ng=tg;try{(Jb=window.localStorage).setItem("__wpDataTestLocalStorage",""),Jb.removeItem("__wpDataTestLocalStorage")}catch(hE){Jb=ng}var rg=Jb;function og(e){var t,n=e.storage,r=void 0===n?rg:n,o=e.storageKey,i=void 0===o?"WP_DATA":o;return{get:function(){if(void 0===t){var e=r.getItem(i);if(null===e)t={};else try{t=JSON.parse(e)}catch(hE){t={}}}return t},set:function(e,n){t=D({},t,x({},e,n)),r.setItem(i,JSON.stringify(t))}}}var ig=function(e,t){var n=og(t);return{registerStore:function(t,r){if(!r.persist)return e.registerStore(t,r);var o=n.get()[t];if(void 0!==o){var i=r.reducer(void 0,{type:"@@WP/PERSISTENCE_RESTORE"});r=D({},r,{initialState:i=Object(N.isPlainObject)(i)&&Object(N.isPlainObject)(o)?Object(N.merge)({},i,o):o})}var a=e.registerStore(t,r);return a.subscribe(function(e,t,r){var o,i;if(Array.isArray(r)){var a=r.reduce((function(e,t){return Object.assign(e,x({},t,(function(e,n){return n.nextState[t]})))}),{});i=Ve()(a),o=function(e,t){return t.nextState===e?e:i(e,t)}}else o=function(e,t){return t.nextState};var s=o(void 0,{nextState:e()});return function(){var r=o(s,{nextState:e()});r!==s&&(n.set(t,r),s=r)}}(a.getState,t,r.persist)),a}}};ig.__unstableMigrate=function(e){var t=og(e),n=Object(N.get)(t.get(),["core/editor","preferences","insertUsage"]);n&&t.set("core/block-editor",{preferences:{insertUsage:n}})};var ag=function(e,t){return function(n){var r=e(n),o=n.displayName,i=void 0===o?n.name||"Component":o;return r.displayName="".concat(Object(N.upperFirst)(Object(N.camelCase)(t)),"(").concat(i,")"),r}},sg=function(e){return ag((function(t){return function(n){return e(n)?Object(I.createElement)(t,n):null}}),"ifCondition")},cg=ag((function(e){return e.prototype instanceof I.Component?function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e,t){return!Kn()(e,this.props)||!Kn()(t,this.state)}}]),t}(e):function(t){function n(){return Ee(this,n),De(this,Me(n).apply(this,arguments))}return Ie(n,t),Te(n,[{key:"shouldComponentUpdate",value:function(e){return!Kn()(e,this.props)}},{key:"render",value:function(){return Object(I.createElement)(e,this.props)}}]),n}(I.Component)}),"pure");new(function(){function e(){Ee(this,e),this.listeners={},this.handleEvent=this.handleEvent.bind(this)}return Te(e,[{key:"add",value:function(e,t){this.listeners[e]||(window.addEventListener(e,this.handleEvent),this.listeners[e]=[]),this.listeners[e].push(t)}},{key:"remove",value:function(e,t){this.listeners[e]=Object(N.without)(this.listeners[e],t),this.listeners[e].length||(window.removeEventListener(e,this.handleEvent),delete this.listeners[e])}},{key:"handleEvent",value:function(e){Object(N.forEach)(this.listeners[e.type],(function(t){t.handleEvent(e)}))}}]),e}());var lg=ag((function(e){var t=0;return(function(n){function r(){var e;return Ee(this,r),(e=De(this,Me(r).apply(this,arguments))).instanceId=t++,e}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{instanceId:this.instanceId}))}}]),r}(I.Component))}),"withInstanceId"),ug=ag((function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).apply(this,arguments))).timeouts=[],e.setTimeout=e.setTimeout.bind(xe(e)),e.clearTimeout=e.clearTimeout.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentWillUnmount",value:function(){this.timeouts.forEach(clearTimeout)}},{key:"setTimeout",value:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var n=this,r=setTimeout((function(){e(),n.clearTimeout(r)}),t);return this.timeouts.push(r),r}))},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){clearTimeout(e),this.timeouts=Object(N.without)(this.timeouts,e)}))},{key:"render",value:function(){return Object(I.createElement)(e,Le({},this.props,{setTimeout:this.setTimeout,clearTimeout:this.clearTimeout}))}}]),n}(I.Component)}),"withSafeTimeout");var dg=window.requestIdleCallback?window.requestIdleCallback:window.requestAnimationFrame,fg=Object(I.createContext)(eg),hg=fg.Consumer,pg=fg.Provider,vg=hg,mg=pg;function bg(){return Object(I.useContext)(fg)}var gg=Object(I.createContext)(!1),yg=(gg.Consumer,gg.Provider);var kg="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,_g=function(){var e=[],t=new WeakMap,n=!1,r=function r(o){do{if(0===e.length)return void(n=!1);var i=e.shift();t.get(i)(),t.delete(i)}while(o&&o.timeRemaining&&o.timeRemaining()>0);dg(r)};return{add:function(o,i){t.has(o)||e.push(o),t.set(o,i),n||(n=!0,dg(r))},flush:function(n){if(!t.has(n))return!1;t.delete(n);var r=e.indexOf(n);return e.splice(r,1),!0}}}();function wg(e,t){var n,r=Object(I.useCallback)(e,t),o=bg(),i=Object(I.useContext)(gg),a=Object(I.useMemo)((function(){return{queue:!0}}),[o]),s=Fe(Object(I.useReducer)((function(e){return e+1}),0),2)[1],c=Object(I.useRef)(),l=Object(I.useRef)(i),u=Object(I.useRef)(),d=Object(I.useRef)(),f=Object(I.useRef)();try{n=c.current!==r||d.current?r(o.select,o):u.current}catch(hE){var h="An error occurred while running 'mapSelect': ".concat(hE.message);if(d.current)throw h+="\nThe error may be correlated with this previous error:\n",h+="".concat(d.current.stack,"\n\n"),h+="Original stack trace:",new Error(h)}return kg((function(){c.current=r,l.current!==i&&(l.current=i,_g.flush(a)),u.current=n,d.current=void 0,f.current=!0})),kg((function(){var e=function(){if(f.current){try{var e=c.current(o.select,o);if(Object(Wn.isShallowEqualObjects)(u.current,e))return;u.current=e}catch(hE){d.current=hE}s({})}};l.current?_g.add(a,e):e();var t=o.subscribe((function(){l.current?_g.add(a,e):e()}));return function(){f.current=!1,t(),_g.flush(a)}}),[o]),n}var Og=function(e){return ag((function(t){return cg((function(n){var r=wg((function(t,r){return e(t,n,r)}));return Object(I.createElement)(t,Le({},n,r))}))}),"withSelect")},Sg="undefined"!=typeof window?I.useLayoutEffect:I.useEffect,Eg=function(e,t){var n=bg(),r=Object(I.useRef)(e);return Sg((function(){r.current=e})),Object(I.useMemo)((function(){var e=r.current(n.dispatch,n);return Object(N.mapValues)(e,(function(e,t){return"function"!=typeof e&&console.warn("Property ".concat(t," returned from dispatchMap in useDispatchWithMap must be a function.")),function(){var e;return(e=r.current(n.dispatch,n))[t].apply(e,arguments)}}))}),[n].concat(ft(t)))},Cg=function(e){return ag((function(t){return function(n){var r=Eg((function(t,r){return e(t,n,r)}),[]);return Object(I.createElement)(t,Le({},n,r))}}),"withDispatch")},Tg=ag((function(e){return function(t){return Object(I.createElement)(vg,null,(function(n){return Object(I.createElement)(e,Le({},t,{registry:n}))}))}}),"withRegistry");eg.select,eg.dispatch,eg.subscribe,eg.registerGenericStore;var xg=eg.registerStore,Dg=(eg.use,{insertUsage:{}}),Mg={alignWide:!1,colors:[{name:ve("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:ve("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:ve("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:ve("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:ve("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:ve("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:ve("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:ve("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:ve("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:ve("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:ve("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:be("Small","font size name"),size:13,slug:"small"},{name:be("Normal","font size name"),size:16,slug:"normal"},{name:be("Medium","font size name"),size:20,slug:"medium"},{name:be("Large","font size name"),size:36,slug:"large"},{name:be("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:ve("Thumbnail")},{slug:"medium",label:ve("Medium")},{slug:"large",label:ve("Large")},{slug:"full",label:ve("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1};function jg(e,t,n){return[].concat(ft(e.slice(0,n)),ft(Object(N.castArray)(t)),ft(e.slice(n)))}function Ig(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=ft(e);return o.splice(t,r),jg(o,e.slice(t,t+r),n)}function Pg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=x({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,Pg(o,r))})),n}function Ng(e,t){for(var n={},r=ft(e);r.length;){var o=r.shift(),i=o.innerBlocks,a=j(o,["innerBlocks"]);r.push.apply(r,ft(i)),n[a.clientId]=t(a)}return n}function Rg(e){return Ng(e,(function(e){return Object(N.omit)(e,"attributes")}))}function Lg(e){return Ng(e,(function(e){return e.attributes}))}function Ag(e,t){return e===t?D({},e):t}function zg(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(N.isEqual)(Object(N.keys)(n),Object(N.keys)(r)));var n,r}var Fg=Object(N.flow)(Ve.a,(function(e){return function(t,n){if(t&&"REMOVE_BLOCKS"===n.type){for(var r=ft(n.clientIds),o=0;o<r.length;o++)r.push.apply(r,ft(t.order[r[o]]));n=D({},n,{clientIds:r})}return e(t,n)}}),(function(e){return function(t,n){if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);var r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",clientIds:t.order[n.rootClientId]}));var o=r;return n.blocks.length&&(o=e(o,D({},n,{type:"INSERT_BLOCKS",index:0}))),o}}),(function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(N.reduce)(t[n],(function(n,r){return[].concat(ft(n),[r],ft(e(t,r)))}),[])}(t.order);return D({},t,{byClientId:D({},Object(N.omit)(t.byClientId,r),Rg(n.blocks)),attributes:D({},Object(N.omit)(t.attributes,r),Lg(n.blocks)),order:D({},Object(N.omit)(t.order,r),Pg(n.blocks))})}return e(t,n)}}),(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=D({},t)).attributes=Object(N.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?D({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){var t;return function(n,r){var o=e(n,r),i="MARK_LAST_CHANGE_AS_PERSISTENT"===r.type;if(n===o&&!i){var a=Object(N.get)(n,["isPersistentChange"],!0);return n.isPersistentChange===a?n:D({},o,{isPersistentChange:a})}return o=D({},o,{isPersistentChange:i||!zg(r,t)}),t=r,o}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Rg(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Rg(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(N.omit)(t.updates,"attributes");return Object(N.isEmpty)(n)?e:D({},e,x({},t.clientId,D({},e[t.clientId],n)));case"INSERT_BLOCKS":return D({},e,Rg(t.blocks));case"REPLACE_BLOCKS":return t.blocks?D({},Object(N.omit)(e,t.clientIds),Rg(t.blocks)):e;case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Lg(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Lg(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?D({},e,x({},t.clientId,D({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(N.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Ag(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:D({},e,x({},t.clientId,n));case"INSERT_BLOCKS":return D({},e,Lg(t.blocks));case"REPLACE_BLOCKS":return t.blocks?D({},Object(N.omit)(e,t.clientIds),Lg(t.blocks)):e;case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Pg(t.blocks);case"RECEIVE_BLOCKS":return D({},e,Object(N.omit)(Pg(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Pg(t.blocks,r),a=t.index,s=void 0===a?o.length:a;return D({},e,i,x({},r,jg(o,i[r],s)));case"MOVE_BLOCK_TO_POSITION":var c,l=t.fromRootClientId,u=void 0===l?"":l,d=t.toRootClientId,f=void 0===d?"":d,h=t.clientId,p=t.index,v=void 0===p?e[f].length:p;if(u===f){var m=e[f],b=m.indexOf(h);return D({},e,x({},f,Ig(e[f],b,v)))}return D({},e,(x(c={},u,Object(N.without)(e[u],h)),x(c,f,jg(e[f],h,v)),c));case"MOVE_BLOCKS_UP":var g=t.clientIds,y=t.rootClientId,k=void 0===y?"":y,_=Object(N.first)(g),w=e[k];if(!w.length||_===Object(N.first)(w))return e;var O=w.indexOf(_);return D({},e,x({},k,Ig(w,O,O-1,g.length)));case"MOVE_BLOCKS_DOWN":var S=t.clientIds,E=t.rootClientId,C=void 0===E?"":E,T=Object(N.first)(S),M=Object(N.last)(S),j=e[C];if(!j.length||M===Object(N.last)(j))return e;var I=j.indexOf(T);return D({},e,x({},C,Ig(j,I,I+1,S.length)));case"REPLACE_BLOCKS":var P=t.clientIds;if(!t.blocks)return e;var R=Pg(t.blocks);return Object(N.flow)([function(e){return Object(N.omit)(e,P)},function(e){return D({},e,Object(N.omit)(R,""))},function(e){return Object(N.mapValues)(e,(function(e){return Object(N.reduce)(e,(function(e,t){return t===P[0]?[].concat(ft(e),ft(R[""])):(-1===P.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS":return Object(N.flow)([function(e){return Object(N.omit)(e,t.clientIds)},function(e){return Object(N.mapValues)(e,(function(e){return N.without.apply(void 0,[e].concat(ft(t.clientIds)))}))}])(e)}return e}});var Hg={},Vg={start:Hg,end:Hg,isMultiSelecting:!1,isEnabled:!0,initialPosition:null};var Bg=Ve()({blocks:Fg,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},blockSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return Vg;case"START_MULTI_SELECT":return e.isMultiSelecting?e:D({},e,{isMultiSelecting:!0,initialPosition:null});case"STOP_MULTI_SELECT":return e.isMultiSelecting?D({},e,{isMultiSelecting:!1,initialPosition:null}):e;case"MULTI_SELECT":return D({},Vg,{isMultiSelecting:e.isMultiSelecting,start:{clientId:t.start},end:{clientId:t.end}});case"SELECT_BLOCK":return t.clientId===e.start.clientId&&t.clientId===e.end.clientId?e:D({},Vg,{initialPosition:t.initialPosition,start:{clientId:t.clientId},end:{clientId:t.clientId}});case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?D({},Vg,{start:{clientId:t.blocks[0].clientId},end:{clientId:t.blocks[0].clientId}}):e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.start.clientId)?Vg:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.start.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.start.clientId&&r.clientId===e.end.clientId?e:D({},Vg,{start:{clientId:r.clientId},end:{clientId:r.clientId}}):Vg;case"TOGGLE_SELECTION":return D({},Vg,{isEnabled:t.isSelectionEnabled});case"SELECTION_CHANGE":return D({},Vg,{start:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},end:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}})}return e},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return D({},e,x({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(N.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(N.isEqual)(e[n],t.settings)?e:D({},e,x({},n,t.settings)):e.hasOwnProperty(n)?Object(N.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return D({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Mg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return D({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return kd(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),D({},e,{insertUsage:D({},e.insertUsage,x({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e}}),Ug=n(136),Wg=n.n(Ug),Kg=n(137),Yg=n.n(Kg);function $g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"SELECT",storeName:e,selectorName:t,args:r}}var qg,Gg={SELECT:(qg=function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,ft(i))}},qg.isRegistryControl=!0,qg)},Zg=Ue.a.mark(ry),Xg=Ue.a.mark(ly),Qg=Ue.a.mark(uy),Jg=Ue.a.mark(my),ey=Ue.a.mark(_y),ty=Ue.a.mark(Oy),ny=Ue.a.mark(Dy);function ry(){return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$g("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,zy();case 6:case"end":return e.stop()}}),Zg)}function oy(e){return{type:"RESET_BLOCKS",blocks:e}}function iy(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function ay(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function sy(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function cy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function ly(e){var t;return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,$g("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,cy(t,-1);case 6:case"end":return n.stop()}}),Xg)}function uy(e){var t;return Ue.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,$g("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,cy(t);case 6:case"end":return n.stop()}}),Qg)}function dy(){return{type:"START_MULTI_SELECT"}}function fy(){return{type:"STOP_MULTI_SELECT"}}function hy(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function py(){return{type:"CLEAR_SELECTED_BLOCK"}}function vy(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function my(e,t,n){var r,o,i;return Ue.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return e=Object(N.castArray)(e),t=Object(N.castArray)(t),a.next=4,$g("core/block-editor","getBlockRootClientId",Object(N.first)(e));case 4:r=a.sent,o=0;case 6:if(!(o<t.length)){a.next=16;break}return i=t[o],a.next=10,$g("core/block-editor","canInsertBlockType",i.name,r);case 10:if(a.sent){a.next=13;break}return a.abrupt("return");case 13:o++,a.next=6;break;case 16:return a.next=18,{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n};case 18:return a.delegateYield(ry(),"t0",19);case 19:case"end":return a.stop()}}),Jg)}function by(e,t){return my(e,t)}function gy(e){return function(t,n){return{clientIds:Object(N.castArray)(t),type:e,rootClientId:n}}}var yy=gy("MOVE_BLOCKS_DOWN"),ky=gy("MOVE_BLOCKS_UP");function _y(e){var t,n,r,o,i,a=arguments;return Ue.a.wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=a.length>1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,s.next=5,$g("core/block-editor","getTemplateLock",t);case 5:if("all"!==s.sent){s.next=8;break}return s.abrupt("return");case 8:if(o={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){s.next=13;break}return s.next=12,o;case 12:return s.abrupt("return");case 13:return s.next=15,$g("core/block-editor","getBlockName",e);case 15:return i=s.sent,s.next=18,$g("core/block-editor","canInsertBlockType",i,n);case 18:if(!s.sent){s.next=22;break}return s.next=22,o;case 22:case"end":return s.stop()}}),ey)}function wy(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Oy([e],t,n,r)}function Oy(e,t,n){var r,o,i,a,s,c,l,u,d=arguments;return Ue.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:r=!(d.length>3&&void 0!==d[3])||d[3],e=Object(N.castArray)(e),o=[],i=!0,a=!1,s=void 0,f.prev=6,c=e[Symbol.iterator]();case 8:if(i=(l=c.next()).done){f.next=17;break}return u=l.value,f.next=12,$g("core/block-editor","canInsertBlockType",u.name,n);case 12:f.sent&&o.push(u);case 14:i=!0,f.next=8;break;case 17:f.next=23;break;case 19:f.prev=19,f.t0=f.catch(6),a=!0,s=f.t0;case 23:f.prev=23,f.prev=24,i||null==c.return||c.return();case 26:if(f.prev=26,!a){f.next=29;break}throw s;case 29:return f.finish(26);case 30:return f.finish(23);case 31:if(!o.length){f.next=33;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 33:case"end":return f.stop()}}),ty,null,[[6,19,23,31],[24,,26,30]])}function Sy(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Ey(){return{type:"HIDE_INSERTION_POINT"}}function Cy(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Ty(){return{type:"SYNCHRONIZE_TEMPLATE"}}function xy(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Dy(e){var t,n=arguments;return Ue.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=!(n.length>1&&void 0!==n[1])||n[1],e=Object(N.castArray)(e),!t){r.next=5;break}return r.next=5,ly(e[0]);case 5:return r.next=7,{type:"REMOVE_BLOCKS",clientIds:e};case 7:return r.delegateYield(ry(),"t0",8);case 8:case"end":return r.stop()}}),ny)}function My(e,t){return Dy([e],t)}function jy(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function Iy(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Py(){return{type:"START_TYPING"}}function Ny(){return{type:"STOP_TYPING"}}function Ry(){return{type:"ENTER_FORMATTED_TEXT"}}function Ly(){return{type:"EXIT_FORMATTED_TEXT"}}function Ay(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function zy(e,t,n){var r=vd();if(r)return wy(wd(r,e),n,t)}function Fy(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Hy(e){return{type:"UPDATE_SETTINGS",settings:e}}function Vy(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function By(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}var Uy=3,Wy=2,Ky=1,Yy=0,$y=[],qy={},Gy=ao((function(){return[]}),(function(e,t){return Object(N.map)(Ik(e,t),(function(t){return Jy(e,t)}))}));function Zy(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function Xy(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}var Qy=ao((function(e,t){var n=e.blocks.byClientId[t];if(!n)return null;var r=e.blocks.attributes[t],o=md(n.name);return o&&(r=Object(N.reduce)(o.attributes,(function(t,n,o){return"meta"===n.source&&(t===r&&(t=D({},t)),t[o]=i_(e,n.meta)),t}),r)),r}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t],i_(e)]})),Jy=ao((function(e,t){var n=e.blocks.byClientId[t];return n?D({},n,{attributes:Qy(e,t),innerBlocks:tk(e,t)}):null}),(function(e,t){return[].concat(ft(Qy.getDependants(e,t)),[Gy(e,t)])})),ek=ao((function(e,t){var n=e.blocks.byClientId[t];return n?D({},n,{attributes:Qy(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t]].concat(ft(Qy.getDependants(e,t)))})),tk=ao((function(e,t){return Object(N.map)(Ik(e,t),(function(t){return Jy(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),nk=function e(t,n){return Object(N.flatMap)(n,(function(n){var r=Ik(t,n);return[].concat(ft(r),ft(e(t,r)))}))},rk=ao((function(e){var t=Ik(e);return[].concat(ft(t),ft(nk(e,t)))}),(function(e){return[e.blocks.order]})),ok=ao((function(e,t){var n=rk(e);return t?Object(N.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),ik=ao((function(e,t){return Object(N.map)(Object(N.castArray)(t),(function(t){return Jy(e,t)}))}),(function(e){return[i_(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function ak(e,t){return Ik(e,t).length}function sk(e){return e.blockSelection.start}function ck(e){return e.blockSelection.end}function lk(e){return e.blockSelection.start.clientId}function uk(e){return e.blockSelection.end.clientId}function dk(e){var t=wk(e).length;return t||(e.blockSelection.start.clientId?1:0)}function fk(e){var t=e.blockSelection,n=t.start,r=t.end;return!!n.clientId&&n.clientId===r.clientId}function hk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId&&n.clientId===r.clientId&&e.blocks.byClientId[n.clientId]?n.clientId:null}function pk(e){var t=hk(e);return t?Jy(e,t):null}var vk=ao((function(e,t){var n=e.blocks.order;for(var r in n)if(Object(N.includes)(n[r],t))return r;return null}),(function(e){return[e.blocks.order]})),mk=ao((function(e,t){for(var n=t,r=t;n;)n=vk(e,r=n);return r}),(function(e){return[e.blocks.order]}));function bk(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=hk(e)),void 0===t&&(t=n<0?Sk(e):Ek(e)),!t)return null;var r=vk(e,t);if(null===r)return null;var o=e.blocks.order,i=o[r],a=i.indexOf(t),s=a+1*n;return s<0?null:s===i.length?null:i[s]}function gk(e,t){return bk(e,t,-1)}function yk(e,t){return bk(e,t,1)}function kk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId&&n.clientId?e.blockSelection.initialPosition:null}var _k=ao((function(e){var t=e.blockSelection,n=t.start,r=t.end;if(void 0===n.clientId||void 0===r.clientId)return $y;if(n.clientId===r.clientId)return[n.clientId];var o=vk(e,n.clientId);if(null===o)return $y;var i=Ik(e,o),a=i.indexOf(n.clientId),s=i.indexOf(r.clientId);return a>s?i.slice(s,a+1):i.slice(a,s+1)}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function wk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?$y:_k(e)}var Ok=ao((function(e){var t=wk(e);return t.length?t.map((function(t){return Jy(e,t)})):$y}),(function(e){return[].concat(ft(_k.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes,i_(e)])}));function Sk(e){return Object(N.first)(wk(e))||null}function Ek(e){return Object(N.last)(wk(e))||null}var Ck=ao((function(e,t,n){for(var r=n;t!==r&&r;)r=vk(e,r);return t===r}),(function(e){return[e.blocks.order]}));function Tk(e,t){return Sk(e)===t}function xk(e,t){return-1!==wk(e).indexOf(t)}var Dk=ao((function(e,t){for(var n=t,r=!1;n&&!r;)r=xk(e,n=vk(e,n));return r}),(function(e){return[e.blocks.order,e.blockSelection.start.clientId,e.blockSelection.end.clientId]}));function Mk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:n.clientId||null}function jk(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId===r.clientId?null:r.clientId||null}function Ik(e,t){return e.blocks.order[t||""]||$y}function Pk(e,t,n){return Ik(e,n).indexOf(t)}function Nk(e,t){var n=e.blockSelection,r=n.start,o=n.end;return r.clientId===o.clientId&&r.clientId===t}function Rk(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(N.some)(Ik(e,t),(function(t){return Nk(e,t)||xk(e,t)||n&&Rk(e,t,n)}))}function Lk(e,t){if(!t)return!1;var n=wk(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function Ak(e){var t=e.blockSelection,n=t.start,r=t.end;return n.clientId!==r.clientId}function zk(e){return e.blockSelection.isMultiSelecting}function Fk(e){return e.blockSelection.isEnabled}function Hk(e,t){return e.blocksMode[t]||"visual"}function Vk(e){return e.isTyping}function Bk(e){return e.isCaretWithinFormattedText}function Uk(e){var t,n,r=e.insertionPoint,o=e.blockSelection;if(null!==r)return r;var i=o.end;return i.clientId?(t=vk(e,i.clientId)||void 0,n=Pk(e,i.clientId,t)+1):n=Ik(e).length,{rootClientId:t,index:n}}function Wk(e){return null!==e.insertionPoint}function Kk(e){return e.template.isValid}function Yk(e){return e.settings.template}function $k(e,t){if(!t)return e.settings.templateLock;var n=t_(e,t);return n?n.templateLock:null}var qk=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(N.isBoolean)(e)?e:Object(N.isArray)(e)?Object(N.includes)(e,t):n},o=md(t);if(!o)return!1;var i=n_(e),a=i.allowedBlockTypes,s=r(a,t,!0);if(!s)return!1;var c=!!$k(e,n);if(c)return!1;var l=t_(e,n),u=Object(N.get)(l,["allowedBlocks"]),d=r(u,t),f=o.parent,h=Zy(e,n),p=r(f,h);return null!==d&&null!==p?d||p:null!==d?d:null===p||p},Gk=ao(qk,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Zk(e,t){return Object(N.get)(e.preferences.insertUsage,[t],null)}var Xk=function(e,t,n){return!!yd(t,"inserter",!0)&&qk(e,t.name,n)},Qk=function(e,t,n){if(!qk(e,"core/block",n))return!1;var r=Zy(e,t.clientId);return!!r&&(!!md(r)&&(!!qk(e,r,n)&&!Ck(e,t.clientId,n)))},Jk=ao((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Uy:t>0?Wy:"common"===e?Ky:Yy},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,i=!1;yd(t.name,"multiple",!0)||(i=Object(N.some)(ik(e,rk(e)),{name:t.name}));var a=Object(N.isArray)(t.parent),s=Zk(e,o)||{},c=s.time,l=s.count,u=void 0===l?0:l;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:i,utility:n(t.category,u,a),frecency:r(c,u),hasChildBlocksWithInserterSupport:_d(t.name)}},i=function(t){var o="core/block/".concat(t.id),i=md(Zy(e,t.clientId)),a=Zk(e,o)||{},s=a.time,c=a.count,l=void 0===c?0:c,u=n("reusable",l,!1),d=r(s,l);return{id:o,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:i.icon,category:"reusable",keywords:[],isDisabled:!1,utility:u,frecency:d}},a=bd().filter((function(n){return Xk(e,n,t)})).map(o),s=a_(e).filter((function(n){return Qk(e,n,t)})).map(i);return Object(N.orderBy)([].concat(ft(a),ft(s)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,a_(e),bd()]})),e_=ao((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(N.some)(bd(),(function(n){return Xk(e,n,t)}));if(n)return!0;var r=Object(N.some)(a_(e),(function(n){return Qk(e,n,t)}));return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,a_(e),bd()]}));function t_(e,t){return e.blockListSettings[t]}function n_(e){return e.settings}function r_(e){return e.blocks.isPersistentChange}function o_(e){return e.blocks.isIgnoredChange}function i_(e,t){return void 0===t?Object(N.get)(e,["settings","__experimentalMetaSource","value"],qy):Object(N.get)(e,["settings","__experimentalMetaSource","value",t])}function a_(e){return Object(N.get)(e,["settings","__experimentalReusableBlocks"],$y)}var s_={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Fe(e.blocks,2),i=o[0],a=o[1],s=Jy(r,i),c=md(s.name);if(c.merge){var l=Jy(r,a),u=md(l.name),d=sk(r),f=d.clientId,h=d.attributeKey,p=d.offset,v=f===i||f===a,m=f===i?s:l,b=m.attributes[h];if(v){var g=(f===i?c:u).attributes[h].multiline,y=Ho(Oo({html:b,multilineTag:g}),"",p,p);m.attributes[h]=ci({value:y,multilineTag:g})}var k=s.name===l.name?[l]:Dd(l,s.name);if(k&&k.length){var _=c.merge(s.attributes,k[0].attributes);if(v){var w=Object(N.findKey)(_,(function(e){return"string"==typeof e&&-1!==e.indexOf("")})),O=_[w],S=c.attributes[w].multiline,E=Oo({html:O,multilineTag:S}),C=E.text.indexOf(""),T=ci({value:Vo(E,C,C+1),multilineTag:S});_[w]=T,m.attributes[h]=b,n(Ay(s.clientId,w,C,C))}n(my([s.clientId,l.clientId],[D({},s,{attributes:D({},s.attributes,_)})].concat(ft(k.slice(1)))))}}else n(cy(s.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Yk(n),o=$k(n),i=!r||"all"!==o||function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.length===n.length&&Object(N.every)(n,(function(n,r){var o=Fe(n,3),i=o[0],a=o[2],s=t[r];return i===s.name&&e(s.innerBlocks,a)}))}(e.blocks,r);if(i!==Kk(n))return Cy(i)}],MULTI_SELECT:function(e,t){var n=dk((0,t.getState)());Va(me("%s block selected.","%s blocks selected.",n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)();return oy(sp(tk(n),Yk(n)))}};var c_=function(e){var t,n=[Wg()(s_),Yg.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=N.flowRight.apply(void 0,ft(t))(e.dispatch),e.dispatch=r,e},l_={reducer:Bg,selectors:T,actions:C,controls:Gg},u_=xg("core/block-editor",D({},l_,{persist:["preferences"]}));c_(u_);var d_=function(e,t){return Object(N.find)(e,{color:t})};Og((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(Zs);var f_=Object(I.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:N.noop,clientId:null}),h_=f_.Consumer,p_=f_.Provider,v_=function(e){return ag((function(t){return function(n){return Object(I.createElement)(h_,null,(function(r){return Object(I.createElement)(t,Le({},n,e(r,n)))}))}}),"withBlockEditContext")},m_=ag((function(e){return function(t){return Object(I.createElement)(h_,null,(function(n){return n.isSelected&&Object(I.createElement)(e,t)}))}}),"ifBlockEditSelected"),b_=[{icon:"editor-alignleft",title:ve("Align text left"),align:"left"},{icon:"editor-aligncenter",title:ve("Align text center"),align:"center"},{icon:"editor-alignright",title:ve("Align text right"),align:"right"}];Object(N.flowRight)(v_((function(e){return{clientId:e.clientId}})),Sb({isLargeViewport:"medium"}),Og((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=i.getSettings;return{isCollapsed:o||!r||!s().hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.alignmentControls,i=void 0===o?b_:o;function a(e){return function(){return r(n===e?void 0:e)}}var s=Object(N.find)(i,(function(e){return e.align===n}));return Object(I.createElement)(ql,{isCollapsed:t,icon:s?s.icon:"editor-alignleft",label:ve("Change Text Alignment"),controls:i.map((function(e){var t=e.align;return D({},e,{isActive:n===t,onClick:a(t)})}))})}));var g_=[];var y_=Object(N.flowRight)([v_((function(e){return{blockName:e.name}})),function(e){return function(t){function n(){var e;return Ee(this,n),(e=De(this,Me(n).call(this))).state={completers:g_},e.saveParentRef=e.saveParentRef.bind(xe(e)),e.onFocus=e.onFocus.bind(xe(e)),e}return Ie(n,t),Te(n,[{key:"componentDidUpdate",value:function(){this.parentNode.contains(document.activeElement)&&this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"onFocus",value:function(){this.hasStaleCompleters()&&this.updateCompletersState()}},{key:"hasStaleCompleters",value:function(){return!("lastFilteredCompletersProp"in this.state)||this.state.lastFilteredCompletersProp!==this.props.completers}},{key:"updateCompletersState",value:function(){var e=this.props,t=e.blockName,n=e.completers,r=n;Nr("editor.Autocomplete.completers")&&(n=Lr("editor.Autocomplete.completers",n&&n.map(N.clone),t)),this.setState({lastFilteredCompletersProp:r,completers:n||g_})}},{key:"saveParentRef",value:function(e){this.parentNode=e}},{key:"render",value:function(){var t=this.state.completers,n=D({},this.props,{completers:t});return Object(I.createElement)("div",{onFocus:this.onFocus,ref:this.saveParentRef},Object(I.createElement)(e,Le({onFocus:this.onFocus},n)))}}]),n}(I.Component)}])(Ya),k_={left:{icon:"align-left",title:ve("Align left")},center:{icon:"align-center",title:ve("Align center")},right:{icon:"align-right",title:ve("Align right")},wide:{icon:"align-wide",title:ve("Wide width")},full:{icon:"align-full-width",title:ve("Full width")}},__=["left","center","right","wide","full"],w_=["wide","full"];var O_=Object(N.flowRight)(v_((function(e){return{clientId:e.clientId}})),Sb({isLargeViewport:"medium"}),Og((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=(0,i.getSettings)();return{wideControlsEnabled:s.alignWide,isCollapsed:o||!r||!s.hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?__:o,a=e.wideControlsEnabled,s=void 0!==a&&a?i:i.filter((function(e){return-1===w_.indexOf(e)})),c=k_[n];return Object(I.createElement)(ql,{isCollapsed:t,icon:c?c.icon:"align-left",label:ve("Change Alignment"),controls:s.map((function(e){return D({},k_[e],{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})})),S_=ja("BlockControls"),E_=S_.Fill,C_=S_.Slot,T_=m_((function(e){var t=e.controls,n=e.children;return Object(I.createElement)(E_,null,Object(I.createElement)(ql,{controls:t}),n)}));T_.Slot=C_;var x_=T_,D_=Gl("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=md(r);if(!o)return null;var i=yd(o,"className",!0)?ff(r):null,a=In()(i,n.className),s=o.edit||o.save;return Object(I.createElement)(s,Le({},e,{className:a}))})),M_=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).propsToContext=xh()(e.propsToContext.bind(xe(e)),{maxSize:1}),e}return Ie(t,e),Te(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,a=this.propsToContext(t,n,r,o,i);return Object(I.createElement)(p_,{value:a},Object(I.createElement)(D_,this.props))}}]),t}(I.Component),j_=ja("BlockFormatControls"),I_=j_.Fill,P_=j_.Slot,N_=m_(I_);N_.Slot=P_;var R_=N_;function L_(e){var t=e.icon,n=e.showColors,r=void 0!==n&&n,o=e.className;"block-default"===Object(N.get)(t,["src"])&&(t={src:Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(I.createElement)(sc,{icon:t&&t.src?t.src:t}),a=r?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(I.createElement)("span",{style:a,className:In()("editor-block-icon block-editor-block-icon",o,{"has-colors":r})},i)}function A_(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showNestedBlocks;return(Object(I.createElement)("ul",{className:"editor-block-navigation__list block-editor-block-navigation__list",role:"list"},Object(N.map)(t,(function(e){var t=md(e.name),i=e.clientId===n;return Object(I.createElement)("li",{key:e.clientId},Object(I.createElement)("div",{className:"editor-block-navigation__item block-editor-block-navigation__item"},Object(I.createElement)(na,{className:In()("editor-block-navigation__item-button block-editor-block-navigation__item-button",{"is-selected":i}),onClick:function(){return r(e.clientId)}},Object(I.createElement)(L_,{icon:t.icon,showColors:!0}),t.title,i&&Object(I.createElement)("span",{className:"screen-reader-text"},ve("(selected block)")))),o&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(I.createElement)(A_,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,showNestedBlocks:!0}))}))))}var z_=Object(N.flowRight)(Og((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,a=n();return{rootBlocks:i(),rootBlock:a?o(r(a)):null,selectedBlockClientId:a}})),Cg((function(e,t){var n=t.onSelect,r=void 0===n?N.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(I.createElement)(Us,{role:"presentation",className:"editor-block-navigation__container block-editor-block-navigation__container"},Object(I.createElement)("p",{className:"editor-block-navigation__label block-editor-block-navigation__label"},ve("Block Navigation")),i&&Object(I.createElement)(A_,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(I.createElement)(A_,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),F_=Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(I.createElement)(xn,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));Og((function(e){return{hasBlocks:!!e("core/block-editor").getBlockCount()}}))((function(e){var t=e.hasBlocks,n=e.isDisabled,r=t&&!n;return Object(I.createElement)(Qa,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(I.Fragment,null,r&&Object(I.createElement)(as,{bindGlobal:!0,shortcuts:x({},Fn.access("o"),n)}),Object(I.createElement)(ya,{icon:F_,"aria-expanded":t,onClick:r?n:void 0,label:ve("Block Navigation"),className:"editor-block-navigation block-editor-block-navigation",shortcut:Vn.access("o"),"aria-disabled":!r}))},renderContent:function(e){var t=e.onClose;return Object(I.createElement)(z_,{onSelect:t})}})}));var H_=Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(xn,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),V_=Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(xn,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),B_={top:{icon:Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(I.createElement)(xn,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:be("Vertically Align Top","Block vertical alignment setting")},center:{icon:V_,title:be("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:H_,title:be("Vertically Align Bottom","Block vertical alignment setting")}},U_=["top","center","bottom"];Object(N.flowRight)(v_((function(e){return{clientId:e.clientId}})),Sb({isLargeViewport:"medium"}),Og((function(e,t){var n=t.clientId,r=t.isLargeViewport,o=t.isCollapsed,i=e("core/block-editor"),a=i.getBlockRootClientId,s=i.getSettings;return{isCollapsed:o||!r||!s().hasFixedToolbar&&a(n)}})))((function(e){var t=e.isCollapsed,n=e.value,r=e.onChange,o=e.controls,i=void 0===o?U_:o,a=B_[n],s=B_.top;return Object(I.createElement)(ql,{isCollapsed:t,icon:a?a.icon:s.icon,label:be("Change Alignment","Block vertical alignment setting label"),controls:i.map((function(e){return D({},B_[e],{isActive:n===e,onClick:(t=e,function(){return r(n===t?void 0:t)})});var t}))})}));var W_=Og((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),K_=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onFilesDrop=e.onFilesDrop.bind(xe(e)),e.onHTMLDrop=e.onHTMLDrop.bind(xe(e)),e.onDrop=e.onDrop.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"getInsertIndex",value:function(e){var t=this.props,n=t.clientId,r=t.rootClientId,o=t.getBlockIndex;if(void 0!==n){var i=o(n,r);return"top"===e.y?i:i+1}}},{key:"onFilesDrop",value:function(e,t){var n=Td(xd("from"),(function(t){return"files"===t.type&&t.isMatch(e)}));if(n){var r=this.getInsertIndex(t),o=n.transform(e,this.props.updateBlockAttributes);this.props.insertBlocks(o,r)}}},{key:"onHTMLDrop",value:function(e,t){var n=op({HTML:e,mode:"BLOCKS"});n.length&&this.props.insertBlocks(n,this.getInsertIndex(t))}},{key:"onDrop",value:function(e,t){var n=this.props,r=n.rootClientId,o=n.clientId,i=n.getClientIdsOfDescendants,a=n.getBlockIndex,s=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(n){return t}return t}(e),c=s.srcRootClientId,l=s.srcClientId,u=s.srcIndex,d=s.type;if("block"===d&&l!==o&&!function(e,t){return i([e]).some((function(e){return e===t}))}(l,o||r)){var f,h,p=o?a(o,r):void 0,v=this.getInsertIndex(t),m=p&&u<p&&((f=c)===(h=r)||1==!f&&1==!h)?v-1:v;this.props.moveBlockToPosition(l,c,m)}}},{key:"render",value:function(){var e=this.props,t=e.isLockedAll,n=e.index;if(t)return null;var r=void 0===n;return Object(I.createElement)(W_,null,Object(I.createElement)(Fs,{className:In()("editor-block-drop-zone block-editor-block-drop-zone",{"is-appender":r}),onFilesDrop:this.onFilesDrop,onHTMLDrop:this.onHTMLDrop,onDrop:this.onDrop}))}}]),t}(I.Component),Y_=Object(N.flowRight)(Cg((function(e,t){var n=e("core/block-editor"),r=n.insertBlocks,o=n.updateBlockAttributes,i=n.moveBlockToPosition;return{insertBlocks:function(e,n){var o=t.rootClientId;r(e,n,o)},updateBlockAttributes:function(){o.apply(void 0,arguments)},moveBlockToPosition:function(e,n,r){var o=t.rootClientId;i(e,n,o,r)}}})),Og((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getClientIdsOfDescendants,i=r.getTemplateLock,a=r.getBlockIndex;return{isLockedAll:"all"===i(n),getClientIdsOfDescendants:o,getBlockIndex:a}})),Gl("editor.BlockDropZone"))(K_),$_=ag((function(e){return Tg((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=j(t,["useSubRegistry","registry"]);if(!r)return Object(I.createElement)(e,Le({registry:o},i));var a=Fe(Object(I.useState)(null),2),s=a[0],c=a[1];return Object(I.useEffect)((function(){var e=Xb({},o),t=e.registerStore("core/block-editor",l_);c_(t),c(e)}),[o]),s?Object(I.createElement)(mg,{value:s},Object(I.createElement)(e,Le({registry:s},i))):null}))}),"withRegistryProvider"),q_=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,a=t.registry;n!==e.settings&&r(n),a!==e.registry&&this.attachChangeObserver(a),this.isSyncingOutcomingValue?this.isSyncingOutcomingValue=!1:o!==e.value&&(this.isSyncingIncomingValue=!0,i(o))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.isLastBlockChangePersistent,i=n.__unstableIsLastBlockChangeIgnored,a=r(),s=o();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,c=e.onInput,l=r(),u=o();if(l!==a&&(t.isSyncingIncomingValue||i()))return t.isSyncingIncomingValue=!1,a=l,void(s=u);(l!==a||u&&!s)&&(l!==a&&(t.isSyncingOutcomingValue=!0),a=l,(s=u)?n(a):c(a))}))}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)(Ea,null,Object(I.createElement)(As,null,e))}}]),t}(I.Component),G_=Object(N.flowRight)([$_,Cg((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks}}))])(q_),Z_=function(e){var t=e.children,n=e.clientId,r=e.isBlockInSelection,o=wg((function(e){return e("core/block-editor").hasSelectedInnerBlock(n,!0)})),i=r||o;return Object(I.createElement)(yg,{value:!i},t)};function X_(e,t,n,r,o,i){return e>1?function(e,t,n,r,o){if(o<0&&n)return ve("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return ve("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return me("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e);if(o>0&&!r)return me("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e)}(e,0,r,o,i):r&&o?ve("Block %s is the only block, and cannot be moved"):i>0&&!o?ve("Move %1$s block from position %2$d down to position %3$d"):i>0&&o?ve("Block %s is at the end of the content and can’t be moved down"):i<0&&!r?ve("Move %1$s block from position %2$d up to position %3$d"):i<0&&r?ve("Block %s is at the beginning of the content and can’t be moved up"):void 0}var Q_=Object(I.createElement)(Mn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Dn,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),J_=Object(I.createElement)(Mn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(Dn,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),ew=Object(I.createElement)(Mn,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(I.createElement)(xn,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),tw=Og((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlockIndex,i=(0,r.getBlockRootClientId)(n);return{index:o(n,i),rootClientId:i}}))((function(e){var t=e.children,n=e.clientId,r=e.rootClientId,o=e.blockElementId,i=e.index,a=e.onDragStart,s=e.onDragEnd,c={type:"block",srcIndex:i,srcRootClientId:r,srcClientId:n};return Object(I.createElement)(js,{elementId:o,transferData:c,onDragStart:a,onDragEnd:s},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))})),nw=function(e){var t=e.isVisible,n=e.className,r=e.icon,o=e.onDragStart,i=e.onDragEnd,a=e.blockElementId,s=e.clientId;if(!t)return null;var c=In()("editor-block-mover__control-drag-handle block-editor-block-mover__control-drag-handle",n);return Object(I.createElement)(tw,{clientId:s,blockElementId:a,onDragStart:o,onDragEnd:i},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(I.createElement)("div",{className:c,"aria-hidden":"true",onDragStart:t,onDragEnd:n,draggable:!0},r)}))},rw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(xe(e)),e.onBlur=e.onBlur.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.isFirst,o=e.isLast,i=e.isDraggable,a=e.onDragStart,s=e.onDragEnd,c=e.clientIds,l=e.blockElementId,u=e.blockType,d=(e.firstIndex,e.isLocked),f=e.instanceId,h=e.isHidden,p=e.rootClientId,v=this.state.isFocused,m=Object(N.castArray)(c).length;return d||r&&o&&!p?null:Object(I.createElement)("div",{className:In()("editor-block-mover block-editor-block-mover",{"is-visible":v||!h})},Object(I.createElement)(ya,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:r?null:t,icon:Q_,label:ve("Move up"),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":r,onFocus:this.onFocus,onBlur:this.onBlur}),Object(I.createElement)(nw,{className:"editor-block-mover__control block-editor-block-mover__control",icon:ew,clientId:c,blockElementId:l,isVisible:i,onDragStart:a,onDragEnd:s}),Object(I.createElement)(ya,{className:"editor-block-mover__control block-editor-block-mover__control",onClick:o?null:n,icon:J_,label:ve("Move down"),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":o,onFocus:this.onFocus,onBlur:this.onBlur}),Object(I.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"editor-block-mover__description block-editor-block-mover__description"},X_(m,u&&u.title,0,r,o,-1)),Object(I.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"editor-block-mover__description block-editor-block-mover__description"},X_(m,u&&u.title,0,r,o,1)))}}]),t}(I.Component),ow=Object(N.flowRight)(Og((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockIndex,a=r.getTemplateLock,s=r.getBlockRootClientId,c=r.getBlockOrder,l=Object(N.castArray)(n),u=Object(N.first)(l),d=o(u),f=s(Object(N.first)(l)),h=c(f),p=i(u,f),v=i(Object(N.last)(l),f);return{blockType:d?md(d.name):null,isLocked:"all"===a(f),rootClientId:f,firstIndex:p,isFirst:0===p,isLast:v===h.length-1}})),Cg((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,a=o.moveBlocksUp;return{onMoveDown:Object(N.partial)(i,n,r),onMoveUp:Object(N.partial)(a,n,r)}})),lg)(rw);var iw=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(I.createElement)("div",{className:In()(t,"editor-warning block-editor-warning")},Object(I.createElement)("div",{className:"editor-warning__contents block-editor-warning__contents"},Object(I.createElement)("p",{className:"editor-warning__message block-editor-warning__message"},r),I.Children.count(n)>0&&Object(I.createElement)("div",{className:"editor-warning__actions block-editor-warning__actions"},I.Children.map(n,(function(e,t){return Object(I.createElement)("span",{key:t,className:"editor-warning__action block-editor-warning__action"},e)})))),o&&Object(I.createElement)(Qa,{className:"editor-warning__secondary block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(ya,{icon:"ellipsis",label:ve("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(I.createElement)(cc,null,o.map((function(e,t){return Object(I.createElement)(lc,{onClick:e.onClick,key:t},e.title)})))}}))},aw=n(138),sw=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,a=e.className;return Object(I.createElement)("div",{className:a},Object(I.createElement)("div",{className:"editor-block-compare__content block-editor-block-compare__content"},Object(I.createElement)("h2",{className:"editor-block-compare__heading block-editor-block-compare__heading"},t),Object(I.createElement)("div",{className:"editor-block-compare__html block-editor-block-compare__html"},n),Object(I.createElement)("div",{className:"editor-block-compare__preview block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(I.createElement)("div",{className:"editor-block-compare__action block-editor-block-compare__action"},Object(I.createElement)(na,{isLarge:!0,tabIndex:"0",onClick:o},i)))},cw=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"getDifference",value:function(e,t){return Object(aw.diffChars)(e,t).map((function(e,t){var n=In()({"editor-block-compare__added block-editor-block-compare__added":e.added,"editor-block-compare__removed block-editor-block-compare__removed":e.removed});return Object(I.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:hf(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(N.castArray)(e),n=t.map((function(e){return pf(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return hf(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,a=this.getOriginalContent(t),s=this.getConvertedContent(o(t)),c=this.getDifference(a.rawContent,s.rawContent);return Object(I.createElement)("div",{className:"editor-block-compare__wrapper block-editor-block-compare__wrapper"},Object(I.createElement)(sw,{title:ve("Current"),className:"editor-block-compare__current block-editor-block-compare__current",action:n,actionText:ve("Convert to HTML"),rawContent:a.rawContent,renderedContent:a.renderedContent}),Object(I.createElement)(sw,{title:ve("After Conversion"),className:"editor-block-compare__converted block-editor-block-compare__converted",action:r,actionText:i,rawContent:c,renderedContent:s.renderedContent}))}}]),t}(I.Component),lw=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(xe(n)),n.onCompareClose=n.onCompareClose.bind(xe(n)),n}return Ie(t,e),Te(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,i=e.block,a=!!md("core/html"),s=this.state.compare,c=[{title:ve("Convert to Classic Block"),onClick:r},{title:ve("Attempt Block Recovery"),onClick:o}];return s?Object(I.createElement)(kc,{title:ve("Resolve Block"),onRequestClose:this.onCompareClose,className:"editor-block-compare block-editor-block-compare"},Object(I.createElement)(cw,{block:i,onKeep:t,onConvert:n,convertor:uw,convertButtonText:ve("Convert to Blocks")})):Object(I.createElement)(iw,{actions:[Object(I.createElement)(na,{key:"convert",onClick:this.onCompare,isLarge:!0,isPrimary:!a},be("Resolve","imperative verb")),a&&Object(I.createElement)(na,{key:"edit",onClick:t,isLarge:!0,isPrimary:!0},ve("Convert to HTML"))],secondaryActions:c},ve("This block contains unexpected or invalid content."))}}]),t}(I.Component),uw=function(e){return ip({HTML:e.originalContent})},dw=Object(N.flowRight)([Og((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Cg((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return wd("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return wd("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,uw(n))},attemptBlockRecovery:function(){var e;r(n.clientId,wd((e=n).name,e.attributes,e.innerBlocks))}}}))])(lw),fw=Object(I.createElement)(iw,null,ve("This block has encountered an error and cannot be previewed.")),hw=function(){return fw},pw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={hasError:!1},e}return Ie(t,e),Te(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(I.Component),vw=n(36),mw=n.n(vw),bw=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).onChange=n.onChange.bind(xe(n)),n.onBlur=n.onBlur.bind(xe(n)),n.state={html:e.block.isValid?vf(e.block):e.block.originalContent},n}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(e){Object(N.isEqual)(this.props.block.attributes,e.block.attributes)||this.setState({html:vf(this.props.block)})}},{key:"onBlur",value:function(){var e=this.state.html,t=md(this.props.block.name),n=nh(t,e,this.props.block.attributes),r=e||pf(t,n),o=!e||Vf(t,n,r);this.props.onChange(this.props.clientId,n,r,o),e||this.setState({html:r})}},{key:"onChange",value:function(e){this.setState({html:e.target.value})}},{key:"render",value:function(){var e=this.state.html;return Object(I.createElement)(mw.a,{className:"editor-block-list__block-html-textarea block-editor-block-list__block-html-textarea",value:e,onBlur:this.onBlur,onChange:this.onChange})}}]),t}(I.Component),gw=Object(N.flowRight)([Og((function(e,t){return{block:e("core/block-editor").getBlock(t.clientId)}})),Cg((function(e){return{onChange:function(t,n,r,o){e("core/block-editor").updateBlock(t,{attributes:n,originalContent:r,isValid:o})}}}))])(bw);var yw=Og((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=md(t);return n?n.title:null})),kw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(xe(e)),e.onBlur=e.onBlur.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onFocus",value:function(e){this.setState({isFocused:!0}),e.stopPropagation()}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.rootClientId;return Object(I.createElement)("div",{className:"editor-block-list__breadcrumb block-editor-block-list__breadcrumb"},Object(I.createElement)(ql,null,n&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(yw,{clientId:n}),Object(I.createElement)("span",{className:"editor-block-list__descendant-arrow block-editor-block-list__descendant-arrow"})),Object(I.createElement)(yw,{clientId:t})))}}]),t}(I.Component),_w=Object(N.flowRight)([Og((function(e,t){return{rootClientId:(0,e("core/block-editor").getBlockRootClientId)(t.clientId)}}))])(kw),ww=window,Ow=ww.Node,Sw=ww.getSelection,Ew=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).focusToolbar=e.focusToolbar.bind(xe(e)),e.focusSelection=e.focusSelection.bind(xe(e)),e.switchOnKeyDown=Object(N.cond)([[Object(N.matchesProperty)(["keyCode"],27),e.focusSelection]]),e.toolbar=Object(I.createRef)(),e}return Ie(t,e),Te(t,[{key:"focusToolbar",value:function(){var e=Ji.tabbable.find(this.toolbar.current);e.length&&e[0].focus()}},{key:"focusSelection",value:function(){var e=Sw();if(e){var t=e.focusNode;t.nodeType!==Ow.ELEMENT_NODE&&(t=t.parentElement),t&&t.focus()}}},{key:"componentDidMount",value:function(){this.props.focusOnMount&&this.focusToolbar()}},{key:"render",value:function(){var e=this.props,t=e.children,n=j(e,["children"]);return Object(I.createElement)(Us,Le({orientation:"horizontal",role:"toolbar",ref:this.toolbar,onKeyDown:this.switchOnKeyDown},Object(N.omit)(n,["focusOnMount"])),Object(I.createElement)(as,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":this.focusToolbar}}),t)}}]),t}(I.Component);var Cw=function(e){var t=e.focusOnMount;return Object(I.createElement)(Ew,{focusOnMount:t,className:"editor-block-contextual-toolbar block-editor-block-contextual-toolbar","aria-label":ve("Block tools")},Object(I.createElement)(LS,null))};var Tw=Og((function(e){var t=e("core/block-editor"),n=t.getMultiSelectedBlockClientIds,r=t.isMultiSelecting;return{multiSelectedBlockClientIds:n(),isSelecting:r()}}))((function(e){var t=e.multiSelectedBlockClientIds;return e.isSelecting?null:Object(I.createElement)(ow,{clientIds:t})}));var xw=Eb("< small")((function(e){var t=e.clientId;return Object(I.createElement)("div",{className:"editor-block-list__block-mobile-toolbar block-editor-block-list__block-mobile-toolbar"},Object(I.createElement)(rO,null),Object(I.createElement)(ow,{clientIds:[t]}))})),Dw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={isInserterFocused:!1},e.onBlurInserter=e.onBlurInserter.bind(xe(e)),e.onFocusInserter=e.onFocusInserter.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onFocusInserter",value:function(e){e.stopPropagation(),this.setState({isInserterFocused:!0})}},{key:"onBlurInserter",value:function(){this.setState({isInserterFocused:!1})}},{key:"render",value:function(){var e=this.state.isInserterFocused,t=this.props,n=t.showInsertionPoint,r=t.rootClientId,o=t.clientId;return Object(I.createElement)("div",{className:"editor-block-list__insertion-point block-editor-block-list__insertion-point"},n&&Object(I.createElement)("div",{className:"editor-block-list__insertion-point-indicator block-editor-block-list__insertion-point-indicator"}),Object(I.createElement)("div",{onFocus:this.onFocusInserter,onBlur:this.onBlurInserter,tabIndex:-1,className:In()("editor-block-list__insertion-point-inserter block-editor-block-list__insertion-point-inserter",{"is-visible":e})},Object(I.createElement)(rO,{rootClientId:r,clientId:o})))}}]),t}(I.Component),Mw=Og((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockIndex,a=o.getBlockInsertionPoint,s=o.isBlockInsertionPointVisible,c=i(n,r),l=a();return{showInsertionPoint:s()&&l.index===c&&l.rootClientId===r}}))(Dw),jw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).proxyEvent=e.proxyEvent.bind(xe(e)),e.eventMap={},e}return Ie(t,e),Te(t,[{key:"proxyEvent",value:function(e){var t=!!e.nativeEvent._blockHandled;e.nativeEvent._blockHandled=!0;var n=this.eventMap[e.type];t&&(n+="Handled"),this.props[n]&&this.props[n](e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childHandledEvents,r=void 0===n?[]:n,o=t.forwardedRef,i=j(t,["childHandledEvents","forwardedRef"]),a=Object(N.reduce)([].concat(ft(r),ft(Object.keys(i))),(function(t,n){var r=n.match(/^on([A-Z][a-zA-Z]+?)(Handled)?$/);if(r){!!r[2]&&delete i[n];var o="on"+r[1];t[o]=e.proxyEvent,e.eventMap[r[1].toLowerCase()]=o}return t}),{});return Object(I.createElement)("div",Le({ref:o},i,a))}}]),t}(I.Component),Iw=function(e,t){return Object(I.createElement)(jw,Le({},e,{forwardedRef:t}))};Iw.displayName="IgnoreNestedEvents";var Pw=Object(I.forwardRef)(Iw);var Nw=Object(N.flowRight)(Og((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getInserterItems,i=r.getTemplateLock;return{items:o(n),isLocked:!!i(n)}})),Cg((function(e,t){var n=t.clientId,r=t.rootClientId;return{onInsert:function(t){var o=wd(t.name,t.initialAttributes);n?e("core/block-editor").replaceBlocks(n,o):e("core/block-editor").insertBlock(o,void 0,r)}}})))((function(e){var t=e.items,n=e.isLocked,r=e.onInsert;if(n)return null;var o=Object(N.filter)(t,(function(e){return!(e.isDisabled||e.name===vd()&&Object(N.isEmpty)(e.initialAttributes))})).slice(0,3);return Object(I.createElement)("div",{className:"editor-inserter-with-shortcuts block-editor-inserter-with-shortcuts"},o.map((function(e){return Object(I.createElement)(ya,{key:e.id,className:"editor-inserter-with-shortcuts__block block-editor-inserter-with-shortcuts__block",onClick:function(){return r(e)},label:ge(ve("Add %s"),e.title),icon:Object(I.createElement)(L_,{icon:e.icon})})})))})),Rw=function(e){var t=Fe(Object(I.useState)(null),2),n=t[0],r=t[1];return Object(I.useEffect)((function(){var t=function(){n&&r(null)},o=function(t){var n=e.current.getBoundingClientRect(),o=n.width,i=n.left,a=n.right,s=null;t.clientX-i<o/3?s="left":a-t.clientX<o/3&&(s="right"),r(s)};return e.current.addEventListener("mousemove",o),e.current.addEventListener("mouseleave",t),function(){e.current.removeEventListener("mousemove",o),e.current.removeEventListener("mouseleave",t)}}),[]),n};function Lw(e){return document.querySelector('[data-block="'+e+'"]')}var Aw=function(e){e.preventDefault()};var zw=Og((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,i=e("core/block-editor"),a=i.isBlockSelected,s=i.isAncestorMultiSelected,c=i.isBlockMultiSelected,l=i.isFirstMultiSelectedBlock,u=i.isTyping,d=i.isCaretWithinFormattedText,f=i.getBlockMode,h=i.isSelectionEnabled,p=i.getSelectedBlocksInitialCaretPosition,v=i.getSettings,m=i.hasSelectedInnerBlock,b=i.getTemplateLock,g=i.getBlockIndex,y=i.getBlockOrder,k=(0,i.__unstableGetBlockWithoutInnerBlocks)(n),_=a(n),w=v(),O=w.hasFixedToolbar,S=w.focusMode,E=w.isRTL,C=b(r),T=m(n,!0),x=g(n,r),D=y(r),M=k||{},j=M.name,I=M.attributes,P=M.isValid;return{isPartOfMultiSelection:c(n)||s(n),isFirstMultiSelected:l(n),isTypingWithinBlock:(_||T)&&u(),isCaretWithinFormattedText:d(),mode:f(n),isSelectionEnabled:h(),initialPosition:_?p():null,isEmptyDefaultBlock:j&&dd({name:j,attributes:I}),isMovable:"all"!==C,isLocked:!!C,isFocusMode:S&&o,hasFixedToolbar:O&&o,isLast:x===D.length-1,isRTL:E,block:k,name:j,attributes:I,isValid:P,isSelected:_,isParentOfSelectedBlock:T}})),Fw=Cg((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.updateBlockAttributes,a=o.selectBlock,s=o.multiSelect,c=o.insertBlocks,l=o.insertDefaultBlock,u=o.removeBlock,d=o.mergeBlocks,f=o.replaceBlocks,h=o.toggleSelection;return{setAttributes:function(e){var n=t.name,o=t.clientId,a=md(n);var s=Object(N.reduce)(e,(function(e,t,n){return!function(e){return"meta"===Object(N.get)(a,["attributes",e,"source"])}(n)?e.blockAttributes[n]=t:e.metaAttributes[a.attributes[n].meta]=t,e}),{blockAttributes:{},metaAttributes:{}}),c=s.blockAttributes,l=s.metaAttributes;(Object(N.size)(c)&&i(o,c),Object(N.size)(l))&&(0,(0,r("core/block-editor").getSettings)().__experimentalMetaSource.onChange)(l)},onSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.clientId,n=arguments.length>1?arguments[1]:void 0;a(e,n)},onInsertBlocks:function(e,n){var r=t.rootClientId;c(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);l({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);c(e,i+1,o)},onRemove:function(e){u(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,a=o.getNextBlockClientId;if(e){var s=a(n);s&&d(n,s)}else{var c=i(n);c&&d(c,n)}},onReplace:function(e,n){f([t.clientId],e,n)},onShiftSelection:function(){if(t.isSelectionEnabled){var e=r("core/block-editor").getBlockSelectionStart;e()?s(e(),t.clientId):a(t.clientId)}},toggleSelection:function(e){h(e)}}})),Hw=Object(N.flowRight)(cg,Sb({isLargeViewport:"medium"}),zw,Fw,Gl("editor.BlockListBlock"))((function(e){var t=e.blockRef,n=e.mode,r=e.isFocusMode,o=e.hasFixedToolbar,i=e.isLocked,a=e.clientId,s=e.rootClientId,c=e.isSelected,l=e.isPartOfMultiSelection,u=e.isFirstMultiSelected,d=e.isTypingWithinBlock,f=e.isCaretWithinFormattedText,h=e.isEmptyDefaultBlock,p=e.isMovable,v=e.isParentOfSelectedBlock,m=e.isDraggable,b=e.isSelectionEnabled,g=e.isRTL,y=e.className,k=e.name,_=e.isValid,w=e.isLast,O=e.attributes,S=e.initialPosition,E=e.wrapperProps,C=e.setAttributes,T=e.onReplace,x=e.onInsertBlocksAfter,M=e.onMerge,j=e.onSelect,P=e.onRemove,R=e.onInsertDefaultBlockAfter,L=e.toggleSelection,A=e.onShiftSelection,z=e.onSelectionStart,F=Fe(Object(I.useState)({}),2)[1],H=Object(I.useRef)(null);Object(I.useEffect)((function(){t(H.current,a)}),[]);var V=Object(I.useRef)(),B=Rw(H),U=Object(I.useRef)(!1),W=Fe(Object(I.useState)(!1),2),K=W[0],Y=W[1],$=function(){K&&Y(!1)};Object(I.useEffect)((function(){(d||c)&&$()}));var q=Fe(Object(I.useState)(!1),2),G=q[0],Z=q[1],X=Fe(Object(I.useState)(!1),2),Q=X[0],J=X[1],ee=Object(I.useRef)(!1);Object(I.useEffect)((function(){ee.current&&(ee.current=!1)}));var te=Object(I.useRef)(!0);Object(I.useEffect)((function(){c&&function(e){if(!H.current.contains(document.activeElement)){var t=Ji.tabbable.find(V.current).filter(Wi).filter((function(t){return!e||(n=V.current,r=t,o=n.querySelector(".block-editor-block-list__layout"),n.contains(r)&&(!o||!o.contains(r)));var n,r,o})),n=-1===S,r=(n?N.last:N.first)(t);r?Bi(r,n):H.current.focus()}}(!te.current),te.current=!1}),[c]),Object(I.useEffect)((function(){u&&H.current.focus()}),[u]);var ne=function(e){e&&!c&&j()},re=K&&!l,oe=md(k),ie=ge(ve("Block: %s"),oe.title),ae=k===pd(),se=(c||re)&&h&&_,ce=(c||re||w)&&h&&_,le=!r&&!ce&&c&&!d,ue=!r&&!o&&re&&!h,de=(c||B===(g?"right":"left"))&&!ce&&!l&&!d,fe=!r&&re&&!h,he=!o&&!ce&&(c&&(!d||f)||u),pe=le,me=l&&u||!l,be=In()("wp-block editor-block-list__block block-editor-block-list__block",{"has-warning":!_||!!Q||ae,"is-selected":le,"is-multi-selected":l,"is-hovered":ue,"is-reusable":kd(oe),"is-dragging":G,"is-typing":d,"is-focused":r&&(c||v),"is-focus-mode":r},y),ye=E;oe.getEditWrapperProps&&(ye=D({},ye,oe.getEditWrapperProps(O)));var ke="block-".concat(a),_e=Object(I.createElement)(M_,{name:k,isSelected:c,attributes:O,setAttributes:C,insertBlocksAfter:i?void 0:x,onReplace:i?void 0:T,mergeBlocks:i?void 0:M,clientId:a,isSelectionEnabled:b,toggleSelection:L});return"visual"!==n&&(_e=Object(I.createElement)("div",{style:{display:"none"}},_e)),Object(I.createElement)(Pw,Le({id:ke,ref:H,onMouseOver:function(){K||l||c||U.current||Y(!0)},onMouseOverHandled:$,onMouseLeave:$,className:be,"data-type":k,onTouchStart:function(){U.current=!0},onFocus:function(){c||l||j()},onClick:function(){U.current=!1},onKeyDown:function(e){var t=e.keyCode,n=e.target;if(c&&n===H.current&&!i)switch(t){case 13:R(),e.preventDefault();break;case 8:case 46:P(a),e.preventDefault()}},tabIndex:"0","aria-label":ie,childHandledEvents:["onDragStart","onMouseDown"]},ye),me&&Object(I.createElement)(Mw,{clientId:a,rootClientId:s}),Object(I.createElement)(Y_,{clientId:a,rootClientId:s}),u&&Object(I.createElement)(Tw,{rootClientId:s}),Object(I.createElement)("div",{className:"editor-block-list__block-edit block-editor-block-list__block-edit"},de&&Object(I.createElement)(ow,{clientIds:a,blockElementId:ke,isHidden:!(re||c)||B!==(g?"right":"left"),isDraggable:!1!==m&&!l&&p,onDragStart:function(){Z(!0)},onDragEnd:function(){Z(!1)}}),fe&&Object(I.createElement)(_w,{clientId:a,isHidden:!(re||c)||B!==(g?"right":"left")}),(he||ee.current)&&Object(I.createElement)(Cw,{focusOnMount:ee.current}),!he&&c&&!o&&!h&&Object(I.createElement)(as,{bindGlobal:!0,eventName:"keydown",shortcuts:{"alt+f10":function(){ee.current=!0,F({})}}}),Object(I.createElement)(Pw,{ref:V,onDragStart:Aw,onMouseDown:function(e){0===e.button&&(e.shiftKey?c||(A(),e.preventDefault()):(z(a),l&&j()))},"data-block":a},Object(I.createElement)(pw,{onError:function(){return J(!1)}},_&&_e,_&&"html"===n&&Object(I.createElement)(gw,{clientId:a}),!_&&[Object(I.createElement)(dw,{key:"invalid-warning",clientId:a}),Object(I.createElement)("div",{key:"invalid-preview"},hf(oe,O))]),pe&&Object(I.createElement)(xw,{clientId:a}),!!Q&&Object(I.createElement)(hw,null))),se&&Object(I.createElement)("div",{className:"editor-block-list__side-inserter block-editor-block-list__side-inserter"},Object(I.createElement)(Nw,{clientId:a,rootClientId:s,onToggle:ne})),ce&&Object(I.createElement)("div",{className:"editor-block-list__empty-block-inserter block-editor-block-list__empty-block-inserter"},Object(I.createElement)(rO,{position:"top right",onToggle:ne,rootClientId:s,clientId:a})))}));var Vw=Object(N.flowRight)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ag((function(t){return function(n){function r(){var t;return Ee(this,r),(t=De(this,Me(r).apply(this,arguments))).setState=t.setState.bind(xe(t)),t.state=e,t}return Ie(r,n),Te(r,[{key:"render",value:function(){return Object(I.createElement)(t,Le({},this.props,this.state,{setState:this.setState}))}}]),r}(I.Component)}),"withState")}({hovered:!1}),Og((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,i=n.isBlockValid,a=n.getSettings,s=n.getTemplateLock,c=!r(t.rootClientId),l=o(t.lastBlockClientId)===vd(),u=i(t.lastBlockClientId),d=a().bodyPlaceholder;return{isVisible:c||!l||!u,showPrompt:c,isLocked:!!s(t.rootClientId),placeholder:d}})),Cg((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,a=e.rootClientId,s=e.hovered,c=e.setState;if(t||!n)return null;var l=af(i)||ve("Start writing or type / to choose a block");return Object(I.createElement)("div",{"data-root-client-id":a||"",className:"wp-block editor-default-block-appender block-editor-default-block-appender",onMouseEnter:function(){return c({hovered:!0})},onMouseLeave:function(){return c({hovered:!1})}},Object(I.createElement)(Y_,{rootClientId:a}),Object(I.createElement)(mw.a,{role:"button","aria-label":ve("Add block"),className:"editor-default-block-appender__content block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?l:""}),s&&Object(I.createElement)(Nw,{rootClientId:a}),Object(I.createElement)(rO,{rootClientId:a,position:"top right",isAppender:!0}))}));var Bw=Og((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,i=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:i(vd(),n)}}))((function(e){var t=e.blockClientIds,n=e.rootClientId,r=e.canInsertDefaultBlock,o=e.isLocked,i=e.renderAppender;return o?null:i?Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(i,null)):r?Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(Pw,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(I.createElement)(Vw,{rootClientId:n,lastBlockClientId:Object(N.last)(t)}))):Object(I.createElement)("div",{className:"block-list-appender"},Object(I.createElement)(oO,{rootClientId:n,className:"block-list-appender__toggle"}))})),Uw=function(e){function t(e){var n;return Ee(this,t),(n=De(this,Me(t).call(this,e))).onSelectionStart=n.onSelectionStart.bind(xe(n)),n.onSelectionEnd=n.onSelectionEnd.bind(xe(n)),n.setBlockRef=n.setBlockRef.bind(xe(n)),n.setLastClientY=n.setLastClientY.bind(xe(n)),n.onPointerMove=Object(N.throttle)(n.onPointerMove.bind(xe(n)),100),n.onScroll=function(){return n.onPointerMove({clientY:n.lastClientY})},n.lastClientY=0,n.nodes={},n}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){window.addEventListener("mousemove",this.setLastClientY)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mousemove",this.setLastClientY)}},{key:"setLastClientY",value:function(e){var t=e.clientY;this.lastClientY=t}},{key:"setBlockRef",value:function(e,t){null===e?delete this.nodes[t]:this.nodes=D({},this.nodes,x({},t,e))}},{key:"onPointerMove",value:function(e){var t=e.clientY;this.props.isMultiSelecting||this.props.onStartMultiSelect();var n=Lw(this.selectionAtStart).getBoundingClientRect();if(!(t>=n.top&&t<=n.bottom)){var r=t-n.top,o=Object(N.findLast)(this.coordMapKeys,(function(e){return e<r}));this.onSelectionChange(this.coordMap[o])}}},{key:"onSelectionStart",value:function(e){if(this.props.isSelectionEnabled){var t=this.nodes[e].getBoundingClientRect(),n=Object(N.mapValues)(this.nodes,(function(e){return e.getBoundingClientRect().top-t.top}));this.coordMap=Object(N.invert)(n),this.coordMapKeys=Object(N.sortBy)(Object.values(n)),this.selectionAtStart=e,window.addEventListener("mousemove",this.onPointerMove),window.addEventListener("scroll",this.onScroll,!0),window.addEventListener("mouseup",this.onSelectionEnd)}}},{key:"onSelectionChange",value:function(e){var t=this.props,n=t.onMultiSelect,r=t.selectionStart,o=t.selectionEnd,i=this.selectionAtStart,a=i===e;i&&this.props.isSelectionEnabled&&(a&&r&&n(null,null),a||o===e||n(i,e))}},{key:"onSelectionEnd",value:function(){this.onPointerMove.cancel(),delete this.coordMap,delete this.coordMapKeys,delete this.selectionAtStart,window.removeEventListener("mousemove",this.onPointerMove),window.removeEventListener("scroll",this.onScroll,!0),window.removeEventListener("mouseup",this.onSelectionEnd),this.props.isMultiSelecting&&this.props.onStopMultiSelect()}},{key:"render",value:function(){var e=this,t=this.props,n=t.blockClientIds,r=t.rootClientId,o=t.isDraggable,i=t.selectedBlockClientId,a=t.multiSelectedBlockClientIds,s=t.hasMultiSelection,c=t.renderAppender;return Object(I.createElement)("div",{className:"editor-block-list__layout block-editor-block-list__layout"},Object(N.map)(n,(function(t){var n=s?a.includes(t):i===t;return Object(I.createElement)(Z_,{key:"block-"+t,clientId:t,isBlockInSelection:n},Object(I.createElement)(Hw,{clientId:t,blockRef:e.setBlockRef,onSelectionStart:e.onSelectionStart,rootClientId:r,isDraggable:o}))})),Object(I.createElement)(Bw,{rootClientId:r,renderAppender:c}))}}]),t}(I.Component),Ww=Object(N.flowRight)([function(e){return function(t){return Object(I.createElement)(yg,{value:!1},Object(I.createElement)(e,t))}},Og((function(e,t){var n=e("core/block-editor"),r=n.getBlockOrder,o=n.isSelectionEnabled,i=n.isMultiSelecting,a=n.getMultiSelectedBlocksStartClientId,s=n.getMultiSelectedBlocksEndClientId,c=n.getSelectedBlockClientId,l=n.getMultiSelectedBlockClientIds,u=n.hasMultiSelection;return{blockClientIds:r(t.rootClientId),selectionStart:a(),selectionEnd:s(),isSelectionEnabled:o(),isMultiSelecting:i(),selectedBlockClientId:c(),multiSelectedBlockClientIds:l(),hasMultiSelection:u()}})),Cg((function(e){var t=e("core/block-editor");return{onStartMultiSelect:t.startMultiSelect,onStopMultiSelect:t.stopMultiSelect,onMultiSelect:t.multiSelect}}))])(Uw);function Kw(e){var t=e.name,n=e.attributes,r=e.innerBlocks,o=e.settings,i=wd(t,n,r);return Object(I.createElement)(Ms,{className:"editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper","aria-hidden":!0},Object(I.createElement)(G_,{value:[i],settings:o},Object(I.createElement)(Ww,null)))}var Yw=Og((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){return Object(I.createElement)("div",{className:"editor-block-preview block-editor-block-preview"},Object(I.createElement)("div",{className:"editor-block-preview__title block-editor-block-preview__title"},ve("Preview")),Object(I.createElement)(Kw,e))}));var $w=function(e){var t=e.icon,n=e.hasChildBlocksWithInserterSupport,r=e.onClick,o=e.isDisabled,i=e.title,a=e.className,s=j(e,["icon","hasChildBlocksWithInserterSupport","onClick","isDisabled","title","className"]),c=t?{backgroundColor:t.background,color:t.foreground}:{},l=t&&t.shadowColor?{backgroundColor:t.shadowColor}:{};return Object(I.createElement)("li",{className:"editor-block-types-list__list-item block-editor-block-types-list__list-item"},Object(I.createElement)("button",Le({className:In()("editor-block-types-list__item block-editor-block-types-list__item",a,{"editor-block-types-list__item-has-children block-editor-block-types-list__item-has-children":n}),onClick:function(e){e.preventDefault(),r()},disabled:o},s),Object(I.createElement)("span",{className:"editor-block-types-list__item-icon block-editor-block-types-list__item-icon",style:c},Object(I.createElement)(L_,{icon:t,showColors:!0}),n&&Object(I.createElement)("span",{className:"editor-block-types-list__item-icon-stack block-editor-block-types-list__item-icon-stack",style:l})),Object(I.createElement)("span",{className:"editor-block-types-list__item-title block-editor-block-types-list__item-title"},i)))};var qw=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,i=e.children;return(Object(I.createElement)("ul",{role:"list",className:"editor-block-types-list block-editor-block-types-list"},t&&t.map((function(e){return Object(I.createElement)($w,{key:e.id,className:(t=e.id,r="editor-block-list-item-"+t.replace(/\//,"-").replace(/^core-/,""),Lr("blocks.getBlockMenuDefaultClassName",r,t)),icon:e.icon,hasChildBlocksWithInserterSupport:e.hasChildBlocksWithInserterSupport,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title});var t,r})),i))};var Gw=Object(N.flowRight)(sg((function(e){var t=e.items;return t&&t.length>0})),Og((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=j(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(I.createElement)("div",{className:"editor-inserter__child-blocks block-editor-inserter__child-blocks"},(t||n)&&Object(I.createElement)("div",{className:"editor-inserter__parent-block-header block-editor-inserter__parent-block-header"},Object(I.createElement)(L_,{icon:t,showColors:!0}),n&&Object(I.createElement)("h2",null,n)),Object(I.createElement)(qw,Le({items:r},o)))})),Zw=function(e){return e.stopPropagation()},Xw=function(e,t){var n=Qw(t),r=function(e){return-1!==Qw(e).indexOf(n)},o=ap();return e.filter((function(e){var t=Object(N.find)(o,{slug:e.category});return r(e.title)||Object(N.some)(e.keywords,r)||t&&r(t.title)}))},Qw=function(e){return e=(e=(e=(e=Object(N.deburr)(e)).replace(/^\//,"")).toLowerCase()).trim()},Jw=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(xe(e)),e.onHover=e.onHover.bind(xe(e)),e.panels={},e.inserterResults=Object(I.createRef)(),e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(N.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(ft(t.state.openPanels),[e])}),t.props.setTimeout((function(){nc()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var o=[];return r.length>0&&o.push("reusable"),n.length>0&&(o=o.concat(Object.keys(t))),o}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.debouncedSpeak,r=t.items,o=t.rootChildBlocks,i=Xw(r,e),a=Object(N.filter)(i,(function(e){var t=e.name;return Object(N.includes)(o,t)})),s=[];if(!e){var c=this.props.maxSuggestedItems||9;s=Object(N.filter)(r,(function(e){return e.utility>0})).slice(0,c)}var l=Object(N.filter)(i,{category:"reusable"}),u=function(e){return Object(N.findIndex)(ap(),(function(t){return t.slug===e.category}))},d=Object(N.flow)((function(e){return Object(N.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(N.sortBy)(e,u)}),(function(e){return Object(N.groupBy)(e,"category")}))(i);this.setState({hoveredItem:null,childItems:a,filterValue:e,suggestedItems:s,reusableItems:l,itemsPerCategory:d,openPanels:this.filterOpenPanels(e,d,i,l)});var f=Object.keys(d).reduce((function(e,t){return e+d[t].length}),0),h=me("%d result found.","%d results found.",f);n(h)}},{key:"onKeyDown",value:function(e){Object(N.includes)([37,40,39,38,8,13],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.instanceId,r=t.onSelect,o=t.rootClientId,i=this.state,a=i.childItems,s=i.hoveredItem,c=i.itemsPerCategory,l=i.openPanels,u=i.reusableItems,d=i.suggestedItems,f=function(e){return-1!==l.indexOf(e)};return Object(I.createElement)("div",{className:"editor-inserter__menu block-editor-inserter__menu",onKeyPress:Zw,onKeyDown:this.onKeyDown},Object(I.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(n),className:"screen-reader-text"},ve("Search for a block")),Object(I.createElement)("input",{id:"block-editor-inserter__search-".concat(n),type:"search",placeholder:ve("Search for a block"),className:"editor-inserter__search block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(I.createElement)("div",{className:"editor-inserter__results block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":ve("Available block types")},Object(I.createElement)(Gw,{rootClientId:o,items:a,onSelect:r,onHover:this.onHover}),!!d.length&&Object(I.createElement)(Ec,{title:be("Most Used","blocks"),opened:f("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(I.createElement)(qw,{items:d,onSelect:r,onHover:this.onHover})),Object(N.map)(ap(),(function(t){var n=c[t.slug];return n&&n.length?Object(I.createElement)(Ec,{key:t.slug,title:t.title,icon:t.icon,opened:f(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(I.createElement)(qw,{items:n,onSelect:r,onHover:e.onHover})):null})),!!u.length&&Object(I.createElement)(Ec,{className:"editor-inserter__reusable-blocks-panel block-editor-inserter__reusable-blocks-panel",title:ve("Reusable"),opened:f("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(I.createElement)(qw,{items:u,onSelect:r,onHover:this.onHover}),Object(I.createElement)("a",{className:"editor-inserter__manage-reusable-blocks block-editor-inserter__manage-reusable-blocks",href:_e("edit.php",{post_type:"wp_block"})},ve("Manage All Reusable Blocks"))),Object(N.isEmpty)(d)&&Object(N.isEmpty)(u)&&Object(N.isEmpty)(c)&&Object(I.createElement)("p",{className:"editor-inserter__no-results block-editor-inserter__no-results"},ve("No blocks found."))),s&&kd(s)&&Object(I.createElement)(Yw,{name:s.name,attributes:s.initialAttributes}))}}]),t}(I.Component),eO=Object(N.flowRight)(Og((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=e("core/block-editor"),a=i.getInserterItems,s=i.getBlockName,c=i.getBlockRootClientId,l=i.getBlockSelectionEnd,u=e("core/blocks").getChildBlockNames,d=o;if(!d&&!n&&!r){var f=l();f&&(d=c(f)||void 0)}return{rootChildBlocks:u(s(d)),items:a(d),destinationRootClientId:d}})),Cg((function(e,t,n){var r=n.select,o=e("core/block-editor"),i=o.showInsertionPoint,a=o.hideInsertionPoint;function s(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,a=t.clientId,s=t.destinationRootClientId,c=t.isAppender;if(a)return n(a,s);var l=o();return!c&&l?n(l,s)+1:i(s).length}return{fetchReusableBlocks:e("core/editor").__experimentalFetchReusableBlocks,showInsertionPoint:function(){var e=s();i(t.destinationRootClientId,e)},hideInsertionPoint:a,onSelect:function(n){var o=e("core/block-editor"),i=o.replaceBlocks,a=o.insertBlock,c=r("core/block-editor").getSelectedBlock,l=t.isAppender,u=n.name,d=n.initialAttributes,f=c(),h=wd(u,d);!l&&f&&dd(f)?i(f.clientId,h):a(h,s(),t.destinationRootClientId),t.onSelect()}}})),Ba,lg,ug)(Jw),tO=function(e){var t=e.onToggle,n=e.disabled,r=e.isOpen;return Object(I.createElement)(ya,{icon:"insert",label:ve("Add block"),labelPosition:"bottom",onClick:t,className:"editor-inserter__toggle block-editor-inserter__toggle","aria-haspopup":"true","aria-expanded":r,disabled:n})},nO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onToggle=e.onToggle.bind(xe(e)),e.renderToggle=e.renderToggle.bind(xe(e)),e.renderContent=e.renderContent.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.renderToggle,a=void 0===i?tO:i;return a({onToggle:t,isOpen:n,disabled:o})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender;return Object(I.createElement)(eO,{onSelect:t,rootClientId:r,clientId:o,isAppender:i})}},{key:"render",value:function(){var e=this.props.position;return Object(I.createElement)(Qa,{className:"editor-inserter block-editor-inserter",contentClassName:"editor-inserter__popover block-editor-inserter__popover",position:e,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:ve("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(I.Component),rO=Object(N.flowRight)([Og((function(e,t){var n=t.rootClientId;return{hasItems:(0,e("core/block-editor").hasInserterItems)(n)}})),sg((function(e){return e.hasItems}))])(nO);var oO=function(e){var t=e.rootClientId,n=e.className;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(Y_,{rootClientId:t}),Object(I.createElement)(rO,{rootClientId:t,renderToggle:function(e){var t=e.onToggle,r=e.disabled,o=e.isOpen;return Object(I.createElement)(na,{className:In()(n,"block-editor-button-block-appender"),onClick:t,"aria-expanded":o,disabled:r},Object(I.createElement)("span",{className:"screen-reader-text"},ve("Add Block")),Object(I.createElement)(sc,{icon:"insert"}))},isAppender:!0}))},iO=ag(Og((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(N.isEmpty)(r)||!o}})),"withColorContext"),aO=iO((function(e){var t=e.colors,n=e.disableCustomColors,r=void 0!==n&&n,o=e.value,i=e.onChange,a=e.className;function s(e){return function(){return i(o===e?void 0:e)}}var c=ve("Custom color picker"),l=In()("components-color-palette",a);return Object(I.createElement)("div",{className:l},Object(N.map)(t,(function(e){var t=e.color,n=e.name,r={color:t},i=In()("components-color-palette__item",{"is-active":o===t});return Object(I.createElement)("div",{key:t,className:"components-color-palette__item-wrapper"},Object(I.createElement)(ba,{text:n||ve("Color code: %s")},Object(I.createElement)("button",{type:"button",className:i,style:r,onClick:s(t),"aria-label":ve(n?"Color: %s":"Color code: %s"),"aria-pressed":o===t})),o===t&&Object(I.createElement)(ga,{icon:"saved"}))})),Object(I.createElement)("div",{className:"components-color-palette__custom-clear-wrapper"},!r&&Object(I.createElement)(Qa,{className:"components-color-palette__custom-color",contentClassName:"components-color-palette__picker",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(I.createElement)(na,{"aria-expanded":t,onClick:n,"aria-label":c,isLink:!0},ve("Custom Color"))},renderContent:function(){return Object(I.createElement)(ys,{color:o,onChangeComplete:function(e){return i(e.hex)},disableAlpha:!0})}}),Object(I.createElement)(na,{className:"components-color-palette__clear",type:"button",onClick:function(){return i(void 0)},isSmall:!0,isDefault:!0},ve("Clear"))))}));var sO=ag((function(e){return v_((function(e){return Object(N.pick)(e,["clientId"])}))(e)}),"withClientId"),cO=sO((function(e){var t=e.clientId;return Object(I.createElement)(oO,{rootClientId:t})})),lO=Object(N.flowRight)([sO,Og((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(N.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(I.createElement)(Pw,{childHandledEvents:["onFocus","onClick","onKeyDown"]},Object(I.createElement)(Vw,{rootClientId:t,lastBlockClientId:n}))})),uO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Ie(t,e),Te(t,[{key:"getTemplateLock",value:function(){var e=this.props,t=e.templateLock,n=e.parentLock;return void 0===t?n:t}},{key:"componentDidMount",value:function(){0!==this.props.block.innerBlocks.length&&"all"!==this.getTemplateLock()||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.template,r=t.block.innerBlocks;(this.updateNestedSettings(),0===r.length||"all"===this.getTemplateLock())&&(!Object(N.isEqual)(n,e.template)&&this.synchronizeBlocksWithTemplate())}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,i=sp(o,t);Object(N.isEqual)(i,o)||r(i)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o={allowedBlocks:n,templateLock:this.getTemplateLock()};Kn()(t,o)||r(o)}},{key:"render",value:function(){var e=this.props,t=e.clientId,n=e.hasOverlay,r=e.renderAppender,o=this.state.templateInProcess,i=In()("editor-inner-blocks block-editor-inner-blocks",{"has-overlay":n});return Object(I.createElement)("div",{className:i},!o&&Object(I.createElement)(Ww,{rootClientId:t,renderAppender:r}))}}]),t}(I.Component);(uO=Object(N.flowRight)([v_((function(e){return Object(N.pick)(e,["clientId"])})),Og((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,a=n.getBlockListSettings,s=n.getBlockRootClientId,c=n.getTemplateLock,l=t.clientId,u=i(l),d=s(l);return{block:u,blockListSettings:a(l),hasOverlay:"core/template"!==u.name&&!r(l)&&!o(l,!0),parentLock:c(d)}})),Cg((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.updateBlockListSettings,i=t.block,a=t.clientId,s=t.templateInsertUpdatesSelection,c=void 0===s||s;return{replaceInnerBlocks:function(e){r(a,e,0===i.innerBlocks.length&&c)},updateNestedSettings:function(t){e(o(a,t))}}}))])(uO)).DefaultBlockAppender=lO,uO.ButtonBlockAppender=cO,uO.Content=uf((function(e){var t=e.BlockContent;return Object(I.createElement)(t,null)}));var dO=ja("InspectorAdvancedControls"),fO=dO.Fill,hO=dO.Slot,pO=m_(fO);pO.Slot=hO;var vO=pO,mO=ja("InspectorControls"),bO=mO.Fill,gO=mO.Slot,yO=m_(bO);yO.Slot=gO;var kO=yO,_O=Gl("editor.MediaUpload")((function(){return null})),wO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(xe(e)),e.state={isSettingsExpanded:!1},e}return Ie(t,e),Te(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.renderSettings,r=e.position,o=void 0===r?"bottom center":r,i=e.focusOnMount,a=void 0===i?"firstElement":i,s=j(e,["children","renderSettings","position","focusOnMount"]),c=this.state.isSettingsExpanded,l=!!n&&c;return Object(I.createElement)(La,Le({className:"editor-url-popover block-editor-url-popover",focusOnMount:a,position:o},s),Object(I.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row"},t,!!n&&Object(I.createElement)(ya,{className:"editor-url-popover__settings-toggle block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:ve("Link Settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":c})),l&&Object(I.createElement)("div",{className:"editor-url-popover__row block-editor-url-popover__row editor-url-popover__settings block-editor-url-popover__settings"},n()))}}]),t}(I.Component),OO=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(I.createElement)(wO,{onClose:o},Object(I.createElement)("form",{className:"editor-media-placeholder__url-input-form block-editor-media-placeholder__url-input-form",onSubmit:r},Object(I.createElement)("input",{className:"editor-media-placeholder__url-input-field block-editor-media-placeholder__url-input-field",type:"url","aria-label":ve("URL"),placeholder:ve("Paste or type URL"),onChange:n,value:t}),Object(I.createElement)(ya,{className:"editor-media-placeholder__url-input-submit-button block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:ve("Apply"),type:"submit"})))},SO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(xe(e)),e.onSubmitSrc=e.onSubmitSrc.bind(xe(e)),e.onUpload=e.onUpload.bind(xe(e)),e.onFilesUpload=e.onFilesUpload.bind(xe(e)),e.openURLInput=e.openURLInput.bind(xe(e)),e.closeURLInput=e.closeURLInput.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(N.every)(e,(function(e){return"image"===e||Object(N.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(N.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(N.get)(e.value,["src"],"")!==Object(N.get)(this.props.value,["src"],"")&&this.setState({src:Object(N.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,a=n.multiple,s=n.onError,c=n.onSelect,l=n.value;if(a)if(r){var u=void 0===l?[]:l;t=function(e){c(u.concat(e))}}else t=c;else t=function(e){var t=Fe(e,1)[0];return c(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:s})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,a=n.icon,s=n.isAppender,c=n.labels,l=void 0===c?{}:c,u=n.onDoubleClick,d=n.mediaPreview,f=n.notices,h=n.onSelectURL,p=n.mediaUpload,v=l.instructions,m=l.title;if(p||h||(v=ve("To edit this block, you need permission to upload media.")),void 0===v||void 0===m){var b=1===o.length,g=b&&"audio"===o[0],y=b&&"image"===o[0],k=b&&"video"===o[0];void 0===v&&p&&(v=ve("Drag a media file, upload a new one or select a file from your library."),g?v=ve("Drag an audio, upload a new one or select a file from your library."):y?v=ve("Drag an image, upload a new one or select a file from your library."):k&&(v=ve("Drag a video, upload a new one or select a file from your library."))),void 0===m&&(m=ve("Media"),g?m=ve("Audio"):y?m=ve("Image"):k&&(m=ve("Video")))}var _=In()("block-editor-media-placeholder","editor-media-placeholder",i,{"is-appender":s});return Object(I.createElement)(Cc,{icon:a,label:m,instructions:v,className:_,notices:f,onClick:t,onDoubleClick:u,preview:d},e)}},{key:"renderDropZone",value:function(){var e=this.props.onHTMLDrop,t=void 0===e?N.noop:e;return Object(I.createElement)(Fs,{onFilesDrop:this.onFilesUpload,onHTMLDrop:t})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(I.createElement)(na,{className:"block-editor-media-placeholder__cancel-button",title:ve("Cancel"),isLink:!0,onClick:e},ve("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(I.createElement)("div",{className:"editor-media-placeholder__url-input-container block-editor-media-placeholder__url-input-container"},Object(I.createElement)(na,{className:"editor-media-placeholder__button block-editor-media-placeholder__button",onClick:this.openURLInput,isToggled:t,isLarge:!0},ve("Insert from URL")),t&&Object(I.createElement)(OO,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,a=t.isAppender,s=t.mediaUpload,c=t.multiple,l=void 0!==c&&c,u=t.onSelect,d=t.value,f=void 0===d?{}:d,h=Object(I.createElement)(_O,{addToGallery:r,gallery:l&&this.onlyAllowsImages(),multiple:l,onSelect:u,allowedTypes:i,value:Object(N.isArray)(f)?f.map((function(e){return e.id})):f.id,render:function(e){var t=e.open;return Object(I.createElement)(na,{isLarge:!0,className:In()("editor-media-placeholder__button","editor-media-placeholder__media-library-button"),onClick:function(e){e.stopPropagation(),t()}},ve("Media Library"))}});if(s&&a)return Object(I.createElement)(I.Fragment,null,this.renderDropZone(),Object(I.createElement)(Xs,{onChange:this.onUpload,accept:n,multiple:l,render:function(t){var n=t.openFileDialog,r=Object(I.createElement)(I.Fragment,null,Object(I.createElement)(ya,{isLarge:!0,className:In()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),icon:"upload"},ve("Upload")),h,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(s){var p=Object(I.createElement)(I.Fragment,null,this.renderDropZone(),Object(I.createElement)(Xs,{isLarge:!0,className:In()("block-editor-media-placeholder__button","editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:l},ve("Upload")),h,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(p)}return this.renderPlaceholder(h)}},{key:"render",value:function(){return this.props.dropZoneUIOnly?Object(I.createElement)(W_,null,this.renderDropZone()):Object(I.createElement)(W_,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(I.Component),EO=Og((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().__experimentalMediaUpload}})),CO=(Object(N.flowRight)(EO,Gl("editor.MediaPlaceholder"))(SO),ve("(current %s: %s)"));var TO=Object(N.flowRight)([iO,sg((function(e){return e.hasColorsToChoose}))])((function(e){var t=e.colors,n=e.disableCustomColors,r=e.label,o=e.onChange,i=e.value,a=d_(t,i),s=(a&&a.name,ge(CO,r.toLowerCase()));return Object(I.createElement)(qa,{className:"editor-color-palette-control block-editor-color-palette-control"},Object(I.createElement)(qa.VisualLabel,null,r,i&&Object(I.createElement)(Xa,{colorValue:i,"aria-label":s})),Object(I.createElement)(aO,Le({className:"editor-color-palette-control__color-palette block-editor-color-palette-control__color-palette",value:i,onChange:o},{colors:t,disableCustomColors:n})))})),xO=function(e,t){return void 0!==t.disableCustomColors?t.disableCustomColors:e},DO=ve("(%s: %s)"),MO=(iO(sg((function(e){var t=e.colors,n=e.disableCustomColors,r=e.colorSettings;return Object(N.some)(r,(function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return!xO(t,n)||(n.colors||e).length>0}(t,n,e)}))}))((function(e){var t=e.children,n=e.colors,r=e.colorSettings,o=e.disableCustomColors,i=e.title,a=j(e,["children","colors","colorSettings","disableCustomColors","title"]),s=Object(I.createElement)("span",{className:"editor-panel-color-settings__panel-title block-editor-panel-color-settings__panel-title"},i,function(e,t){return e.map((function(e,n){var r=e.value,o=e.label,i=e.colors;if(!r)return null;var a=d_(i||t,r),s=(a&&a.name,ge(DO,o.toLowerCase()));return Object(I.createElement)(Xa,{key:n,colorValue:r,"aria-label":s})}))}(r,n));return Object(I.createElement)(Ec,Le({className:"editor-panel-color-settings block-editor-panel-color-settings",title:s},a),r.map((function(e,t){return Object(I.createElement)(TO,Le({key:t},D({colors:n,disableCustomColors:o},e)))})),t)}))),Object(I.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=j(e,["onChange","className"]);return Object(I.createElement)(mw.a,Le({ref:t,className:In()("editor-plain-text block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))})),Og((function(e){return{formatTypes:(0,e("core/rich-text").getFormatTypes)()}}))((function(e){var t=e.formatTypes,n=e.onChange,r=e.value;return Object(I.createElement)(I.Fragment,null,t.map((function(e){var t=e.name,o=e.edit;if(!o)return null;var i=jo(r,t),a=void 0!==i,s=function(e){var t=e.start,n=e.end,r=e.replacements,o=e.text;if(t+1===n&&""===o[t])return r[t]}(r),c=void 0!==s;return Object(I.createElement)(o,{key:t,isActive:a,activeAttributes:a&&i.attributes||{},isObjectActive:c,activeObjectAttributes:c&&s.attributes||{},value:r,onChange:n})})))}))),jO=function(e){var t=e.controls;return Object(I.createElement)("div",{className:"editor-format-toolbar block-editor-format-toolbar"},Object(I.createElement)(ql,null,t.map((function(e){return Object(I.createElement)(Ta,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(I.createElement)(Ta,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(I.createElement)(Ws,{icon:!1,position:"bottom left",label:ve("More Rich Text Controls"),controls:Object(N.orderBy)(e.map((function(e){return Fe(e,1)[0].props})),"title")})}))))},IO=function(e){return Object(N.pickBy)(e,(function(e,t){return n=t,Object(N.startsWith)(n,"aria-")&&!Object(N.isNil)(e);var n}))},PO=window.navigator.userAgent;var NO=PO.indexOf("Trident")>=0,RO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).call(this))).bindEditorNode=e.bindEditorNode.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"shouldComponentUpdate",value:function(e){var t=this;this.configureIsPlaceholderVisible(e.isPlaceholderVisible),Object(N.isEqual)(this.props.style,e.style)||(this.editorNode.setAttribute("style",""),Object.assign(this.editorNode.style,e.style)),Object(N.isEqual)(this.props.className,e.className)||(this.editorNode.className=In()("block-editor-rich-text__editable","editor-rich-text__editable",e.className));var n=function(e,t){var n=Object(N.keys)(IO(e)),r=Object(N.keys)(IO(t));return{removedKeys:Object(N.difference)(n,r),updatedKeys:r.filter((function(n){return!Object(N.isEqual)(e[n],t[n])}))}}(this.props,e),r=n.removedKeys,o=n.updatedKeys;return r.forEach((function(e){return t.editorNode.removeAttribute(e)})),o.forEach((function(n){return t.editorNode.setAttribute(n,e[n])})),!1}},{key:"configureIsPlaceholderVisible",value:function(e){var t=String(!!e);this.editorNode.getAttribute("data-is-placeholder-visible")!==t&&this.editorNode.setAttribute("data-is-placeholder-visible",t)}},{key:"bindEditorNode",value:function(e){this.editorNode=e,this.props.setRef(e),NO&&(e?this.removeInternetExplorerInputFix=function(e){function t(e){e.stopImmediatePropagation();var t=document.createEvent("Event");t.initEvent("input",!0,!1),t.data=e.data,e.target.dispatchEvent(t)}function n(t){var n=t.target,r=t.keyCode;if((8===r||46===r)&&e.contains(n)){var o=document.createEvent("Event");o.initEvent("input",!0,!1),o.data=null,n.dispatchEvent(o)}}return e.addEventListener("textinput",t),document.addEventListener("keyup",n,!0),function(){e.removeEventListener("textinput",t),document.removeEventListener("keyup",n,!0)}}(e):this.removeInternetExplorerInputFix())}},{key:"render",value:function(){var e,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.record,a=t.valueToEditableHTML,s=t.className,c=t.isPlaceholderVisible,l=j(t,["tagName","style","record","valueToEditableHTML","className","isPlaceholderVisible"]);return delete l.setRef,Object(I.createElement)(r,D((x(e={role:"textbox","aria-multiline":!0,className:In()("block-editor-rich-text__editable","editor-rich-text__editable",s),contentEditable:!0},"data-is-placeholder-visible",c),x(e,"ref",this.bindEditorNode),x(e,"style",o),x(e,"suppressContentEditableWarning",!0),x(e,"dangerouslySetInnerHTML",{__html:a(i)}),e),l))}}]),t}(I.Component);function LO(e){var t=e.onReplace,n=e.valueToFormat,r=xd("from").filter((function(e){return"prefix"===e.type}));return[function(e){if(!t)return e;var o=e.start,i=Io(e),a=i.slice(o-1,o);if(!/\s/.test(a))return e;var s=i.slice(0,o).trim(),c=Td(r,(function(e){var t=e.prefix;return s===t}));if(!c)return e;var l=n(Uo(e,o,i.length)),u=c.transform(l);return t([u]),e},function(e){var t=e.start,n=Io(e);if("`"!==n.slice(t-1,t))return e;var r=n.slice(0,t-1).lastIndexOf("`");if(-1===r)return e;var o=r,i=t-2;return o===i?e:(e=Vo(e,o,o+1),e=bo(e=Vo(e,i,i+1),{type:"code"},o,i))}]}var AO=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onUse=e.onUse.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(I.createElement)(as,{bindGlobal:!0,shortcuts:x({},Fn[n](t),this.onUse)})}}]),t}(I.Component),zO=function(e){var t=e.onTagNameChange,n=e.tagName,r=e.value,o=e.onChange;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(AO,{type:"primary",character:"[",onUse:function(){o(_i(r))}}),Object(I.createElement)(AO,{type:"primary",character:"]",onUse:function(){o(yi(r,{type:n}))}}),Object(I.createElement)(AO,{type:"primary",character:"m",onUse:function(){o(yi(r,{type:n}))}}),Object(I.createElement)(AO,{type:"primaryShift",character:"m",onUse:function(){o(_i(r))}}),Object(I.createElement)(R_,null,Object(I.createElement)(ql,{controls:[t&&{icon:"editor-ul",title:ve("Convert to unordered list"),isActive:Ro(r,"ul",n),onClick:function(){o(wi(r,{type:"ul"})),No(r)&&t("ul")}},t&&{icon:"editor-ol",title:ve("Convert to ordered list"),isActive:Ro(r,"ol",n),onClick:function(){o(wi(r,{type:"ol"})),No(r)&&t("ol")}},{icon:"editor-outdent",title:ve("Outdent list item"),shortcut:be("Backspace","keyboard key"),onClick:function(){o(_i(r))}},{icon:"editor-indent",title:ve("Indent list item"),shortcut:be("Space","keyboard key"),onClick:function(){o(yi(r,{type:n}))}}].filter(Boolean)})))},FO=[Fn.primary("z"),Fn.primaryShift("z"),Fn.primary("y")],HO=Object(I.createElement)(as,{bindGlobal:!0,shortcuts:Object(N.fromPairs)(FO.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),VO=function(){return HO};I.Component;var BO=window,UO=BO.getSelection,WO=BO.getComputedStyle,KO=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),YO=document.createElement("style");function $O(e,t){var n=Object.keys(e).reduce((function(n,r){return r.startsWith(t)&&n.push(e[r]),n}),[]);return function(e){return n.reduce((function(t,n){return n(t,e.text)}),e.formats)}}document.head.appendChild(YO);var qO=function(e){function t(e){var n,r=e.value,o=e.onReplace,i=e.multiline,a=e.selectionStart,s=e.selectionEnd;return Ee(this,t),n=De(this,Me(t).apply(this,arguments)),!0!==i&&"p"!==i&&"li"!==i||(n.multilineTag=!0===i?"p":i),"li"===n.multilineTag&&(n.multilineWrapperTags=["ul","ol"]),n.onFocus=n.onFocus.bind(xe(n)),n.onBlur=n.onBlur.bind(xe(n)),n.onChange=n.onChange.bind(xe(n)),n.onDeleteKeyDown=n.onDeleteKeyDown.bind(xe(n)),n.onKeyDown=n.onKeyDown.bind(xe(n)),n.onPaste=n.onPaste.bind(xe(n)),n.onCreateUndoLevel=n.onCreateUndoLevel.bind(xe(n)),n.onInput=n.onInput.bind(xe(n)),n.onCompositionEnd=n.onCompositionEnd.bind(xe(n)),n.onSelectionChange=n.onSelectionChange.bind(xe(n)),n.getRecord=n.getRecord.bind(xe(n)),n.createRecord=n.createRecord.bind(xe(n)),n.applyRecord=n.applyRecord.bind(xe(n)),n.isEmpty=n.isEmpty.bind(xe(n)),n.valueToFormat=n.valueToFormat.bind(xe(n)),n.setRef=n.setRef.bind(xe(n)),n.valueToEditableHTML=n.valueToEditableHTML.bind(xe(n)),n.handleHorizontalNavigation=n.handleHorizontalNavigation.bind(xe(n)),n.onPointerDown=n.onPointerDown.bind(xe(n)),n.onSplit=n.onSplit.bind(xe(n)),n.patterns=LO({onReplace:o,valueToFormat:n.valueToFormat}),n.enterPatterns=xd("from").filter((function(e){return"enter"===e.type})),n.state={},n.usedDeprecatedChildrenSource=Array.isArray(r),n.lastHistoryValue=r,n.value=r,n.record=n.formatToValue(r),n.record.start=a,n.record.end=s,n}return Ie(t,e),Te(t,[{key:"componentWillUnmount",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"setRef",value:function(e){e?this.editableRef=e:delete this.editableRef}},{key:"getRecord",value:function(){return this.record}},{key:"createRecord",value:function(){var e=UO(),t=e.rangeCount>0?e.getRangeAt(0):null;return Oo({element:this.editableRef,range:t,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,__unstableIsEditableTree:!0})}},{key:"applyRecord",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.domOnly;si({value:e,current:this.editableRef,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,prepareEditableTree:$O(this.props,"format_prepare_functions"),__unstableDomOnly:n})}},{key:"isEmpty",value:function(){return Ao(this.record)}},{key:"onPaste",value:function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(N.isNil)(n)?[]:n,r=Object(N.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(g){try{i=t.getData("Text")}catch(y){return}}e.preventDefault(),window.console.log("Received HTML:\n\n",i),window.console.log("Received plain text:\n\n",o);var a,s=Object(N.find)([].concat(ft(n),ft(r)),(function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})),c=this.getRecord();if(s&&!i){var l=s.getAsFile?s.getAsFile():s,u=op({HTML:'<img src="'.concat($h(l),'">'),mode:"BLOCKS",tagName:this.props.tagName}),d=this.props.onReplace&&this.isEmpty();return window.console.log("Received item:\n\n",l),void(d?this.props.onReplace(u):this.onSplit&&this.onSplit(c,u))}if(!Lo(c)){var f=(i||o).replace(/<[^>]+>/g,"").trim();if(a=f,ke.test(a))return this.onChange(bo(c,{type:"a",attributes:{href:af(f)}})),void window.console.log("Created link:\n\n",f)}var h=this.props.onReplace&&this.isEmpty(),p=this.props.onReplace&&this.props.onSplit,v="INLINE";h?v="BLOCKS":p&&(v="AUTO");var m=op({HTML:i,plainText:o,mode:v,tagName:this.props.tagName,canUserUseUnfilteredHTML:this.props.canUserUseUnfilteredHTML});if("string"==typeof m){var b=Oo({html:m});this.multilineTag&&(b=Bo(b,/\n+/g,"\u2028")),this.onChange(Ho(c,b))}else m.length>0&&(h?this.props.onReplace(m):this.onSplit(c,m))}},{key:"onFocus",value:function(){var e=this.props.unstableOnFocus;e&&e(),this.recalculateBoundaryStyle();this.record=D({},this.record,{start:void 0,end:void 0,activeFormats:void 0}),this.props.onSelectionChange(void 0,void 0),this.setState({activeFormats:void 0}),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onBlur",value:function(){document.removeEventListener("selectionchange",this.onSelectionChange)}},{key:"onInput",value:function(e){if(e&&e.nativeEvent.isComposing)document.removeEventListener("selectionchange",this.onSelectionChange);else{if(e&&e.nativeEvent.inputType){var t=e.nativeEvent.inputType;if(0===t.indexOf("format")||KO.has(t))return void this.applyRecord(this.getRecord())}var n=this.createRecord(),r=this.record,o=r.start,i=r.activeFormats,a=void 0===i?[]:i,s=Oi({value:n,start:o,end:n.start,formats:a});this.onChange(s,{withoutHistory:!0});var c=this.patterns.reduce((function(e,t){return t(e)}),s);c!==s&&(this.onCreateUndoLevel(),this.onChange(D({},c,{activeFormats:a}))),this.props.clearTimeout(this.onInput.timeout),this.onInput.timeout=this.props.setTimeout(this.onCreateUndoLevel,1e3)}}},{key:"onCompositionEnd",value:function(){this.onInput(),document.addEventListener("selectionchange",this.onSelectionChange)}},{key:"onSelectionChange",value:function(){var e=this.createRecord(),t=e.start,n=e.end,r=this.getRecord();if(t!==r.start||n!==r.end){var o=this.props.isCaretWithinFormattedText,i=D({},r,{start:t,end:n,activeFormats:void 0}),a=Mo(i);i.activeFormats=a,!o&&a.length?this.props.onEnterFormattedText():o&&!a.length&&this.props.onExitFormattedText(),this.record=i,this.applyRecord(i,{domOnly:!0}),this.props.onSelectionChange(t,n),this.setState({activeFormats:a}),a.length>0&&this.recalculateBoundaryStyle()}}},{key:"recalculateBoundaryStyle",value:function(){var e=this.editableRef.querySelector("*[data-rich-text-format-boundary]");if(e){var t=WO(e).color.replace(")",", 0.2)").replace("rgb","rgba"),n=".".concat("block-editor-rich-text__editable",":focus ").concat("*[data-rich-text-format-boundary]"),r="background-color: ".concat(t);YO.innerHTML="".concat(n," {").concat(r,"}")}}},{key:"onChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.withoutHistory;this.applyRecord(e);var r=e.start,o=e.end,i=e.activeFormats,a=void 0===i?[]:i,s=Object(N.pickBy)(this.props,(function(e,t){return t.startsWith("format_on_change_functions_")}));Object.values(s).forEach((function(t){t(e.formats,e.text)})),this.value=this.valueToFormat(e),this.record=e,this.props.onChange(this.value),this.props.onSelectionChange(r,o),this.setState({activeFormats:a}),n||this.onCreateUndoLevel()}},{key:"onCreateUndoLevel",value:function(){this.lastHistoryValue!==this.value&&(this.props.onCreateUndoLevel(),this.lastHistoryValue=this.value)}},{key:"onDeleteKeyDown",value:function(e){var t=this.props,n=t.onMerge,r=t.onRemove;if(n||r){var o=8===e.keyCode;if(Lo(this.createRecord())){var i=this.isEmpty();(i||Fi(this.editableRef,o))&&(n&&n(!o),r&&i&&o&&r(!o),e.preventDefault())}}}},{key:"onKeyDown",value:function(e){var t=e.keyCode,n=e.shiftKey,r=e.altKey,o=e.metaKey,i=e.ctrlKey,a=this.props,s=a.onReplace,c=a.onSplit,l=s&&c;if(n||r||o||i||37!==t&&39!==t||this.handleHorizontalNavigation(e),32===t&&"li"===this.multilineTag){var u=this.createRecord();if(Lo(u)){var d=u.text[u.start-1];d&&"\u2028"!==d||(this.onChange(yi(u,{type:this.props.tagName})),e.preventDefault())}}if(46===t||8===t){var f=this.createRecord(),h=f.start,p=f.end;if(0===h&&0!==p&&p===f.text.length)return this.onChange(Vo(f)),void e.preventDefault();if(this.multilineTag){var v=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.replacements,r=e.text,o=e.start,i=e.end,a=Lo(e),s=o-1,c=a?o-1:o,l=i;if(t||(s=i,c=o,l=a?i+1:i),"\u2028"===r[s]){var u;if(a&&n[s]&&n[s].length){var d=n.slice();d[s]=n[s].slice(0,-1),u=D({},e,{replacements:d})}else u=Vo(e,c,l);return u}}(f,8===t);v&&(this.onChange(v),e.preventDefault())}this.onDeleteKeyDown(e)}else if(13===t){e.preventDefault();var m=this.createRecord();if(this.props.onReplace){var b=Io(m),g=Td(this.enterPatterns,(function(e){return e.regExp.test(b)}));if(g)return void this.props.onReplace([g.transform({content:b})])}this.multilineTag?e.shiftKey?this.onChange(Ho(m,"\n")):l&&function(e){var t=e.text,n=e.start,r=e.end;return n===r&&(0===t.length||(0===n&&"\u2028"===t.slice(0,1)||(n===t.length&&"\u2028"===t.slice(-1)||t.slice(n-1,r+1)==="".concat("\u2028").concat("\u2028"))))}(m)?this.onSplit(m):this.onChange(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.start,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.end,r=Io(e).slice(0,t),o=r.lastIndexOf("\u2028"),i=e.replacements[o],a=[,];i&&(a=[i]);var s={formats:[,],replacements:a,text:"\u2028"};return Ho(e,s,t,n)}(m)):e.shiftKey||!l?this.onChange(Ho(m,"\n")):this.onSplit(m)}}},{key:"handleHorizontalNavigation",value:function(e){var t=this,n=this.getRecord(),r=n.text,o=n.formats,i=n.start,a=n.end,s=n.activeFormats,c=void 0===s?[]:s,l=Lo(n),u="rtl"===WO(this.editableRef).direction?39:37,d=e.keyCode===u;if(l&&0===c.length){if(0===i&&d)return;if(a===r.length&&!d)return}if(l){e.preventDefault();var f=o[i-1]||[],h=o[i]||[],p=c.length,v=h;if(f.length>h.length&&(v=f),f.length<h.length?(!d&&c.length<h.length&&p++,d&&c.length>f.length&&p--):f.length>h.length&&(!d&&c.length>h.length&&p--,d&&c.length<f.length&&p++),this.props.setTimeout((function(){return t.recalculateBoundaryStyle()})),p!==c.length){var m=v.slice(0,p),b=D({},n,{activeFormats:m});return this.record=b,this.applyRecord(b),void this.setState({activeFormats:m})}var g=n.start+(d?-1:1),y=d?f:h,k=D({},n,{start:g,end:g,activeFormats:y});this.record=k,this.applyRecord(k),this.props.onSelectionChange(g,g),this.setState({activeFormats:y})}}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle;if(r&&o){var a=[],s=Wo(e),c=Fe(s,2),l=c[0],u=c[1],d=t.length>0;d&&Ao(l)||a.push(o(this.valueToFormat(l))),d?a.push.apply(a,ft(t)):i&&a.push(i()),!d&&i&&Ao(u)||a.push(o(this.valueToFormat(u)));var f=d?a.length-1:1;r(a,f)}}},{key:"onPointerDown",value:function(e){var t=e.target;if(t!==this.editableRef&&!t.textContent){var n=t.parentNode,r=Array.from(n.childNodes).indexOf(t),o=t.ownerDocument.createRange(),i=UO();o.setStart(t.parentNode,r),o.setEnd(t.parentNode,r+1),i.removeAllRanges(),i.addRange(o)}}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.tagName,r=t.value,o=t.selectionStart,i=t.selectionEnd,a=t.isSelected,s=n===e.tagName&&r!==e.value&&r!==this.value;s=s||a&&!e.isSelected&&(this.record.start!==o||this.record.end!==i);var c=function(e,t){return t.startsWith("format_prepare_props_")},l=Object(N.pickBy)(this.props,c),u=Object(N.pickBy)(e,c);s=s||!Kn()(l,u);var d=this.record.activeFormats,f=void 0===d?[]:d;s?(this.value=r,this.record=this.formatToValue(r),this.record.start=o,this.record.end=i,Oi({value:this.record,start:this.record.start,end:this.record.end,formats:f}),this.applyRecord(this.record)):this.record.start===o&&this.record.end===i||(this.record=D({},this.record,{start:o,end:i}))}},{key:"formatToValue",value:function(e){if(Array.isArray(e)&&(e=Kf.toHTML(e)),"string"===this.props.format){var t=$O(this.props,"format_value_functions");return(e=Oo({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags})).formats=t(e),e}return e}},{key:"valueToEditableHTML",value:function(e){return ai({value:e,multilineTag:this.multilineTag,prepareEditableTree:$O(this.props,"format_prepare_functions")}).body.innerHTML}},{key:"removeEditorOnlyFormats",value:function(e){return this.props.formatTypes.forEach((function(t){t.__experimentalCreatePrepareEditableTree&&(e=zo(e,t.name,0,e.text.length))})),e}},{key:"valueToFormat",value:function(e){return e=this.removeEditorOnlyFormats(e),this.usedDeprecatedChildrenSource?Kf.fromDOM(ai({value:e,multilineTag:this.multilineTag,isEditableTree:!1}).body.childNodes):"string"===this.props.format?ci({value:e,multilineTag:this.multilineTag}):e}},{key:"render",value:function(){var e=this,t=this.props,n=t.tagName,r=void 0===n?"div":n,o=t.style,i=t.wrapperClassName,a=t.className,s=t.inlineToolbar,c=void 0!==s&&s,l=t.formattingControls,u=t.placeholder,d=t.keepPlaceholderOnFocus,f=void 0!==d&&d,h=t.isSelected,p=t.autocompleters,v=t.onTagNameChange,m=r,b=this.multilineTag,g=IO(this.props),y=u&&(!h||f)&&this.isEmpty(),k=In()(i,"editor-rich-text block-editor-rich-text"),_=this.getRecord();return Object(I.createElement)("div",{className:k},h&&"li"===this.multilineTag&&Object(I.createElement)(zO,{onTagNameChange:v,tagName:r,value:_,onChange:this.onChange}),h&&!c&&Object(I.createElement)(R_,null,Object(I.createElement)(jO,{controls:l})),h&&c&&Object(I.createElement)(_a,{className:"editor-rich-text__inline-toolbar block-editor-rich-text__inline-toolbar"},Object(I.createElement)(jO,{controls:l})),Object(I.createElement)(y_,{onReplace:this.props.onReplace,completers:p,record:_,onChange:this.onChange},(function(t){var n=t.listBoxId,i=t.activeId;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(RO,Le({tagName:r,style:o,record:_,valueToEditableHTML:e.valueToEditableHTML,isPlaceholderVisible:y,"aria-label":u,"aria-autocomplete":"list","aria-owns":n,"aria-activedescendant":i},g,{className:a,key:m,onPaste:e.onPaste,onInput:e.onInput,onCompositionEnd:e.onCompositionEnd,onKeyDown:e.onKeyDown,onFocus:e.onFocus,onBlur:e.onBlur,onMouseDown:e.onPointerDown,onTouchStart:e.onPointerDown,setRef:e.setRef})),y&&Object(I.createElement)(r,{className:In()("editor-rich-text__editable block-editor-rich-text__editable",a),style:o},b?Object(I.createElement)(b,null,u):u),h&&Object(I.createElement)(MO,{value:_,onChange:e.onChange}))})),h&&Object(I.createElement)(VO,null))}}]),t}(I.Component);qO.defaultProps={formattingControls:["bold","italic","link","strikethrough"],format:"string",value:""};var GO=Object(N.flowRight)([lg,v_((function(e){return{clientId:e.clientId}})),Og((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,a=t.isSelected,s=e("core/editor").canUserUseUnfilteredHTML,c=e("core/block-editor"),l=c.isCaretWithinFormattedText,u=c.getSelectionStart,d=c.getSelectionEnd,f=e("core/rich-text").getFormatTypes,h=u(),p=d();return void 0===a&&(a=h.clientId===n&&h.attributeKey===i),{canUserUseUnfilteredHTML:s(),isCaretWithinFormattedText:l(),formatTypes:f(),selectionStart:a?h.offset:void 0,selectionEnd:a?p.offset:void 0,isSelected:a}})),Cg((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,a=e("core/block-editor"),s=a.__unstableMarkLastChangeAsPersistent,c=a.enterFormattedText,l=a.exitFormattedText,u=a.selectionChange;return{onCreateUndoLevel:s,onEnterFormattedText:c,onExitFormattedText:l,onSelectionChange:function(e,t){u(n,i,e,t)}}})),ug,Gl("experimentalRichText")])(qO);GO.Content=function(e){var t,n=e.value,r=e.tagName,o=e.multiline,i=j(e,["value","tagName","multiline"]),a=n;!0!==o&&"p"!==o&&"li"!==o||(t=!0===o?"p":o),Array.isArray(n)&&(a=Kf.toHTML(n)),!a&&t&&(a="<".concat(t,"></").concat(t,">"));var s=Object(I.createElement)(K,null,a);return r?Object(I.createElement)(r,Object(N.omit)(i,["format"]),s):s},GO.isEmpty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Array.isArray(e)&&!e||0===e.length},GO.Content.defaultProps={format:"string",value:""};var ZO=function(e){return e.stopPropagation()},XO=function(e){function t(e){var n,r=e.autocompleteRef;return Ee(this,t),(n=De(this,Me(t).apply(this,arguments))).onChange=n.onChange.bind(xe(n)),n.onKeyDown=n.onKeyDown.bind(xe(n)),n.autocompleteRef=r||Object(I.createRef)(),n.inputRef=Object(I.createRef)(),n.updateSuggestions=Object(N.throttle)(n.updateSuggestions.bind(xe(n)),200),n.suggestionNodes=[],n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,nc()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100))}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"updateSuggestions",value:function(e){var t=this,n=this.props.fetchLinkSuggestions;if(n)if(e.length<2||/^https?:/.test(e))this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1});else{this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var r=n(e);r.then((function(e){t.suggestionsRequest===r&&(t.setState({suggestions:e,loading:!1}),e.length?t.props.debouncedSpeak(ge(me("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length),e.length),"assertive"):t.props.debouncedSpeak(ve("No results."),"assertive"))})).catch((function(){t.suggestionsRequest===r&&t.setState({loading:!1})})),this.suggestionsRequest=r}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var a=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case 38:e.stopPropagation(),e.preventDefault();var s=r?r-1:o.length-1;this.setState({selectedSuggestion:s});break;case 40:e.stopPropagation(),e.preventDefault();var c=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:c});break;case 9:null!==this.state.selectedSuggestion&&(this.selectLink(a),this.props.speak(ve("Link selected.")));break;case 13:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(a))}}else switch(e.keyCode){case 38:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case 40:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=void 0===n?"":n,o=t.autoFocus,i=void 0===o||o,a=t.instanceId,s=t.className,c=this.state,l=c.showSuggestions,u=c.suggestions,d=c.selectedSuggestion,f=c.loading,h="block-editor-url-input-suggestions-".concat(a),p="block-editor-url-input-suggestion-".concat(a);return Object(I.createElement)("div",{className:In()("editor-url-input block-editor-url-input",s)},Object(I.createElement)("input",{autoFocus:i,type:"text","aria-label":ve("URL"),required:!0,value:r,onChange:this.onChange,onInput:ZO,placeholder:ve("Paste URL or type to search"),onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":l,"aria-autocomplete":"list","aria-owns":h,"aria-activedescendant":null!==d?"".concat(p,"-").concat(d):void 0,ref:this.inputRef}),f&&Object(I.createElement)(Ul,null),l&&!!u.length&&Object(I.createElement)(La,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(I.createElement)("div",{className:"editor-url-input__suggestions block-editor-url-input__suggestions",id:h,ref:this.autocompleteRef,role:"listbox"},u.map((function(t,n){return Object(I.createElement)("button",{key:t.id,role:"option",tabIndex:"-1",id:"".concat(p,"-").concat(n),ref:e.bindSuggestionNode(n),className:In()("editor-url-input__suggestion block-editor-url-input__suggestion",{"is-selected":n===d}),onClick:function(){return e.handleOnClick(t)},"aria-selected":n===d},t.title)})))))}}]),t}(I.Component),QO=Object(N.flowRight)(ug,Ba,lg,Og((function(e){return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(XO),JO=(I.Component,ja("__experimentalBlockSettingsMenuFirstItem")),eS=JO.Fill,tS=JO.Slot;eS.Slot=tS;var nS=eS,rS=ja("__experimentalBlockSettingsMenuPluginsExtension"),oS=rS.Fill,iS=rS.Slot;oS.Slot=iS;var aS=oS;var sS=Object(N.flowRight)([Og((function(e,t){var n=e("core/block-editor"),r=n.getBlocksByClientId,o=n.getTemplateLock,i=n.getBlockRootClientId,a=r(t.clientIds),s=Object(N.every)(a,(function(e){return!!e&&yd(e.name,"multiple",!0)})),c=i(t.clientIds[0]);return{isLocked:!!o(c),blocks:a,canDuplicate:s,rootClientId:c,extraProps:t}})),Cg((function(e,t,n){var r=n.select,o=t.clientIds,i=t.rootClientId,a=t.blocks,s=t.isLocked,c=t.canDuplicate,l=e("core/block-editor"),u=l.insertBlocks,d=l.multiSelect,f=l.removeBlocks,h=l.insertDefaultBlock,p=l.replaceBlocks;return{onDuplicate:function(){if(!s&&c){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.last)(Object(N.castArray)(o)),i),t=a.map((function(e){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=Xl()();return D({},t,{clientId:o,attributes:D({},t.attributes,n),innerBlocks:r||t.innerBlocks.map((function(t){return e(t)}))})}(e)}));u(t,e+1,i),t.length>1&&d(Object(N.first)(t).clientId,Object(N.last)(t).clientId)}},onRemove:function(){s||f(o)},onInsertBefore:function(){if(!s){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.first)(Object(N.castArray)(o)),i);h({},i,e)}},onInsertAfter:function(){if(!s){var e=(0,r("core/block-editor").getBlockIndex)(Object(N.last)(Object(N.castArray)(o)),i);h({},i,e+1)}},onGroup:function(){if(a.length){var e=Dd(a,"core/group");e&&p(o,e)}},onUngroup:function(){if(a.length){var e=a[0].innerBlocks;e.length&&p(o,e)}}}}))])((function(e){var t=e.onDuplicate,n=e.onRemove,r=e.onInsertBefore,o=e.onInsertAfter,i=e.onGroup,a=e.onUngroup,s=e.isLocked,c=e.canDuplicate;return(0,e.children)({onDuplicate:t,onRemove:n,onInsertAfter:o,onInsertBefore:r,onGroup:i,onUngroup:a,isLocked:s,canDuplicate:c})})),cS=function(e){return e.preventDefault(),e},lS={duplicate:{raw:Fn.primaryShift("d"),display:Vn.primaryShift("d")},removeBlock:{raw:Fn.access("z"),display:Vn.access("z")},insertBefore:{raw:Fn.primaryAlt("t"),display:Vn.primaryAlt("t")},insertAfter:{raw:Fn.primaryAlt("y"),display:Vn.primaryAlt("y")}},uS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).selectAll=e.selectAll.bind(xe(e)),e.deleteSelectedBlocks=e.deleteSelectedBlocks.bind(xe(e)),e.clearMultiSelection=e.clearMultiSelection.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"selectAll",value:function(e){var t=this.props,n=t.rootBlocksClientIds,r=t.onMultiSelect;e.preventDefault(),r(Object(N.first)(n),Object(N.last)(n))}},{key:"deleteSelectedBlocks",value:function(e){var t=this.props,n=t.selectedBlockClientIds,r=t.hasMultiSelection,o=t.onRemove,i=t.isLocked;r&&(e.preventDefault(),i||o(n))}},{key:"clearMultiSelection",value:function(){var e=this.props,t=e.hasMultiSelection,n=e.clearSelectedBlock;t&&(n(),window.getSelection().removeAllRanges())}},{key:"render",value:function(){var e,t=this.props.selectedBlockClientIds;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(as,{shortcuts:(e={},x(e,Fn.primary("a"),this.selectAll),x(e,"backspace",this.deleteSelectedBlocks),x(e,"del",this.deleteSelectedBlocks),x(e,"escape",this.clearMultiSelection),e)}),t.length>0&&Object(I.createElement)(sS,{clientIds:t},(function(e){var t,n=e.onDuplicate,r=e.onRemove,o=e.onInsertAfter,i=e.onInsertBefore;return Object(I.createElement)(as,{bindGlobal:!0,shortcuts:(t={},x(t,lS.duplicate.raw,Object(N.flow)(cS,n)),x(t,lS.removeBlock.raw,Object(N.flow)(cS,r)),x(t,lS.insertBefore.raw,Object(N.flow)(cS,i)),x(t,lS.insertAfter.raw,Object(N.flow)(cS,o)),t)})})))}}]),t}(I.Component),dS=(Object(N.flowRight)([Og((function(e){var t=e("core/block-editor"),n=t.getBlockOrder,r=t.getSelectedBlockClientIds,o=t.hasMultiSelection,i=t.getBlockRootClientId,a=t.getTemplateLock,s=r();return{rootBlocksClientIds:n(),hasMultiSelection:o(),isLocked:Object(N.some)(s,(function(e){return!!a(i(e))})),selectedBlockClientIds:s}})),Cg((function(e){var t=e("core/block-editor");return{clearSelectedBlock:t.clearSelectedBlock,onMultiSelect:t.multiSelect,onRemove:t.removeBlocks}}))])(uS),Og((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(I.createElement)(na,{isDefault:!0,type:"button",className:"editor-skip-to-selected-block block-editor-skip-to-selected-block",onClick:function(){Lw(t).closest(".block-editor-block-list__block").focus()}},ve("Skip to the selected block"))}))),fS=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Ee(this,e),this.value=n,["entries","forEach","keys","values"].forEach((function(e){t[e]=function(){var t;return(t=this._valueAsArray)[e].apply(t,arguments)}.bind(t)}))}return Te(e,[{key:"toString",value:function(){return this.value}},{key:Symbol.iterator,value:Ue.a.mark((function e(){return Ue.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this._valueAsArray,"t0",1);case 1:return e.abrupt("return",e.t0);case 2:case"end":return e.stop()}}),e,this)}))},{key:"item",value:function(e){return this._valueAsArray[e]}},{key:"contains",value:function(e){return-1!==this._valueAsArray.indexOf(e)}},{key:"add",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value+=" "+t.join(" ")}},{key:"remove",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.value=N.without.apply(void 0,[this._valueAsArray].concat(t)).join(" ")}},{key:"toggle",value:function(e,t){return void 0===t&&(t=!this.contains(e)),t?this.add(e):this.remove(e),t}},{key:"replace",value:function(e,t){return!!this.contains(e)&&(this.remove(e),this.add(t),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(e){e=String(e),this._valueAsArray=Object(N.uniq)(Object(N.compact)(e.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),e}();function hS(e,t,n){var r=new fS(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var pS=Object(N.flowRight)([Og((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,i=r(n),a=md(i.name);return{block:i,name:i.name,attributes:i.attributes,className:i.attributes.className||"",styles:o(i.name),type:a}})),Cg((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.name,i=e.attributes,a=e.type,s=e.block,c=e.onSwitch,l=void 0===c?N.noop:c,u=e.onHoverClassName,d=void 0===u?N.noop:u;if(!t||0===t.length)return null;a.styles||Object(N.find)(t,"isDefault")||(t=[{name:"default",label:be("Default","block style"),isDefault:!0}].concat(ft(t)));var f=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,a=new fS(t).values()[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;if(-1!==s.indexOf("is-style-")){var c=s.substring(9),l=Object(N.find)(e,{name:c});if(l)return l}}}catch(u){r=!0,o=u}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}return Object(N.find)(e,"isDefault")}(t,n);function h(e){var t=hS(n,f,e);r(t),d(null),l()}return Object(I.createElement)("div",{className:"editor-block-styles block-editor-block-styles"},t.map((function(e){var t=hS(n,f,e);return Object(I.createElement)("div",{key:e.name,className:In()("editor-block-styles__item block-editor-block-styles__item",{"is-active":f===e}),onClick:function(){return h(e)},onKeyDown:function(t){13!==t.keyCode&&32!==t.keyCode||(t.preventDefault(),h(e))},onMouseEnter:function(){return d(t)},onMouseLeave:function(){return d(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(I.createElement)("div",{className:"editor-block-styles__item-preview block-editor-block-styles__item-preview"},Object(I.createElement)(Kw,{name:o,attributes:D({},i,{className:t}),innerBlocks:s.innerBlocks})),Object(I.createElement)("div",{className:"editor-block-styles__item-label block-editor-block-styles__item-label"},e.label||e.name))})))})),vS={HTMLRegExp:/<\/?[a-z][^>]*?>/gi,HTMLcommentRegExp:/<!--[\s\S]*?-->/g,spaceRegExp:/ | /gi,HTMLEntityRegExp:/&\S+?;/g,connectorRegExp:/--|\u2014/g,removeRegExp:new RegExp(["[","!-@[-`{-~","-¿×÷"," -⯿","⸀-","]"].join(""),"g"),astralRegExp:/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wordsRegExp:/\S\s+/g,characters_excluding_spacesRegExp:/\S/g,characters_including_spacesRegExp:/[^\f\n\r\t\v\u00AD\u2028\u2029]/g,l10n:{type:"words"}},mS=function(e,t){if(e.HTMLRegExp)return t.replace(e.HTMLRegExp,"\n")},bS=function(e,t){return e.astralRegExp?t.replace(e.astralRegExp,"a"):t},gS=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,""):t},yS=function(e,t){return e.connectorRegExp?t.replace(e.connectorRegExp," "):t},kS=function(e,t){return e.removeRegExp?t.replace(e.removeRegExp,""):t},_S=function(e,t){return e.HTMLcommentRegExp?t.replace(e.HTMLcommentRegExp,""):t},wS=function(e,t){return e.shortcodesRegExp?t.replace(e.shortcodesRegExp,"\n"):t},OS=function(e,t){if(e.spaceRegExp)return t.replace(e.spaceRegExp," ")},SS=function(e,t){return e.HTMLEntityRegExp?t.replace(e.HTMLEntityRegExp,"a"):t};function ES(e,t,n){if(""===e)return 0;if(e){var r=function(e,t){var n=Object(N.extend)(vS,t);return n.shortcodes=n.l10n.shortcodes||{},n.shortcodes&&n.shortcodes.length&&(n.shortcodesRegExp=new RegExp("\\[\\/?(?:"+n.shortcodes.join("|")+")[^\\]]*?\\]","g")),n.type=e||n.l10n.type,"characters_excluding_spaces"!==n.type&&"characters_including_spaces"!==n.type&&(n.type="words"),n}(t,n),o=r[t+"RegExp"],i="words"===r.type?function(e,t,n){return e=Object(N.flow)(mS.bind(this,n),_S.bind(this,n),wS.bind(this,n),OS.bind(this,n),gS.bind(this,n),yS.bind(this,n),kS.bind(this,n))(e),(e+="\n").match(t)}(e,o,r):function(e,t,n){return e=Object(N.flow)(mS.bind(this,n),_S.bind(this,n),wS.bind(this,n),OS.bind(this,n),bS.bind(this,n),SS.bind(this,n))(e),(e+="\n").match(t)}(e,o,r);return i?i.length:0}}var CS=Og((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=ES(gf(t),"words");return Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card block-editor-multi-selection-inspector__card"},Object(I.createElement)(L_,{icon:Object(I.createElement)(Mn,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-content block-editor-multi-selection-inspector__card-content"},Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-title block-editor-multi-selection-inspector__card-title"},ge(me("%d block","%d blocks",t.length),t.length)),Object(I.createElement)("div",{className:"editor-multi-selection-inspector__card-description block-editor-multi-selection-inspector__card-description"},me("%d word","%d words",n))))})),TS=(Og((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,i=e("core/blocks").getBlockStyles,a=n(),s=a&&o(a),c=a&&md(s),l=a&&i(s);return{count:r(),hasBlockStyles:l&&l.length>0,selectedBlockName:s,selectedBlockClientId:a,blockType:c}}))((function(e){var t=e.selectedBlockClientId,n=e.selectedBlockName,r=e.blockType,o=e.count,i=e.hasBlockStyles;if(o>1)return Object(I.createElement)(CS,null);var a=n===pd();return r&&t&&!a?Object(I.createElement)(I.Fragment,null,Object(I.createElement)("div",{className:"editor-block-inspector__card block-editor-block-inspector__card"},Object(I.createElement)(L_,{icon:r.icon,showColors:!0}),Object(I.createElement)("div",{className:"editor-block-inspector__card-content block-editor-block-inspector__card-content"},Object(I.createElement)("div",{className:"editor-block-inspector__card-title block-editor-block-inspector__card-title"},r.title),Object(I.createElement)("div",{className:"editor-block-inspector__card-description block-editor-block-inspector__card-description"},r.description))),i&&Object(I.createElement)("div",null,Object(I.createElement)(Ec,{title:ve("Styles"),initialOpen:!1},Object(I.createElement)(pS,{clientId:t}))),Object(I.createElement)("div",null,Object(I.createElement)(kO.Slot,null)),Object(I.createElement)("div",null,Object(I.createElement)(vO.Slot,null,(function(e){return!Object(N.isEmpty)(e)&&Object(I.createElement)(Ec,{className:"editor-block-inspector__advanced block-editor-block-inspector__advanced",title:ve("Advanced"),initialOpen:!1},e)}))),Object(I.createElement)(dS,{key:"back"})):Object(I.createElement)("span",{className:"editor-block-inspector__no-blocks block-editor-block-inspector__no-blocks"},ve("No block selected."))})),function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(xe(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(I.createElement)("div",Le({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(N.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(I.Component));Object(N.flowRight)([Og((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Cg((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(TS);var xS=Object(N.flowRight)([Og((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,i=r.getBlockMode,a=r.getSettings,s=o(n),c=a().codeEditingEnabled;return{mode:i(n),blockType:s?md(s.name):null,isCodeEditingEnabled:c}})),Cg((function(e,t){var n=t.onToggle,r=void 0===n?N.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,i=void 0!==o&&o,a=e.isCodeEditingEnabled,s=void 0===a||a;if(!yd(t,"html",!0)||!s)return null;var c=ve("visual"===n?"Edit as HTML":"Edit visually");return Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:r,icon:"html"},!i&&c)}));function DS(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=ve("Convert to Blocks");return Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:n,icon:"screenoptions"},!r&&o)}var MS=Object(N.flowRight)(Og((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Cg((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,ip({HTML:vf(n)}))}}})))(DS),jS=Object(N.flowRight)(Og((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===hd()}})),Cg((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,ip({HTML:gf(n)}))}}})))(DS);var IS=function(e){var t=e.clientIds,n=Object(N.castArray)(t),r=n.length,o=n[0];return Object(I.createElement)(sS,{clientIds:t},(function(e){var n=e.onDuplicate,i=e.onRemove,a=e.onInsertAfter,s=e.onInsertBefore,c=e.canDuplicate,l=e.isLocked;return Object(I.createElement)(ql,null,Object(I.createElement)(Ws,{icon:"ellipsis",label:ve("More options"),position:"bottom right",className:"block-editor-block-settings-menu",__unstableToggleClassName:"block-editor-block-settings-menu__toggle editor-block-settings-menu__toggle",__unstableMenuClassName:"block-editor-block-settings-menu__content editor-block-settings-menu__content",__unstablePopoverClassName:"block-editor-block-settings-menu__popover editor-block-settings-menu__popover"},(function(e){var u=e.onClose;return Object(I.createElement)(I.Fragment,null,Object(I.createElement)(cc,null,Object(I.createElement)(nS.Slot,{fillProps:{onClose:u}}),1===r&&Object(I.createElement)(jS,{clientId:o}),1===r&&Object(I.createElement)(MS,{clientId:o}),!l&&c&&Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,n),icon:"admin-page",shortcut:lS.duplicate.display},ve("Duplicate")),!l&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,s),icon:"insert-before",shortcut:lS.insertBefore.display},ve("Insert Before")),Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,a),icon:"insert-after",shortcut:lS.insertAfter.display},ve("Insert After"))),1===r&&Object(I.createElement)(xS,{clientId:o,onToggle:u}),Object(I.createElement)(aS.Slot,{fillProps:{clientIds:t,onClose:u}})),Object(I.createElement)(cc,null,!l&&Object(I.createElement)(lc,{className:"editor-block-settings-menu__control block-editor-block-settings-menu__control",onClick:Object(N.flow)(u,i),icon:"trash",shortcut:lS.removeBlock.display},ve("Remove Block"))))})))}))},PS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(xe(e)),e}return Ie(t,e),Te(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,i=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var s,c=Object(N.mapKeys)(o,(function(e){return e.name})),l=Object(N.orderBy)(Object(N.filter)(Cd(n),(function(e){return e&&!!c[e.name]})),(function(e){return c[e.name].frecency}),"desc");if(1===Object(N.uniq)(Object(N.map)(n,"name")).length){var u=md(n[0].name);s=u.icon}else s="layout";return i||l.length?Object(I.createElement)(Qa,{position:"bottom right",className:"editor-block-switcher block-editor-block-switcher",contentClassName:"editor-block-switcher__popover block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?ve("Change block type or style"):ge(me("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(I.createElement)(ql,null,Object(I.createElement)(ya,{className:"editor-block-switcher__toggle block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,tooltip:o,onKeyDown:function(e){r||40!==e.keyCode||(e.preventDefault(),e.stopPropagation(),t())},icon:Object(I.createElement)(I.Fragment,null,Object(I.createElement)(L_,{icon:s,showColors:!0}),Object(I.createElement)(Mn,{className:"editor-block-switcher__transform block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(I.createElement)(xn,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(I.createElement)(I.Fragment,null,i&&Object(I.createElement)(Ec,{title:ve("Block Styles"),initialOpen:!0},Object(I.createElement)(pS,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==l.length&&Object(I.createElement)(Ec,{title:ve("Transform To:"),initialOpen:!0},Object(I.createElement)(qw,{items:l.map((function(e){return{id:e.name,icon:e.icon,title:e.title,hasChildBlocksWithInserterSupport:_d(e.name)}})),onSelect:function(e){r(n,e.id),o()}})),null!==a&&Object(I.createElement)(Yw,{name:n[0].name,attributes:D({},n[0].attributes,{className:a}),innerBlocks:n[0].innerBlocks}))}}):Object(I.createElement)(ql,null,Object(I.createElement)(ya,{disabled:!0,className:"editor-block-switcher__no-switcher-icon block-editor-block-switcher__no-switcher-icon",label:ve("Block icon"),icon:Object(I.createElement)(L_,{icon:s,showColors:!0})}))}}]),t}(I.Component),NS=Object(N.flowRight)(Og((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,a=r.getInserterItems,s=e("core/blocks").getBlockStyles,c=i(Object(N.first)(Object(N.castArray)(n))),l=o(n),u=l&&1===l.length?l[0]:null,d=u&&s(u.name);return{blocks:l,inserterItems:a(c),hasBlockStyles:d&&d.length>0}})),Cg((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Dd(n,r))}}})))(PS);var RS=Og((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(I.createElement)(NS,{key:"switcher",clientIds:n}):null}));var LS=Og((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=r();return{blockClientIds:i,isValid:1===i.length?o(i[0]):null,mode:1===i.length?n(i[0]):null}}))((function(e){var t=e.blockClientIds,n=e.isValid,r=e.mode;return 0===t.length?null:t.length>1?Object(I.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},Object(I.createElement)(RS,null),Object(I.createElement)(IS,{clientIds:t})):Object(I.createElement)("div",{className:"editor-block-toolbar block-editor-block-toolbar"},"visual"===r&&n&&Object(I.createElement)(I.Fragment,null,Object(I.createElement)(NS,{clientIds:t}),Object(I.createElement)(x_.Slot,null),Object(I.createElement)(R_.Slot,null)),Object(I.createElement)(IS,{clientIds:t}))}));Object(N.flowRight)([Cg((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,i=r.getSelectedBlockClientIds,a=r.hasMultiSelection,s=e("core/block-editor").removeBlocks,c=function(e){var t=i();if(0!==t.length&&(a()||!function(){if(Wi(document.activeElement))return!0;var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;return t&&!t.collapsed}())){var n=gf(o(t));e.clipboardData.setData("text/plain",n),e.clipboardData.setData("text/html",n),e.preventDefault()}};return{onCopy:c,onCut:function(e){if(c(e),a()){var t=i();s(t)}}}}))])((function(e){var t=e.children,n=e.onCopy,r=e.onCut;return Object(I.createElement)("div",{onCopy:n,onCut:r},t)}));var AS=function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"componentDidUpdate",value:function(){this.scrollIntoView()}},{key:"scrollIntoView",value:function(){var e=this.props.extentClientId;if(e){var t=Lw(e);if(t){var n=Yi(t);n&&nc()(t,n,{onlyScrollIfNeeded:!0})}}}},{key:"render",value:function(){return null}}]),t}(I.Component),zS=(Og((function(e){return{extentClientId:(0,e("core/block-editor").getLastMultiSelectedBlockClientId)()}}))(AS),[38,39,40,37,13,8]);var FS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(xe(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(xe(e)),e.startTypingInTextField=e.startTypingInTextField.bind(xe(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(xe(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(xe(e)),e.onKeyDown=Object(N.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Ie(t,e),Te(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&27===e.keyCode&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Wi(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(N.includes)(zS,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Wi(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(I.Component),HS=(Object(N.flowRight)([Og((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Cg((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),ug])(FS),function(e){function t(){return Ee(this,t),De(this,Me(t).apply(this,arguments))}return Ie(t,e),Te(t,[{key:"getSnapshotBeforeUpdate",value:function(e){var t=this.props,n=t.blockOrder,r=t.selectionStart;return n!==e.blockOrder&&r?this.getOffset(r):null}},{key:"componentDidUpdate",value:function(e,t,n){n&&this.restorePreviousOffset(n)}},{key:"getOffset",value:function(e){var t=Lw(e);return t?t.getBoundingClientRect().top:null}},{key:"restorePreviousOffset",value:function(e){var t=Lw(this.props.selectionStart);if(t){var n=Yi(t);n&&(n.scrollTop=n.scrollTop+t.getBoundingClientRect().top-e)}}},{key:"render",value:function(){return null}}]),t}(I.Component)),VS=(Og((function(e){return{blockOrder:e("core/block-editor").getBlockOrder(),selectionStart:e("core/block-editor").getBlockSelectionStart()}}))(HS),window),BS=VS.getSelection,US=VS.getComputedStyle,WS=Object(N.overEvery)([Wi,Ji.tabbable.isTabbableIndex]);var KS=function(e){function t(){var e;return Ee(this,t),(e=De(this,Me(t).apply(this,arguments))).onKeyDown=e.onKeyDown.bind(xe(e)),e.bindContainer=e.bindContainer.bind(xe(e)),e.clearVerticalRect=e.clearVerticalRect.bind(xe(e)),e.focusLastTextField=e.focusLastTextField.bind(xe(e)),e.verticalRect=null,e}return Ie(t,e),Te(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearVerticalRect",value:function(){this.verticalRect=null}},{key:"getClosestTabbable",value:function(e,t){var n=Ji.focusable.find(this.container);return t&&(n=Object(N.reverse)(n)),n=n.slice(n.indexOf(e)+1),Object(N.find)(n,(function t(n,r,o){if(!Ji.tabbable.isTabbableIndex(n))return!1;if(Wi(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,a=1;(i=o[r+a])&&n.contains(i);a++)if(t(i,r+a,o))return!1;return!0}))}},{key:"expandSelection",value:function(e){var t=this.props,n=t.selectedBlockClientId,r=t.selectionStartClientId,o=t.selectionBeforeEndClientId,i=t.selectionAfterEndClientId,a=e?o:i;a&&this.props.onMultiSelect(r||n,a)}},{key:"moveSelection",value:function(e){var t=this.props,n=t.selectedFirstClientId,r=t.selectedLastClientId,o=e?n:r;o&&this.props.onSelectBlock(o)}},{key:"isTabbableEdge",value:function(e,t){var n,r,o=this.getClosestTabbable(e,t);return!(o&&(n=e,r=o,n.closest("[data-block]")===r.closest("[data-block]")))}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.hasMultiSelection,r=t.onMultiSelect,o=t.blocks,i=t.selectionBeforeEndClientId,a=t.selectionAfterEndClientId,s=e.keyCode,c=e.target,l=38===s,u=37===s,d=l||u,f=u||39===s,h=l||40===s,p=f||h,v=e.shiftKey,m=v||e.ctrlKey||e.altKey||e.metaKey,b=h?Hi:Fi;if(h?this.verticalRect||(this.verticalRect=function(){var e=window.getSelection(),t=e.rangeCount?e.getRangeAt(0):null;if(t)return Vi(t)}()):this.verticalRect=null,!p)return Bn.primary(e)&&(this.isEntirelySelected=Ki(c)),void(Bn.primary(e,"a")&&((c.isContentEditable?this.isEntirelySelected:Ki(c))&&(r(Object(N.first)(o),Object(N.last)(o)),e.preventDefault()),this.isEntirelySelected=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((38===t||40===t)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(c,s,m)){var g="rtl"===US(c).direction?!d:d;if(v)(d&&i||!d&&a)&&(n||this.isTabbableEdge(c,d)&&b(c,d))&&(this.expandSelection(d),e.preventDefault());else if(n)this.moveSelection(d),e.preventDefault();else if(h&&Hi(c,d)){var y=this.getClosestTabbable(c,d);y&&(!function e(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t)if(r&&t.isContentEditable){var i=r.height/2,a=t.getBoundingClientRect(),s=r.left,c=n?a.bottom-i:a.top+i,l=Ui(document,s,c,t);if(!l||!t.contains(l.startContainer))return!o||l&&l.startContainer&&l.startContainer.contains(t)?void Bi(t,n):(t.scrollIntoView(n),void e(t,n,r,!1));if(l.startContainer.nodeType===Ri){var u=l.startContainer.parentNode,d=u.getBoundingClientRect(),f=n?"bottom":"top",h=parseInt(Pi(u).getPropertyValue("padding-".concat(f)),10)||0,p=n?d.bottom-h-i:d.top+h+i;c!==p&&(l=Ui(document,s,p,t))}var v=window.getSelection();v.removeAllRanges(),v.addRange(l),t.focus(),v.removeAllRanges(),v.addRange(l)}else Bi(t,n)}(y,d,this.verticalRect),e.preventDefault())}else if(f&&BS().isCollapsed&&Fi(c,g)){Bi(this.getClosestTabbable(c,g),g),e.preventDefault()}}}},{key:"focusLastTextField",value:function(){var e=Ji.focusable.find(this.container),t=Object(N.findLast)(e,WS);t&&Bi(t,!0)}},{key:"render",value:function(){var e=this.props.children;return Object(I.createElement)("div",{className:"editor-writing-flow block-editor-writing-flow"},Object(I.createElement)("div",{ref:this.bindContainer,onKeyDown:this.onKeyDown,onMouseDown:this.clearVerticalRect},e),Object(I.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:this.focusLastTextField,className:"wp-block editor-writing-flow__click-redirect block-editor-writing-flow__click-redirect"}))}}]),t}(I.Component),YS=(Object(N.flowRight)([Og((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,a=t.getNextBlockClientId,s=t.getFirstMultiSelectedBlockClientId,c=t.getLastMultiSelectedBlockClientId,l=t.hasMultiSelection,u=t.getBlockOrder,d=n(),f=r(),h=o();return{selectedBlockClientId:d,selectionStartClientId:f,selectionBeforeEndClientId:i(h||d),selectionAfterEndClientId:a(h||d),selectedFirstClientId:s(),selectedLastClientId:c(),hasMultiSelection:l(),blocks:u()}})),Cg((function(e){var t=e("core/block-editor");return{onMultiSelect:t.multiSelect,onSelectBlock:t.selectBlock}}))])(KS),["left","center","right","wide","full"]),$S=["wide","full"];function qS(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?YS:[],!r||!0===e&&!n?N.without.apply(void 0,[t].concat($S)):t}var GS=ag((function(e){return function(t){var n=t.name,r=qS(gd(n,"align"),yd(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(I.createElement)(x_,{key:"align-controls"},Object(I.createElement)(O_,{value:t.attributes.align,onChange:function(e){if(!e){var n=md(t.name);Object(N.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(I.createElement)(e,Le({key:"edit"},t))]}}),"withToolbarControls"),ZS=ag(Object(N.flowRight)([Og((function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}})),function(e){return function(t){var n=t.name,r=t.attributes,o=t.hasWideEnabled,i=r.align,a=qS(gd(n,"align"),yd(n,"alignWide",!0),o),s=t.wrapperProps;return Object(N.includes)(a,i)&&(s=D({},s,{"data-align":i})),Object(I.createElement)(e,Le({},t,{wrapperProps:s}))}}]));Ir("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(N.has)(e.attributes,["align","type"])?e:(yd(e,"align")&&(e.attributes=Object(N.assign)(e.attributes,{align:{type:"string"}})),e)})),Ir("editor.BlockListBlock","core/editor/align/with-data-align",ZS),Ir("editor.BlockEdit","core/editor/align/with-toolbar-controls",GS),Ir("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=gd(t,"align"),i=yd(t,"alignWide",!0);return Object(N.includes)(qS(o,i),r)&&(e.className=In()("align".concat(r),e.className)),e}));var XS=/[\s#]/g;var QS=ag((function(e){return function(t){return yd(t.name,"anchor")&&t.isSelected?Object(I.createElement)(I.Fragment,null,Object(I.createElement)(e,t),Object(I.createElement)(vO,null,Object(I.createElement)(us,{label:ve("HTML Anchor"),help:ve("Anchors lets you link directly to a section on a page."),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(XS,"-"),t.setAttributes({anchor:e})}}))):Object(I.createElement)(e,t)}}),"withInspectorControl");Ir("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(N.has)(e.attributes,["anchor","type"])?e:(yd(e,"anchor")&&(e.attributes=Object(N.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Ir("editor.BlockEdit","core/editor/anchor/with-inspector-control",QS),Ir("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return yd(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var JS=ag((function(e){return function(t){return yd(t.name,"customClassName",!0)&&t.isSelected?Object(I.createElement)(I.Fragment,null,Object(I.createElement)(e,t),Object(I.createElement)(vO,null,Object(I.createElement)(us,{label:ve("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:ve("Separate multiple classes with spaces.")}))):Object(I.createElement)(e,t)}}),"withInspectorControl");function eE(e){var t=eh(e="<div data-custom-class-name>".concat(e,"</div>"),{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Ir("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return yd(e,"customClassName",!0)&&(e.attributes=Object(N.assign)(e.attributes,{className:{type:"string"}})),e})),Ir("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",JS),Ir("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return yd(t,"customClassName",!0)&&n.className&&(e.className=In()(e.className,n.className)),e})),Ir("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(yd(t,"customClassName",!0)){var r=pf(t,Object(N.omit)(e,["className"])),o=eE(r),i=eE(n),a=Object(N.difference)(i,o);a.length?e.className=a.join(" "):r&&delete e.className}return e})),Ir("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return yd(t,"className",!0)&&("string"==typeof e.className?e.className=Object(N.uniq)([ff(t.name)].concat(ft(e.className.split(" ")))).join(" ").trim():e.className=ff(t.name)),e}));n(139);var tE=n(57),nE=n.n(tE),rE=oE;function oE(e){this.options=e||{}}oE.prototype.emit=function(e){return e},oE.prototype.visit=function(e){return this[e.type](e)},oE.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r<o;r++)n+=this.visit(e[r]),t&&r<o-1&&(n+=this.emit(t));return n};function iE(e){rE.call(this,e)}nE()(iE,rE),iE.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},iE.prototype.comment=function(e){return this.emit("",e.position)},iE.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},iE.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},iE.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},iE.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},iE.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},iE.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},iE.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},iE.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},iE.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},iE.prototype.rule=function(e){var t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},iE.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};function aE(e){e=e||{},rE.call(this,e),this.indentation=e.indent}nE()(aE,rE),aE.prototype.compile=function(e){return this.stylesheet(e)},aE.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},aE.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},aE.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},aE.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},aE.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},aE.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},aE.prototype.keyframe=function(e){var t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},aE.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},aE.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},aE.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},aE.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},aE.prototype.rule=function(e){var t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},aE.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},aE.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};n(73);n(253);var sE=Object(N.flowRight)([bn((function(e,t){var n=t.blockName,r=t.href,o=t.onClick;return{autosaveAndRedirect:function(t){return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return t.preventDefault(),o(n),i.next=4,regeneratorRuntime.awrap(e("core/editor").autosave());case 4:window.top.location.href=r;case 5:case"end":return i.stop()}}))}}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,r=e.href,o=e.icon,i=e.subtitle,a=e.title;return Object(I.createElement)(iw,{actions:r&&[Object(I.createElement)(na,{href:r,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(I.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(I.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(I.createElement)("span",{className:"jetpack-block-nudge__title"},a),Object(I.createElement)("span",{className:"jetpack-block-nudge__message"},i))))}));function cE(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}function lE(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}var uE={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};gn("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:uE,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,uE.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",uE.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(254);var dE=function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(I.createElement)(sE,{buttonLabel:ve("Upgrade","jetpack"),icon:Object(I.createElement)(pe.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:ve(t?"Upgrade to %(planName)s to use this block on your site.":"Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:ve("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})},fE=(Object(N.flowRight)([pn((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),o=Object(N.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(N.get)(r,["path_slug"]),i=e("core/editor").getCurrentPostId(),a=e("core/editor").getCurrentPostType(),s=["page","post"].includes(a)?"":"edit",c="simple"===lE()?_e("/"+Object(N.compact)([s,a,cE(),i]).join("/"),{plan_upgraded:1}):_e(window.location.protocol+"//".concat(cE().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:i,plan_upgraded:1}),l=o&&_e("https://wordpress.com/checkout/".concat(cE(),"/").concat(o),{redirect_to:c});return{trackEvent:function(e){Cn.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(N.get)(r,["product_name"]),upgradeUrl:l}}))])(dE),n(255),Object(fe.renderToStaticMarkup)(Object(I.createElement)(dE,{planName:"#planName#",upgradeUrl:"#upgradeUrl#"})));t.default=function(){return{"upgrade-nudge.html":fE}}}]);
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.asset.php b/plugins/jetpack/_inc/blocks/contact-info/view.asset.php index 18e43899..a0f2e697 100644 --- a/plugins/jetpack/_inc/blocks/contact-info/view.asset.php +++ b/plugins/jetpack/_inc/blocks/contact-info/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'fbd5856d349e2c71c3fa2fbdcd080076');
\ No newline at end of file +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '2b138cc36124a83ac2f6b21b4b0b2dd7');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/contact-info/view.js b/plugins/jetpack/_inc/blocks/contact-info/view.js index add23578..86274605 100644 --- a/plugins/jetpack/_inc/blocks/contact-info/view.js +++ b/plugins/jetpack/_inc/blocks/contact-info/view.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=260)}({260:function(e,t,n){n(37),e.exports=n(261)},261:function(e,t,n){"use strict";n.r(t);n(84)},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},84:function(e,t,n){}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=278)}({129:function(e,t,n){},278:function(e,t,n){n(42),e.exports=n(279)},279:function(e,t,n){"use strict";n.r(t);n(129)},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-beta.asset.php b/plugins/jetpack/_inc/blocks/editor-beta.asset.php index 7a0b872c..aac7a69b 100644 --- a/plugins/jetpack/_inc/blocks/editor-beta.asset.php +++ b/plugins/jetpack/_inc/blocks/editor-beta.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url'), 'version' => 'cf99879b7ce9876ba24cf1d277c34813');
\ No newline at end of file +<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url'), 'version' => 'af202345ce4c02273a9706fe204e7d13');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-beta.css b/plugins/jetpack/_inc/blocks/editor-beta.css index 7c77815a..dc94cba3 100644 --- a/plugins/jetpack/_inc/blocks/editor-beta.css +++ b/plugins/jetpack/_inc/blocks/editor-beta.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-right:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-button{margin-top:1px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-button{display:inline-block;margin-bottom:20px}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .components-placeholder__instructions{margin-bottom:0}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 0 0 5%;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-left:-10px;margin-right:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}.jetpack-seo-message-box{background-color:#edeff0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}
\ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-right:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-calendly-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}.is-calendly .is-active{font-weight:700}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{color:#8d96a0;width:100%;margin:0 0 1em}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-eventbrite.is-modal-button{display:inline-block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link{display:block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link:focus span[data-rich-text-placeholder]:after{opacity:.3}.block-editor-block-preview__content [data-type="jetpack/eventbrite"][data-block],.block-editor-block-preview__content [data-type="jetpack/eventbrite"] [data-block]{display:table}.jetpack-eventbrite-block__embed-type-controls .block-editor-block-styles__item-preview{align-items:center;height:auto;justify-content:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-text-control__input{height:36px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:327px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{padding:0 8px;height:36px;align-items:center;line-height:normal}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{margin:1px 0 0 4px;position:relative}}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 1em .25em 0}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-right:0;padding-left:1em}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;text-align:left;padding:0;margin:0}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.block-editor-block-preview__content [data-type="jetpack/opentable"][data-block],.block-editor-block-preview__content [data-type="jetpack/opentable"] [data-block]{display:table}.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;flex-basis:100%;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b;line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 0 0 5%;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-left:-10px;margin-right:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:#000}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-left:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}.jetpack-seo-message-box{background-color:#edeff0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-left:5px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-beta.js b/plugins/jetpack/_inc/blocks/editor-beta.js index 2253bcb6..e387ada7 100644 --- a/plugins/jetpack/_inc/blocks/editor-beta.js +++ b/plugins/jetpack/_inc/blocks/editor-beta.js @@ -1,18 +1,2 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],o=t[1],c=0,s=[];c<a.length;c++)r=a[c],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&s.push(i[r][0]),i[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={3:0},i={3:0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{12:1,13:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var i="rtl"===document.dir?({12:"vendors~map/mapbox-gl",13:"vendors~swiper"}[e]||e)+"."+{12:"1239e27c56411388bad5",13:"17b5bcc416832d7a0c9e"}[e]+".rtl.css":({12:"vendors~map/mapbox-gl",13:"vendors~swiper"}[e]||e)+"."+{12:"1239e27c56411388bad5",13:"17b5bcc416832d7a0c9e"}[e]+".css",o=a.p+i,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(p=c[s]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(l===i||l===o))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var p;if((l=(p=u[s]).getAttribute("data-href"))===i||l===o)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.setAttribute("data-webpack",!0),h.onload=t,h.onerror=function(t){var i=t&&t.target&&t.target.src||o,a=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=i,delete r[e],h.parentNode.removeChild(h),n(a)},h.href=o,document.getElementsByTagName("head")[0].appendChild(h)})).then((function(){r[e]=0})));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,r){n=i[e]=[t,r]}));t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=function(e){return a.p+""+({12:"vendors~map/mapbox-gl",13:"vendors~swiper"}[e]||e)+"."+{12:"1239e27c56411388bad5",13:"17b5bcc416832d7a0c9e"}[e]+".js"}(e);var l=new Error;c=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,n[1](l)}i[e]=void 0}};var u=setTimeout((function(){c({type:"timeout",target:s})}),12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return a(a.s=256)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(82),i=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(83);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r; -/*! - Copyright (c) 2017 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var o=i.apply(null,r);o&&e.push(o)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){var r=n(3);function i(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(60),o=n(16),c=n(102),s=n(41),l=n(33),u=n.n(l),p=n(0),h=n(14),d=(n(135),function(e){return Object(h.createHigherOrderComponent)((function(t){return function(n){return Object(p.createElement)(t,u()({},n,{className:n.name===e?"has-warning is-interactive":""}))}}),"withHasWarningIsInteractiveClassNames")}),m=n(61),f=n.n(m),b=n(1),g=n(28),v=n(5),y=n(13),j=n(51),_=n(62),k=n(35),O=n(26),w={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};Object(y.registerStore)("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:w,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,w.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",w.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(137);var C=Object(h.compose)([Object(y.withSelect)((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),i=Object(v.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(v.get)(r,["path_slug"]),a=e("core/editor").getCurrentPostId(),o=e("core/editor").getCurrentPostType(),c=["page","post"].includes(o)?"":"edit",s=Object(O.b)()?Object(g.addQueryArgs)("/"+Object(v.compact)([c,o,Object(k.a)(),a]).join("/"),{plan_upgraded:1}):Object(g.addQueryArgs)(window.location.protocol+"//".concat(Object(k.a)().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:a,plan_upgraded:1}),l=i&&Object(g.addQueryArgs)("https://wordpress.com/checkout/".concat(Object(k.a)(),"/").concat(i),{redirect_to:s});return{trackEvent:function(e){j.a.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(v.get)(r,["product_name"]),upgradeUrl:l}}))])((function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(p.createElement)(_.a,{buttonLabel:Object(b.__)("Upgrade","jetpack"),icon:Object(p.createElement)(f.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:t?Object(b.sprintf)(Object(b.__)("Upgrade to %(planName)s to use this block on your site.","jetpack"),{planName:t}):Object(b.__)("Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:Object(b.__)("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})})),E=function(e){var t=e.requiredPlan;return Object(h.createHigherOrderComponent)((function(e){return function(n){return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(C,{plan:t,blockName:n.name}),Object(p.createElement)(e,n))}}),"wrapPaidBlock")};n.d(t,"a",(function(){return S}));var x=c.beta||[];function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(s.a)(e),c=r.available,l=r.details,u=function(e,t){return"missing_plan"===e&&t.required_plan}(r.unavailableReason,l);if(!c&&!u)return!1;var p=Object(o.registerBlockType)("jetpack/".concat(e),i()({},t,{title:x.includes(e)?"".concat(t.title," (beta)"):t.title,edit:u?E({requiredPlan:u})(t.edit):t.edit,example:u?void 0:t.example}));return u&&Object(a.addFilter)("editor.BlockListBlock","jetpack/".concat(e,"-with-has-warning-is-interactive-class-names"),d("jetpack/".concat(e))),n.forEach((function(e){return Object(o.registerBlockType)("jetpack/".concat(e.name),e.settings)})),p}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(88);var p=/[&<>"]/,h=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function m(e){return d[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(71);t.lib={},t.lib.mdurl=n(89),t.lib.ucmicro=n(157),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=a,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(h,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){return Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return p}));var r=["image"],i=4,a=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t,n){var r=n(77),i=n(78),a=n(79);e.exports=function(e){return r(e)||i(e)||a()}},function(e,t,n){var r=n(57),i=n(58),a=n(59);e.exports=function(e,t){return r(e)||i(e,t)||a()}},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(1),a={name:"map",prefix:"jetpack",title:Object(i.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(i._x)("map","block search term","jetpack"),Object(i._x)("location","block search term","jetpack"),Object(i._x)("navigation","block search term","jetpack")],description:Object(i.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(i.__)("Basic","jetpack")},{value:"black_and_white",label:Object(i.__)("Black and white","jetpack")},{value:"satellite",label:Object(i.__)("Satellite","jetpack")},{value:"terrain",label:Object(i.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},function(e,t,n){"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===r()}function a(){return"atomic"===r()}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var r=n(128),i=n(130);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=y(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(131);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),c=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var j=s.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(y);if(_){var k=(_=_[0]).toLowerCase();this.protocol=k,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||_&&b[_]||(y=y.substr(2),this.slashes=!0)}if(!b[_]&&(O||_&&!g[_])){for(var w,C,E=-1,x=0;x<h.length;x++){-1!==(S=y.indexOf(h[x]))&&(-1===E||S<E)&&(E=S)}-1!==(C=-1===E?y.lastIndexOf("@"):y.lastIndexOf("@",E))&&(w=y.slice(0,C),y=y.slice(C+1),this.auth=decodeURIComponent(w)),E=-1;for(x=0;x<p.length;x++){var S;-1!==(S=y.indexOf(p[x]))&&(-1===E||S<E)&&(E=S)}-1===E&&(E=y.length),this.host=y.slice(0,E),y=y.slice(E),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var T=F[x];if(T&&!T.match(d)){for(var M="",N=0,z=T.length;N<z;N++)T.charCodeAt(N)>127?M+="x":M+=T[N];if(!M.match(d)){var D=F.slice(0,x),R=F.slice(x+1),I=T.match(m);I&&(D.push(I[1]),R.unshift(I[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==y.indexOf(q)){var V=encodeURIComponent(q);V===q&&(V=escape(q)),y=y.split(q).join(V)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+a+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),h=0;h<p.length;h++){var d=p[h];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=j||y||n.host&&e.pathname,k=_,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),_=_&&(""===m[0]||""===O[0])),j)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=O.slice(-1)[0],E=(n.host||e.host||O.length>1)&&("."===C||".."===C)||""===C,x=0,S=O.length;S>=0;S--)"."===(C=O[S])?O.splice(S,1):".."===C?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!_&&!k)for(;x--;x)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),E&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(_=_||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t){function n(e,t,n,r,i,a,o){try{var c=e[a](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function c(e){n(o,i,a,c,s,"next",e)}function s(e){n(o,i,a,c,s,"throw",e)}c(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c}));var r="after-visits",i="before-visits",a=3,o="jp-visit-counter",c=15552e3},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";function r(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return u}));var r=n(68),i=n(5),a=16/9,o=.8,c=600,s="wp-block-jetpack-slideshow_autoplay-paused";function l(e){u(e),p(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(s)?(e.el.classList.remove(s),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(s),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function u(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,a),1),i="undefined"!=typeof window?window.innerHeight*o:c,s=Math.min(e.width/r,i),l="".concat(Math.floor(s),"px"),u="".concat(Math.floor(s/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=l,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=u,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=u}}}function p(e){Object(i.forEach)(e.slides,(function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(i.alt))}}(e)}function h(e){Object(i.forEach)(e.pagination.bullets,(function(t){t.addEventListener("click",(function(){var t=e.slides[e.realIndex];setTimeout((function(){t.focus()}),500)}))}))}},,function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}())}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},c=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&l()}function s(){o(a)}function l(){var e=Date.now();if(n){if(e-i<c)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=j(0,0,0,0);function f(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],a=e["padding-"+i];t[i]=f(a)}return t}(r),a=i.left+i.right,o=i.top+i.bottom,c=f(r.width),s=f(r.height);if("border-box"===r.boxSizing&&(Math.round(c+a)!==t&&(c-=b(r,"left","right")+a),Math.round(s+o)!==n&&(s-=b(r,"top","bottom")+o)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(c+a)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return j(i.left,i.top,c,s)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?v(e)?function(e){var t=e.getBBox();return j(0,0,t.width,t.height)}(e):g(e):m}function j(e,t,n,r){return{x:e,y:t,width:n,height:r}}var _=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=j(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,i,a,o,c,s,l=(r=(n=t).x,i=n.y,a=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),h(s,{x:r,y:i,width:a,height:o,top:i,right:r+a,bottom:o+i,left:r}),s);h(this,{target:e,contentRect:l})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new _(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new O(t,n,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));var E=void 0!==a.ResizeObserver?a.ResizeObserver:C;t.a=E},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(48),i=n(41);function a(e,t){var n=Object(i.a)(e),a=n.available;n.unavailableReason;return!!a&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(10),m=n.n(d),f=n(0),b=n(1),g=n(12),v=n.n(g),y=n(14),j=n(2),_=n(6),k=n(5),O=window.getComputedStyle,w=Object(j.withFallbackStyles)((function(e,t){var n,r,i,a,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(i=O(r).backgroundColor),n&&(a=O(n).color),{fallbackBackgroundColor:s||i,fallbackTextColor:l||a}})),C=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,a=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},i()(e,a,a),i()(e,"has-background",r),i()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,i=e.setAttributes,a=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(_.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return i({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,allowedFormats:[]})),Object(f.createElement)(_.InspectorControls,null,Object(f.createElement)(_.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){a(e),i({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),i({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(_.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(y.compose)([Object(_.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(C)},function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(5),o="Jetpack_Editor_Initial_State";function c(e){var t=Object(a.get)("object"==typeof window?window:null,[o],null),n=Object(a.get)(t,["available_blocks",e,"available"],!1),r=Object(a.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),c=Object(a.get)(t,["available_blocks",e,"details"],[]);return i()({available:n},!n&&{details:c,unavailableReason:r})}n.d(t,"a",(function(){return c}))},function(e,t,n){"use strict";var r=n(33),i=n.n(r),a=n(46),o=n.n(a),c=n(0),s=n(12),l=n.n(s),u=n(103),p=n.n(u);n(141);t.a=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,a=void 0!==r&&r,s=o()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":a});return n&&Object(c.createElement)("div",i()({className:u},s),a&&Object(c.createElement)(p.a,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),Object(c.createElement)("span",null,n))}},function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n(2),a=n(52),o=n(48),c=(n(144),n(54)),s=Object(i.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(a.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null}))}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function i(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t,n){var r=n(140);e.exports=function(e,t){if(null==e)return{};var n,i,a=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){var t=e.label,n=e.onClick;return Object(r.createElement)(i.IconButton,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},function(e,t,n){"use strict";var r=n(55),i=n.n(r),a=n(107),o=n.n(a),c=n(108),s=n.n(c),l=n(66),u=n.n(l),p=n(109),h=n.n(p),d=n(76),m=n.n(d),f=n(110),b=n.n(f),g=n(75);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(a? -/* - * Exposes number format capability - * - * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors). - * @license See CREDITS.md - * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js - */ -function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,a):""+Math.round(i)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<a&&(s[1]=s[1]||"",s[1]+=new Array(a-s[1].length+1).join("0")),s.join(c)}var y=o()("i18n-calypso"),j=[function(e){return e}],_={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function C(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function E(e,t){for(var n=j.length-1;n>=0;n--){var r=j[n](Object.assign({},t));if(e.state.locale[r.original])return C(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:h()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return v(e,n,r,i)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==_[n+e])return _[n+e];var r=b()().update(e).digest("hex");return _[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)j.push(r(!1));else{var i=t.substr(5).indexOf("-");if(i<0){var a=Number(t.substr(5));j.push(r(a))}else for(var o=Number(t.substr(5,i)),c=Number(t.substr(6+i)),s=o;s<=c;s++)j.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=C(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=C(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!E(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var i=E(this,t);if(i||(i=C(this.state.jed,t)),t.args){var a=Array.isArray(t.args)?t.args.slice(0):[t.args];a.unshift(i);try{i=u.a.sprintf.apply(u.a,a)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",a)}}return t.components&&(i=s()({mixedString:i,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(e){i=e(i,t)})),n&&this.state.translations.set(e,i),i},x.prototype.reRenderTranslations=function(){y("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),T=n.n(P),M=n(11),N=n.n(M),z=n(8),D=n.n(z),R=n(9),I=n.n(R),L=n(4),B=n.n(L),q=n(10),V=n.n(q),H=n(3),U=n.n(H),G=n(34),$=n.n(G),K=n(22),W=n.n(K),Z=new F,J=(Z.moment,Z.numberFormat.bind(Z)),Y=(Z.translate.bind(Z),Z.configure.bind(Z),Z.setLocale.bind(Z),Z.getLocale.bind(Z),Z.getLocaleSlug.bind(Z),Z.addTranslations.bind(Z),Z.reRenderTranslations.bind(Z),Z.registerComponentUpdateHook.bind(Z),Z.registerTranslateHook.bind(Z),Z.state,Z.stateObserver,Z.on.bind(Z),Z.off.bind(Z),Z.emit.bind(Z),A={moment:(S=Z).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Z),n(45));function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var a=i()({},r,n),o=a.decimal,c=a.grouping,s=a.precision,l=a.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",(function(){return Q}))},function(e,t,n){"use strict";var r=n(101),i=n.n(r),a=n(5),o={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var c,s,l=function(e){if(e in o)return o[e];throw new Error("config key `"+e+"` does not exist")},u=i()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var p={initialize:function(e,t,n){p.setUser(e,t),p.setSuperProps(n),p.identifyUser()},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){c=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Built stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){p.tracks.recordPageView(e),p.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,i,a,o){p.ga.recordPurchase(e,t,n,r,i,a,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(u("- Super Props: %o",c),t=Object(a.assign)(t,c)),u('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):u('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};p.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){p.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){u("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};p.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",l("google_analytics_key"),"auto",e),p.ga.initialized=!0)},recordPageView:function(e,t){p.ga.initialize(),u("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),l("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){p.ga.initialize();var i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==r&&(i+=" [Option Value: "+r+"]"),u(i),l("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,i,a,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.a=p},function(e,t){!function(){e.exports=this.wp.editPost}()},,function(e,t,n){"use strict";var r=n(0),i=n(2),a=n(12),o=n.n(a);t.a=function(e){var t=e.size,n=void 0===t?24:t,a=e.className;return Object(r.createElement)(i.SVG,{className:o()("jetpack-logo",a),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(22),i=n.n(r),a=n(20);function o(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function c(e,t){!function(e,t,n){var r=i()(t,2),c=r[0],s=r[1],d=1/c*(n-a.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),c=i.map((function(e){return(n-a.b*(e.childElementCount-1))*p(e)[0]})),s=o(c,r);i.forEach((function(e,t){var r=c[t],i=s[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=o(u(e).map((function(e){return i/h(e)})),n);Array.from(e.children).forEach((function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-a.b*(e.childElementCount-1),width:i,rawWidth:r})}))}(e,{rawHeight:d,rowWidth:n-a.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce((function(e,t){var n=i()(e,2),r=n[0],a=n[1],o=i()(t,2);return[r+o[0],a+o[1]]}),[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(h).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function h(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,i=void 0===n?24:n,a=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:i,width:i,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var i,a=n(34),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";var r=n(30),i=n.n(r),a=n(0),o=n(2),c=n(14),s=n(13),l=n(6);n(136);t.a=Object(c.compose)([Object(s.withDispatch)((function(e,t){var n,r=t.blockName,a=t.href,o=t.onClick;return{autosaveAndRedirect:(n=i()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),o(r),t.next=4,e("core/editor").autosave();case 4:window.top.location.href=a;case 5:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,r=e.href,i=e.icon,c=e.subtitle,s=e.title;return Object(a.createElement)(l.Warning,{actions:r&&[Object(a.createElement)(o.Button,{href:r,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(a.createElement)("span",{className:"jetpack-block-nudge__info"},i,Object(a.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(a.createElement)("span",{className:"jetpack-block-nudge__title"},s),Object(a.createElement)("span",{className:"jetpack-block-nudge__message"},c))))}))},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n(1),a=n(2),o=n(48),c=n(44),s=Object(a.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(a.PanelBody,{title:Object(i.__)("Likes and Sharing","jetpack")},e)):null}))}})},function(e,t,n){"use strict";var r=n(222);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=i.default.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=i.default.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,h=(0,a.default)(p),d=(0,o.default)(h),m="i"+Math.floor(3*d()),c('determined server "%s" to use with "%s"',m,p),m+".wp.com"),r&&(l.query.ssl=1)}var p,h,d,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[s[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=i.default.format(l);return c("generated Photon URL: %s",g),g};var i=r(n(27)),a=r(n(223)),o=r(n(224)),c=(0,r(n(225)).default)("photon"),s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){ -/** - * @preserve jed.js https://github.com/SlexAxton/Jed - */ -!function(n,r){var i=Array.prototype,a=Object.prototype,o=i.slice,c=a.hasOwnProperty,s=i.forEach,l={},u={forEach:function(e,t,n){var r,i,a;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(a in e)if(c.call(e,a)&&t.call(n,e[a],a,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function h(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var a;if(r=r||n,e=e||this._textdomain,!this.options)return(a=new p).dcnpgettext.call(a,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,d=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=d[""].plural_forms||d[""]["Plural-Forms"]||d[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===i)s=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");s=h(f)(i)}if(!d)throw new Error("No domain named `"+e+"` could be found.");return!(o=d[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[h(f)(i)]),c[h()(i)]):(c=o[s])||(c=[n,r])[h()(i)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,a,o,c,s,l,u,p=1,h=n.length,d="",m=[];for(a=0;a<h;a++)if("string"===(d=e(n[a])))m.push(n[a]);else if("array"===d){if((c=n[a])[2])for(i=r[p],o=0;o<c[2].length;o++){if(!i.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);i=i[c[2][o]]}else i=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(i))throw b("[sprintf] expecting number but found %s",e(i));switch(null==i&&(i=""),c[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=c[7]?i.toExponential(c[7]):i.toExponential();break;case"f":i=c[7]?parseFloat(i).toFixed(c[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&c[7]?i.substring(0,c[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(c[8])&&c[3]&&i>=0?"+"+i:i,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(i).length,s=c[6]?t(l,u):"",m.push(c[5]?i+s:s+i)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){i|=1;var a=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(a.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))a.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";a.push(c[1])}n[2]=a}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),g=function(e,t){return t.unshift(e),b.apply(null,t)};p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?g(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},p.PF={},p.PF.parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,i,a,o){var c=a.length-1;switch(i){case 1:return{type:"GROUP",expr:a[c-1]};case 2:this.$={type:"TERNARY",expr:a[c-4],truthy:a[c-2],falsey:a[c]};break;case 3:this.$={type:"OR",left:a[c-2],right:a[c]};break;case 4:this.$={type:"AND",left:a[c-2],right:a[c]};break;case 5:this.$={type:"LT",left:a[c-2],right:a[c]};break;case 6:this.$={type:"LTE",left:a[c-2],right:a[c]};break;case 7:this.$={type:"GT",left:a[c-2],right:a[c]};break;case 8:this.$={type:"GTE",left:a[c-2],right:a[c]};break;case 9:this.$={type:"NEQ",left:a[c-2],right:a[c]};break;case 10:this.$={type:"EQ",left:a[c-2],right:a[c]};break;case 11:this.$={type:"MOD",left:a[c-2],right:a[c]};break;case 12:this.$={type:"GROUP",expr:a[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,d,m,f,b,g,v,y,j,_,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==h&&(h=p()),f=a[m]&&a[m][h]),void 0===f||!f.length||!f[0]){if(!l){for(g in j=[],a[m])this.terminals_[g]&&g>2&&j.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+j.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:j})}if(3==l){if(1==h)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,h=p()}for(;!(2..toString()in a[m]);){if(0==m)throw new Error(O||"Parsing halted.");_=1,n.length=n.length-2*_,r.length=r.length-_,i.length=i.length-_,m=n[n.length-1]}d=h,h=2,f=a[m=n[n.length-1]]&&a[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+h);switch(f[0]){case 1:n.push(h),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(f[1]),h=null,d?(h=d,d=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:i[i.length-(v||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(v||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,i)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),i=i.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),i.push(k._$),y=a[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(22),i=n.n(r),a=n(30),o=n.n(a),c=n(5);n(100);function s(){return l.apply(this,arguments)}function l(){return(l=o()(regeneratorRuntime.mark((function e(){var t,r,a,o,s,l,u,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=p.length>0&&void 0!==p[0]?p[0]:".swiper-container",r=p.length>1&&void 0!==p[1]?p[1]:{},a=p.length>2&&void 0!==p[2]?p[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(c.mapValues)(a,(function(e){return function(){e(this)}}))},e.next=6,Promise.all([n.e(13).then(n.t.bind(null,253,7)),n.e(13).then(n.t.bind(null,254,7))]);case 6:return s=e.sent,l=i()(s,1),u=l[0].default,e.abrupt("return",new u(t,Object(c.merge)({},o,r)));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t){!function(){e.exports=this.wp.escapeHtml}()},function(e,t,n){"use strict";var r=n(22),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),j=n(1),_=n(5),k=n(2),O=(n(86),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),v()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,i=e.markerColor,a=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+i+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(y.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,C=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(y.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(y.Component);C.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var E=C;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),v()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),v()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),v()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,i=n.slice(0);Object(_.assign)(i[r],t),e.props.onSetPoints(i)})),v()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),v()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,i=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,a=Math.min(.75*r,i);n.style.height=a+"px",t.resize(),e.setBoundsByMarkers()})),v()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.zoom,r=t.points,i=t.onSetZoom,a=e.state,o=a.map,c=a.activeMarker,s=a.mapboxgl,l=a.zoomControl,u=a.boundsSetProgrammatically;if(o&&r.length&&!c){var p=new s.LngLatBounds;if(r.forEach((function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])})),r.length>1)return o.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void o.removeControl(l);if(o.setCenter(p.getCenter()),u){o.setZoom(12),i(12)}else o.setZoom(parseInt(n,10));o.addControl(l),e.setState({boundsSetProgrammatically:!1})}})),v()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(y.createRef)(),e.debouncedSizeMap=Object(_.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,i=t.children,a=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,d=Object(_.get)(s,"props.point")||{},m=d.title,f=d.caption,b=y.Children.map(i,(function(e){if("AddPoint"===Object(_.get)(e,"props.tagName"))return e})),g=c&&l&&n.map((function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:a,onClick:u})})),v=l&&Object(y.createElement)(E,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(k.TextControl,{label:Object(j.__)("Marker Title","jetpack"),value:m,onChange:function(e){return h({title:e})}}),Object(y.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(j.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return h({caption:e})}}),Object(y.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(y.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(j.__)("Delete Marker","jetpack"))),s&&!r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)("h3",null,m),Object(y.createElement)("p",null,f)));return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,i=t.points,a=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),i!==e.points&&this.setBoundsByMarkers(),i.length!==e.points.length&&this.clearCurrentMarker(),a===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(12).then(n.t.bind(null,282,7)),n.e(12).then(n.t.bind(null,283,7))]).then((function(n){var r=i()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,i=r.zoom,a=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(i,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",(function(e){o("mapbox_error",e.error.message)}));var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",(function(){t.props.onSetZoom(s.getZoom())})),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},(function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),a(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(y.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){var n=1e3,r=60*n,i=60*r,a=24*i,o=7*a,c=365.25*a;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return s(e,t,a,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(99),i=n(98);function a(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=s(i.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,i){var a=n-t;r(a%4==0);for(var o=new Array(a/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===i?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var a=e[r];"big"===t?(n[i]=a>>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],a=r+e[t+1]>>>0,o=(a<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=a},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,a,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+a>>>0)<a?1:0,e+n+i+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,a,o,c){return t+r+a+c>>>0},t.sum64_5_hi=function(e,t,n,r,i,a,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+a>>>0)<a?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+i+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,a,o,c,s,l){return t+r+a+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,a,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=l(e))>0&&o.length>i&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):f(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var l=s.length,u=f(s,l);for(n=0;n<l;++n)a(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,a,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return d(this,e,!0)},c.prototype.rawListeners=function(e){return d(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){!function(){e.exports=this.moment}()},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){!function(){e.exports=this.wp.notices}()},function(e,t,n){},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=n(152)},function(e,t,n){"use strict";e.exports.encode=n(153),e.exports.decode=n(154),e.exports.format=n(155),e.exports.parse=n(156)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=a,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,a,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(c),i<2)return!1;for(i%2&&(e.push("text","",0).content=a,i--),n=0;n<i;n+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(i=c[r.end],(a=e.tokens[r.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&o.push(i.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(a=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=a)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,a=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=o?"strong_open":"em_open",i.tag=o?"strong":"em",i.nesting=1,i.markup=o?a+a:a,i.content="",(i=e.tokens[r.token]).type=o?"strong_close":"em_close",i.tag=o?"strong":"em",i.nesting=-1,i.markup=o?a+a:a,i.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){},function(e,t,n){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(134)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e){e.exports=JSON.parse('{"production":["business-hours","contact-form","contact-info","gif","likes","mailchimp","map","markdown","pinterest","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],"beta":["seo"]}')},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,i=void 0===n?24:n,a=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:i,width:i,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,a=n(34),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){e.exports=n.p+"images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg"},function(e,t,n){"use strict";e.exports=n(151)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var i,a,o=n[r.type],c=t(r);if(o)for(i=0;i<o.length;i++)(a=o[i](r,e))&&e.dispatch(a);return c}}}).effects=n,t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(208)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=c(n(34)),a=c(n(209)),o=c(n(212));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,h,d,m,f=[],b={};for(h=0;h<e.length;h++)if("string"!==(p=e[h]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=h;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,i=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===i.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+i.value+"`")}(c,e),d=l(e.slice(c+1,u),t),o=i.default.cloneElement(n,{},d),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,o.default)(t);try{return l(a,n)}catch(c){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(75),i=n(98);function a(e){if(!(this instanceof a))return new a(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=a,i(a,r.EventEmitter),Object.defineProperty(a.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),a.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},a.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},a.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},a.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},a.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},a.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},a.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},a.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(74),i=n(213),a=n(214),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=a.ft_1,u=i.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(h,u),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],a=this.h[1],u=this.h[2],h=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(i,5),l(m,a,u,h),d,n[r],p[m]);d=h,h=u,u=o(a,30),a=i,i=f}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],a),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){e.exports=n.p+"images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg"},function(e,t){!function(){e.exports=this.wp.tokenList}()},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg"},function(e,t,n){e.exports=n.p+"images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png"},function(e,t,n){e.exports=n.p+"images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png"},function(e,t,n){e.exports=n.p+"images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png"},function(e,t,n){e.exports=n.p+"images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png"},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof window&&window;a.global!==a&&a.window!==a&&a.self;var o,c=2147483647,s=36,l=1,u=26,p=38,h=700,d=72,m=128,f="-",b=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-l,_=Math.floor,k=String.fromCharCode;function O(e){throw RangeError(y[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function C(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(v,".")).split("."),t).join(".")}function E(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function x(e){return w(e,(function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?_(e/h):e>>1,e+=_(e/t);e>j*u>>1;r+=s)e=_(e/j);return _(r+(j+1)*e/(e+p))}function F(e){var t,n,r,i,a,o,p,h,b,g,v,y=[],j=e.length,k=0,w=m,C=d;for((n=e.lastIndexOf(f))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&O("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<j;){for(a=k,o=1,p=s;i>=j&&O("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||h>_((c-k)/o))&&O("overflow"),k+=h*o,!(h<(b=p<=C?l:p>=C+u?u:p-C));p+=s)o>_(c/(g=s-b))&&O("overflow"),o*=g;C=A(k-a,t=y.length+1,0==a),_(k/t)>c-w&&O("overflow"),w+=_(k/t),k%=t,y.splice(k++,0,w)}return x(y)}function P(e){var t,n,r,i,a,o,p,h,b,g,v,y,j,w,C,x=[];for(y=(e=E(e)).length,t=m,n=0,a=d,o=0;o<y;++o)(v=e[o])<128&&x.push(k(v));for(r=i=x.length,i&&x.push(f);r<y;){for(p=c,o=0;o<y;++o)(v=e[o])>=t&&v<p&&(p=v);for(p-t>_((c-n)/(j=r+1))&&O("overflow"),n+=(p-t)*j,t=p,o=0;o<y;++o)if((v=e[o])<t&&++n>c&&O("overflow"),v==t){for(h=n,b=s;!(h<(g=b<=a?l:b>=a+u?u:b-a));b+=s)C=h-g,w=s-g,x.push(k(S(g+C%w,0))),h=_(C/w);x.push(k(S(h,0))),a=A(n,j,r==i),n=0,++r}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:E,encode:x},decode:F,encode:P,toASCII:function(e){return C(e,(function(e){return g.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return C(e,(function(e){return b.test(e)?F(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(129)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(132),t.encode=t.stringify=n(133)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,h,d,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),h=decodeURIComponent(u),d=decodeURIComponent(p),r(a,h)?Array.isArray(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var a=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map((function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[i]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},function(e,t,n){e.exports=function(e){function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let n;function o(...e){if(!o.enabled)return;const t=o,i=Number(new Date),a=i-(n||i);t.diff=a,t.prev=n,t.curr=i,n=i,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let c=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return n;c++;const a=r.formatters[i];if("function"==typeof a){const r=e[c];n=a.call(t,r),e.splice(c,1),c--}return n}),r.formatArgs.call(t,e),(t.log||r.log).apply(t,e)}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){const e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){const n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){const e=[...r.names.map(o),...r.skips.map(o).map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){let t;r.save(e),r.names=[],r.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){const e=r.instances[t];e.enabled=r.enabled(e.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(70),Object.keys(e).forEach(t=>{r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(18),i=n(159),a=n(163),o=n(164),c=n(172),s=n(186),l=n(199),u=n(89),p=n(201),h={default:n(202),zero:n(203),commonmark:n(204)},d=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!d.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new a,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),a=0,o=e.length;a<o;a++)if(c=e.charCodeAt(a),n&&37===c&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))u+=e.slice(a,a+3),a+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<o&&(s=e.charCodeAt(a+1))>=56320&&s<=57343){u+=encodeURIComponent(e[a]+e[a+1]),a++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[a]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,i,a,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(a=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=i<<6&1984|63&a)<128?"��":String.fromCharCode(s),t+=3):224==(240&i)&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&a)&&128==(192&o))?(l+=(s=i<<12&61440|a<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&i)&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&a)&&128==(192&o)&&128==(192&c))?((s=i<<18&1835008|a<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l}))}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,a,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=i.exec(f);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&d[g]||(f=f.substr(2),this.slashes=!0)),!d[g]&&(s||g&&!m[g])){var v,y,j=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===j||c<j)&&(j=c);for(-1!==(y=-1===j?f.lastIndexOf("@"):f.lastIndexOf("@",j))&&(v=f.slice(0,y),f=f.slice(y+1),this.auth=v),j=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===j||c<j)&&(j=c);-1===j&&(j=f.length),":"===f[j-1]&&j--;var _=f.slice(0,j);f=f.slice(j),this.parseHost(_),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var C="",E=0,x=w.length;E<x;E++)w.charCodeAt(E)>127?C+="x":C+=w[E];if(!C.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(h);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var T=f.indexOf("?");return-1!==T&&(this.search=f.substr(T),f=f.slice(0,T)),f&&(this.pathname=f),m[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(90),t.Cc=n(91),t.Cf=n(158),t.P=n(71),t.Z=n(92)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(160),t.parseLinkDestination=n(161),t.parseLinkTitle=n(162)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(a=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(18).isSpace,i=n(18).unescapeAll;e.exports=function(e,t,n){var a,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t))||r(a))return s;if(62===a)return s.pos=t+1,s.str=i(e.slice(c+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n)t+=2;else{if(40===a&&o++,41===a){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=i(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(18).unescapeAll;e.exports=function(e,t,n){var i,a,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return s;for(t++,40===a&&(a=41);t<n;){if((i=e.charCodeAt(t))===a)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===i?o++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(18).assign,i=n(18).unescapeAll,a=n(18).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],h=p.info?i(p.info).trim():"",d="";return h&&(d=h.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,d)||a(p.content)).indexOf("<pre")?c+"\n":h?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+d]):l[s][1]+=" "+n.langPrefix+d,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return a(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,i="",a=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===o.nesting?"</":"<")+o.tag,i+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(i+=" /"),o.block&&(a=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?a=!1:-1===r.nesting&&r.tag===o.tag&&(a=!1))),i+=a?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,c=e.length;o<c;o++)void 0!==a[r=e[o].type]?i+=a[r](e,o,t,n,this):i+=this.renderToken(e,o,t);return i},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,a=e.length;i<a;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},c.prototype.render=function(e,t,n){var r,i,a,o="",c=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(a=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[a]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(72),i=[["normalize",n(165)],["block",n(166)],["inline",n(167)],["linkify",n(168)],["replacements",n(169)],["smartquotes",n(170)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}a.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},a.prototype.State=n(171),e.exports=a},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(18).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_=e.tokens;if(e.md.options.linkify)for(n=0,a=_.length;n<a;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(f=0,t=(o=_[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(j=s.content,/^<a[>\s]/i.test(j)&&f>0&&f--,i(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,y=e.md.linkify.match(p),l=[],m=s.level,d=0,u=0;u<y.length;u++)b=y[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=y[u].text,v=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=y[u].index)>d&&((c=new e.Token("text","",0)).content=p.slice(d,h),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),d=y[u].lastIndex);d<p.length&&((c=new e.Token("text","",0)).content=p.slice(d),c.level=m,l.push(c)),_[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,a=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(a,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(18).isWhiteSpace,i=n(18).isPunctChar,a=n(18).isMdAsciiPunct,o=/['"]/,c=/['"]/g,s="’";function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,o,u,p,h,d,m,f,b,g,v,y,j,_,k,O,w,C,E,x,S;for(E=[],n=0;n<e.length;n++){for(o=e[n],m=e[n].level,w=E.length-1;w>=0&&!(E[w].level<=m);w--);if(E.length=w+1,"text"===o.type){h=0,d=(u=o.content).length;e:for(;h<d&&(c.lastIndex=h,p=c.exec(u));){if(k=O=!0,h=p.index+1,C="'"===p[0],b=32,p.index-1>=0)b=u.charCodeAt(p.index-1);else for(w=n-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){b=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,h<d)g=u.charCodeAt(h);else for(w=n+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){g=e[w].content.charCodeAt(0);break}if(v=a(b)||i(String.fromCharCode(b)),y=a(g)||i(String.fromCharCode(g)),j=r(b),(_=r(g))?k=!1:y&&(j||v||(k=!1)),j?O=!1:v&&(_||y||(O=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(O=k=!1),k&&O&&(k=!1,O=y),k||O){if(O)for(w=E.length-1;w>=0&&(f=E[w],!(E[w].level<m));w--)if(f.single===C&&E[w].level===m){f=E[w],C?(x=t.md.options.quotes[2],S=t.md.options.quotes[3]):(x=t.md.options.quotes[0],S=t.md.options.quotes[1]),o.content=l(o.content,p.index,S),e[f.token].content=l(e[f.token].content,f.pos,x),h+=S.length-1,f.token===n&&(h+=x.length-1),d=(u=o.content).length,E.length=w;continue e}k?E.push({token:n,pos:p.index,single:C,level:m}):O&&C&&(o.content=l(o.content,p.index,s))}else C&&(o.content=l(o.content,p.index,s))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(73);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(72),i=[["table",n(173),["paragraph","reference"]],["code",n(174)],["fence",n(175),["paragraph","reference","blockquote","list"]],["blockquote",n(176),["paragraph","reference","blockquote","list"]],["hr",n(177),["paragraph","reference","blockquote","list"]],["list",n(178),["paragraph","reference","blockquote"]],["reference",n(179)],["heading",n(180),["paragraph","reference","blockquote"]],["lheading",n(181)],["html_block",n(182),["paragraph","reference","blockquote"]],["paragraph",n(184)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}a.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),a=i.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<a&&!i[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},a.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},a.prototype.State=n(185),e.exports=a},function(e,t,n){"use strict";var r=n(18).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function a(e){var t,n=[],r=0,i=e.length,a=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<i;)96===t?c?(c=!1,s=r):a%2==0&&(c=!0,s=r):124!==t||a%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?a++:a=0,++r===i&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,h,d,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(h=(s=i(e,t+1)).split("|"),f=[],u=0;u<h.length;u++){if(!(b=h[u].trim())){if(0===u||u===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(h=a(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<h.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=a(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<d;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u]?h[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(a=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),a.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,a,o,c,s,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(s=h,(a=(h=e.skipChars(h,i))-s)<3)return!1;if(u=e.src.slice(s,h),(o=e.src.slice(h,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((h=s=e.bMarks[c]+e.tShift[c])<(d=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[c]-e.blkIndent>=4||(h=e.skipChars(h,i))-s<a||(h=e.skipSpaces(h))<d)){p=!0;break}return a=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,a,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_,k,O,w,C=e.lineMax,E=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(E++))return!1;if(i)return!0;for(s=d=e.sCount[t]+E-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(E)?(E++,s++,d++,a=!1,j=!0):9===e.src.charCodeAt(E)?(j=!0,(e.bsCount[t]+d)%4==3?(E++,s++,d++,a=!1):a=!0):j=!1,m=[e.bMarks[t]],e.bMarks[t]=E;E<x&&(o=e.src.charCodeAt(E),r(o));)9===o?d+=4-(d+e.bsCount[t]+(a?1:0))%4:d++,E++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(j?1:0),u=E>=x,v=[e.sCount[t]],e.sCount[t]=d-s,y=[e.tShift[t]],e.tShift[t]=E-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,h=t+1;h<n&&(e.sCount[h]<e.blkIndent&&(w=!0),!((E=e.bMarks[h]+e.tShift[h])>=(x=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(E++)||w){if(u)break;for(_=!1,c=0,l=k.length;c<l;c++)if(k[c](e,h,n,!0)){_=!0;break}if(_){e.lineMax=h,0!==e.blkIndent&&(m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}else{for(s=d=e.sCount[h]+E-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(E)?(E++,s++,d++,a=!1,j=!0):9===e.src.charCodeAt(E)?(j=!0,(e.bsCount[h]+d)%4==3?(E++,s++,d++,a=!1):a=!0):j=!1,m.push(e.bMarks[h]),e.bMarks[h]=E;E<x&&(o=e.src.charCodeAt(E),r(o));)9===o?d+=4-(d+e.bsCount[h]+(a?1:0))%4:d++,E++;u=E>=x,f.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(j?1:0),v.push(e.sCount[h]),e.sCount[h]=d-s,y.push(e.tShift[h]),e.tShift[h]=E-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,h),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=C,e.parentType=g,p[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(a=e.src.charCodeAt(l++))&&45!==a&&95!==a)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==a&&!r(c))return!1;c===a&&o++}return!(o<3)&&(!!i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0))}},function(e,t,n){"use strict";var r=n(18).isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n?-1:i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if((n=e.src.charCodeAt(a++))<48||n>57)return-1;for(;;){if(a>=o)return-1;if(!((n=e.src.charCodeAt(a++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}e.exports=function(e,t,n,r){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_,k,O,w,C,E,x,S,A,F,P,T,M,N=!1,z=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=a(e,t))>=0){if(h=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),N&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(g),j=t,A=!1,T=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";j<n;){for(x=S,y=e.eMarks[j],p=_=e.sCount[j]+S-(e.bMarks[t]+e.tShift[t]);x<y;){if(9===(o=e.src.charCodeAt(x)))_+=4-(_+e.bsCount[j])%4;else{if(32!==o)break;_++}x++}if((u=(c=x)>=y?1:_-p)>4&&(u=1),l=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),M.map=d=[t,0],k=e.blkIndent,E=e.tight,C=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=_,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(z=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=C,e.sCount[t]=O,e.tight=E,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),j=t=e.line,d[1]=j,c=e.bMarks[t],j>=n)break;if(e.sCount[j]<e.blkIndent)break;for(P=!1,s=0,m=T.length;s<m;s++)if(T[s](e,j,n,!0)){P=!0;break}if(P)break;if(h){if((S=a(e,j))<0)break}else if((S=i(e,j))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(M=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=j,e.line=j,e.parentType=w,z&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t,n,a){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],C=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,j=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";C<l&&!e.isEmpty(C);C++)if(!(e.sCount[C]-e.blkIndent>3||e.sCount[C]<0)){for(y=!1,p=0,h=j.length;p<h;p++)if(j[p](e,C,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,C,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(_=b.str,O=b.pos,k+=b.lines):(_="",O=c,k=s);O<w&&(o=v.charCodeAt(O),i(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&_)for(_="",O=c,k=s;O<w&&(o=v.charCodeAt(O),i(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(d=r(v.slice(1,m)))&&(!!a||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:_,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(a=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,a=e.src.charCodeAt(++l);35===a&&l<u&&o<=6;)o++,a=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(a))&&(!!i||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c,s,l,u,p,h,d=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d])<(l=e.eMarks[d])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,a=0,o=m.length;a<o;a++)if(m[a](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}},function(e,t,n){"use strict";var r=n(183),i=n(93).HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),i=0;i<a.length&&!a[i][0].test(s);i++);if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),a[i][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(73),i=n(18).isSpace;function a(e,t,n,r){var a,o,c,s,l,u,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",h=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(a=o.charCodeAt(s),!h){if(i(a)){u++,9===a?p+=4-p%4:p++;continue}h=!0}10!==a&&s!==l-1||(10!==a&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}a.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},a.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},a.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},a.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},a.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},a.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},a.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},a.prototype.getLines=function(e,t,n,r){var a,o,c,s,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),a=0;h<t;h++,a++){for(o=0,p=s=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];s<l&&o<n;){if(c=this.src.charCodeAt(s),i(c))9===c?o+=4-(o+this.bsCount[h])%4:o++;else{if(!(s-p<this.tShift[h]))break;o++}s++}u[a]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(72),i=[["text",n(187)],["newline",n(188)],["escape",n(189)],["backticks",n(190)],["strikethrough",n(94).tokenize],["emphasis",n(95).tokenize],["link",n(191)],["image",n(192)],["autolink",n(193)],["html_inline",n(194)],["entity",n(195)]],a=[["balance_pairs",n(196)],["strikethrough",n(94).postProcess],["emphasis",n(95).postProcess],["text_collapse",n(197)]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<a&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;e.pos<a;){if(e.level<o)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(a=this.ruler2.getRules("")).length,i=0;i<o;i++)a[i](c)},o.prototype.State=n(198),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t){var n,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),a++;a<i&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},function(e,t,n){"use strict";for(var r=n(18).isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),a++;a<o&&(n=e.src.charCodeAt(a),r(n));)a++;return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(i=e.src.slice(n,s),a=o=s;-1!==(a=e.src.indexOf("`",o));){for(o=a+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-a===i.length)return t||((c=e.push("code_inline","code",0)).markup=i,c.content=e.src.slice(s,a).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?l=u.pos:d=""),b=l;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(h=u.str,l=u.pos;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);else h="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;d=p.href,h=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",d]],h&&n.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d,m,f,b,g="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(u>=y)return!1;for(b=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=""),b=u;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(h=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&b!==u&&h.ok)for(d=h.str,u=h.pos;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);else d="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,d=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,d&&n.push(["title",d])),e.pos=u,e.posMax=y,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,a,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(c=(a=n.match(i))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(93).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,o=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=a)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(88),i=n(18).has,a=n(18).isValidEntityCode,o=n(18).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=a(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&i(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,a=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=a[t]).close)for(n=t-r.jump-1;n>=0;){if((i=a[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(73),i=n(18).isWhiteSpace,a=n(18).isPunctChar,o=n(18).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,h,d,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||a(String.fromCharCode(n)),d=o(r)||a(String.fromCharCode(r)),u=i(n),(h=i(r))?f=!1:d&&(u||p||(f=!1)),u?b=!1:p&&(h||d||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||d)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Function]"===i(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=n(200)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(l),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?a(n.validate)?r.validate=n.validate:u(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(a(n.normalize)?r.normalize=n.normalize:n.normalize?u(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?u(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function h(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function d(e,t){var n=new h(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,a,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(i=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(90).source,t.src_Cc=n(91).source,t.src_Z=n(92).source,t.src_P=n(71).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",(function(){return m})),n.d(t,"ucs2encode",(function(){return f})),n.d(t,"decode",(function(){return v})),n.d(t,"encode",(function(){return y})),n.d(t,"toASCII",(function(){return _})),n.d(t,"toUnicode",(function(){return j}));var r=n(21),i=n.n(r),a=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function h(e){throw new RangeError(l[e])}function d(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+i}function m(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t}var f=function(e){return String.fromCodePoint.apply(String,i()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,i=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&h("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var d=i,m=1,f=36;;f+=36){p>=r&&h("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((a-i)/m))&&h("overflow"),i+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var y=36-v;m>u(a/y)&&h("overflow"),m*=y}var j=n.length+1;c=g(i-d,j,0==d),u(i/j)>a-o&&h("overflow"),o+=u(i/j),i%=j,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},y=function(e){var t=[],n=(e=m(e)).length,r=128,i=0,o=72,c=!0,s=!1,l=void 0;try{for(var d,f=e[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var v=d.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var y=t.length,j=y;for(y&&t.push("-");j<n;){var _=a,k=!0,O=!1,w=void 0;try{for(var C,E=e[Symbol.iterator]();!(k=(C=E.next()).done);k=!0){var x=C.value;x>=r&&x<_&&(_=x)}}catch(B){O=!0,w=B}finally{try{k||null==E.return||E.return()}finally{if(O)throw w}}var S=j+1;_-r>u((a-i)/S)&&h("overflow"),i+=(_-r)*S,r=_;var A=!0,F=!1,P=void 0;try{for(var T,M=e[Symbol.iterator]();!(A=(T=M.next()).done);A=!0){var N=T.value;if(N<r&&++i>a&&h("overflow"),N==r){for(var z=i,D=36;;D+=36){var R=D<=o?1:D>=o+26?26:D-o;if(z<R)break;var I=z-R,L=36-R;t.push(p(b(R+I%L,0))),z=u(I/L)}t.push(p(b(z,0))),o=g(i,S,j==y),i=0,++j}}}catch(B){F=!0,P=B}finally{try{A||null==M.return||M.return()}finally{if(F)throw P}}++i,++r}return t.join("")},j=function(e){return d(e,(function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e}))},_=function(e){return d(e,(function(e){return c.test(e)?"xn--"+y(e):e}))},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:y,toASCII:_,toUnicode:j};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=o,c=Number(new Date),s=c-(n||c);a.diff=s,a.prev=n,a.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var o=t[l];e=i.call(a,o),t.splice(l,1),l--}return e})),r.formatArgs.call(a,t),(a.log||r.log).apply(a,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(70),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){"use strict";var r=n(34),i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(97),o=n(210),c=n(211),s=".",l=":",u="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function h(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function d(e,t,n,r){var a,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===i)return n(r,e,""===t?s+h(e,0):t),1;var m=0,f=""===t?s:t+l;if(Array.isArray(e))for(var b=0;b<e.length;b++)m+=d(a=e[b],f+h(a,b),n,r);else{var g=function(e){var t=e&&(u&&e[u]||e[p]);if("function"==typeof t)return t}(e);if(g){0;for(var v,y=g.call(e),j=0;!(v=y.next()).done;)m+=d(a=v.value,f+h(a,j++),n,r)}else if("object"===c){0;var _=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===_?"object with keys {"+Object.keys(e).join(", ")+"}":_,"")}}return m}var m=/\/+/g;function f(e){return(""+e).replace(m,"$&/")}var b,g,v=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},j=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function _(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function k(e,t,n){var i,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?O(p,c,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(i=p,o=s+(!p.key||t&&t.key===p.key?"":f(p.key)+"/")+n,p=r.cloneElement(i,{key:o},void 0!==i.props?i.props.children:void 0)),c.push(p))}function O(e,t,n,r,i){var a="";null!=n&&(a=f(n)+"/");var o=_.getPooled(t,a,r,i);!function(e,t,n){null==e||d(e,"",t,n)}(e,k,o),_.release(o)}_.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},b=function(e,t,n,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)},(g=_).instancePool=[],g.getPooled=b||v,g.poolSize||(g.poolSize=10),g.release=j;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,a,o,c,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,a,o,c,s],p=0;(l=new Error(t.replace(/%s/g,(function(){return u[p++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(97);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(74),i=n(99);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a<this.padLength;a++)r[i++]=0;return r}},function(e,t,n){"use strict";var r=n(74).rotr32;function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?a(t,n,r):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,i,a,o=-1;for(t=0,i=e.length;t<i;t+=1){for(a=255&(o^e[t]),r=0;r<8;r+=1)1==(1&a)?a=a>>>1^n:a>>>=1;o=o>>>8^a}return-1^o}function i(e,n){var r,a,o;if(void 0!==i.crc&&n&&e||(i.crc=-1,e)){for(r=i.crc,a=0,o=e.length;a<o;a+=1)r=r>>>8^t[255&(r^e[a])];return i.crc=r,-1^r}}!function(){var e,r,i;for(r=0;r<256;r+=1){for(e=r,i=0;i<8;i+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,(function(e){return e.charCodeAt(0)}))):e;return((t?r(e):i(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=i}()},function(e,t,n){"use strict";var r=256,i=[],a=window,o=Math.pow(r,6),c=Math.pow(2,52),s=2*c,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,a=0,o=i.i=i.j=0,c=i.S=[];for(n||(e=[n++]);a<r;)c[a]=a++;for(a=0;a<r;a++)c[a]=c[o=l&o+e[a%n]+(t=c[a])],c[o]=t;(i.g=function(e){for(var t,n=0,a=i.i,o=i.j,c=i.S;e--;)t=c[a=l&a+1],n=n*r+c[l&(c[a]=c[o=l&o+t])+(c[o]=t)];return i.i=a,i.j=o,n})(r)}function h(e,t){var n,r=[],i=(typeof e)[0];if(t&&"o"==i)for(n in e)try{r.push(h(e[n],t-1))}catch(a){}return r.length?r:"s"==i?e:e+"\0"}function d(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return f(t)}function m(e){try{return a.crypto.getRandomValues(e=new Uint8Array(r)),f(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,f(i)]}}function f(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var a=n&&n.entropy||!1,l=[],u=(d(h(a?[t,f(i)]:0 in arguments?t:m(),3),l),new p(l));return d(f(u.S),i),function(){for(var e=u.g(6),t=o,n=0;e<c;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=u},d(Math.random(),i)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(226)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=o,c=Number(new Date),s=c-(n||c);a.diff=s,a.prev=n,a.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var o=t[l];e=i.call(a,o),t.splice(l,1),l--}return e})),r.formatArgs.call(a,t),(a.log||r.log).apply(a,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(70),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",(function(){return Pt})),n.d(r,"attributes",(function(){return Mt})),n.d(r,"support",(function(){return Nt}));var i=n(17),a=n(15),o=n.n(a),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),h=n(5),d=n(2),m=n(21),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),j=n(8),_=n.n(j),k=n(9),O=n.n(k),w=n(4),C=n.n(w),E=n(10),x=n.n(E),S=n(6),A=[{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],F=Object(u.__)("Pick an image filter","jetpack");function P(e){var t=e.value,n=e.onChange;return Object(l.createElement)(d.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(d.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:F,tooltip:F,icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(d.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map((function(e){var i,a=e.icon,o=e.title,c=e.value;return Object(l.createElement)(d.MenuItem,{className:t===c?"is-active":void 0,icon:a,isSelected:t===c,key:c||"original",onClick:(i=c,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},o)})))}})}var T=n(12),M=n.n(T),N=n(29),z=n(24),D=n(13),R=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"img",Object(l.createRef)()),s()(C()(n),"onImageClick",(function(){n.props.isSelected||n.props.onSelect()})),s()(C()(n),"onImageKeyDown",(function(e){n.img.current===document.activeElement&&n.props.isSelected&&[N.BACKSPACE,N.DELETE].includes(e.keyCode)&&n.props.onRemove()})),n}return x()(t,e),y()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,i=e.link,a=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!i&&r.link&&(c.link=r.link),!a&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,i=t.height,a=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,h=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(h){case"media":e=g;break;case"attachment":e=p}var y=Object(z.isBlobURL)(f),j=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:y?void 0:g,srcSet:y?void 0:b,tabIndex:"0",style:y?{backgroundImage:"url(".concat(f,")")}:void 0}),y&&Object(l.createElement)(d.Spinner,null));return Object(l.createElement)("figure",{className:M()("tiled-gallery__item",s()({"is-selected":c,"is-transient":y},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(d.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,j):j)}}]),t}(l.Component),I=Object(D.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(R);function L(e){var t,n=e.alt,r=e.imageFilter,i=e.height,a=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(z.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:n,"data-height":i,"data-id":a,"data-link":o,"data-url":u,"data-width":h,src:p});return Object(l.createElement)("figure",{className:M()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},d):d)}var B=n(38);function q(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:M()("tiled-gallery__row",n)},t)}var U=n(56);function G(e){var t=e.height,n=e.width;return t&&n?n/t:1}var $=pe([2,1,2],5),K=he([de,de,me,de,de]),W=he([de,de,de,me,de,de,de]),Z=pe([3,1,3],5),J=he([me,de,de,me]),Y=pe([1,2,1],5),Q=he([me,de,de,de]),X=pe([1,3],3),ee=he([de,de,de,me]),te=pe([3,1],3),ne=he([be(1.6),Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2))]),re=pe([1,2],3),ie=pe([1,1,1,1,1],1),ae=pe([1,1,1,1],1),oe=pe([1,1,1],3),ce=he([Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2)),be(1.6)]),se=pe([2,1],3),le=he([function(e){return e>=2}]);function ue(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&K(r)&&$(n)?[2,1,2]:r.length>15&&W(r)&&Z(n)?[3,1,3]:5!==r.length&&J(r)&&Y(n)?[1,2,1]:Q(r)&&X(n)?[1,3]:ee(r)&&te(n)?[3,1]:ne(r)&&re(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ie(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return ae(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&oe(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:ce(r)&&se(n)?[2,1]:le(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function pe(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),(function(t){return Object(h.isEqual)(t,e)}))}}function he(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function de(e){return e>=1&&e<2}function me(e){return e<1}function fe(e){return function(t){return t>=e}}function be(e){return function(t){return t<e}}var ge=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"gallery",Object(l.createRef)()),s()(C()(n),"pendingRaf",null),s()(C()(n),"ro",null),s()(C()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e=i.value,t=e.contentRect,n=e.target,r=t.width;Object(U.a)(n).forEach((function(e){return Object(U.b)(e,r)}))},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,G)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,(function(t){var r=a<=(e+1)*n;return r&&(a+=t),r})).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):ue(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(H,{key:t},e.map((function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(q,{key:t},n)})))})))}}]),t}(l.Component),ve=n(20);function ye(e){var t=e.columns,n=e.renderedImages,r=Math.min(ve.h,t),i=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map((function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(q,{key:t},e)})))})))}var je=n(46),_e=n.n(je),ke=n(65),Oe=n.n(ke),we=n(27);function Ce(e){return["circle","square"].includes(e)}function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(z.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],i=e.height,a=e.width,o=t.layoutStyle,c=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)||!0===function(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}()?xe:Oe.a;if(Ce(o)&&a&&i){var s=Math.min(ve.i,a,i);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l;if(Ce(o)){var u=Math.min(600,a,i),p=Math.min(ve.i,a,i);l=Object(h.range)(u,p,300).map((function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"info"});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}else{var d=Math.min(600,a),m=Math.min(ve.i,a);l=Object(h.range)(d,m,300).map((function(e){var t=c(r,{strip:"info",width:e});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,_e()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(we.format)(i)}var Se=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,i=n.images,a=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,d=n.setImageAttributes,m=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),f=a?L:I,b=Ee(e,{layoutStyle:c}),g=b.src,v=b.srcSet;return Object(l.createElement)(f,{alt:e.alt,"aria-label":m,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:a?void 0:s(t),onSelect:a?void 0:p(t),origUrl:e.url,setAttributes:a?void 0:d(t),srcSet:v,url:g,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=Ce(o)?ye:ge,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Ae=n(117),Fe=n.n(Ae);function Pe(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=new Fe.a(t).values()[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var c=a.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(h.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,i=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return Object(h.find)(e,"isDefault")}(e,t);return n?n.name:null}var Te=n(49),Me=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function Ne(e){return Math.min(3,e.images.length)}var ze=function(e){var t=Object(h.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(h.get)(e,["sizes","large","url"])||Object(h.get)(e,["media_details","sizes","large","source_url"])||e.url,t},De=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"state",{selectedImage:null}),s()(C()(n),"addFiles",(function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:ve.a,filesList:e,onFileChange:function(e){var r=e.map((function(e){return ze(e)}));n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})})),s()(C()(n),"onRemoveImage",(function(e){return function(){var t=Object(h.filter)(n.props.attributes.images,(function(t,n){return e!==n})),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}})),s()(C()(n),"onSelectImage",(function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}})),s()(C()(n),"onSelectImages",(function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((function(e){return ze(e)}))})})),s()(C()(n),"setColumnsNumber",(function(e){return n.setAttributes({columns:e})})),s()(C()(n),"setImageAttributes",(function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],{},t)],f()(r.slice(e+1)))})}})),s()(C()(n),"setLinkTo",(function(e){return n.setAttributes({linkTo:e})})),s()(C()(n),"uploadFromFiles",(function(e){return n.addFiles(e.target.files)})),n}return x()(t,e),y()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,i=n.isSelected,a=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,h=r.columns,m=void 0===h?Ne(r):h,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(d.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ve.a,multiple:!0,gallery:!0,value:b.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(l.createElement)(Te.a,{label:Object(u.__)("Edit Gallery","jetpack"),onClick:t})}})),Object(l.createElement)(P,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:Qt}),className:a,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ve.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var j=Pe(ve.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(d.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(j)&&b.length>1&&Object(l.createElement)(d.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ve.h,b.length)}),Object(l.createElement)(d.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:Me}))),c,Object(l.createElement)(Se,{align:p,className:a,columns:m,imageFilter:f,images:b,layoutStyle:j,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:i?t:null,setImageAttributes:this.setImageAttributes},v,i&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(d.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),Re=Object(d.withNotices)(De);var Ie=n(26);n(227);function Le(e){var t,n=e["aria-label"],r=e.alt,i=e.height,a=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(z.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Be(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function qe(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Ve(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:M()("tiled-gallery__row",n)},t)}var He=n(22),Ue=n.n(He),Ge=4,$e=20,Ke=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function We(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function Ze(e,t){!function(e,t,n){var r=Ue()(t,2),i=r[0],a=r[1],o=1/i*(n-Ge*(e.childElementCount-1)-a);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=Je(e),a=i.map((function(e){return(n-Ge*(e.childElementCount-1))*Qe(e)[0]})),o=We(a,r);i.forEach((function(e,t){var r=a[t],i=o[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=We(Ye(e).map((function(e){return i/Xe(e)})),n);Array.from(e.children).forEach((function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-Ge*(e.childElementCount-1),width:i,rawWidth:r})}))}(e,{rawHeight:o,rowWidth:n-Ge*(e.childElementCount-1)})}(e,function(e){return Je(e).map(Qe).reduce((function(e,t){var n=Ue()(e,2),r=n[0],i=n[1],a=Ue()(t,2);return[r+a[0],i+a[1]]}),[0,0])}(e),t)}function Je(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function Ye(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function Qe(e){var t=Ye(e),n=t.length,r=1/t.map(Xe).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function Xe(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function et(e){var t=e.height,n=e.width;return t&&n?n/t:1}var tt=jt([2,1,2],5),nt=_t([kt,kt,Ot,kt,kt]),rt=_t([kt,kt,kt,Ot,kt,kt,kt]),it=jt([3,1,3],5),at=_t([Ot,kt,kt,Ot]),ot=jt([1,2,1],5),ct=_t([Ot,kt,kt,kt]),st=jt([1,3],3),lt=_t([kt,kt,kt,Ot]),ut=jt([3,1],3),pt=_t([Ct(1.6),Object(h.overEvery)(wt(.9),Ct(2)),Object(h.overEvery)(wt(.9),Ct(2))]),ht=jt([1,2],3),dt=jt([1,1,1,1,1],1),mt=jt([1,1,1,1],1),ft=jt([1,1,1],3),bt=_t([Object(h.overEvery)(wt(.9),Ct(2)),Object(h.overEvery)(wt(.9),Ct(2)),Ct(1.6)]),gt=jt([2,1],3),vt=_t([function(e){return e>=2}]);function yt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&nt(r)&&tt(n)?[2,1,2]:r.length>15&&rt(r)&&it(n)?[3,1,3]:5!==r.length&&at(r)&&ot(n)?[1,2,1]:ct(r)&&st(n)?[1,3]:lt(r)&&ut(n)?[3,1]:pt(r)&&ht(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&dt(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return mt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ft(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:bt(r)&>(n)?[2,1]:vt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function jt(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),(function(t){return Object(h.isEqual)(t,e)}))}}function _t(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function kt(e){return e>=1&&e<2}function Ot(e){return e<1}function wt(e){return function(t){return t>=e}}function Ct(e){return function(t){return t<e}}var Et=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"gallery",Object(l.createRef)()),s()(C()(n),"pendingRaf",null),s()(C()(n),"ro",null),s()(C()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e,t=i.value,n=t.contentRect,r=t.target,a=n.width;(e=r,Array.from(e.querySelectorAll(".tiled-gallery__row"))).forEach((function(e){return Ze(e,a)}))},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,et)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,(function(t){var r=a<=(e+1)*n;return r&&(a+=t),r})).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):yt(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(qe,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(Ve,{key:t},e.map((function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(Be,{key:t},n)})))})))}}]),t}(l.Component);function xt(e){var t=e.columns,n=e.renderedImages,r=Math.min($e,t),i=n.length%r;return Object(l.createElement)(qe,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map((function(e,t){return Object(l.createElement)(Ve,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(Be,{key:t},e)})))})))}var St=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(z.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],a=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?Ft:Oe.a;if(At(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return a(i,{resize:"".concat(o,",").concat(o)})}return a(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,i=n.linkTo,a=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Le,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:a===t,key:t,link:e.link,linkTo:i,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=At(o)?xt:Et,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function At(e){return["circle","square"].includes(e)}function Ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,_e()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(we.format)(i)}function Pt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,i=t.className,a=t.columns,o=void 0===a?function(e){return Math.min(3,e.images.length)}(t):a,c=t.linkTo;return Object(l.createElement)(St,{align:r,className:i,columns:o,images:n,layoutStyle:Pe(Ke,i),linkTo:c})}var Tt,Mt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Nt={align:["center","wide","full"],customClassName:!1,html:!1},zt=n(118),Dt=n.n(zt),Rt=n(119),It=n.n(Rt),Lt=n(120),Bt=n.n(Lt),qt=n(121),Vt=n.n(qt),Ht=n(122),Ut=n.n(Ht),Gt=n(123),$t=n.n(Gt),Kt=(Tt={},s()(Tt,ve.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Tt,ve.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Tt,ve.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Tt,ve.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Tt),Wt=ve.g.map((function(e){return o()({},e,{label:Kt[e.name]})}));function Zt(e){return Object(h.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var Jt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ve.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Yt={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:Dt.a,width:160,height:95},{alt:"",link:"",url:It.a,width:160,height:107},{alt:"",link:"",url:Bt.a,width:304,height:203},{alt:"",link:"",url:Vt.a,width:312,height:207},{alt:"",link:"",url:Ut.a,width:152,height:101},{alt:"",link:"",url:$t.a,width:152,height:105}],linkTo:"none"},Qt=Object(l.createElement)(d.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(d.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Xt={attributes:Jt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack")+(Object(Ie.b)()?"":" "+Object(u.__)("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:Qt,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Wt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Zt(e).length>0},transform:function(e){var t=Zt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Zt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,i=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:i})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map((function(e){var n=e.id,r=e.url,i=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:i})})):Object(p.createBlock)("core/image")}}]},edit:Re,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var i=t.align,a=t.className,o=t.columns,c=void 0===o?Ne(t):o,s=t.linkTo;return Object(l.createElement)(Se,{align:i,className:a,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Pe(ve.g,a),linkTo:s})},deprecated:[r],example:{attributes:Yt}};Object(i.a)("tiled-gallery",Xt)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",(function(){return p})),n.d(r,"refreshConnectionTestResults",(function(){return h})),n.d(r,"fetchFromAPI",(function(){return d}));var i={};n.r(i),n.d(i,"getFailedConnections",(function(){return m})),n.d(i,"getMustReauthConnections",(function(){return f}));var a=n(0),o=n(1),c=n(2),s=n(52),l=n(47),u=(n(205),n(13));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function h(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function d(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter((function(e){return!1===e.test_success}))}function f(e){return e.filter((function(e){return"must_reauth"===e.test_success})).map((function(e){return e.service_name}))}var b=n(21),g=n.n(b),v=n(106),y=n.n(v),j=n(5),_=n(30),k=n.n(_),O=n(23),w=n.n(O);function C(){return(C=k()(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.dispatch,e.prev=1,e.next=4,w()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(p(i)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}var E={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return C.apply(this,arguments)}};var x,S,A,F,P,T={FETCH_FROM_API:function(e){var t=e.path;return w()({path:t})}},M=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:T,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:i});x=M,A=[y()(E)],F=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},P={getState:x.getState,dispatch:function(){return F.apply(void 0,arguments)}},S=A.map((function(e){return e(P)})),F=j.flowRight.apply(void 0,g()(S))(x.dispatch),x.dispatch=F;var N=n(44),z=n(14),D=n(7),R=n.n(D),I=n(11),L=n.n(I),B=n(8),q=n.n(B),V=n(9),H=n.n(V),U=n(4),G=n.n(U),$=n(10),K=n.n($),W=n(3),Z=n.n(W),J=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"refreshConnectionClick",(function(e){var t=e.target,r=t.href,i=t.title;e.preventDefault();var a=window.open(r,i,""),o=window.setInterval((function(){!1!==a.closed&&(window.clearInterval(o),n.props.refreshConnections())}),500)})),n}return K()(t,e),L()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter((function(e){return e.can_refresh}));return t.length?Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((function(t){return Object(a.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)}))):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter((function(e){return!e.can_refresh}));return e.length?e.map((function(e){return Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,e.test_message))})):null}},{key:"render",value:function(){return Object(a.createElement)(a.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(a.Component),Y=Object(z.compose)([Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}}))])(J),Q=n(15),X=n.n(Q),ee=n(12),te=n.n(ee),ne=n(33),re=n.n(ne),ie=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ae=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),oe=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ce=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),se=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(a.createElement)(c.Icon,re()({icon:ie},n));case"twitter":return Object(a.createElement)(c.Icon,re()({icon:ae},n));case"linkedin":return Object(a.createElement)(c.Icon,re()({icon:oe},n));case"tumblr":return Object(a.createElement)(c.Icon,re()({icon:ce},n))}return null},le=n(35),ue=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"maybeDisplayLinkedInNotice",(function(){return n.connectionNeedsReauth()&&Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(a.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(Object(le.a)())},Object(o.__)("Go to Sharing settings","jetpack")))})),Z()(G()(n),"connectionNeedsReauth",(function(){return Object(j.includes)(n.props.mustReauthConnections,n.props.name)})),Z()(G()(n),"onConnectionChange",(function(){var e=n.props.id;n.props.toggleConnection(e)})),n}return K()(t,e),L()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some((function(e){return e.service_name===n}))}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,i=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(a.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(a.createElement)(c.Disabled,null,u)),Object(a.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(a.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(a.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(a.createElement)(se,{serviceName:l}),Object(a.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(a.Component),pe=Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}}))(ue),he=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"settingsClick",(function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var i=window.open(t,"",""),a=window.setInterval((function(){!1!==i.closed&&(window.clearInterval(a),r())}),500)})),n}return K()(t,e),L()(t,[{key:"getButtonLink",value:function(){var e=Object(le.a)();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=te()("jetpack-publicize-add-connection-container",this.props.className);return Object(a.createElement)("div",{className:e},Object(a.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(a.Component),de=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"state",{hasEditedShareMessage:!1}),Z()(G()(n),"fieldId",Object(j.uniqueId)("jetpack-publicize-message-field-")),Z()(G()(n),"onMessageChange",(function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)})),n}return K()(t,e),L()(t,[{key:"isDisabled",value:function(){return this.props.connections.every((function(e){return!e.toggleable}))}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,i=this.getShareMessage(),c=256-i.length,s=te()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(a.createElement)("div",{id:"publicize-form"},Object(a.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map((function(e){var t=e.display_name,r=e.enabled,i=e.id,o=e.service_name,c=e.toggleable;return Object(a.createElement)(pe,{disabled:!c,enabled:r,key:i,id:i,label:t,name:o,toggleConnection:n})}))),Object(a.createElement)(he,{refreshCallback:r}),t.some((function(e){return e.enabled}))&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(a.createElement)("div",{className:"jetpack-publicize-message-box"},Object(a.createElement)("textarea",{id:this.fieldId,value:i,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(a.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(a.Component),me=Object(z.compose)([Object(u.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(j.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}})),Object(u.withDispatch)((function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map((function(e){return X()({},e,{enabled:e.id===t?!e.enabled:e.enabled})}));e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}}))])(de),fe=Object(z.compose)([Object(u.withSelect)((function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("core/editor").refreshPost}}))])((function(e){var t=e.connections,n=e.refreshConnections;return Object(a.createElement)(a.Fragment,null,t&&t.some((function(e){return e.enabled}))&&Object(a.createElement)(Y,null),Object(a.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(a.createElement)(me,{refreshCallback:n}),t&&0===t.length&&Object(a.createElement)(he,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))})),be={render:function(){return Object(a.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(a.createElement)(N.a,null,Object(a.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(a.createElement)(fe,null))),Object(a.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(a.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(a.createElement)(fe,null)))}},ge=n(39);Object(ge.a)("publicize",be)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],h=function(e){var t=e.isSelected;return Object(i.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},d=n(19),m=(n(142),n(84),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),j=n(9),_=n.n(j),k=n(4),O=n.n(k),w=n(10),C=n.n(w),E=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),a&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(c||s)&&Object(i.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(i.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,a=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=a?"+".concat(a,","):"",d=o?"+".concat(o,","):"";d=c?"".concat(d,"+").concat(c):d;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(h).concat(d).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some((function(e){return""!==e}))&&Object(i.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(i.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(a.__)("Open address in Google Maps","jetpack")},Object(i.createElement)(E,e)),!e.attributes.linkToGoogleMaps&&Object(i.createElement)(E,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=y()(this,(e=_()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return C()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,h=t.postal,d=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,h,d].some((function(e){return""!==e})),v=l()({"jetpack-address-block":!0,"is-selected":f}),y=Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(i.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.PlainText,{value:n,placeholder:Object(a.__)("Street Address","jetpack"),"aria-label":Object(a.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:r,placeholder:Object(a.__)("Address Line 2","jetpack"),"aria-label":Object(a.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:s,placeholder:Object(a.__)("Address Line 3","jetpack"),"aria-label":Object(a.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:u,placeholder:Object(a.__)("City","jetpack"),"aria-label":Object(a.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:p,placeholder:Object(a.__)("State/Province/Region","jetpack"),"aria-label":Object(a.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:h,placeholder:Object(a.__)("Postal/Zip Code","jetpack"),"aria-label":Object(a.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:d,placeholder:Object(a.__)("Country","jetpack"),"aria-label":Object(a.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),F={title:Object(a.__)("Address","jetpack"),description:Object(a.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(a._x)("location","block search term","jetpack"),Object(a._x)("direction","block search term","jetpack"),Object(a._x)("place","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(i.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(43),T=n.n(P),M=function(e){var t=e.attributes.email,n=e.className;return t&&Object(i.createElement)("div",{className:n},t.split(/(\s+)/).map((function(e,t){var n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&T.a.validate(n)?e===n?Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(i.createElement)(i.Fragment,null,e.slice(-(e.length-n.length)))):Object(i.createElement)(i.Fragment,{key:t},e)})))},N=function(e,t,n,r,a){var c=t.isSelected,s=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(i.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:a}))},z=function(e){var t=e.setAttributes;return N("email",e,Object(a.__)("Email","jetpack"),M,(function(e){return t({email:e})}))},D={title:Object(a.__)("Email Address","jetpack"),description:Object(a.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(a._x)("message","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:z,save:M,parent:["jetpack/contact-info"]};var R=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(i.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,a=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9/+/(]/.test(r[0])?(a=a.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[a.trim()?Object(i.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},a):null,Object(i.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},I=function(e){var t=e.setAttributes;return N("phone",e,Object(a.__)("Phone number","jetpack"),R,(function(e){return t({phone:e})}))},L={title:Object(a.__)("Phone Number","jetpack"),description:Object(a.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(a._x)("mobile","block search term","jetpack"),Object(a._x)("telephone","block search term","jetpack"),Object(a._x)("cell","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:I,save:R},B={title:Object(a.__)("Contact Info","jetpack"),description:Object(a.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("phone","block search term","jetpack"),Object(a._x)("address","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:h,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},q=[{name:"address",settings:F},{name:"email",settings:D},{name:"phone",settings:L}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(25),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),j=n(23),_=n.n(j),k=n(1),O=n(2),w=n(6),C=(n(146),n(21)),E=n.n(C),x=n(12),S=n.n(x),A=n(5),F=n(29),P=n(14);function T(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var i=e[r],a=i.keywords,o=void 0===a?[]:a;if("string"==typeof i.label&&(o=[].concat(E()(o),[i.label])),n.push(i),n.length===t)break}return n}var M=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"select",(function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()})),v()(m()(e),"reset",(function(){e.setState(e.constructor.getInitialState())})),v()(m()(e),"onChange",(function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var i=n?T(r):[];n&&e.setState({selectedIndex:0,filteredOptions:i,query:t})}else e.reset()})),v()(m()(e),"onKeyDown",(function(t){var n=e.state,r=n.isOpen,i=n.selectedIndex,a=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===i?a.length:i)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(i+1)%a.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(a[i]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}})),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,i=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(i===n.activePromise){var a=t.map((function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}})),o=T(a),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",a),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}}))}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,i=r.children,a=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,h=o.className,d=l.length>0,m=d?"components-autocomplete-listbox-".concat(a):null,f=d?"components-autocomplete-item-".concat(a,"-").concat(p):null;return Object(y.createElement)("div",{className:"components-autocomplete"},i({isExpanded:d,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),d&&Object(y.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(y.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,(function(t,n){return Object(y.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(a,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(y.Component),N=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(M),z=Object(k.__)("Add a marker…","jetpack"),D=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",(function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text})),v()(m()(e),"search",(function(t){var n=e.props,r=n.apiKey,i=n.onError,a="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET",a),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var a=JSON.parse(n.responseText);i(a.statusText,a.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()}))})),v()(m()(e),"onReset",(function(){e.textRef.current.value=null})),e.textRef=Object(y.createRef)(),e.containerRef=Object(y.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(y.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.containerRef.current.querySelector("input").focus()}),50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(y.createElement)("div",{ref:this.containerRef},Object(y.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(y.createElement)(N,{completer:this.autocompleter,onReset:this.onReset},(function(t){var n=t.isExpanded,r=t.listBoxId,i=t.activeId,a=t.onChange,o=t.onKeyDown;return Object(y.createElement)(O.TextControl,{placeholder:z,ref:e.textRef,onChange:a,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":i,onKeyDown:o})}))))}}]),t}(y.Component);D.defaultProps={onError:function(){}};var R=D,I=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,i=e.apiKey;return Object(y.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(y.createElement)(O.Popover,{className:"component__add-point__popover"},Object(y.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(y.createElement)(O.Dashicon,{icon:"no"})),Object(y.createElement)(R,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:i,onError:r})))}}]),t}(y.Component);I.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var L=I,B=(n(147),function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",(function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,i=r.points,a=r.onChange,o=i.slice(0);o.splice(n,1),a(o)})),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,i=r.points,a=r.onChange,o=i.slice(0);o[n][e]=t,a(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map((function(t,n){return Object(y.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(y.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(y.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(y.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(y.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))}));return Object(y.createElement)("div",{className:"component__locations"},Object(y.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(y.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,V=n(69),H=(n(148),function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,i=e.label,a=t.map((function(e,t){var i=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(y.createElement)(O.Button,{className:i,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)}));return Object(y.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(y.createElement)("label",{className:"components-base-control__label"},i),Object(y.createElement)(O.ButtonGroup,null,a))}}]),t}(y.Component));H.defaultProps={label:"",options:[],value:null,onChange:function(){}};var U=H,G=n(104),$=n.n(G),K=0,W=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"addPoint",(function(t){var n=e.props,r=n.attributes,i=n.setAttributes,a=r.points,o=a.slice(0),c=!1;a.map((function(e){e.id===t.id&&(c=!0)})),c||(o.push(t),i({points:o}),e.setState({addPointVisibility:!1}))})),v()(m()(e),"updateAlignment",(function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)})),v()(m()(e),"updateAPIKeyControl",(function(t){e.setState({apiKeyControl:t})})),v()(m()(e),"updateAPIKey",(function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")})),v()(m()(e),"removeAPIKey",(function(){e.apiCall(null,"DELETE")})),v()(m()(e),"onError",(function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)})),e.state={addPointVisibility:!1,apiState:K},e.mapRef=Object(y.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,i=this.state.apiKey,a="/wpcom/v2/service-api-keys/mapbox",o=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},(function(){_()(o).then((function(t){r.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})}),(function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:i})}))}))}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,a=t.attributes,o=t.noticeUI,c=t.notices,s=a.mapStyle,l=a.mapDetails,u=a.points,p=a.zoom,h=a.mapCenter,d=a.markerColor,m=a.align,f=a.preview,b=this.state,g=b.addPointVisibility,v=b.apiKey,j=b.apiKeyControl,_=b.apiState,C=b.apiRequestOutstanding,E=Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.BlockControls,null,Object(y.createElement)(w.BlockAlignmentToolbar,{value:m,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(y.createElement)(O.Toolbar,null,Object(y.createElement)(O.IconButton,{icon:i.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(y.createElement)(w.InspectorControls,null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(y.createElement)(U,{value:s,onChange:function(e){return r({mapStyle:e})},options:i.a.mapStyleOptions}),Object(y.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:l,onChange:function(e){return r({mapDetails:e})}})),Object(y.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),u.length?Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(y.createElement)(q,{points:u,onChange:function(e){r({points:e})}})):null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(y.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:j,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(y.createElement)(O.ButtonGroup,null,Object(y.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(y.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),x=Object(y.createElement)(O.Placeholder,{icon:i.a.icon},Object(y.createElement)(O.Spinner,null)),S=Object(y.createElement)(O.Placeholder,{icon:i.a.icon,label:Object(k.__)("Map","jetpack"),notices:c},Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"components-placeholder__instructions"},Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(y.createElement)("br",null),Object(y.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(y.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),Object(y.createElement)(O.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:C,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:j,onChange:this.updateAPIKeyControl}),Object(y.createElement)(O.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:C||!j||j.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack")))),A=Object(y.createElement)(y.Fragment,null,E,Object(y.createElement)("div",{className:n},Object(y.createElement)(V.a,{ref:this.mapRef,mapStyle:s,mapDetails:l,points:u,zoom:p,mapCenter:h,markerColor:d,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:v,onSetPoints:function(e){return r({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},g&&Object(y.createElement)(L,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:v,onError:this.onError,tagName:"AddPoint"})))),F=Object(y.createElement)("div",null,Object(y.createElement)("img",{alt:Object(k.__)("Map Preview","jetpack"),src:$.a}));return Object(y.createElement)(y.Fragment,null,o,f&&F,!f&&_===K&&x,!f&&1===_&&S,!f&&2===_&&A)}}]),t}(y.Component),Z=Object(O.withNotices)(W),J=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,i=e.points,a=e.zoom,o=e.mapCenter,c=e.markerColor,s=i.map((function(e,t){var n=e.coordinates,r=n.longitude,i="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(y.createElement)("li",{key:t},Object(y.createElement)("a",{href:i},e.title))})),l=t?"align".concat(t):null;return Object(y.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(i),"data-zoom":a,"data-map-center":JSON.stringify(o),"data-marker-color":c},i.length>0&&Object(y.createElement)("ul",null,s))}}]),t}(y.Component),Y=(n(87),n(149),i.a.name),Q={title:i.a.title,icon:i.a.icon,category:i.a.category,keywords:i.a.keywords,description:i.a.description,attributes:i.a.attributes,supports:i.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==i.a.validAlignments.indexOf(t))return{"data-align":t}},edit:Z,save:J,example:i.a.example};Object(r.a)(Y,Q)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(15),a=n.n(i),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(139),n(7)),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),j=n.n(y),_=n(10),k=n.n(_),O=n(12),w=n.n(O),C=n(43),E=n.n(C),x=n(14),S=n(42),A=n(19),F=n(40),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],T=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(j()(n)),n.onBlurTo=n.onBlurTo.bind(j()(n)),n.onChangeTo=n.onChangeTo.bind(j()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(j()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(j()(n)),n.getToValidationError=n.getToValidationError.bind(j()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(j()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(j()(n)),n.hasEmailError=n.hasEmailError.bind(j()(n));var o=(i[0].attributes.to?i[0].attributes.to:"").split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:o&&o.length?o:null},n}return k()(t,e),m()(t,[{key:"getIntroMessage",value:function(){return Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")}},{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!E.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map((function(e){return e.email}));return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,i=r.subject,a=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:a,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(S.a,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(S.a,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:i,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"renderConfirmationMessageFields",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes,r=n.customThankyou,i=n.customThankyouMessage,a=n.customThankyouRedirect;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.SelectControl,{label:Object(c.__)("On Submission","jetpack"),value:r,options:[{label:Object(c.__)("Show a summary of submitted fields","jetpack"),value:""},{label:Object(c.__)("Show a custom text message","jetpack"),value:"message"},{label:Object(c.__)("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:function(t){return e.props.setAttributes({customThankyou:t})}}),"message"===r&&Object(o.createElement)(l.TextareaControl,{label:Object(c.__)("Message Text","jetpack"),value:i,placeholder:Object(c.__)("Thank you for your submission!","jetpack"),onChange:function(t){return e.props.setAttributes({customThankyouMessage:t})}}),"redirect"===r&&Object(o.createElement)(l.BaseControl,{label:Object(c.__)("Redirect Address","jetpack"),id:"contact-form-".concat(t,"-thankyou-url")},Object(o.createElement)(u.URLInput,{id:"contact-form-".concat(t,"-thankyou-url"),value:a,className:"jetpack-contact-form__thankyou-redirect-url",onChange:function(t){return e.props.setAttributes({customThankyouRedirect:t})}})))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email Feedback Settings","jetpack")},this.renderToAndSubjectFields()),Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Confirmation Message","jetpack")},this.renderConfirmationMessageFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(F.a,this.props)))}}]),t}(o.Component),M=Object(x.compose)([x.withInstanceId])(T),N=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,i=e.isSelected,a=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),i&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:a,onChange:function(e){return t({required:e})}}),!i&&a&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var z=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,a=e.setAttributes,s=e.defaultValue,p=e.placeholder,h=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(N,{required:r,label:i,setAttributes:a,isSelected:t}),placeholder:p,value:p,onChange:function(e){return a({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return a({id:e})}}))))};var D=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,a=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(N,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:a,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},R=Object(x.withInstanceId)((function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,a=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(N,{required:n,label:r,setAttributes:i,isSelected:a}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return i({id:e})}}))))})})),I=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(j()(n)),n.onKeyPress=n.onKeyPress.bind(j()(n)),n.onDeleteOption=n.onDeleteOption.bind(j()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),L=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(j()(n)),n.addNewOption=n.addNewOption.bind(j()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,i=t.required,a=t.label,s=t.setAttributes,p=t.isSelected,h=t.id,d=this.props.options,m=this.state.inFocus;return d.length||(d=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(N,{required:i,label:a,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},d.map((function(t,r){return Object(o.createElement)(I,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})}))),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),B=Object(x.withInstanceId)(L),q={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact form","block search term","jetpack")],category:"jetpack",supports:{html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},customThankyou:{type:"string",default:""},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:M,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},example:{attributes:{hasFormSettingsSet:!0,submitButtonText:Object(c.__)("Submit","jetpack")},innerBlocks:[{name:"jetpack/field-name",attributes:{label:Object(c.__)("Name","jetpack"),required:!0}},{name:"jetpack/field-email",attributes:{label:Object(c.__)("Email","jetpack"),required:!0}},{name:"jetpack/field-url",attributes:{label:Object(c.__)("Website","jetpack")}},{name:"jetpack/field-textarea",attributes:{label:Object(c.__)("Message","jetpack")}}]},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!!(e.has_form_settings_set||e.submit_button_text&&"Submit"!==e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},V={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},H=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},U=function(e){return function(t){return Object(o.createElement)(z,{type:e,label:H(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},G=function(e){return function(t){return Object(o.createElement)(B,{label:H(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},$=[{name:"field-text",settings:a()({},V,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:U("text")})},{name:"field-name",settings:a()({},V,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:U("text")})},{name:"field-email",settings:a()({},V,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:U("email")})},{name:"field-url",settings:a()({},V,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:U("url")})},{name:"field-date",settings:a()({},V,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:U("text")})},{name:"field-telephone",settings:a()({},V,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:U("tel")})},{name:"field-textarea",settings:a()({},V,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(D,{label:H(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:a()({},V,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(R,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:a()({},V.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:a()({},V,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:G("checkbox"),attributes:a()({},V.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:a()({},V,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:G("radio"),attributes:a()({},V.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:a()({},V,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:G("select"),attributes:a()({},V.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",q,$)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],s=n(26),l=n(7),u=n.n(l),p=n(11),h=n.n(p),d=n(8),m=n.n(d),f=n(9),b=n.n(f),g=n(4),v=n.n(g),y=n(10),j=n.n(y),_=n(3),k=n.n(_),O=n(12),w=n.n(O),C=n(43),E=n.n(C),x=n(14),S=n(13),A=n(5),F=n(45),P=n(42),T=(n(219),n(111)),M=n.n(T),N=n(112),z=n.n(N),D=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,h=void 0===p?null:p,d=e.featuredMediaTitle,m=void 0===d?null:d;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},h&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:h,alt:m}))),Object(i.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(i.createElement)("div",{className:"jetpack-simple-payments-title"},Object(i.createElement)("p",null,n)),o&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,o)),s&&Object(i.createElement)("div",{className:"jetpack-simple-payments-price"},Object(i.createElement)("p",null,s)),Object(i.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(i.createElement)("div",{className:"jetpack-simple-payments-items"},Object(i.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(i.createElement)("div",{className:"jetpack-simple-payments-button"},Object(i.createElement)("img",{alt:Object(a.__)("Pay with PayPal","jetpack"),src:M.a,srcSet:"".concat(z.a," 2x")}))))))},R=n(6),I=n(49),L=function(e){return function(t){return e({featuredMediaId:Object(A.get)(t,"id",0),featuredMediaUrl:Object(A.get)(t,"url",null),featuredMediaTitle:Object(A.get)(t,"title",null)})}},B=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(R.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(R.MediaUpload,{onSelect:L(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(I.a,{label:Object(a.__)("Edit Image","jetpack"),onClick:t})}}),Object(i.createElement)(o.ToolbarButton,{icon:"trash",title:Object(a.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(R.MediaPlaceholder,{icon:"format-image",labels:{title:Object(a.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:L(c)})},q=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},V=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(F.a)(t),i=r.precision,a=r.symbol,o=e.toFixed(i);return n?"".concat(o," ").concat(Object(A.trimEnd)(a,".")):o},H=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(i))),k()(v()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),k()(v()(n),"validateAttributes",(function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i})),k()(v()(n),"validateCurrency",(function(){var e=n.props.attributes.currency;return c.includes(e)})),k()(v()(n),"validatePrice",(function(){var e=n.props.attributes,t=e.currency,r=e.price,i=Object(F.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(a.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(a.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):q(r)>i?0===i?(n.setState({fieldPriceError:Object(a.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(a.sprintf)(Object(a._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i,"jetpack"),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(a.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),k()(v()(n),"validateEmail",(function(){var e=n.props.attributes.email;return e?E.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(a.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),k()(v()(n),"validateTitle",(function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(a.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),k()(v()(n),"handleEmailChange",(function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})})),k()(v()(n),"handleFeaturedMediaSelect",(function(e){n.props.setAttributes({featuredMediaId:Object(A.get)(e,"id",0)})})),k()(v()(n),"handleContentChange",(function(e){n.props.setAttributes({content:e})})),k()(v()(n),"handlePriceChange",(function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})})),k()(v()(n),"handleCurrencyChange",(function(e){n.props.setAttributes({currency:e})})),k()(v()(n),"handleMultipleChange",(function(e){n.props.setAttributes({multiple:!!e})})),k()(v()(n),"handleTitleChange",(function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})})),k()(v()(n),"getCurrencyList",c.map((function(e){var t=Object(F.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}}))),n}return j()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(A.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.content,a=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(A.get)(e,["content","raw"],i),currency:Object(A.get)(e,["meta","spay_currency"],a),email:Object(A.get)(e,["meta","spay_email"],o),featuredMediaId:Object(A.get)(e,["featured_media"],c),multiple:Boolean(Object(A.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(e,["meta","spay_price"],l||void 0),title:Object(A.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,i=e.featuredMediaId,a=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:a,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.email,o=Object(S.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},(function(){o("postType","jp_pay_product",e.toApi()).then((function(e){return e&&r({productId:e.id}),e})).catch((function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),i):null,fieldPriceError:"spay_price"===n?Object(a.__)("Invalid price.","jetpack"):null})}})).finally((function(){e.setState({isSavingProduct:!1})}))}))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,h=c.setAttributes,d=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,y=s.featuredMediaTitle,j=s.multiple,_=s.price,k=s.productId,O=s.title,C=v||l&&l.source_url,E=y||l&&l.alt_text,x=k&&Object(A.isEmpty)(d);if(!p&&x)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(D,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&_&&O&&!t&&!n&&!r)return Object(i.createElement)(D,{"aria-busy":"false",content:m,featuredMediaUrl:C,featuredMediaTitle:E,formattedPrice:V(_,f),multiple:j,title:O});var S=x?o.Disabled:"div";return Object(i.createElement)(S,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(B,{featuredMediaId:g,featuredMediaUrl:C,featuredMediaTitle:E,setAttributes:h}),Object(i.createElement)("div",null,Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:w()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(a.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(a.__)("Item name","jetpack"),required:!0,type:"text",value:O}),Object(i.createElement)(P.a,{id:"".concat(u,"-title-error"),isError:!0},r),Object(i.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(a.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(a.__)("Describe your item in a few words","jetpack"),value:m}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(a.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:w()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(a.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:V(0,f,!1),required:!0,step:"1",type:"number",value:_||""}),Object(i.createElement)(P.a,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(o.ToggleControl,{checked:Boolean(j),label:Object(a.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:w()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(a.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(a.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(i.createElement)(P.a,{id:"".concat(u,"-email-error"),isError:!0},t),Object(i.createElement)(P.a,{id:"".concat(u,"-email-help")},Object(a.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(i.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(a.__)("Create one on PayPal","jetpack")))))}}]),t}(i.Component),U=Object(S.withSelect)((function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,a=e("core/editor"),o=a.isSavingPost,c=a.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(A.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(A.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?i(u):null}})),G=Object(x.compose)(U,x.withInstanceId)(H);var $=n(113),K=n.n($),W=(n(220),Object(s.b)()||Object(s.a)()?"https://support.wordpress.com/simple-payments/":"https://jetpack.com/support/jetpack-blocks/simple-payments-block/"),Z={title:Object(a.__)("Simple Payments button","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),Object(i.createElement)("p",null,Object(a.__)("Good for collecting donations or payments for products and services.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:W},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(a._x)("shop","block search term","jetpack"),Object(a._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:G,save:function(e){var t=e.attributes.productId;return t?Object(i.createElement)(i.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},example:{attributes:{price:25,title:Object(a.__)("Jetpack t-shirt","jetpack"),content:Object(a.__)("Take flight in ultimate comfort with ths stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:K.a}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",Z)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(15),s=n.n(c),l=n(21),u=n.n(l),p=n(7),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),j=n.n(y),_=n(10),k=n.n(_),O=n(3),w=n.n(O),C=n(14),E=n(5),x=n(24),S=n(13),A=n(6),F=n(49),P=function(e){var t=e.allowedMediaTypes,n=e.attributes,r=n.autoplay,c=n.delay,s=n.effect,l=n.images,u=n.sizeSlug,p=e.imageSizeOptions,h=e.onChangeImageSize,d=e.onSelectImages,m=e.setAttributes,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=[{label:Object(a._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(a._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(A.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Autoplay","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Autoplay","jetpack"),help:Object(a.__)("Autoplay between slides","jetpack"),checked:r,onChange:function(e){m({autoplay:e})}}),r&&Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Delay between transitions (in seconds)","jetpack"),value:c,onChange:function(e){m({delay:e})},min:1,max:5}),r&&f&&Object(i.createElement)("span",null,Object(a.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Effects","jetpack")},Object(i.createElement)(o.SelectControl,{label:Object(a.__)("Transition effect","jetpack"),value:s,onChange:function(e){m({effect:e})},options:b})),!Object(E.isEmpty)(l)&&!Object(E.isEmpty)(p)&&Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Image Settings","jetpack")},Object(i.createElement)(o.SelectControl,{label:Object(a.__)("Image Size","jetpack"),value:u,options:p,onChange:h}))),Object(i.createElement)(A.BlockControls,null,!!l.length&&Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(A.MediaUpload,{onSelect:d,allowedTypes:t,multiple:!0,gallery:!0,value:l.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(i.createElement)(F.a,{label:Object(a.__)("Edit Slideshow","jetpack"),onClick:t})}}))))},T=n(12),M=n.n(T),N=n(38),z=n(67),D=n(36),R=function(e){function t(e){var n;return h()(this,t),n=b()(this,v()(t).call(this,e)),w()(j()(n),"pendingRequestAnimationFrame",null),w()(j()(n),"resizeObserver",null),w()(j()(n),"initializeResizeObserver",(function(e){n.clearResizeObserver(),n.resizeObserver=new N.a((function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame((function(){Object(D.d)(e),e.update()}))})),n.resizeObserver.observe(e.el)})),w()(j()(n),"clearPendingRequestAnimationFrame",(function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)})),w()(j()(n),"clearResizeObserver",(function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)})),w()(j()(n),"prefersReducedMotion",(function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches})),w()(j()(n),"buildSwiper",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(Object(z.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:D.b,imagesReady:D.d,paginationRender:D.c,transitionEnd:D.a}))})),n.slideshowRef=Object(i.createRef)(),n.btnNextRef=Object(i.createRef)(),n.btnPrevRef=Object(i.createRef)(),n.paginationRef=Object(i.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then((function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})).catch((function(){t(Object(a.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,i=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(i===e.align&&Object(E.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((function(e){n.swiperInstance=e,n.initializeResizeObserver(e)})).catch((function(){u(Object(a.__)("The Swiper library could not be loaded.","jetpack"))})))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,a=e.effect,c=e.images;return Object(i.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":a},Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(i.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},c.map((function(e){var t=e.alt,n=e.caption,r=e.id,a=e.url;return Object(i.createElement)("li",{className:M()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(a)&&"is-transient"),key:r},Object(i.createElement)("figure",null,Object(i.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:a}),Object(x.isBlobURL)(a)&&Object(i.createElement)(o.Spinner,null),n&&Object(i.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(i.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(i.Component);w()(R,"defaultProps",{effect:"slide"});var I=R,L=(n(221),["image"]),B=function(e,t){var n=Object(E.pick)(e,["alt","id","link","caption"]);return n.url=Object(E.get)(e,["sizes",t,"url"])||Object(E.get)(e,["media_details","sizes",t,"source_url"])||e.url,n},q=function(e){function t(){var e;return h()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(j()(e),"onSelectImages",(function(t){var n=e.props.attributes.sizeSlug,r=t.map((function(e){return B(e,n)}));e.setAttributes({images:r})})),w()(j()(e),"onRemoveImage",(function(t){return function(){var n=Object(E.filter)(e.props.attributes.images,(function(e,n){return t!==n}));e.setState({selectedImage:null}),e.setAttributes({images:n})}})),w()(j()(e),"addFiles",(function(t){var n=e.props.attributes.images||[],r=e.props.attributes.sizeSlug,i=e.props,a=i.lockPostSaving,o=i.unlockPostSaving,c=i.noticeOperations;a("slideshowBlockLock"),Object(A.mediaUpload)({allowedTypes:L,filesList:t,onFileChange:function(t){var i=t.map((function(e){return B(e,r)}));e.setAttributes({images:[].concat(u()(n),u()(i))}),i.every((function(e){return Object(x.isBlobURL)(e.url)}))||o("slideshowBlockLock")},onError:c.createErrorNotice})})),w()(j()(e),"uploadFromFiles",(function(t){return e.addFiles(t.target.files)})),w()(j()(e),"updateImagesSize",(function(t){var n=e.props.attributes.images,r=e.props.resizedImages,i=n.map((function(e){var n=r.find((function(t){var n=t.id;return parseInt(n,10)===parseInt(e.id,10)})),i=Object(E.get)(n,["sizes",t,"source_url"]);return s()({},e,{},i&&{url:i})}));e.setAttributes({images:i,sizeSlug:t})})),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.ids;e.sizeSlug||this.setAttributes({sizeSlug:t.length?"full":"large"})}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(E.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.noticeOperations,l=t.noticeUI,u=n.align,p=n.autoplay,h=n.delay,d=n.effect,m=n.images,f=this.getImageSizeOptions(),b=Object(i.createElement)(P,{allowedMediaTypes:L,attributes:n,imageSizeOptions:f,onChangeImageSize:this.updateImagesSize,onSelectImages:this.onSelectImages,setAttributes:function(t){return e.setAttributes(t)}});return 0===m.length?Object(i.createElement)(i.Fragment,null,b,Object(i.createElement)(A.MediaPlaceholder,{icon:Object(i.createElement)(A.BlockIcon,{icon:Q}),className:r,labels:{title:Object(a.__)("Slideshow","jetpack"),instructions:Object(a.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:L,multiple:!0,notices:l,onError:s.createErrorNotice})):Object(i.createElement)(i.Fragment,null,b,l,Object(i.createElement)(I,{align:u,autoplay:p,className:r,delay:h,effect:d,images:m,onError:s.createErrorNotice}),Object(i.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),c&&Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(i.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(a.__)("Upload an image","jetpack"))))}}]),t}(i.Component),V=Object(C.compose)(Object(S.withSelect)((function(e,t){return{imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce((function(t,n){var r=e("core").getMedia(n),i=Object(E.get)(r,["media_details","sizes"]);return[].concat(u()(t),[{id:n,sizes:i}])}),[])}})),Object(S.withDispatch)((function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}})),o.withNotices)(q),H=n(16);function U(e){return Object(E.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var G={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return U(e).length>0},transform:function(e){var t=U(e);return Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=U(e.images);return t.length>0?Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))}):Object(H.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(H.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map((function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(H.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})})):Object(H.createBlock)("core/image")}}]},$=n(114),K=n.n($),W=n(115),Z=n.n(W),J=n(116),Y=n.n(J),Q=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(i.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),X={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:K.a},{alt:"",caption:"",id:23,url:Z.a},{alt:"",caption:"",id:23,url:Y.a}],effect:"slide"},ee={title:Object(a.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(a._x)("image","block search term","jetpack"),Object(a._x)("gallery","block search term","jetpack"),Object(a._x)("slider","block search term","jetpack")],description:Object(a.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:Q,edit:V,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,a=t.delay,o=t.effect,c=t.images,s=e.className;return Object(i.createElement)(I,{align:n,autoplay:r,className:s,delay:a,effect:o,images:c})},transforms:G,example:{attributes:X}};Object(r.a)("slideshow",ee)},function(e,t,n){"use strict";n.r(t);var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(15),s=n.n(c),l=n(24),u=n(16),p=n(6),h=n(60),d=n(5),m=n(30),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),j=n(8),_=n.n(j),k=n(9),O=n.n(k),w=n(4),C=n.n(w),E=n(10),x=n.n(E),S=n(3),A=n.n(S),F=n(0),P=n(23),T=n.n(P),M=n(2),N=n(14),z=n(13),D=n(1),R=n(12),I=n.n(R),L=function(e){var t=e.text;return Object(F.createElement)("div",{className:"wp-block-embed is-loading"},Object(F.createElement)(M.Spinner,null),Object(F.createElement)("p",null,t))},B=n(28),q=function(e,t){var n=t.autoplay,r=t.controls,i=t.loop,a=t.muted,o=t.poster,c=t.preload;if(!e)return null;var l=s()({},n&&{autoPlay:!0},{},!r&&{controls:!1},{},i&&{loop:!0},{},a&&{muted:!0,persistVolume:!1},{},o&&{posterUrl:o},{},"none"!==c&&{preloadContent:c});return Object(B.addQueryArgs)("https://videopress.com/v/".concat(e),l)},V=["image"],H=Object(N.createHigherOrderComponent)(Object(N.compose)([Object(z.withSelect)((function(e,t){var n=t.attributes,r=n.autoplay,i=n.controls,a=n.guid,o=n.loop,c=n.muted,s=n.poster,u=n.preload,p=n.src,h=e("core"),d=h.getEmbedPreview,m=h.isRequestingEmbedPreview,f=q(a,{autoplay:r,controls:i,loop:o,muted:c,poster:s,preload:u}),b=!!f&&d(f);return{isFetchingPreview:!!f&&m(f),isUploading:Object(l.isBlobURL)(p),preview:b,url:f}})),Object(z.withDispatch)((function(e){return{invalidateCachedEmbedPreview:function(t){e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}})),N.withInstanceId,function(e){return function(t){function n(){var e;return g()(this,n),e=_()(this,O()(n).apply(this,arguments)),A()(C()(e),"fallbackToCore",(function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})})),A()(C()(e),"setGuid",f()(regeneratorRuntime.mark((function t(){var n,r,i,a,o,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props,r=n.attributes,i=n.setAttributes,a=r.id){t.next=5;break}return i({guid:void 0}),t.abrupt("return");case 5:return t.prev=5,e.setState({isFetchingMedia:!0}),t.next=9,T()({path:"/wp/v2/media/".concat(a)});case 9:if(o=t.sent,e.setState({isFetchingMedia:!1}),c=e.props.attributes.id,a===c){t.next=14;break}return t.abrupt("return");case 14:e.setState({media:o}),(s=Object(d.get)(o,"jetpack_videopress_guid"))?i({guid:s}):e.fallbackToCore(),t.next=23;break;case 19:t.prev=19,t.t0=t.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return t.stop()}}),t,null,[[5,19]])})))),A()(C()(e),"switchToEditing",(function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),A()(C()(e),"onSelectPoster",(function(t){(0,e.props.setAttributes)({poster:t.url})})),A()(C()(e),"onRemovePoster",(function(){(0,e.props.setAttributes)({poster:""}),e.posterImageButton.current.focus()})),A()(C()(e),"toggleAttribute",(function(t){return function(n){e.props.setAttributes(A()({},t,n))}})),A()(C()(e),"getAutoplayHelp",(function(e){return e?Object(D.__)("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null})),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(F.createRef)(),e}return x()(n,t),y()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.invalidateCachedEmbedPreview,i=t.url;n.id!==e.attributes.id&&this.setGuid(),i&&i!==e.url&&r(i)}},{key:"render",value:function(){var t=this,n=this.props,r=n.attributes,i=n.className,a=n.instanceId,o=n.isFetchingPreview,c=n.isSelected,s=n.isUploading,l=n.preview,u=n.setAttributes,h=this.state,d=h.fallback,m=h.isFetchingMedia,f=r.autoplay,b=r.caption,g=r.controls,v=r.loop,y=r.muted,j=r.poster,_=r.preload,k="video-block__poster-image-description-".concat(a),O=Object(F.createElement)(F.Fragment,null,Object(F.createElement)(p.BlockControls,null,Object(F.createElement)(M.Toolbar,null,Object(F.createElement)(M.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(D.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(F.createElement)(p.InspectorControls,null,Object(F.createElement)(M.PanelBody,{title:Object(D.__)("Video Settings","jetpack")},Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Autoplay","jetpack"),onChange:this.toggleAttribute("autoplay"),checked:f,help:this.getAutoplayHelp}),Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Loop","jetpack"),onChange:this.toggleAttribute("loop"),checked:v}),Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:y}),Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Playback Controls","jetpack"),onChange:this.toggleAttribute("controls"),checked:g}),Object(F.createElement)(M.SelectControl,{label:Object(D.__)("Preload","jetpack"),value:_,onChange:function(e){return u({preload:e})},options:[{value:"auto",label:Object(D._x)("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:Object(D._x)("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:Object(D._x)("None","VideoPress preload setting","jetpack")}]}),Object(F.createElement)(p.MediaUploadCheck,null,Object(F.createElement)(M.BaseControl,{className:"editor-video-poster-control",label:Object(D.__)("Poster Image","jetpack")},Object(F.createElement)(p.MediaUpload,{title:Object(D.__)("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:V,render:function(e){var n=e.open;return Object(F.createElement)(M.Button,{isDefault:!0,onClick:n,ref:t.posterImageButton,"aria-describedby":k},j?Object(D.__)("Replace image","jetpack"):Object(D.__)("Select Poster Image","jetpack"))}}),Object(F.createElement)("p",{id:k,hidden:!0},j?Object(D.sprintf)(Object(D.__)("The current poster image url is %s","jetpack"),j):Object(D.__)("There is no poster image currently selected","jetpack")),!!j&&Object(F.createElement)(M.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(D.__)("Remove Poster Image")))))));if(s)return Object(F.createElement)(F.Fragment,null,O,Object(F.createElement)(L,{text:Object(D.__)("Uploading…","jetpack")}));if(m||o)return Object(F.createElement)(F.Fragment,null,O,Object(F.createElement)(L,{text:Object(D.__)("Generating preview…","jetpack")}));if(d||!l)return Object(F.createElement)(e,this.props);var w=l.html,C=l.scripts;return Object(F.createElement)(F.Fragment,null,O,Object(F.createElement)("figure",{className:I()(i,"wp-block-embed","is-type-video")},Object(F.createElement)(M.Disabled,null,Object(F.createElement)("div",{className:"wp-block-embed__wrapper"},Object(F.createElement)(M.SandBox,{html:w,scripts:C}))),(!p.RichText.isEmpty(b)||c)&&Object(F.createElement)(p.RichText,{tagName:"figcaption",placeholder:Object(D.__)("Write caption…","jetpack"),value:b,onChange:function(e){return u({caption:e})},inlineToolbar:!0})))}}]),n}(F.Component)}]),"withVideoPressEdit"),U=Object(N.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).autoplay,i=n.caption,a=n.controls,o=n.guid,c=n.loop,s=n.muted,l=n.poster,u=n.preload;if(!o)return e(t);var h=q(o,{autoplay:r,controls:a,loop:c,muted:s,poster:l,preload:u});return Object(F.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(F.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(h,"\n")),!p.RichText.isEmpty(i)&&Object(F.createElement)(p.RichText.Content,{tagName:"figcaption",value:i}))}}),"withVideoPressSave"),G=n(41);var $={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:function(e){var t=e.attributes,n=t.caption,r=t.guid;if(!r)return null;var i="https://videopress.com/v/".concat(r);return Object(F.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(F.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(i,"\n")),!p.RichText.isEmpty(n)&&Object(F.createElement)(p.RichText.Content,{tagName:"figcaption",value:n}))},isDeprecation:!0};Object(h.addFilter)("blocks.registerBlockType","jetpack/videopress",(function(e,t){if("core/video"!==t||e.isDeprecation)return e;var n=e.attributes,r=e.deprecated,a=e.edit,c=e.save,h=e.supports,m=e.transforms,f=Object(G.a)("videopress"),b=f.available,g=f.unavailableReason;return b||["missing_plan","missing_module"].includes(g)?s()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:s()({},m,{from:[{type:"files",isMatch:function(e){return Object(d.every)(e,(function(e){return 0===e.type.indexOf("video/")}))},priority:9,transform:function(e,t){var n=[];return e.forEach((function(e){var r=Object(u.createBlock)("core/video",{src:Object(l.createBlobURL)(e)});Object(p.mediaUpload)({filesList:[e],onFileChange:function(e){var n=o()(e,1)[0],i=n.id,a=n.url;t(r.clientId,{id:i,src:a})},allowedTypes:["video"]}),n.push(r)})),n}}]}),supports:s()({},h,{reusable:!1}),edit:H(a),save:U(c),deprecated:[].concat(i()(r||[]),[{attributes:n,isEligible:function(e){return!e.guid},save:c,supports:h,isDeprecation:!0},$])}):e}))},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=(n(138),n(81),n(33)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),h=n.n(p),d=n(8),m=n.n(d),f=n(9),b=n.n(f),g=n(4),v=n.n(g),y=n(10),j=n.n(y),_=n(3),k=n.n(_),O=n(23),w=n.n(O),C=n(12),E=n.n(C),x=n(63),S=n(6),A=n(15),F=n.n(A),P=n(5),T="09:00",M="17:00",N=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("div",{className:"business-hours__row"},Object(i.createElement)("div",{className:E()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(i.createElement)("div",{className:E()(r.name,"business-hours__hours")},Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:T,onChange:function(e){n.setHour(e,"opening",t)}}),Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:M,onChange:function(e){n.setHour(e,"closing",t)}})),Object(i.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(i.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(i.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(i.createElement)("div",{className:E()(r.name,"business-hours__day")}," "),Object(i.createElement)("div",{className:E()(r.name,"business-hours__hours")},Object(i.createElement)(o.IconButton,{isLink:!0,label:Object(a.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(a.__)("Add Hours","jetpack"))),Object(i.createElement)("div",{className:"business-hours__remove"}," ")))})),k()(v()(n),"setHour",(function(e,t,r){var i=n.props,a=i.day,o=i.attributes;(0,i.setAttributes)({days:o.days.map((function(n){return n.name===a.name?F()({},n,{hours:n.hours.map((function(n,i){return i===r?F()({},n,k()({},t,e)):n}))}):n}))})})),k()(v()(n),"toggleClosed",(function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map((function(t){if(t.name===r.name){var n=e?[{opening:T,closing:M}]:[];return F()({},t,{hours:n})}return t}))})})),k()(v()(n),"addInterval",(function(){var e=n.props,t=e.day,r=e.attributes,i=e.setAttributes,a=r.days;t.hours.push({opening:"",closing:""}),i({days:a.map((function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e}))})})),k()(v()(n),"removeInterval",(function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map((function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter((function(t,n){return e!==n}))}):t}))})})),n}return j()(t,e),h()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(i.createElement)(o.ToggleControl,{label:this.isClosed()?Object(a.__)("Closed","jetpack"):Object(a.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(i.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(i.createElement)("div",{className:E()(e.name,"business-hours__day")},this.renderDayToggle()),Object(i.createElement)("div",{className:E()(e.name,"closed","business-hours__hours")}," "),Object(i.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(i.Component),z=n(22),D=n.n(z),R=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day.hours;return Object(i.createElement)("span",{key:t},Object(a.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)),r.length>1+t&&Object(i.createElement)("span",null,", "))})),n}return j()(t,e),h()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=D()(n,2),i=r[0],a=r[1],o=new Date;return!(!i||!a)&&(o.setHours(i),o.setMinutes(a),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter((function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)}));return Object(i.createElement)("div",{className:"jetpack-business-hours__item"},Object(i.createElement)("dt",{className:n.name},r.days[n.name]),Object(i.createElement)("dd",null,Object(P.isEmpty)(o)?Object(a._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval),Object(i.createElement)("br",null)))}}]),t}(i.Component),I={days:{Sun:Object(a.__)("Sunday","jetpack"),Mon:Object(a.__)("Monday","jetpack"),Tue:Object(a.__)("Tuesday","jetpack"),Wed:Object(a.__)("Wednesday","jetpack"),Thu:Object(a.__)("Thursday","jetpack"),Fri:Object(a.__)("Friday","jetpack"),Sat:Object(a.__)("Saturday","jetpack")},startOfWeek:0},L=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(i))),k()(v()(n),"state",{localization:I,hasFetched:!1}),n}return j()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:I},(function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then((function(t){e.setState({localization:t,hasFetched:!0})}),(function(){e.setState({localization:I,hasFetched:!0})}))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,h=u.hasFetched,d=p.startOfWeek,m=l.concat(l.slice(0,d)).slice(d);if(!h)return Object(i.createElement)(o.Placeholder,{icon:Object(i.createElement)(S.BlockIcon,{icon:V}),label:Object(a.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(i.createElement)("dl",{className:E()(r,"jetpack-business-hours")},m.map((function(e,t){return Object(i.createElement)(R,{key:t,day:e,localization:p,timeFormat:f})})))}return Object(i.createElement)("div",{className:E()(r,"is-edit")},m.map((function(t,n){return Object(i.createElement)(N,s()({key:n,day:t,localization:p},e.props))})))}}]),t}(i.Component),B=n(19),q=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],V=Object(B.a)(Object(i.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),H={title:Object(a.__)("Business Hours","jetpack"),description:Object(a.__)("Display opening hours for your business.","jetpack"),icon:V,category:"jetpack",supports:{html:!0},keywords:[Object(a._x)("opening hours","block search term","jetpack"),Object(a._x)("closing time","block search term","jetpack"),Object(a._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:q}},edit:function(e){return Object(i.createElement)(L,e)},save:function(){return null},example:{attributes:{days:q}}};Object(r.a)("business-hours",H)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(6),k=[{height:250,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(a.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(a.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(a.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(i.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(a.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(a.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(i.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(o.Toolbar,{controls:[{icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(i.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map((function(e){var a=e.tag,c=e.name,s=e.icon;return Object(i.createElement)(o.MenuItem,{className:a===t?"is-active":void 0,icon:s,isSelected:a===t,key:a,onClick:function(){n(a),r()},role:"menuitemcheckbox"},c)})))}})}n(228);var C=n(124),E=n.n(C),x=n(125),S=n.n(x),A=n(126),F=n.n(A),P=n(127),T=n.n(P),M=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),j()(b()(n),"handleHideMobileChange",(function(e){n.props.setAttributes({hideMobile:!!e})})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.isSelected,c=t.format,s=t.hideMobile,l=k.filter((function(e){return e.tag===c}))[0],u=Object(i.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:Boolean(s),label:Object(a.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(_.BlockControls,null,Object(i.createElement)(w,{value:c,onChange:function(e){return n({format:e})}})),Object(i.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(c)},Object(i.createElement)("div",{className:"jetpack-wordads__ad",style:{width:l.width,height:l.height,backgroundImage:"url( ".concat(function(e){switch(e){case"leaderboard":return S.a;case"mobile_leaderboard":return F.a;case"wideskyscraper":return T.a;default:return E.a}}(c)," )"),backgroundSize:"cover"}}),r&&u))}}]),t}(i.Component),N=Object(a.__)("Ad","jetpack"),z=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),D={title:N,description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Earn income by adding high quality ads to your post","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(a.__)("Learn all about WordAds","jetpack"))),icon:z,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"jetpack",keywords:[Object(a.__)("ads","jetpack"),"WordAds",Object(a.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:M,save:function(){return null}};Object(r.a)("wordads",D)},function(e,t,n){"use strict";n.r(t);var r,i=n(17),a=n(1),o=n(0),c=n(5),s=n(6),l=n(2),u=n(29),p=function(e){var t,n=e.id,r=e.setRating,i=e.children;return Object(o.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(t=n,function(e){return e.keyCode===u.ENTER?r(t):null}),onClick:function(e){return function(){return r(e)}}(n)},i)},h=(n(206),n(96),{title:"Star Rating",description:Object(a.__)("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:function(){return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}))},keywords:[Object(a._x)("star","block search term","jetpack"),Object(a._x)("rating","block search term","jetpack"),Object(a._x)("review","block search term","jetpack")],category:"jetpack",example:{},styles:[{name:"filled",label:Object(a._x)("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:Object(a._x)("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:function(e){return function(t){var n=t.className,r=t.setAttributes,i=t.attributes,u=i.align,h=i.color,d=i.rating,m=i.maxRating,f=function(e){e===d&&Math.ceil(d)===d&&(e-=.5),r({rating:e})};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.AlignmentToolbar,{value:u,onChange:function(e){return r({align:e})}})),Object(o.createElement)("div",{className:n,style:{textAlign:u}},Object(c.range)(1,m+1).map((function(t){return Object(o.createElement)(p,{key:t,id:t,setRating:f},Object(o.createElement)("span",null,Object(o.createElement)(e,{className:d>=t-.5?null:"is-rating-unfilled",color:h})),Object(o.createElement)("span",null,Object(o.createElement)(e,{className:d>=t?null:"is-rating-unfilled",color:h})))}))),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(a.__)("Settings","jetpack")},Object(o.createElement)(l.RangeControl,{label:Object(a.__)("Highest rating","jetpack"),value:m,onChange:function(e){return r({maxRating:e})},min:2,max:10}),Object(o.createElement)(s.PanelColorSettings,{title:Object(a.__)("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:h,onChange:function(e){return r({color:e})},label:Object(a.__)("Color","jetpack")}]}))))}}((function(e){var t=function(e){return e&&e.color?e.color:"currentColor"}(e),n=function(e){return e&&e.className?e.className:""}(e);return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},Object(o.createElement)(l.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))})),save:(r="★",function(e){var t=e.className,n=e.attributes,i=n.align,a=n.rating,s=n.color;return Object(o.createElement)("figure",{className:t,style:{textAlign:i}},Object(c.range)(1,a+1).map((function(e){return Object(o.createElement)("span",{key:e,style:{color:s}},r)})))})});Object(i.a)("rating-star",h)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=(n(150),n(26)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(6),O=n(14),w=n(13),C=n(105),E=new(n.n(C).a),x=function(e){"A"===e.target.nodeName&&(window.confirm(Object(a.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(i.createElement)(i.RawHTML,{className:t,onClick:x},r.length?E.render(r):"")},A="editor",F=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"input",null),_()(g()(n),"state",{activePanel:A}),_()(g()(n),"bindInput",(function(e){n.input=e})),_()(g()(n),"updateSource",(function(e){return n.props.setAttributes({source:e})})),_()(g()(n),"handleKeyDown",(function(e){var t=n.props,r=t.attributes,i=t.removeBlock,a=r.source;8===e.keyCode&&""===a&&(i(),e.preventDefault())})),_()(g()(n),"toggleMode",(function(e){return function(){return n.setState({activePanel:e})}})),n}return y()(t,e),p()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(A)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===A&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(i.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(i.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(i.createElement)("p",{className:"".concat(n,"__placeholder")},Object(a.__)("Write your _Markdown_ **here**…","jetpack")):Object(i.createElement)("div",{className:n},Object(i.createElement)(k.BlockControls,null,Object(i.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(A,Object(a.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(a.__)("Preview","jetpack")))),"preview"!==c&&r?Object(i.createElement)(k.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(a.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(i.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(i.Component),P=Object(O.compose)([Object(w.withSelect)((function(e){return{currentBlockId:e("core/block-editor").getSelectedBlockClientId()}})),Object(w.withDispatch)((function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/block-editor").removeBlocks(n)}}}))])(F),T=Object(a.__)("Try Markdown","jetpack"),M=Object(a.__)("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),N=Object(c.b)()||Object(c.a)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",z={title:Object(a.__)("Markdown","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:N},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(i.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(i.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(a._x)("formatting","block search term","jetpack"),Object(a._x)("syntax","block search term","jetpack"),Object(a._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:P,save:function(e){var t=e.attributes,n=e.className;return Object(i.createElement)(S,{className:n,source:t.source})},example:{attributes:{source:"## ## ".concat(T,"\n\n").concat(M)}}};Object(r.a)("markdown",z)},function(e,t,n){"use strict";n.r(t);n(32);var r=n(21),i=n.n(r),a=n(0),o=n(16),c=n(54);Object(o.setCategories)([].concat(i()(Object(o.getCategories)().filter((function(e){return"jetpack"!==e.slug}))),[{slug:"jetpack",title:"Jetpack",icon:Object(a.createElement)(c.a,null)}]));var s=n(15),l=n.n(s),u=n(30),p=n.n(u),h=n(23),d=n.n(h),m=n(13),f=n(1),b=(n(80),n(27)),g=n(35),v=n(26);function y(){var e=Object(g.a)();return void 0!==typeof window&&window.location&&e?Object(v.b)()||Object(v.a)()?"https://wordpress.com/plans/my-plan/".concat(e):"".concat(window.location.protocol,"//").concat(e.replace("::","/"),"/wp-admin/admin.php?page=jetpack#/my-plan"):null}if(p()(regeneratorRuntime.mark((function e(){var t,n,r,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===typeof window||!window.location){e.next=16;break}if(t=Object(b.parse)(window.location.href,!0),!t.query.plan_upgraded){e.next=16;break}if(n=null,e.prev=4,!Object(v.b)()){e.next=7;break}return e.abrupt("break",16);case 7:return e.next=9,d()({path:"/jetpack/v4/site"});case 9:r=e.sent,i=JSON.parse(r.data),n=i.plan.product_name;case 12:return e.prev=12,a=y(),Object(m.dispatch)("core/notices").createNotice("success",n?Object(f.sprintf)(Object(f.__)("Congratulations! Your site is now on the %s plan.","jetpack"),n):Object(f.__)("Congratulations! Your site is now on a paid plan.","jetpack"),l()({isDismissible:!0},a&&{actions:[{url:y(),label:Object(f.__)("View my plan","jetpack")}]})),e.finish(12);case 16:case"end":return e.stop()}}),e,null,[[4,,12,16]])})))(),void 0!==typeof window&&window.location){var j=Object(b.parse)(window.location.href,!0).query;j.stripe_connect_success?Object(m.dispatch)("core/notices").createNotice("success",Object(f.__)("Congrats! Your site is now connected to Stripe. You can start making money by adding your first subscription!","jetpack")):j.stripe_connect_cancelled&&Object(m.dispatch)("core/notices").createNotice("error",Object(f.__)("You cancelled connecting your site to Stripe.","jetpack"))}var _=n(51);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){var k=window.Jetpack_Editor_Initial_State.tracksUserData,O=k.userid,w=k.username;_.a.initialize(O,w,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(2),o=n(1),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(12),k=n.n(_),O=n(40),w=n(23),C=n.n(w),E=n(5),x=n(45),S=n(50),A=n(28),F=n(14),P=n(13),T=n(6),M=n(41),N=n(61),z=n.n(N),D=n(51),R=n(62),I=(n(207),function(e){var t=e.stripeConnectUrl;return Object(i.createElement)(R.a,{buttonLabel:Object(o.__)("Connect","jetpack"),icon:Object(i.createElement)(z.a,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:t,onClick:function(e){D.a.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:e})},title:Object(o.__)("Connect to Stripe to use this block on your site","jetpack"),subtitle:Object(o.__)("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}),L=0,B=1,q=2,V=0,H=1,U=2,G=function(e){function t(){var e;s()(this,t),e=h()(this,m()(t).apply(this,arguments)),j()(b()(e),"componentDidMount",(function(){e.apiCall()})),j()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),j()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};C()(t).then((function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:q}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,i=t.should_upgrade_to_access_memberships,a=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?B:q;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:i,upgradeURL:a,siteSlug:o})}),(function(t){var n=q;e.setState({connected:n,connectURL:null}),e.onError(t.message)}))})),j()(b()(e),"getCurrencyList",Z.map((function(e){var t=Object(x.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(E.trimEnd)(t,"."))}}))),j()(b()(e),"handleCurrencyChange",(function(t){return e.setState({editedProductCurrency:t})})),j()(b()(e),"handleRenewIntervalChange",(function(t){return e.setState({editedProductRenewInterval:t})})),j()(b()(e),"handlePriceChange",(function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})})),j()(b()(e),"handleTitleChange",(function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})})),j()(b()(e),"saveProduct",(function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:U});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};C()(t).then((function(t){e.setState({addingMembershipAmount:V,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)}),(function(t){e.setState({addingMembershipAmount:H}),e.onError(t.message)}))}else e.setState({editedProductTitleValid:!1})})),j()(b()(e),"renderAmount",(function(e){var t=Object(S.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)})),j()(b()(e),"renderAddMembershipAmount",(function(t){return e.state.addingMembershipAmount!==V||t?e.state.addingMembershipAmount!==U?Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"membership-button__price-container"},Object(i.createElement)(a.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(i.createElement)(a.TextControl,{label:Object(o.__)("Price","jetpack"),className:k()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(S.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(i.createElement)(a.TextControl,{className:k()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(i.createElement)("div",null,Object(i.createElement)(a.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:e.saveProduct},Object(o.__)("Add this plan","jetpack")),Object(i.createElement)(a.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:V})}},Object(o.__)("Cancel","jetpack")))):void 0:Object(i.createElement)(a.Button,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:H})}},Object(o.__)("Add a plan","jetpack"))})),j()(b()(e),"getFormattedPriceByProductId",(function(t){var n=e.state.products.filter((function(e){return parseInt(e.id)===parseInt(t)})).pop();return Object(S.a)(parseFloat(n.price),n.currency)})),j()(b()(e),"setMembershipAmount",(function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})})),j()(b()(e),"renderMembershipAmounts",(function(){return Object(i.createElement)("div",null,e.state.products.map((function(t){return Object(i.createElement)(a.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))})))})),j()(b()(e),"renderDisclaimer",(function(){return Object(i.createElement)("div",{className:"membership-button__disclaimer"},Object(i.createElement)(a.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))})),j()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=e.state,l=s.connected,u=s.products,p=n.align,h=e.getConnectUrl(),d=Object(i.createElement)(T.InspectorControls,null,Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map((function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}}))})),Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(i.createElement)(a.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),m=k()(r,["wp-block-button__link","components-button","is-primary","is-button","align".concat(p)]),f=Object(i.createElement)(O.a,{className:m,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(i.createElement)(i.Fragment,null,e.props.noticeUI,!e.hasUpgradeNudge&&!e.state.shouldUpgrade&&l===q&&Object(i.createElement)(I,{blockName:"recurring-payments",stripeConnectUrl:h}),!e.hasUpgradeNudge&&e.state.shouldUpgrade&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(i.createElement)("p",null,Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack")),Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),e.renderDisclaimer()))),(l===L||e.state.addingMembershipAmount===U)&&!e.props.attributes.planId&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),notices:c},Object(i.createElement)(a.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&l===B&&0===u.length&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(i.createElement)("p",null,Object(o.__)("To use this block, first add at least one payment plan.","jetpack")),e.renderAddMembershipAmount(!0),e.renderDisclaimer()))),!e.state.shouldUpgrade&&!e.props.attributes.planId&&e.state.addingMembershipAmount!==U&&l===B&&u.length>0&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(i.createElement)("p",null,Object(o.__)("To use this block, select a previously created payment plan.","jetpack")),e.renderMembershipAmounts(),Object(i.createElement)("p",null,Object(o.__)("Or a new one.","jetpack")),e.renderAddMembershipAmount(!1),e.renderDisclaimer()))),e.state.products&&d,((e.hasUpgradeNudge||!e.state.shouldUpgrade)&&l!==L||e.props.attributes.planId)&&f,e.hasUpgradeNudge&&l===q&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments disclaimer-only"},e.renderDisclaimer()))})),e.state={connected:L,connectURL:null,addingMembershipAmount:V,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null;var n=Object(M.a)("recurring-payments");return e.hasUpgradeNudge=!n.available&&"missing_plan"===n.unavailableReason,e}return v()(t,e),u()(t,[{key:"getConnectUrl",value:function(){var e,t=this.props.postId,n=this.state.connectURL;if(!Object(A.isURL)(n))return null;if(!t)return n;try{var r=Object(A.getQueryArg)(n,"state");e=JSON.parse(atob(r))}catch(i){return n}return e.from_editor_post_id=t,Object(A.addQueryArgs)(n,{state:btoa(JSON.stringify(e))})}}]),t}(i.Component),$=Object(F.compose)([Object(P.withSelect)((function(e){return{postId:e("core/editor").getCurrentPostId()}})),a.withNotices])(G),K=(n(215),Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(i.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(a.G,null,Object(i.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),W={title:Object(o.__)("Recurring Payments button","jetpack"),icon:K,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},edit:$,save:function(){return null},supports:{html:!1,align:!0}},Z=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",W)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(23),O=n.n(k),w=n(40),C=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"state",{subscriberCountString:""}),n}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(i.createElement)("div",{className:n,role:"form"},Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(i.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(i.createElement)(w.a,this.props)):Object(i.createElement)("div",{className:n,role:"form"},l&&Object(i.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(i.createElement)(c.TextControl,{placeholder:s}),Object(i.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then((function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(a.sprintf)(Object(a._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(a.__)("Subscriber count unavailable","jetpack")})}))}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(i.Component);var E=n(19),x={title:Object(a.__)("Subscription Form","jetpack"),description:Object(i.createElement)("p",null,Object(a.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(E.a)(Object(i.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(a._x)("subscribe","block search term","jetpack"),Object(a._x)("join","block search term","jetpack"),Object(a._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(a.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(a.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:C,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,a=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(a,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},example:{attributes:{}},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(5),O=n(6),w=n(23),C=n.n(w),E=n(28);function x(e){if(!F.test(e))return"";var t=Object(E.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}var S=/^\s*https?:\/\/pin\.it\//i,A=function(e){function t(){var e;return l()(this,t),e=d()(this,f()(t).apply(this,arguments)),_()(g()(e),"resolveRedirect",(function(){var t=e.props.attributes.url;e.fetchRequest=C()({path:"/wpcom/v2/resolve-redirect/".concat(t)}),e.fetchRequest.then((function(t){e.fetchRequest=null,e.props.setAttributes({url:t}),e.setState({resolvingRedirect:!1,editedUrl:t})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({resolvingRedirect:!1,editingUrl:!0}))}))})),_()(g()(e),"hideOverlay",(function(){e.setState({interactive:!0})})),_()(g()(e),"setUrl",(function(t){t&&t.preventDefault();var n=e.state.editedUrl;e.props.setAttributes({url:n}),e.setState({editingUrl:!1}),S.test(n)&&e.setState({resolvingRedirect:!0})})),e.state={editedUrl:e.props.attributes.url||"",editingUrl:!1,resolvingRedirect:S.test(e.props.attributes.url),interactive:!1},e}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingRedirect&&this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentWillUnmount",value:function(){Object(k.invoke)(this.fetchRequest,["abort"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,s=n.url,l=this.state,u=l.editedUrl,p=l.interactive,h=l.editingUrl;if(l.resolvingRedirect)return Object(i.createElement)("div",{className:"wp-block-embed is-loading"},Object(i.createElement)(o.Spinner,null),Object(i.createElement)("p",null,Object(a.__)("Embedding…")));var d=x(s),m="<a data-pin-do='".concat(d,"' href='").concat(s,"'></a>"),f=s&&!d,b=Object(i.createElement)(O.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})));return h||!s||f?Object(i.createElement)("div",{className:r},b,Object(i.createElement)(o.Placeholder,{label:Object(a.__)("Pinterest","jetpack"),icon:Object(i.createElement)(O.BlockIcon,{icon:T})},Object(i.createElement)("form",{onSubmit:this.setUrl},Object(i.createElement)("input",{type:"url",value:u,className:"components-placeholder__input","aria-label":Object(a.__)("Pinterest URL","jetpack"),placeholder:Object(a.__)("Enter URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(i.createElement)(o.Button,{isLarge:!0,type:"submit"},Object(a._x)("Embed","button label","jetpack")),f&&Object(i.createElement)("p",{className:"components-placeholder__error"},Object(a.__)("Sorry, this content could not be embedded.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLarge:!0,onClick:function(){return function(e,t){var n=Object(i.createElement)("a",{href:e},e);t(Object(c.createBlock)("core/paragraph",{content:Object(i.renderToString)(n)}))}(u,e.props.onReplace)}},Object(a._x)("Convert to link","button label","jetpack")))))):Object(i.createElement)("div",{className:r},b,Object(i.createElement)("div",null,Object(i.createElement)(o.SandBox,{html:m,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:this.hideOverlay}),!p&&Object(i.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(i.Component),F=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,P=Object(a.__)("Pinterest","jetpack"),T=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(o.G,null,Object(i.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),M={title:P,description:Object(a.__)("Embed a Pinterest pin, board, or user.","jetpack"),icon:T,category:"jetpack",supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:A,save:function(e){var t=e.attributes,n=e.className,r=t.url;return x(r)?Object(i.createElement)("div",{className:n},Object(i.createElement)("a",{"data-pin-do":x(r),href:r})):null},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&F.test(e.textContent)},transform:function(e){return Object(c.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://pinterest.com/anapinskywalker/"}}};Object(r.a)("pinterest",M)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(21),s=n.n(c),l=n(7),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(23),k=n.n(_),O=n(12),w=n.n(O),C=n(40),E=n(6),x=n(11),S=n.n(x),A=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),c=0;c<r;c++)a[c]=arguments[c];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(a))),j()(b()(n),"state",{interest_categories:[]}),j()(b()(n),"retrieveGroups",(function(){k()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((function(e){var t=e.interest_categories;n.setState({interest_categories:t})}))})),j()(b()(n),"render",(function(){var e=n.state.interest_categories,t=n.props,r=t.interests,a=t.onChange;return Object(i.createElement)(i.Fragment,null,e&&(e||[]).map((function(e){return e.interests.map((function(e){return Object(i.createElement)(o.CheckboxControl,{label:e.name,value:e.id,checked:r.includes(e.id),onChange:function(t){return a(e.id,t)},key:e.id})}))})))})),n}return v()(t,e),S()(t,[{key:"componentDidMount",value:function(){this.retrieveGroups()}}]),t}(i.Component),F=A;A.defaultProps={interests:[],onChange:function(){return null}};var P=0,T=1,M=2,N="processing",z="success",D="error",R=function(e){function t(){var e;return u()(this,t),e=h()(this,m()(t).apply(this,arguments)),j()(b()(e),"componentDidMount",(function(){e.apiCall()})),j()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),j()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};k()(t).then((function(t){var n=t.connect_url,r="connected"===t.code?T:M;e.setState({connected:r,connectURL:n})}),(function(t){var n=M;e.setState({connected:n,connectURL:null}),e.onError(t.message)}))})),j()(b()(e),"auditionNotification",(function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)})),j()(b()(e),"clearAudition",(function(){e.setState({audition:null})})),j()(b()(e),"updateProcessingText",(function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification(N)})),j()(b()(e),"updateSuccessText",(function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification(z)})),j()(b()(e),"updateErrorText",(function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification(D)})),j()(b()(e),"updateEmailPlaceholder",(function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()})),j()(b()(e),"labelForAuditionType",(function(t){var n=e.props.attributes,r=n.processingLabel,i=n.successLabel,a=n.errorLabel;return t===N?r:t===z?i:t===D?a:null})),j()(b()(e),"roleForAuditionType",(function(e){return e===D?"alert":"status"})),j()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,l=t.noticeUI,u=t.setAttributes,p=e.state,h=p.audition,d=p.connected,m=p.connectURL,f=n.emailPlaceholder,b=n.consentText,g=n.interests,v=n.processingLabel,y=n.successLabel,_=n.errorLabel,k=n.preview,O=n.signupFieldTag,x=n.signupFieldValue,S="wp-block-jetpack-mailchimp_",A=Object(i.createElement)(o.Placeholder,{icon:L,notices:c},Object(i.createElement)(o.Spinner,null)),N=Object(i.createElement)(o.Placeholder,{icon:L,label:Object(a.__)("Mailchimp","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(a.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:m,target:"_blank"},Object(a.__)("Set up Mailchimp form","jetpack")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(a.__)("Re-check Connection","jetpack")))),z=Object(i.createElement)(E.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Text Elements","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Email Placeholder","jetpack"),value:f,onChange:e.updateEmailPlaceholder})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Notifications","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Processing text","jetpack"),value:v,onChange:e.updateProcessingText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Success text","jetpack"),value:y,onChange:e.updateSuccessText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Error text","jetpack"),value:_,onChange:e.updateErrorText})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Mailchimp Groups","jetpack")},Object(i.createElement)(F,{interests:g,onChange:function(e,t){var n=s()(new Set([].concat(s()(g),[e]))).filter((function(n){return!(n===e&&!t)&&n}));u({interests:n})}}),Object(i.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},Object(a.__)("Learn about groups","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Signup Location Tracking","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Signup Field Tag","jetpack"),placeholder:Object(a.__)("SIGNUP"),value:O,onChange:function(e){return u({signupFieldTag:e})}}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Signup Field Value","jetpack"),placeholder:Object(a.__)("website"),value:x,onChange:function(e){return u({signupFieldValue:e})}}),Object(i.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},Object(a.__)("Learn about signup location tracking","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Mailchimp Connection","jetpack")},Object(i.createElement)(o.ExternalLink,{href:m},Object(a.__)("Manage Connection","jetpack")))),D=w()(r,j()({},"".concat(S,"notication-audition"),h)),R=Object(i.createElement)("div",{className:D},Object(i.createElement)(o.TextControl,{"aria-label":f,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:f,title:Object(a.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(i.createElement)(C.a,e.props),Object(i.createElement)(E.RichText,{tagName:"p",placeholder:Object(a.__)("Write consent text","jetpack"),value:b,onChange:function(e){return u({consentText:e})},inlineToolbar:!0}),h&&Object(i.createElement)("div",{className:"".concat(S,"notification ").concat(S).concat(h),role:e.roleForAuditionType(h)},e.labelForAuditionType(h))),I=R;return Object(i.createElement)(i.Fragment,null,l,k&&I,!k&&d===P&&A,!k&&d===M&&N,!k&&d===T&&z,!k&&d===T&&R)})),e.state={audition:null,connected:P,connectURL:null},e.timeout=null,e}return v()(t,e),t}(i.Component),I=Object(o.withNotices)(R),L=(n(145),Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),B={title:Object(a.__)("Mailchimp","jetpack"),icon:L,description:Object(a.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("subscription","block search term","jetpack"),Object(a._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(a.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(a.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(a.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:Object(a.__)("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:Object(a.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(a.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:I,save:function(){return null},example:{attributes:{preview:!0}}};Object(r.a)("mailchimp",B)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(19),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(6),O=n(13),w=n(12),C=n.n(w),E=n(31),x=[{value:E.b,label:Object(a.__)("Show after threshold","jetpack")},{value:E.c,label:Object(a.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"state",{isThresholdValid:!0}),_()(g()(n),"setCriteria",(function(e){return n.props.setAttributes({criteria:e})})),_()(g()(n),"setThreshold",(function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})})),n}return y()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===E.b?Object(a.sprintf)(Object(a._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(a.sprintf)(Object(a._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(i.createElement)("div",{className:C()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(i.createElement)(o.Placeholder,{icon:F,label:Object(a.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(a.__)("Please enter a valid number.","jetpack"),label:Object(a.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(i.createElement)(o.RadioControl,{label:Object(a.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(i.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(i.createElement)(k.InnerBlocks,null))}}]),t}(i.Component),A=Object(O.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,i=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||i(t.clientId)}}))(S),F=(n(217),Object(c.a)(Object(i.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:E.b},threshold:{type:"number",default:E.d}},category:"jetpack",description:Object(a.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(a._x)("return","block search term","jetpack"),Object(a._x)("visitors","block search term","jetpack"),Object(a._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(a.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(k.InnerBlocks.Content,null))},example:{attributes:{criteria:E.b,threshold:E.d},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(a.__)("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(14),c=n(47),s=n(13),l=n(64),u=Object(s.withSelect)((function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),h={render:Object(o.compose)([u,p])((function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))}))},d=n(39);Object(d.a)("sharing",h)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(14),c=n(47),s=n(13),l=n(64),u=Object(s.withSelect)((function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),h={render:Object(o.compose)([u,p])((function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))}))},d=n(39);Object(d.a)("likes",h)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(12),k=n.n(_),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",C=Object(a.__)("Search for a term or paste a Giphy URL","jetpack"),E=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(a))),j()(b()(n),"textControlRef",Object(i.createRef)()),j()(b()(n),"state",{captionFocus:!1,results:null}),j()(b()(n),"onFormSubmit",(function(e){e.preventDefault(),n.onSubmit()})),j()(b()(n),"onSubmit",(function(){var e=n.props.attributes.searchText;n.parseSearch(e)})),j()(b()(n),"parseSearch",(function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))})),j()(b()(n),"urlForSearch",(function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")})),j()(b()(n),"urlForId",(function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))})),j()(b()(n),"splitAndLast",(function(e,t){var n=e.split(t);return n[n.length-1]})),j()(b()(n),"fetch",(function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,i=r[0];if(!i.images)return;n.setState({results:r},(function(){n.selectGiphy(i)}))}},t.send()})),j()(b()(n),"selectGiphy",(function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),i="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:i})})),j()(b()(n),"setFocus",(function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})})),j()(b()(n),"hasSearchText",(function(){var e=n.props.attributes.searchText;return e&&e.length>0})),j()(b()(n),"thumbnailClicked",(function(e){n.selectGiphy(e)})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,h=n.searchText,d=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:d},v=k()(r,"align".concat(l)),y=Object(i.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:C,placeholder:C,onChange:function(e){return s({searchText:e})},value:h}),Object(i.createElement)(o.Button,{isLarge:!0,onClick:this.onSubmit},Object(a.__)("Search","jetpack")));return Object(i.createElement)("div",{className:v},Object(i.createElement)(O.InspectorControls,null,Object(i.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(i.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(i.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(i.createElement)("figure",null,c&&y,c&&b&&b.length>1&&Object(i.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map((function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(i.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})}))),Object(i.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(i.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(i.createElement)("iframe",{src:p,title:h})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(i.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(a.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(i.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},y))}}]),t}(i.Component),x=(n(85),n(143),Object(a.__)("GIF","jetpack")),S=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(a._x)("animated","block search term","jetpack"),Object(a._x)("giphy","block search term","jetpack"),Object(a._x)("image","block search term","jetpack")],description:Object(a.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:E,save:function(){return null},example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);var r=n(7),i=n.n(r),a=n(11),o=n.n(a),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),d=n(0),m=n(1),f=n(5),b=n(2),g=n(13),v=n(4),y=n.n(v),j=n(3),_=n.n(j),k=(n(218),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(a))),_()(y()(n),"state",{hasCopied:!1}),_()(y()(n),"onCopy",(function(){return n.setState({hasCopied:!0})})),_()(y()(n),"onFinishCopy",(function(){return n.setState({hasCopied:!1})})),_()(y()(n),"onFocus",(function(e){return e.target.select()})),n}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(d.createElement)("div",{className:"jetpack-clipboard-input"},Object(d.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(d.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(d.Component)),O=n(44),w={render:function(){return Object(d.createElement)(E,null)}},C=function(e){function t(){return i()(this,t),s()(this,u()(t).apply(this,arguments))}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(d.createElement)(O.a,null,Object(d.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(d.createElement)(k,{link:e}))):null}}]),t}(d.Component),E=Object(g.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}}))(C),x=n(39);Object(x.a)("shortlinks",w)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(10),b=n.n(f),g=n(6),v=n(5),y=n(13),j=n(14);function _(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(a.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(i.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(a.__)("Placeholder image","jetpack")},Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(i.createElement)("title",null,Object(a.__)("Grey square","jetpack")),Object(i.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)("title",null,Object(a.__)("Icon for image","jetpack")),Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(a.__)("August 3, 2018","jetpack")),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(a.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(i.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(i.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),h()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,h=t.postLayout,d=t.postsToShow,m=[{icon:"grid-view",title:Object(a.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===h},{icon:"list-view",title:Object(a.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===h}],f=[],b=0;b<d;b++)r[b]?f.push(Object(i.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(i.createElement)(_,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(g.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Related Posts Settings","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Number of posts","jetpack"),value:d,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(i.createElement)(g.BlockControls,null,Object(i.createElement)(o.Toolbar,{controls:m})),Object(i.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(i.createElement)("div",{className:"jp-relatedposts-i2","data-layout":h},Object(i.createElement)(O,{posts:f}))))}}]),t}(i.Component),C=Object(j.compose)(j.withInstanceId,Object(y.withSelect)((function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}})))(w),E=(n(216),{title:Object(a.__)("Related Posts","jetpack"),icon:Object(i.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(i.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(a._x)("Similar content","block search term","jetpack"),Object(a._x)("Linked","block search term","jetpack"),Object(a._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:C,save:function(){return null},example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}});Object(r.a)("related-posts",E)},,,,,function(e,t,n){n(241),n(237),n(233),n(231),n(249),n(248),n(245),n(232),n(240),n(244),n(230),n(239),n(242),n(251),n(246),n(247),n(250),n(234),n(235),n(243),n(229),n(236),n(238),e.exports=n(280)},function(e,t,n){},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(52),c=(n(257),n(44)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(14),O=n(5),w=n(13),C=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"onMessageChange",(function(e){n.props.updateSeoDescription(e.target.value)})),n}return y()(t,e),p()(t,[{key:"render",value:function(){var e=this.props.seoDescription;return Object(r.createElement)("div",{className:"jetpack-seo-message-box"},Object(r.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:Object(i.__)("Write a description…","jetpack"),rows:4}),Object(r.createElement)("div",{className:"jetpack-seo-character-count"},Object(i.sprintf)(Object(i._n)("%d character","%d characters",e.length,"jetpack"),e.length)))}}]),t}(r.Component),E=Object(k.compose)([Object(w.withSelect)((function(e){return{seoDescription:Object(O.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}})),Object(w.withDispatch)((function(e){return{updateSeoDescription:function(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}}}))])(C),x={render:function(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.a,null,Object(r.createElement)(a.PanelBody,{title:Object(i.__)("SEO Description","jetpack")},Object(r.createElement)(E,null))),Object(r.createElement)(o.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:Object(r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},Object(i.__)("SEO Description","jetpack"))},Object(r.createElement)(E,null)))}},S=n(39);Object(S.a)("seo",x)}]));
\ No newline at end of file +/*! For license information please see editor-beta.js.LICENSE */ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,i=t[0],o=t[1],c=0,s=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&s.push(a[r][0]),a[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={4:0},a={4:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{16:1,17:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="rtl"===document.dir?({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".rtl.css":({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".css",o=i.p+a,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(p=c[s]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(l===a||l===o))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var p;if((l=(p=u[s]).getAttribute("data-href"))===a||l===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete r[e],d.parentNode.removeChild(d),n(i)},d.href=o,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){r[e]=0})));var n=a[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,r){n=a[e]=[t,r]}));t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+""+({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".js"}(e);var l=new Error;c=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=a[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",l.name="ChunkLoadError",l.type=r,l.request=i,n[1](l)}a[e]=void 0}};var u=setTimeout((function(){c({type:"timeout",target:s})}),12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return i(i.s=271)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(127),a=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(128);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){var r=n(3);function a(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(55),o=n(16),c=n(94),s=n(40),l=n(30),u=n.n(l),p=n(0),d=n(14),h=(n(143),function(e){return Object(d.createHigherOrderComponent)((function(t){return function(n){return Object(p.createElement)(t,u()({},n,{className:n.name===e?"has-warning is-interactive":""}))}}),"withHasWarningIsInteractiveClassNames")}),m=n(56),f=n.n(m),b=n(1),g=n(31),v=n(5),j=n(13),y=n(50),_=n(57),k=n(35),O=n(24),w={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};Object(j.registerStore)("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:w,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,w.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",w.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(145);var E=Object(d.compose)([Object(j.withSelect)((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),a=Object(v.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(v.get)(r,["path_slug"]),i=e("core/editor").getCurrentPostId(),o=e("core/editor").getCurrentPostType(),c=["page","post"].includes(o)?"":"edit",s=Object(O.b)()?Object(g.addQueryArgs)("/"+Object(v.compact)([c,o,Object(k.a)(),i]).join("/"),{plan_upgraded:1}):Object(g.addQueryArgs)(window.location.protocol+"//".concat(Object(k.a)().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:i,plan_upgraded:1}),l=a&&Object(g.addQueryArgs)("https://wordpress.com/checkout/".concat(Object(k.a)(),"/").concat(a),{redirect_to:s});return{trackEvent:function(e){y.a.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(v.get)(r,["product_name"]),upgradeUrl:l}}))])((function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(p.createElement)(_.a,{buttonLabel:Object(b.__)("Upgrade","jetpack"),icon:Object(p.createElement)(f.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:t?Object(b.sprintf)(Object(b.__)("Upgrade to %(planName)s to use this block on your site.","jetpack"),{planName:t}):Object(b.__)("Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:Object(b.__)("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})})),C=function(e){var t=e.requiredPlan;return Object(d.createHigherOrderComponent)((function(e){return function(n){return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(E,{plan:t,blockName:n.name}),Object(p.createElement)(e,n))}}),"wrapPaidBlock")};n.d(t,"a",(function(){return A}));var x=c.beta||[];function S(e,t){return"missing_plan"===e&&t.required_plan}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(s.a)(e),c=r.available,l=r.details,u=r.unavailableReason,p=S(u,l);if(!c&&!p)return!1;var d=Object(o.registerBlockType)("jetpack/".concat(e),a()({},t,{title:x.includes(e)?"".concat(t.title," (beta)"):t.title,edit:p?C({requiredPlan:p})(t.edit):t.edit,example:p?void 0:t.example}));return p&&Object(i.addFilter)("editor.BlockListBlock","jetpack/".concat(e,"-with-has-warning-is-interactive-class-names"),h("jetpack/".concat(e))),n.forEach((function(e){return Object(o.registerBlockType)("jetpack/".concat(e.name),e.settings)})),d}},function(e,t,n){var r=n(65),a=n(66),i=n(67);e.exports=function(e,t){return r(e)||a(e,t)||i()}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(81);var p=/[&<>"]/,d=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function m(e){return h[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(68);t.lib={},t.lib.mdurl=n(82),t.lib.ucmicro=n(168),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(d,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";var r=n(0),a=n(2);t.a=function(e){return Object(r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){var r=n(123),a=n(124),i=n(125);e.exports=function(e){return r(e)||a(e)||i()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return p}));var r=["image"],a=4,i=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function a(){return"simple"===r()}function i(){return"atomic"===r()}n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i}))},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(1),i={name:"map",prefix:"jetpack",title:Object(a.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(a._x)("map","block search term","jetpack"),Object(a._x)("location","block search term","jetpack"),Object(a._x)("navigation","block search term","jetpack")],description:Object(a.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(a.__)("Basic","jetpack")},{value:"black_and_white",label:Object(a.__)("Black and white","jetpack")},{value:"satellite",label:Object(a.__)("Satellite","jetpack")},{value:"terrain",label:Object(a.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t,n){"use strict";var r=n(136),a=n(138);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=j,t.resolve=function(e,t){return j(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?j(e,!1,!0).resolveObject(t):t},t.format=function(e){a.isString(e)&&(e=j(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(139);function j(e,t,n){if(e&&a.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),c=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var j=e=l.join(c);if(j=j.trim(),!n&&1===e.split("#").length){var y=s.exec(j);if(y)return this.path=j,this.href=j,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(j);if(_){var k=(_=_[0]).toLowerCase();this.protocol=k,j=j.substr(_.length)}if(n||_||j.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===j.substr(0,2);!O||_&&b[_]||(j=j.substr(2),this.slashes=!0)}if(!b[_]&&(O||_&&!g[_])){for(var w,E,C=-1,x=0;x<d.length;x++){-1!==(S=j.indexOf(d[x]))&&(-1===C||S<C)&&(C=S)}-1!==(E=-1===C?j.lastIndexOf("@"):j.lastIndexOf("@",C))&&(w=j.slice(0,E),j=j.slice(E+1),this.auth=decodeURIComponent(w)),C=-1;for(x=0;x<p.length;x++){var S;-1!==(S=j.indexOf(p[x]))&&(-1===C||S<C)&&(C=S)}-1===C&&(C=j.length),this.host=j.slice(0,C),j=j.slice(C),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var T=F[x];if(T&&!T.match(h)){for(var N="",M=0,R=T.length;M<R;M++)T.charCodeAt(M)>127?N+="x":N+=T[M];if(!N.match(h)){var D=F.slice(0,x),z=F.slice(x+1),I=T.match(m);I&&(D.push(I[1]),z.unshift(I[2])),z.length&&(j="/"+z.join(".")+j),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==j[0]&&(j="/"+j))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==j.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),j=j.split(q).join(U)}}var V=j.indexOf("#");-1!==V&&(this.hash=j.substr(V),j=j.slice(0,V));var H=j.indexOf("?");if(-1!==H?(this.search=j.substr(H),this.query=j.substr(H+1),t&&(this.query=v.parse(this.query)),j=j.slice(0,H)):t&&(this.search="",this.query={}),j&&(this.pathname=j),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(j(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(a.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var h=p[d];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var j=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=y||j||n.host&&e.pathname,k=_,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),_=_&&(""===m[0]||""===O[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,x=0,S=O.length;S>=0;S--)"."===(E=O[S])?O.splice(S,1):".."===E?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!_&&!k)for(;x--;x)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(_=_||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t,n){"use strict";var r=n(3),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(10),m=n.n(h),f=n(0),b=n(1),g=n(12),v=n.n(g),j=n(14),y=n(2),_=n(6),k=n(5),O=window.getComputedStyle,w=Object(y.withFallbackStyles)((function(e,t){var n,r,a,i,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(a=O(r).backgroundColor),n&&(i=O(n).color),{fallbackBackgroundColor:s||a,fallbackTextColor:l||i}})),E=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,i=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},a()(e,i,i),a()(e,"has-background",r),a()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,a=e.setAttributes,i=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(_.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return a({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,allowedFormats:[]})),Object(f.createElement)(_.InspectorControls,null,Object(f.createElement)(_.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){i(e),a({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),a({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(_.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(j.compose)([Object(_.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c}));var r="after-visits",a="before-visits",i=3,o="jp-visit-counter",c=15552e3},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";function r(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,"a",(function(){return r}))},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(47),a=n(40);function i(e,t){var n=Object(a.a)(e),i=n.available;n.unavailableReason;return!!i&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c}));var r=n(74),a=n(5),i="wp-block-jetpack-slideshow_autoplay-paused";function o(e){c(e),s(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(i)?(e.el.classList.remove(i),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(i),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function c(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,16/9),1),a="undefined"!=typeof window?.8*window.innerHeight:600,i=Math.min(e.width/r,a),o="".concat(Math.floor(i),"px"),c="".concat(Math.floor(i/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=o,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=c,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=c}}}function s(e){Object(a.forEach)(e.slides,(function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(a.alt))}}(e)}function l(e){Object(a.forEach)(e.pagination.bullets,(function(t){t.addEventListener("click",(function(){var t=e.slides[e.realIndex];setTimeout((function(){t.focus()}),500)}))}))}},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}())}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&s()}function c(){o(i)}function s(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(c,t);a=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=v(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function f(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=p(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],i=e["padding-"+a];t[a]=h(i)}return t}(r),i=a.left+a.right,o=a.top+a.bottom,c=h(r.width),s=h(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=m(r,"left","right")+i),Math.round(s+o)!==n&&(s-=m(r,"top","bottom")+o)),!function(e){return e===p(e).document.documentElement}(e)){var l=Math.round(c+i)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return v(a.left,a.top,c,s)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return a?b(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):f(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var j=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,a,i,o,c,s,l=(r=(n=t).x,a=n.y,i=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),u(s,{x:r,y:a,width:i,height:o,top:a,right:r+i,bottom:o+a,left:r}),s);u(this,{target:e,contentRect:l})},_=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new j(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),k="undefined"!=typeof WeakMap?new WeakMap:new r,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new _(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var w=void 0!==i.ResizeObserver?i.ResizeObserver:O;t.a=w},function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(5);function o(e){var t=Object(i.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null),n=Object(i.get)(t,["available_blocks",e,"available"],!1),r=Object(i.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),o=Object(i.get)(t,["available_blocks",e,"details"],[]);return a()({available:n},!n&&{details:o,unavailableReason:r})}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(30),a=n.n(r),i=n(46),o=n.n(i),c=n(0),s=n(12),l=n.n(s),u=n(96),p=n.n(u);n(151);t.a=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,i=void 0!==r&&r,s=o()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":i});return n&&Object(c.createElement)("div",a()({className:u},s),i&&Object(c.createElement)(p.a,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),Object(c.createElement)("span",null,n))}},,function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(2),i=n(52),o=n(47),c=(n(155),n(53)),s=Object(a.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(i.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null}))}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t,n){var r=n(150);e.exports=function(e,t){if(null==e)return{};var n,a,i=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){"use strict";var r=n(0),a=n(2);t.a=function(e){var t=e.label,n=e.onClick;return Object(r.createElement)(a.IconButton,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},function(e,t,n){"use strict";var r=n(54),a=n.n(r),i=n(102),o=n.n(i),c=n(103),s=n.n(c),l=n(63),u=n.n(l),p=n(104),d=n.n(p),h=n(77),m=n.n(h),f=n(105),b=n.n(f),g=n(72);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,i):""+Math.round(a)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(c)}var j=o()("i18n-calypso"),y=[function(e){return e}],_={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function C(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t));if(e.state.locale[r.original])return E(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:d()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return v(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==_[n+e])return _[n+e];var r=b()().update(e).digest("hex");return _[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)y.push(r(!1));else{var a=t.substr(5).indexOf("-");if(a<0){var i=Number(t.substr(5));y.push(r(i))}else for(var o=Number(t.substr(5,a)),c=Number(t.substr(6+a)),s=o;s<=c;s++)y.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=E(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=E(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!C(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var a=C(this,t);if(a||(a=E(this.state.jed,t)),t.args){var i=Array.isArray(t.args)?t.args.slice(0):[t.args];i.unshift(a);try{a=u.a.sprintf.apply(u.a,i)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",i)}}return t.components&&(a=s()({mixedString:a,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(e){a=e(a,t)})),n&&this.state.translations.set(e,a),a},x.prototype.reRenderTranslations=function(){j("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),T=n.n(P),N=n(11),M=n.n(N),R=n(8),D=n.n(R),z=n(9),I=n.n(z),L=n(4),B=n.n(L),q=n(10),U=n.n(q),V=n(3),H=n.n(V),G=n(34),$=n.n(G),W=n(18),K=n.n(W),Z=new F,J=(Z.moment,Z.numberFormat.bind(Z)),Y=(Z.translate.bind(Z),Z.configure.bind(Z),Z.setLocale.bind(Z),Z.getLocale.bind(Z),Z.getLocaleSlug.bind(Z),Z.addTranslations.bind(Z),Z.reRenderTranslations.bind(Z),Z.registerComponentUpdateHook.bind(Z),Z.registerTranslateHook.bind(Z),Z.state,Z.stateObserver,Z.on.bind(Z),Z.off.bind(Z),Z.emit.bind(Z),A={moment:(S=Z).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Z),n(45));function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var i=a()({},r,n),o=i.decimal,c=i.grouping,s=i.precision,l=i.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",(function(){return Q}))},function(e,t,n){"use strict";var r=n(93),a=n.n(r),i=n(5),o={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var c,s,l=function(e){if(e in o)return o[e];throw new Error("config key `"+e+"` does not exist")},u=a()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var p={initialize:function(e,t,n){p.setUser(e,t),p.setSuperProps(n),p.identifyUser()},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){c=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Built stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){p.tracks.recordPageView(e),p.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,i,o){p.ga.recordPurchase(e,t,n,r,a,i,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(u("- Super Props: %o",c),t=Object(i.assign)(t,c)),u('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):u('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};p.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){p.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){u("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};p.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",l("google_analytics_key"),"auto",e),p.ga.initialized=!0)},recordPageView:function(e,t){p.ga.initialize(),u("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),l("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){p.ga.initialize();var a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),u(a),l("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,i,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.a=p},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5),a=function(e,t){return Object(r.reduce)(t,(function(t,n,r){var a=e[r],i=a.type,o=a.validator,c=a.validValues,s=a.default;return t[r]="boolean"===i?!!n:o?o(n)?n:s:c?c.includes(n)?n:s:n,t}),{})}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(12),o=n.n(i);t.a=function(e){var t=e.size,n=void 0===t?24:t,i=e.className;return Object(r.createElement)(a.SVG,{className:o()("jetpack-logo",i),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(a.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(a.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(a.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",c,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:a,width:a,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var a,i=n(34),o=(a=i)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(14),o=n(13),c=n(6);n(144);t.a=Object(i.compose)([Object(o.withDispatch)((function(e,t){var n=t.blockName,r=t.href,a=t.onClick;return{autosaveAndRedirect:function(t){return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return t.preventDefault(),a(n),i.next=4,regeneratorRuntime.awrap(e("core/editor").autosave());case 4:window.top.location.href=r;case 5:case"end":return i.stop()}}))}}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,i=e.href,o=e.icon,s=e.subtitle,l=e.title;return Object(r.createElement)(c.Warning,{actions:i&&[Object(r.createElement)(a.Button,{href:i,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(r.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(r.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(r.createElement)("span",{className:"jetpack-block-nudge__title"},l),Object(r.createElement)("span",{className:"jetpack-block-nudge__message"},s))))}))},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(15),a=n.n(r),i=n(0),o=n(12),c=n.n(o),s=n(5),l=n(16),u=n(6),p=n(13),d=n(26),h=function(e){var t=e.attributes,n=e.styleOption,r=e.viewportWidth,o=e.blockName,c=Object(l.getBlockType)(o);return Object(i.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(i.createElement)(u.BlockPreview,{viewportWidth:r,blocks:c.example?Object(l.getBlockFromExample)(o,{attributes:a()({},c.example.attributes,{style:n.value}),innerBlocks:c.example.innerBlocks}):Object(l.createBlock)(c,t)}))},m=i.memo?Object(i.memo)(h,(function(e,t){return Object(s.isEqual)(e,t)})):h;function f(e){var t,n=e.attributes,r=e.clientId,o=e.styleOptions,s=e.onSelectStyle,l=e.activeStyle,u=e.viewportWidth;return p.useSelect&&(t=Object(p.useSelect)((function(e){return(0,e("core/block-editor").getBlock)(r)}))),Object(i.createElement)("div",{className:"block-editor-block-styles"},o.map((function(e){var r=a()({},n,{style:e.value});return Object(i.createElement)("div",{key:e.value,className:c()("block-editor-block-styles__item",{"is-active":e.value===l}),onClick:function(){s({style:e.value})},onKeyDown:function(t){d.ENTER!==t.keyCode&&d.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},p.useSelect&&t&&Object(i.createElement)(m,{blockName:t.name,styleOption:e,attributes:r,viewportWidth:u}),Object(i.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(1),i=n(2),o=n(47),c=n(44),s=Object(i.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(i.PanelBody,{title:Object(a.__)("Likes and Sharing","jetpack")},e)):null}))}})},function(e,t,n){"use strict";var r=n(233);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=a.default.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=a.default.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,d=(0,i.default)(p),h=(0,o.default)(d),m="i"+Math.floor(3*h()),c('determined server "%s" to use with "%s"',m,p),m+".wp.com"),r&&(l.query.ssl=1)}var p,d,h,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[s[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=a.default.format(l);return c("generated Photon URL: %s",g),g};var a=r(n(29)),i=r(n(234)),o=r(n(235)),c=(0,r(n(236)).default)("photon"),s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(18),a=n.n(r),i=n(22);function o(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function c(e,t){!function(e,t,n){var r=a()(t,2),c=r[0],s=r[1],h=1/c*(n-i.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,a=l(e),c=a.map((function(e){return(n-i.b*(e.childElementCount-1))*p(e)[0]})),s=o(c,r);a.forEach((function(e,t){var r=c[t],a=s[t];!function(e,t){var n=t.colHeight,r=t.width,a=t.rawWidth,i=o(u(e).map((function(e){return a/d(e)})),n);Array.from(e.children).forEach((function(e,t){var n=i[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-i.b*(e.childElementCount-1),width:a,rawWidth:r})}))}(e,{rawHeight:h,rowWidth:n-i.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce((function(e,t){var n=a()(e,2),r=n[0],i=n[1],o=a()(t,2);return[r+o[0],i+o[1]]}),[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(d).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function d(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t,n){!function(n,r){var a=Array.prototype,i=Object.prototype,o=a.slice,c=i.hasOwnProperty,s=a.forEach,l={},u={forEach:function(e,t,n){var r,a,i;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,a=e.length;r<a;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(i in e)if(c.call(e,i)&&t.call(n,e[i],i,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function d(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function h(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(h.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new h(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,a){return this.dcnpgettext.call(this,e,t,n,r,a)},dcnpgettext:function(e,t,n,r,a){var i;if(r=r||n,e=e||this._textdomain,!this.options)return(i=new p).dcnpgettext.call(i,void 0,void 0,n,r,a);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,h=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===a)s=0;else{if("number"!=typeof a&&(a=parseInt(a,10),isNaN(a)))throw new Error("The number that was passed in is not a number.");s=d(f)(a)}if(!h)throw new Error("No domain named `"+e+"` could be found.");return!(o=h[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[d(f)(a)]),c[d()(a)]):(c=o[s])||(c=[n,r])[d()(a)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var a,i,o,c,s,l,u,p=1,d=n.length,h="",m=[];for(i=0;i<d;i++)if("string"===(h=e(n[i])))m.push(n[i]);else if("array"===h){if((c=n[i])[2])for(a=r[p],o=0;o<c[2].length;o++){if(!a.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);a=a[c[2][o]]}else a=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(a))throw b("[sprintf] expecting number but found %s",e(a));switch(null==a&&(a=""),c[8]){case"b":a=a.toString(2);break;case"c":a=String.fromCharCode(a);break;case"d":a=parseInt(a,10);break;case"e":a=c[7]?a.toExponential(c[7]):a.toExponential();break;case"f":a=c[7]?parseFloat(a).toFixed(c[7]):parseFloat(a);break;case"o":a=a.toString(8);break;case"s":a=(a=String(a))&&c[7]?a.substring(0,c[7]):a;break;case"u":a=Math.abs(a);break;case"x":a=a.toString(16);break;case"X":a=a.toString(16).toUpperCase()}a=/[def]/.test(c[8])&&c[3]&&a>=0?"+"+a:a,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(a).length,s=c[6]?t(l,u):"",m.push(c[5]?a+s:s+a)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],a=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){a|=1;var i=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(i.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))i.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";i.push(c[1])}n[2]=i}else a|=2;if(3===a)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),g=function(e,t){return t.unshift(e),b.apply(null,t)};p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?g(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},(p.PF={}).parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,a,i,o){var c=i.length-1;switch(a){case 1:return{type:"GROUP",expr:i[c-1]};case 2:this.$={type:"TERNARY",expr:i[c-4],truthy:i[c-2],falsey:i[c]};break;case 3:this.$={type:"OR",left:i[c-2],right:i[c]};break;case 4:this.$={type:"AND",left:i[c-2],right:i[c]};break;case 5:this.$={type:"LT",left:i[c-2],right:i[c]};break;case 6:this.$={type:"LTE",left:i[c-2],right:i[c]};break;case 7:this.$={type:"GT",left:i[c-2],right:i[c]};break;case 8:this.$={type:"GTE",left:i[c-2],right:i[c]};break;case 9:this.$={type:"NEQ",left:i[c-2],right:i[c]};break;case 10:this.$={type:"EQ",left:i[c-2],right:i[c]};break;case 11:this.$={type:"MOD",left:i[c-2],right:i[c]};break;case 12:this.$={type:"GROUP",expr:i[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],a=[],i=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}a.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,h,m,f,b,g,v,j,y,_,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==d&&(d=p()),f=i[m]&&i[m][d]),void 0===f||!f.length||!f[0]){if(!l){for(g in y=[],i[m])this.terminals_[g]&&g>2&&y.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+this.terminals_[d]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:y})}if(3==l){if(1==d)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,d=p()}for(;!(2..toString()in i[m]);){if(0==m)throw new Error(O||"Parsing halted.");_=1,n.length=n.length-2*_,r.length=r.length-_,a.length=a.length-_,m=n[n.length-1]}h=d,d=2,f=i[m=n[n.length-1]]&&i[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+d);switch(f[0]){case 1:n.push(d),r.push(this.lexer.yytext),a.push(this.lexer.yylloc),n.push(f[1]),d=null,h?(d=h,h=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:a[a.length-(v||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(v||1)].first_column,last_column:a[a.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,a)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),a=a.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),a.push(k._$),j=i[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t){var n=1e3,r=6e4,a=36e5,i=24*a;function o(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*i;case"hours":case"hour":case"hrs":case"hr":case"h":return o*a;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return o(e,t,i,"day");if(t>=a)return o(e,t,a,"hour");if(t>=r)return o(e,t,r,"minute");if(t>=n)return o(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=a)return Math.round(e/a)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){a=!0,i=s}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var a=this.__find__(e),i=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var a=this.__find__(e),i=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(92),a=n(91);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var o=e.charCodeAt(a);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):i(e,a)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++a)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=o(a)),n+=s(a.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,a){var i=n-t;r(i%4==0);for(var o=new Array(i/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===a?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var i=e[r];"big"===t?(n[a]=i>>>24,n[a+1]=i>>>16&255,n[a+2]=i>>>8&255,n[a+3]=255&i):(n[a+3]=i>>>24,n[a+2]=i>>>16&255,n[a+1]=i>>>8&255,n[a]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],i=r+e[t+1]>>>0,o=(i<r?1:0)+n+a;e[t]=o>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,i,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+n+a+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,i,o,c){return t+r+i+c>>>0},t.sum64_5_hi=function(e,t,n,r,a,i,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+i>>>0)<i?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+a+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,i,o,c,s,l){return t+r+i+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,a="object"==typeof Reflect?Reflect:null,i=a&&"function"==typeof a.apply?a.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var a,i,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),o=i[t]),void 0===o)o=i[t]=n,++e._eventsCount;else if("function"==typeof o?o=i[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(a=l(e))>0&&o.length>a&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=p.bind(r);return a.listener=n,r.wrapFn=a,a}function h(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:"function"==typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):f(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,a=this._events;if(void 0!==a)r=r&&void 0===a.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=a[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var l=s.length,u=f(s,l);for(n=0;n<l;++n)i(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,d(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,d(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,a,i,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,a=i;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(a=i[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return h(this,e,!0)},c.prototype.rawListeners=function(e){return h(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(18),a=n.n(r),i=n(5);n(135);function o(){var e,t,r,o,c,s,l,u=arguments;return regeneratorRuntime.async((function(p){for(;;)switch(p.prev=p.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:".swiper-container",t=u.length>1&&void 0!==u[1]?u[1]:{},r=u.length>2&&void 0!==u[2]?u[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(i.mapValues)(r,(function(e){return function(){e(this)}}))},p.next=6,regeneratorRuntime.awrap(Promise.all([n.e(17).then(n.t.bind(null,266,7)),n.e(17).then(n.t.bind(null,267,7))]));case 6:return c=p.sent,s=a()(c,1),l=s[0].default,p.abrupt("return",new l(e,Object(i.merge)({},o,t)));case 10:case"end":return p.stop()}}))}},function(e,t){!function(){e.exports=this.wp.escapeHtml}()},,function(e,t,n){"use strict";var r=n(18),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(4),m=n.n(h),f=n(10),b=n.n(f),g=n(3),v=n.n(g),j=n(0),y=n(1),_=n(5),k=n(2),O=(n(131),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=u()(this,(e=d()(t)).call.apply(e,[this].concat(a))),v()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),v()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,a=e.markerColor,i=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",i)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+a+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(j.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,E=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=u()(this,(e=d()(t)).call.apply(e,[this].concat(a))),v()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(j.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(j.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=E;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),v()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),v()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),v()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,a=n.slice(0);Object(_.assign)(a[r],t),e.props.onSetPoints(a)})),v()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),v()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,a=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,i=Math.min(.75*r,a);n.style.height=i+"px",t.resize(),e.setBoundsByMarkers()})),v()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.admin,r=t.onSetMapCenter,a=t.onSetZoom,i=t.points,o=t.zoom,c=e.state,s=c.map,l=c.activeMarker,u=c.mapboxgl,p=c.zoomControl,d=c.boundsSetProgrammatically;if(s&&(i.length&&n?s.dragPan.disable():s.dragPan.enable(),i.length&&!l)){var h=new u.LngLatBounds;if(i.forEach((function(e){h.extend([e.coordinates.longitude,e.coordinates.latitude])})),r(h.getCenter()),i.length>1){s.fitBounds(h,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0});try{s.removeControl(p)}catch(m){}}else{if(s.setCenter(h.getCenter()),d){s.setZoom(12),a(12)}else s.setZoom(parseInt(o,10));s.addControl(p),e.setState({boundsSetProgrammatically:!1})}}})),v()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),v()(m()(e),"googlePoint2Mapbox",(function(e){return e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0}})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(j.createRef)(),e.debouncedSizeMap=Object(_.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,a=t.children,i=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,d=this.updateActiveMarker,h=Object(_.get)(s,"props.point")||{},m=h.title,f=h.caption,b=j.Children.map(a,(function(e){if("AddPoint"===Object(_.get)(e,"props.tagName"))return e})),g=c&&l&&n.map((function(e,t){return Object(j.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:i,onClick:u})})),v=l&&Object(j.createElement)(C,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(j.createElement)(j.Fragment,null,Object(j.createElement)(k.TextControl,{label:Object(y.__)("Marker Title","jetpack"),value:m,onChange:function(e){return d({title:e})}}),Object(j.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(y.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return d({caption:e})}}),Object(j.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(j.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(y.__)("Delete Marker","jetpack"))),s&&!r&&Object(j.createElement)(j.Fragment,null,Object(j.createElement)("h3",null,m),Object(j.createElement)("p",null,f)));return Object(j.createElement)(j.Fragment,null,Object(j.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,a=t.points,i=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(16).then(n.t.bind(null,306,7)),n.e(16).then(n.t.bind(null,307,7))]).then((function(n){var r=a()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,a=r.zoom,i=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(a,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",(function(e){o("mapbox_error",e.error.message)}));var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",(function(){t.props.onSetZoom(s.getZoom())})),s.on("moveend",(function(){var e=t.props,n=e.onSetMapCenter;e.points.length<1&&n(s.getCenter())})),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},(function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),i(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}}]),t}(j.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onSetMapCenter:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){!function(){e.exports=this.moment}()},function(e,t){!function(){e.exports=this.wp.notices}()},function(e,t){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(n){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var o in e)e.hasOwnProperty(o)&&this.append(o,e[o])}},i=a.prototype;i.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},i.delete=function(e){delete this._entries[e]},i.get=function(e){return e in this._entries?this._entries[e][0]:null},i.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},i.has=function(e){return e in this._entries},i.set=function(e,t){this._entries[e]=[String(t)]},i.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},i.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},i.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},i.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(i[Symbol.iterator]=i.entries),i.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var i=e.URLSearchParams.prototype;"function"!=typeof i.sort&&(i.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof i._fromString&&Object.defineProperty(i,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,i=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<i.length;n++)r=i[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(n){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(p){throw new Error("URL unable to set base "+n+" due to "+p)}}var i=a.createElement("a");if(i.href=t,r&&(a.body.appendChild(i),i.href=i.href),":"===i.protocol||!/:/.test(i.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var o=new e.URLSearchParams(this.search),c=!0,s=!0,l=this;["append","delete","set"].forEach((function(e){var t=o[e];o[e]=function(){t.apply(o,arguments),c&&(s=!1,l.search=o.toString(),s=!0)}})),Object.defineProperty(this,"searchParams",{value:o,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){},function(e,t,n){"use strict";e.exports=n(163)},function(e,t,n){"use strict";e.exports.encode=n(164),e.exports.decode=n(165),e.exports.format=n(166),e.exports.parse=n(167)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+a+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+a+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,a,i,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(c),a<2)return!1;for(a%2&&(e.push("text","",0).content=i,a--),n=0;n<a;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,a,i,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(a=c[r.end],(i=e.tokens[r.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[a.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&o.push(a.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(i=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=i)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,a=e.pos,i=e.src.charCodeAt(a);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,a,i,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,i=String.fromCharCode(n.marker),(a=e.tokens[n.token]).type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?i+i:i,a.content="",(a=e.tokens[r.token]).type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?i+i:i,a.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(142)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e){e.exports=JSON.parse('{"production":["business-hours","calendly","contact-form","contact-info","eventbrite","gif","likes","mailchimp","map","markdown","opentable","pinterest","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],"beta":["amazon","seo"]}')},function(e,t,n){"use strict";var r=n(147),a=n(148);function i(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=a({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),a=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(a),i,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}(t=a({encode:!0,strict:!0,arrayFormat:"none"},t));return e?Object.keys(e).sort().map((function(r){var a=e[r];if(void 0===a)return"";if(null===a)return i(r,t);if(Array.isArray(a)){var o=[];return a.slice().forEach((function(e){void 0!==e&&o.push(n(r,e,o.length))})),o.join("&")}return i(r,t)+"="+i(a,t)})).filter((function(e){return e.length>0})).join("&"):""}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",c,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:a,width:a,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,i=n(34),o=(a=i)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,n){e.exports=n.p+"images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png"},function(e,t,n){e.exports=n.p+"images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png"},function(e,t,n){e.exports=n.p+"images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg"},function(e,t,n){"use strict";e.exports=n(162)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var a,i,o=n[r.type],c=t(r);if(o)for(a=0;a<o.length;a++)(i=o[a](r,e))&&e.dispatch(i);return c}}}).effects=n,t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(219)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=c(n(34)),i=c(n(220)),o=c(n(223));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,d,h,m,f=[],b={};for(d=0;d<e.length;d++)if("string"!==(p=e[d]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=d;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(c,e),h=l(e.slice(c+1,u),t),o=a.default.cloneElement(n,{},h),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,o.default)(t);try{return l(i,n)}catch(c){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(72),a=n(91);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,a(i,r.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(71),a=n(224),i=n(225),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=i.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],i=this.h[1],u=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(a,5),l(m,i,u,d),h,n[r],p[m]);h=d,d=u,u=o(i,30),i=a,a=f}this.h[0]=c(this.h[0],a),this.h[1]=c(this.h[1],i),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],d),this.h[4]=c(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){e.exports=n.p+"images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg"},function(e,t){!function(){e.exports=this.wp.tokenList}()},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg"},function(e,t,n){e.exports=n.p+"images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png"},function(e,t,n){e.exports=n.p+"images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png"},function(e,t,n){e.exports=n.p+"images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png"},function(e,t,n){e.exports=n.p+"images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png"},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(e){var r;!function(a){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var o,c=2147483647,s=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function m(e){throw RangeError(p[e])}function f(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+f((e=e.replace(u,".")).split("."),t).join(".")}function g(e){for(var t,n,r=[],a=0,i=e.length;a<i;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<i?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function v(e){return f(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function _(e){var t,n,r,a,i,o,s,l,u,p,h,f=[],b=e.length,g=0,j=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),f.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(i=g,o=1,s=36;a>=b&&m("invalid-input"),((l=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>d((c-g)/o))&&m("overflow"),g+=l*o,!(l<(u=s<=_?1:s>=_+26?26:s-_));s+=36)o>d(c/(p=36-u))&&m("overflow"),o*=p;_=y(g-i,t=f.length+1,0==i),d(g/t)>c-j&&m("overflow"),j+=d(g/t),g%=t,f.splice(g++,0,j)}return v(f)}function k(e){var t,n,r,a,i,o,s,l,u,p,f,b,v,_,k,O=[];for(b=(e=g(e)).length,t=128,n=0,i=72,o=0;o<b;++o)(f=e[o])<128&&O.push(h(f));for(r=a=O.length,a&&O.push("-");r<b;){for(s=c,o=0;o<b;++o)(f=e[o])>=t&&f<s&&(s=f);for(s-t>d((c-n)/(v=r+1))&&m("overflow"),n+=(s-t)*v,t=s,o=0;o<b;++o)if((f=e[o])<t&&++n>c&&m("overflow"),f==t){for(l=n,u=36;!(l<(p=u<=i?1:u>=i+26?26:u-i));u+=36)k=l-p,_=36-p,O.push(h(j(p+k%_,0))),l=d(k/_);O.push(h(j(l,0))),i=y(n,v,r==a),n=0,++r}++n,++t}return O.join("")}o={version:"1.3.2",ucs2:{decode:g,encode:v},decode:_,encode:k,toASCII:function(e){return b(e,(function(e){return l.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return b(e,(function(e){return s.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(137)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(140),t.encode=t.stringify=n(141)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,d,h,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),d=decodeURIComponent(u),h=decodeURIComponent(p),r(i,d)?Array.isArray(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var i=encodeURIComponent(r(a))+n;return Array.isArray(e[a])?e[a].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[a]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""}},function(e,t,n){var r=n(21);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return a.colors[Math.abs(t)%a.colors.length]}function a(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var o=r,c=Number(new Date),s=c-(n||c);o.diff=s,o.prev=n,o.curr=c,n=c,t[0]=a.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var r=a.formatters[n];if("function"==typeof r){var i=t[l];e=r.call(o,i),t.splice(l,1),l--}return e})),a.formatArgs.call(o,t);var u=o.log||a.log;u.apply(o,t)}}return r.namespace=e,r.enabled=a.enabled(e),r.useColors=a.useColors(),r.color=t(e),r.destroy=i,r.extend=o,"function"==typeof a.init&&a.init(r),a.instances.push(r),r}function i(){var e=a.instances.indexOf(this);return-1!==e&&(a.instances.splice(e,1),!0)}function o(e,t){var n=a(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function c(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},a.disable=function(){var e=[].concat(r(a.names.map(c)),r(a.skips.map(c).map((function(e){return"-"+e})))).join(",");return a.enable(""),e},a.enable=function(e){var t;a.save(e),a.names=[],a.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+e.substr(1)+"$")):a.names.push(new RegExp("^"+e+"$")));for(t=0;t<a.instances.length;t++){var i=a.instances[t];i.enabled=a.enabled(i.namespace)}},a.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=a.skips.length;t<n;t++)if(a.skips[t].test(e))return!1;for(t=0,n=a.names.length;t<n;t++)if(a.names[t].test(e))return!0;return!1},a.humanize=n(64),Object.keys(e).forEach((function(t){a[t]=e[t]})),a.instances=[],a.names=[],a.skips=[],a.formatters={},a.selectColor=t,a.enable(a.load()),a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,c,s=o(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))a.call(n,u)&&(s[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)i.call(n,c[p])&&(s[c[p]]=n[c[p]])}}return s}},function(e,t,n){},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(19),a=n(170),i=n(174),o=n(175),c=n(183),s=n(197),l=n(210),u=n(82),p=n(212),d={default:n(213),zero:n(214),commonmark:n(215)},h=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!h.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function j(e,t){if(!(this instanceof j))return new j(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new i,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}j.prototype.set=function(e){return r.assign(this.options,e),this},j.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},j.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},j.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},j.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},j.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},j.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},j.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},j.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=j},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,n){"use strict";var r={};function a(e,t,n){var i,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=a.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?a.push(n):a.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)a[e.charCodeAt(t)]=e[t];return a}(t),i=0,o=e.length;i<o;i++)if(c=e.charCodeAt(i),n&&37===c&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&i+1<o&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}a.defaultChars=";/?:@&=+$,-_.!~*'()#",a.componentChars="-_.!~*'()",e.exports=a},function(e,t,n){"use strict";var r={};function a(e,t){var n;return"string"!=typeof t&&(t=a.defaultChars),n=function(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),a.push(n);for(t=0;t<e.length;t++)a[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return a}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,a,i,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(a=parseInt(e.slice(t+1,t+3),16))<128?l+=n[a]:192==(224&a)&&t+3<r&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=a<<6&1984|63&i)<128?"��":String.fromCharCode(s),t+=3):224==(240&a)&&t+6<r&&(i=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&o))?(l+=(s=a<<12&61440|i<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&a)&&t+9<r&&(i=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&o)&&128==(192&c))?((s=a<<18&1835008|i<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l}))}a.defaultChars=";/?:@&=+$,#",a.componentChars="",e.exports=a},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var a=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=a.exec(f);if(g&&(i=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&h[g]||(f=f.substr(2),this.slashes=!0)),!h[g]&&(s||g&&!m[g])){var v,j,y=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===y||c<y)&&(y=c);for(-1!==(j=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,j),f=f.slice(j+1),this.auth=v),y=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===y||c<y)&&(y=c);-1===y&&(y=f.length),":"===f[y-1]&&y--;var _=f.slice(0,y);f=f.slice(y),this.parseHost(_),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var E="",C=0,x=w.length;C<x;C++)w.charCodeAt(C)>127?E+="x":E+=w[C];if(!E.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(d);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var T=f.indexOf("?");return-1!==T&&(this.search=f.substr(T),f=f.slice(0,T)),f&&(this.pathname=f),m[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(83),t.Cc=n(84),t.Cf=n(169),t.P=n(68),t.Z=n(85)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(171),t.parseLinkDestination=n(172),t.parseLinkTitle=n(173)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===i)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return a&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(19).isSpace,a=n(19).unescapeAll;e.exports=function(e,t,n){var i,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(i=e.charCodeAt(t))||r(i))return s;if(62===i)return s.pos=t+1,s.str=a(e.slice(c+1,t)),s.ok=!0,s;92===i&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<n)t+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=a(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(19).unescapeAll;e.exports=function(e,t,n){var a,i,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t<n;){if((a=e.charCodeAt(t))===i)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===a?o++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(19).assign,a=n(19).unescapeAll,i=n(19).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,a){var o=e[t];return"<code"+a.renderAttrs(o)+">"+i(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,a){var o=e[t];return"<pre"+a.renderAttrs(o)+"><code>"+i(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],d=p.info?a(p.info).trim():"",h="";return d&&(h=d.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,h)||i(p.content)).indexOf("<pre")?c+"\n":d?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+h]):l[s][1]+=" "+n.langPrefix+h,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,a){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=a.renderInlineAsText(i.children,n,r),a.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return i(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,a="",i=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===o.nesting?"</":"<")+o.tag,a+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(a+=" /"),o.block&&(i=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?i=!1:-1===r.nesting&&r.tag===o.tag&&(i=!1))),a+=i?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,a="",i=this.rules,o=0,c=e.length;o<c;o++)void 0!==i[r=e[o].type]?a+=i[r](e,o,t,n,this):a+=this.renderToken(e,o,t);return a},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,i=e.length;a<i;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},c.prototype.render=function(e,t,n){var r,a,i,o="",c=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(i=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[i]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(69),a=[["normalize",n(176)],["block",n(177)],["inline",n(178)],["linkify",n(179)],["replacements",n(180)],["smartquotes",n(181)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(182),e.exports=i},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,a=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(a,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(19).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_=e.tokens;if(e.md.options.linkify)for(n=0,i=_.length;n<i;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(f=0,t=(o=_[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(y=s.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,j=e.md.linkify.match(p),l=[],m=s.level,h=0,u=0;u<j.length;u++)b=j[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=j[u].text,v=j[u].schema?"mailto:"!==j[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=j[u].index)>h&&((c=new e.Token("text","",0)).content=p.slice(h,d),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),h=j[u].lastIndex);h<p.length&&((c=new e.Token("text","",0)).content=p.slice(h),c.level=m,l.push(c)),_[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,a=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(i,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(a.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(19).isWhiteSpace,a=n(19).isPunctChar,i=n(19).isMdAsciiPunct,o=/['"]/,c=/['"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,t){var n,o,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E,C,x;for(E=[],n=0;n<e.length;n++){for(o=e[n],h=e[n].level,O=E.length-1;O>=0&&!(E[O].level<=h);O--);if(E.length=O+1,"text"===o.type){p=0,d=(l=o.content).length;e:for(;p<d&&(c.lastIndex=p,u=c.exec(l));){if(_=k=!0,p=u.index+1,w="'"===u[0],f=32,u.index-1>=0)f=l.charCodeAt(u.index-1);else for(O=n-1;O>=0&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O--)if("text"===e[O].type){f=e[O].content.charCodeAt(e[O].content.length-1);break}if(b=32,p<d)b=l.charCodeAt(p);else for(O=n+1;O<e.length&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O++)if("text"===e[O].type){b=e[O].content.charCodeAt(0);break}if(g=i(f)||a(String.fromCharCode(f)),v=i(b)||a(String.fromCharCode(b)),j=r(f),(y=r(b))?_=!1:v&&(j||g||(_=!1)),j?k=!1:g&&(y||v||(k=!1)),34===b&&'"'===u[0]&&f>=48&&f<=57&&(k=_=!1),_&&k&&(_=!1,k=v),_||k){if(k)for(O=E.length-1;O>=0&&(m=E[O],!(E[O].level<h));O--)if(m.single===w&&E[O].level===h){m=E[O],w?(C=t.md.options.quotes[2],x=t.md.options.quotes[3]):(C=t.md.options.quotes[0],x=t.md.options.quotes[1]),o.content=s(o.content,u.index,x),e[m.token].content=s(e[m.token].content,m.pos,C),p+=x.length-1,m.token===n&&(p+=C.length-1),d=(l=o.content).length,E.length=O;continue e}_?E.push({token:n,pos:u.index,single:w,level:h}):k&&w&&(o.content=s(o.content,u.index,"’"))}else w&&(o.content=s(o.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(70);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(69),a=[["table",n(184),["paragraph","reference"]],["code",n(185)],["fence",n(186),["paragraph","reference","blockquote","list"]],["blockquote",n(187),["paragraph","reference","blockquote","list"]],["hr",n(188),["paragraph","reference","blockquote","list"]],["list",n(189),["paragraph","reference","blockquote"]],["reference",n(190)],["heading",n(191),["paragraph","reference","blockquote"]],["lheading",n(192)],["html_block",n(193),["paragraph","reference","blockquote"]],["paragraph",n(195)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),i=a.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<i&&!a[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},i.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},i.prototype.State=n(196),e.exports=i},function(e,t,n){"use strict";var r=n(19).isSpace;function a(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,a=e.length,i=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<a;)96===t?c?(c=!1,s=r):i%2==0&&(c=!0,s=r):124!==t||i%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?i++:i=0,++r===a&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,d,h,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(d=(s=a(e,t+1)).split("|"),f=[],u=0;u<d.length;u++){if(!(b=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((h=(d=i(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<d.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=d[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=a(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(d=i(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<h;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=d[u]?d[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(i=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var a,i,o,c,s,l,u,p=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(s=d,(i=(d=e.skipChars(d,a))-s)<3)return!1;if(u=e.src.slice(s,d),(o=e.src.slice(d,h)).indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((d=s=e.bMarks[c]+e.tShift[c])<(h=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[c]-e.blkIndent>=4||(d=e.skipChars(d,a))-s<i||(d=e.skipSpaces(d))<h)){p=!0;break}return i=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,i,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E=e.lineMax,C=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(a)return!0;for(s=h=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,s++,h++,i=!1,y=!0):9===e.src.charCodeAt(C)?(y=!0,(e.bsCount[t]+h)%4==3?(C++,s++,h++,i=!1):i=!0):y=!1,m=[e.bMarks[t]],e.bMarks[t]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?h+=4-(h+e.bsCount[t]+(i?1:0))%4:h++,C++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=C>=x,v=[e.sCount[t]],e.sCount[t]=h-s,j=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,d=t+1;d<n&&(e.sCount[d]<e.blkIndent&&(w=!0),!((C=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(C++)||w){if(u)break;for(_=!1,c=0,l=k.length;c<l;c++)if(k[c](e,d,n,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(m.push(e.bMarks[d]),f.push(e.bsCount[d]),j.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}m.push(e.bMarks[d]),f.push(e.bsCount[d]),j.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(s=h=e.sCount[d]+C-(e.bMarks[d]+e.tShift[d]),32===e.src.charCodeAt(C)?(C++,s++,h++,i=!1,y=!0):9===e.src.charCodeAt(C)?(y=!0,(e.bsCount[d]+h)%4==3?(C++,s++,h++,i=!1):i=!0):y=!1,m.push(e.bMarks[d]),e.bMarks[d]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?h+=4-(h+e.bsCount[d]+(i?1:0))%4:h++,C++;u=C>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=h-s,j.push(e.tShift[d]),e.tShift[d]=C-e.bMarks[d]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,d),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<j.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=j[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==i&&!r(c))return!1;c===i&&o++}return!(o<3)&&(!!a||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(i)),!0))}},function(e,t,n){"use strict";var r=n(19).isSpace;function a(e,t){var n,a,i,o;return a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n?-1:a<i&&(o=e.src.charCodeAt(a),!r(o))?-1:a}function i(e,t){var n,a=e.bMarks[t]+e.tShift[t],i=a,o=e.eMarks[t];if(i+1>=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-a>=10)return-1}return i<o&&(n=e.src.charCodeAt(i),!r(n))?-1:i}e.exports=function(e,t,n,r){var o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E,C,x,S,A,F,P,T,N,M=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(M=!0),(S=i(e,t))>=0){if(d=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),M&&1!==v)return!1}else{if(!((S=a(e,t))>=0))return!1;d=!1}if(M&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,d?(N=e.push("ordered_list_open","ol",1),1!==v&&(N.attrs=[["start",v]])):N=e.push("bullet_list_open","ul",1),N.map=f=[t,0],N.markup=String.fromCharCode(g),y=t,A=!1,T=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";y<n;){for(x=S,j=e.eMarks[y],p=_=e.sCount[y]+S-(e.bMarks[t]+e.tShift[t]);x<j;){if(9===(o=e.src.charCodeAt(x)))_+=4-(_+e.bsCount[y])%4;else{if(32!==o)break;_++}x++}if((u=(c=x)>=j?1:_-p)>4&&(u=1),l=p+u,(N=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),N.map=h=[t,0],k=e.blkIndent,C=e.tight,E=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=_,c>=j&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(R=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=E,e.sCount[t]=O,e.tight=C,(N=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),y=t=e.line,h[1]=y,c=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;for(P=!1,s=0,m=T.length;s<m;s++)if(T[s](e,y,n,!0)){P=!0;break}if(P)break;if(d){if((S=i(e,y))<0)break}else if((S=a(e,y))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(N=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=y,e.line=y,e.parentType=w,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t,n,i){var o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(j=!1,p=0,d=y.length;p<d;p++)if(y[p](e,E,l,!0)){j=!0;break}if(j)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!a(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!a(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(_=b.str,O=b.pos,k+=b.lines):(_="",O=c,k=s);O<w&&(o=v.charCodeAt(O),a(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&_)for(_="",O=c,k=s;O<w&&(o=v.charCodeAt(O),a(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(h=r(v.slice(1,m)))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:_,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,i=e.src.charCodeAt(++l);35===i&&l<u&&o<=6;)o++,i=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(i))&&(!!a||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i,o,c,s,l,u,p,d,h=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(s=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(a=!1,i=0,o=m.length;i<o;i++)if(m[i](e,h,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(e,t,n){"use strict";var r=n(194),a=n(86).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),a=0;a<i.length&&!i[a][0].test(s);a++);if(a===i.length)return!1;if(r)return i[a][2];if(o=t+1,!i[a][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),i[a][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,a,i,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,a=0,i=l.length;a<i;a++)if(l[a](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(70),a=n(19).isSpace;function i(e,t,n,r){var i,o,c,s,l,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(i=o.charCodeAt(s),!d){if(a(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&s!==l-1||(10!==i&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,o,c,s,l,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(o=0,p=s=this.bMarks[d],l=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];s<l&&o<n;){if(c=this.src.charCodeAt(s),a(c))9===c?o+=4-(o+this.bsCount[d])%4:o++;else{if(!(s-p<this.tShift[d]))break;o++}s++}u[i]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(69),a=[["text",n(198)],["newline",n(199)],["escape",n(200)],["backticks",n(201)],["strikethrough",n(87).tokenize],["emphasis",n(88).tokenize],["link",n(202)],["image",n(203)],["autolink",n(204)],["html_inline",n(205)],["entity",n(206)]],i=[["balance_pairs",n(207)],["strikethrough",n(87).postProcess],["emphasis",n(88).postProcess],["text_collapse",n(208)]];function o(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),i=a.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<i&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,i=e.posMax,o=e.md.options.maxNesting;e.pos<i;){if(e.level<o)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var a,i,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(i=this.ruler2.getRules("")).length,a=0;a<o;a++)i[a](c)},o.prototype.State=n(209),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t){var n,a,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},function(e,t,n){"use strict";for(var r=n(19).isSpace,a=[],i=0;i<256;i++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<o){if((n=e.src.charCodeAt(i))<256&&0!==a[n])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),i++;i<o&&(n=e.src.charCodeAt(i),r(n));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,a,i,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(a=e.src.slice(n,s),i=o=s;-1!==(i=e.src.indexOf("`",o));){for(o=i+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-i===a.length)return t||((c=e.push("code_inline","code",0)).markup=a,c.content=e.src.slice(s,i).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=a),e.pos+=a.length,!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t){var n,i,o,c,s,l,u,p,d,h="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?l=u.pos:h=""),b=l;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(d=u.str,l=u.pos;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);else d="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;h=p.href,d=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t){var n,i,o,c,s,l,u,p,d,h,m,f,b,g="",v=e.pos,j=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<j&&40===e.src.charCodeAt(u)){for(u++;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);if(u>=j)return!1;for(b=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(d.str),e.md.validateLink(g)?u=d.pos:g=""),b=u;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<j&&b!==u&&d.ok)for(h=d.str,u=d.pos;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);else h="";if(u>=j||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<j&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,h=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,h&&n.push(["title",h])),e.pos=u,e.posMax=j,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,a=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(a.test(n)?(c=(i=n.match(a))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(86).HTML_TAG_RE;e.exports=function(e,t){var n,a,i,o=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=i)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+a[0].length)),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(81),a=n(19).has,i=n(19).isValidEntityCode,o=n(19).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=i(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&a(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,a,i=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=i[t]).close)for(n=t-r.jump-1;n>=0;){if((a=i[n]).open&&a.marker===r.marker&&a.end<0&&a.level===r.level)if(!((a.close||r.open)&&void 0!==a.length&&void 0!==r.length&&(a.length+r.length)%3==0)){r.jump=t-n,r.open=!1,a.end=t,a.jump=0;break}n-=a.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)r+=a[t].nesting,a[t].level=r,"text"===a[t].type&&t+1<i&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},function(e,t,n){"use strict";var r=n(70),a=n(19).isWhiteSpace,i=n(19).isPunctChar,o=n(19).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n);return n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(a),a},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,d,h,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||i(String.fromCharCode(n)),h=o(r)||i(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:h&&(u||p||(f=!1)),u?b=!1:p&&(d||h||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||h)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===a(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(211)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?i(n.validate)?r.validate=n.validate:l(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?l(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?l(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,i,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(a=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(83).source,t.src_Cc=n(84).source,t.src_Z=n(85).source,t.src_P=n(68).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",(function(){return m})),n.d(t,"ucs2encode",(function(){return f})),n.d(t,"decode",(function(){return v})),n.d(t,"encode",(function(){return j})),n.d(t,"toASCII",(function(){return _})),n.d(t,"toUnicode",(function(){return y}));var r=n(21),a=n.n(r),i=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function d(e){throw new RangeError(l[e])}function h(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var a=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+a}function m(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),n--)}else t.push(a)}return t}var f=function(e){return String.fromCodePoint.apply(String,a()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,a=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&d("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var h=a,m=1,f=36;;f+=36){p>=r&&d("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((i-a)/m))&&d("overflow"),a+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var j=36-v;m>u(i/j)&&d("overflow"),m*=j}var y=n.length+1;c=g(a-h,y,0==h),u(a/y)>i-o&&d("overflow"),o+=u(a/y),a%=y,n.splice(a++,0,o)}return String.fromCodePoint.apply(String,n)},j=function(e){var t=[],n=(e=m(e)).length,r=128,a=0,o=72,c=!0,s=!1,l=void 0;try{for(var h,f=e[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var v=h.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var j=t.length,y=j;for(j&&t.push("-");y<n;){var _=i,k=!0,O=!1,w=void 0;try{for(var E,C=e[Symbol.iterator]();!(k=(E=C.next()).done);k=!0){var x=E.value;x>=r&&x<_&&(_=x)}}catch(B){O=!0,w=B}finally{try{k||null==C.return||C.return()}finally{if(O)throw w}}var S=y+1;_-r>u((i-a)/S)&&d("overflow"),a+=(_-r)*S,r=_;var A=!0,F=!1,P=void 0;try{for(var T,N=e[Symbol.iterator]();!(A=(T=N.next()).done);A=!0){var M=T.value;if(M<r&&++a>i&&d("overflow"),M==r){for(var R=a,D=36;;D+=36){var z=D<=o?1:D>=o+26?26:D-o;if(R<z)break;var I=R-z,L=36-z;t.push(p(b(z+I%L,0))),R=u(I/L)}t.push(p(b(R,0))),o=g(a,S,y==j),a=0,++y}}}catch(B){F=!0,P=B}finally{try{A||null==N.return||N.return()}finally{if(F)throw P}}++a,++r}return t.join("")},y=function(e){return h(e,(function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e}))},_=function(e){return h(e,(function(e){return c.test(e)?"xn--"+j(e):e}))},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:j,toASCII:_,toUnicode:y};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=o,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var a=r.formatters[n];if("function"==typeof a){var o=t[l];e=a.call(i,o),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=a,o.extend=i,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function a(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(t=0;t<a;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(64),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(90),o=n(221),c=n(222),s="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===a)return n(r,e,""===t?"."+l(e,0):t),1;var p=0,d=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)p+=u(i=e[h],d+l(i,h),n,r);else{var m=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(m){0;for(var f,b=m.call(e),g=0;!(f=b.next()).done;)p+=u(i=f.value,d+l(i,g++),n,r)}else if("object"===c){0;var v=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return p}var p=/\/+/g;function d(e){return(""+e).replace(p,"$&/")}var h,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function j(e,t,n){var a,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?y(p,c,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=s+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),c.push(p))}function y(e,t,n,r,a){var i="";null!=n&&(i=d(n)+"/");var o=v.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,j,o),v.release(o)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=v).instancePool=[],m.getPooled=h||f,m.poolSize||(m.poolSize=10),m.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)y(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,c){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 l=[n,r,a,i,o,c],u=0;(s=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var r=n(90);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(71),a=n(92);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,i=8;i<this.padLength;i++)r[a++]=0;return r}},function(e,t,n){"use strict";var r=n(71).rotr32;function a(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?o(t,n,r):2===e?i(t,n,r):void 0},t.ch32=a,t.maj32=i,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){"use strict";var t=[];function n(e){var t,n,r,a,i=-1;for(t=0,r=e.length;t<r;t+=1){for(a=255&(i^e[t]),n=0;n<8;n+=1)1==(1&a)?a=a>>>1^3988292384:a>>>=1;i=i>>>8^a}return-1^i}function r(e,n){var a,i,o;if(void 0!==r.crc&&n&&e||(r.crc=-1,e)){for(a=r.crc,i=0,o=e.length;i<o;i+=1)a=a>>>8^t[255&(a^e[i])];return r.crc=a,-1^a}}!function(){var e,n,r;for(n=0;n<256;n+=1){for(e=n,r=0;r<8;r+=1)1&e?e=3988292384^e>>>1:e>>>=1;t[n]=e>>>0}}(),e.exports=function(e,t){var a;e="string"==typeof e?(a=e,Array.prototype.map.call(a,(function(e){return e.charCodeAt(0)}))):e;return((t?n(e):r(e))>>>0).toString(16)},e.exports.direct=n,e.exports.table=r}()},function(e,t,n){"use strict";var r=[],a=window,i=Math.pow(256,6),o=Math.pow(2,52),c=2*o,s=Math.random;function l(e){var t,n=e.length,r=this,a=0,i=r.i=r.j=0,o=r.S=[];for(n||(e=[n++]);a<256;)o[a]=a++;for(a=0;a<256;a++)o[a]=o[i=255&i+e[a%n]+(t=o[a])],o[i]=t;(r.g=function(e){for(var t,n=0,a=r.i,i=r.j,o=r.S;e--;)t=o[a=255&a+1],n=256*n+o[255&(o[a]=o[i=255&i+t])+(o[i]=t)];return r.i=a,r.j=i,n})(256)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(i){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[255&a]=255&(n^=19*t[255&a])+r.charCodeAt(a++);return h(t)}function d(e){try{return a.crypto.getRandomValues(e=new Uint8Array(256)),h(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,h(r)]}}function h(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var a=n&&n.entropy||!1,s=[],m=(p(u(a?[t,h(r)]:0 in arguments?t:d(),3),s),new l(s));return p(h(m.S),r),function(){for(var e=m.g(6),t=i,n=0;e<o;)e=256*(e+n),t*=256,n=m.g(1);for(;e>=c;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=s},p(Math.random(),r)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(237)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=o,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var a=r.formatters[n];if("function"==typeof a){var o=t[l];e=a.call(i,o),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=a,o.extend=i,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function a(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(t=0;t<a;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(64),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",(function(){return Mt})),n.d(r,"attributes",(function(){return Dt})),n.d(r,"support",(function(){return zt}));var a=n(17),i=n(15),o=n.n(i),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),d=n(5),h=n(2),m=n(21),f=n.n(m),b=n(7),g=n.n(b),v=n(11),j=n.n(v),y=n(8),_=n.n(y),k=n(9),O=n.n(k),w=n(4),E=n.n(w),C=n(10),x=n.n(C),S=n(6),A=n(28),F=[{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],P=Object(u.__)("Pick an image filter","jetpack");function T(e){var t=e.value,n=e.onChange;return Object(l.createElement)(h.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(h.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:P,tooltip:P,icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(h.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},F.map((function(e){var a,i=e.icon,o=e.title,c=e.value;return Object(l.createElement)(h.MenuItem,{className:t===c?"is-active":void 0,icon:i,isSelected:t===c,key:c||"original",onClick:(a=c,function(){n(t===a?void 0:a),r()}),role:"menuitemcheckbox"},o)})))}})}var N=n(12),M=n.n(N),R=n(26),D=n(25),z=n(13),I=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",(function(){n.props.isSelected||n.props.onSelect()})),s()(E()(n),"onImageKeyDown",(function(e){n.img.current===document.activeElement&&n.props.isSelected&&[R.BACKSPACE,R.DELETE].includes(e.keyCode)&&n.props.onRemove()})),n}return x()(t,e),j()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,a=e.link,i=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!a&&r.link&&(c.link=r.link),!i&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,a=t.height,i=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,d=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(d){case"media":e=g;break;case"attachment":e=p}var j=Object(D.isBlobURL)(f),y=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":a,"data-id":i,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:g,srcSet:j?void 0:b,tabIndex:"0",style:j?{backgroundImage:"url(".concat(f,")")}:void 0}),j&&Object(l.createElement)(h.Spinner,null));return Object(l.createElement)("figure",{className:M()("tiled-gallery__item",s()({"is-selected":c,"is-transient":j},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(h.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,y):y)}}]),t}(l.Component),L=Object(z.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(I);function B(e){var t,n=e.alt,r=e.imageFilter,a=e.height,i=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,d=e.width;if(Object(D.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:n,"data-height":a,"data-id":i,"data-link":o,"data-url":u,"data-width":d,src:p});return Object(l.createElement)("figure",{className:M()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},h):h)}var q=n(39);function U(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:M()("tiled-gallery__row",n)},t)}var G=n(62);function $(e){var t=e.height,n=e.width;return t&&n?n/t:1}var W=he([2,1,2],5),K=me([fe,fe,be,fe,fe]),Z=me([fe,fe,fe,be,fe,fe,fe]),J=he([3,1,3],5),Y=me([be,fe,fe,be]),Q=he([1,2,1],5),X=me([be,fe,fe,fe]),ee=he([1,3],3),te=me([fe,fe,fe,be]),ne=he([3,1],3),re=me([ve(1.6),Object(d.overEvery)(ge(.9),ve(2)),Object(d.overEvery)(ge(.9),ve(2))]),ae=he([1,2],3),ie=he([1,1,1,1,1],1),oe=he([1,1,1,1],1),ce=he([1,1,1],3),se=me([Object(d.overEvery)(ge(.9),ve(2)),Object(d.overEvery)(ge(.9),ve(2)),ve(1.6)]),le=he([2,1],3),ue=me([function(e){return e>=2}]);function pe(e,t,n){var r=Object(d.sum)(Object(d.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ce(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}function de(e,t){var n=Object(d.sum)(Object(d.take)(t,4));return oe(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function he(e,t){return function(n){return!Object(d.some)(Object(d.takeRight)(n,t),(function(t){return Object(d.isEqual)(t,e)}))}}function me(e){return function(t){return t.length>=e.length&&Object(d.every)(Object(d.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function fe(e){return e>=1&&e<2}function be(e){return e<1}function ge(e){return function(t){return t>=e}}function ve(e){return function(t){return t<e}}var je=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var a,i=function(){var e=a.value,t=e.contentRect,n=e.target,r=t.width;Object(G.a)(n).forEach((function(e){return Object(G.b)(e,r)}))},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)i()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),j()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,a=e.layoutStyle,i=e.renderedImages,o=function(e){return Object(d.map)(e,$)}(r),c="columns"===a?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(d.sum)(e)/t,r=[],a=e,i=0,o=function(e){var t=Object(d.takeWhile)(a,(function(t){var r=i<=(e+1)*n;return r&&(i+=t),r})).length;r.push(t),a=Object(d.drop)(a,t)},c=0;c<t-1;c++)o(c);return r.push(a.length),[r]}(o,n):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isWide,r=function e(t,r){if(!r.length)return t;var a;a=r.length>15&&K(r)&&W(t)?[2,1,2]:r.length>15&&Z(r)&&J(t)?[3,1,3]:5!==r.length&&Y(r)&&Q(t)?[1,2,1]:X(r)&&ee(t)?[1,3]:te(r)&&ne(t)?[3,1]:re(r)&&ae(t)?[1,2]:n&&(5===r.length||10!==r.length&&r.length>6)&&ie(t)&&Object(d.sum)(Object(d.take)(r,5))<5?[1,1,1,1,1]:de(t,r)?[1,1,1,1]:pe(t,r,n)?[1,1,1]:se(r)&&le(t)?[2,1]:ue(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var i=t.concat([a]),o=Object(d.sum)(a);return e(i,r.slice(o))};return r([],e)}(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(H,{key:t},e.map((function(e,t){var n=i.slice(s,s+e);return s+=e,Object(l.createElement)(U,{key:t},n)})))})))}}]),t}(l.Component),ye=n(22);function _e(e){var t=e.columns,n=e.renderedImages,r=Math.min(ye.h,t),a=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(a?[Object(d.take)(n,a)]:[]),f()(Object(d.chunk)(Object(d.drop)(n,a),r))).map((function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(U,{key:t},e)})))})))}var ke=n(46),Oe=n.n(ke),we=n(61),Ee=n.n(we),Ce=n(29);function xe(e){return["circle","square"].includes(e)}function Se(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function Ae(e){var t=Object(Ce.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(Ce.parse)(e),a=(r.auth,r.hash,r.port,r.query,r.search,Oe()(r,["auth","hash","port","query","search"]));return a.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(Ce.format)(a)}var Pe=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),j()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,a=n.images,i=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,m=n.setImageAttributes,f=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,a.length),b=i?B:L,g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(D.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],a=e.height,i=e.width,o=t.layoutStyle,c=Ae(r)||!0===Se()?Fe:Ee.a;if(xe(o)&&i&&a){var s=Math.min(ye.i,i,a);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l,u=300,p=600;if(xe(o)){var h=Math.min(p,i,a),m=Math.min(ye.i,i,a);l=Object(d.range)(h,m,u).map((function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"info"});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}else{var f=Math.min(p,i),b=Math.min(ye.i,i);l=Object(d.range)(f,b,u).map((function(e){var t=c(r,{strip:"info",width:e});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}(e,{layoutStyle:c}),v=g.src,j=g.srcSet;return Object(l.createElement)(b,{alt:e.alt,"aria-label":f,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:i?void 0:s(t),onSelect:i?void 0:p(t),origUrl:e.url,setAttributes:i?void 0:m(t),srcSet:j,url:v,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,a=e.columns,i=e.images,o=e.layoutStyle,c=xe(o)?_e:je,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:a,images:i,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Te=n(112),Ne=n.n(Te);function Me(e,t){var n=function(e,t){var n=!0,r=!1,a=void 0;try{for(var i,o=new Ne.a(t).values()[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var c=i.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(d.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,a=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw a}}return Object(d.find)(e,"isDefault")}(e,t);return n?n.name:null}var Re=n(48),De=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function ze(e){return Math.min(3,e.images.length)}var Ie=function(e){var t=Object(d.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(d.get)(e,["sizes","large","url"])||Object(d.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Le=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",(function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(A.mediaUpload)({allowedTypes:ye.a,filesList:e,onFileChange:function(e){var r=e.map((function(e){return Ie(e)}));n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})})),s()(E()(n),"onRemoveImage",(function(e){return function(){var t=Object(d.filter)(n.props.attributes.images,(function(t,n){return e!==n})),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}})),s()(E()(n),"onSelectImage",(function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}})),s()(E()(n),"onSelectImages",(function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((function(e){return Ie(e)}))})})),s()(E()(n),"setColumnsNumber",(function(e){return n.setAttributes({columns:e})})),s()(E()(n),"setImageAttributes",(function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],{},t)],f()(r.slice(e+1)))})}})),s()(E()(n),"setLinkTo",(function(e){return n.setAttributes({linkTo:e})})),s()(E()(n),"uploadFromFiles",(function(e){return n.addFiles(e.target.files)})),n}return x()(t,e),j()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,d=r.columns,m=void 0===d?ze(r):d,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(h.DropZone,{onFilesDrop:this.addFiles}),j=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(h.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ye.a,multiple:!0,gallery:!0,value:b.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(l.createElement)(Re.a,{label:Object(u.__)("Edit Gallery","jetpack"),onClick:t})}})),Object(l.createElement)(T,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,j,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:tn}),className:i,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ye.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var y=Me(ye.g,r.className);return Object(l.createElement)(l.Fragment,null,j,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(h.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(y)&&b.length>1&&Object(l.createElement)(h.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ye.h,b.length)}),Object(l.createElement)(h.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:De}))),c,Object(l.createElement)(Pe,{align:p,className:i,columns:m,imageFilter:f,images:b,layoutStyle:y,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:a?t:null,setImageAttributes:this.setImageAttributes},v,a&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(h.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),Be=Object(h.withNotices)(Le);var qe=n(24);n(238);function Ue(e){var t,n=e["aria-label"],r=e.alt,a=e.height,i=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(D.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":a,"data-id":i,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},d):d)}function Ve(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function He(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Ge(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:M()("tiled-gallery__row",n)},t)}var $e=n(18),We=n.n($e),Ke=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function Ze(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function Je(e,t){!function(e,t,n){var r=We()(t,2),a=r[0],i=r[1],o=1/a*(n-4*(e.childElementCount-1)-i);!function(e,t){var n=t.rawHeight,r=t.rowWidth,a=Qe(e),i=a.map((function(e){return(n-4*(e.childElementCount-1))*et(e)[0]})),o=Ze(i,r);a.forEach((function(e,t){var r=i[t],a=o[t];!function(e,t){var n=t.colHeight,r=t.width,a=t.rawWidth,i=Ze(Xe(e).map((function(e){return a/tt(e)})),n);Array.from(e.children).forEach((function(e,t){var n=i[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-4*(e.childElementCount-1),width:a,rawWidth:r})}))}(e,{rawHeight:o,rowWidth:n-4*(e.childElementCount-1)})}(e,function(e){return Qe(e).map(et).reduce((function(e,t){var n=We()(e,2),r=n[0],a=n[1],i=We()(t,2);return[r+i[0],a+i[1]]}),[0,0])}(e),t)}function Ye(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function Qe(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function Xe(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function et(e){var t=Xe(e),n=t.length,r=1/t.map(tt).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function tt(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function nt(e){var t=e.height,n=e.width;return t&&n?n/t:1}var rt=Ot([2,1,2],5),at=wt([Et,Et,Ct,Et,Et]),it=wt([Et,Et,Et,Ct,Et,Et,Et]),ot=Ot([3,1,3],5),ct=wt([Ct,Et,Et,Ct]),st=Ot([1,2,1],5),lt=wt([Ct,Et,Et,Et]),ut=Ot([1,3],3),pt=wt([Et,Et,Et,Ct]),dt=Ot([3,1],3),ht=wt([St(1.6),Object(d.overEvery)(xt(.9),St(2)),Object(d.overEvery)(xt(.9),St(2))]),mt=Ot([1,2],3),ft=Ot([1,1,1,1,1],1),bt=Ot([1,1,1,1],1),gt=Ot([1,1,1],3),vt=wt([Object(d.overEvery)(xt(.9),St(2)),Object(d.overEvery)(xt(.9),St(2)),St(1.6)]),jt=Ot([2,1],3),yt=wt([function(e){return e>=2}]);function _t(e,t,n){var r=Object(d.sum)(Object(d.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&>(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}function kt(e,t){var n=Object(d.sum)(Object(d.take)(t,4));return bt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function Ot(e,t){return function(n){return!Object(d.some)(Object(d.takeRight)(n,t),(function(t){return Object(d.isEqual)(t,e)}))}}function wt(e){return function(t){return t.length>=e.length&&Object(d.every)(Object(d.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function Et(e){return e>=1&&e<2}function Ct(e){return e<1}function xt(e){return function(t){return t>=e}}function St(e){return function(t){return t<e}}var At=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var a,i=function(){var e=a.value,t=e.contentRect,n=e.target,r=t.width;Ye(n).forEach((function(e){return Je(e,r)}))},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)i()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),j()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,a=e.layoutStyle,i=e.renderedImages,o=function(e){return Object(d.map)(e,nt)}(r),c="columns"===a?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(d.sum)(e)/t,r=[],a=e,i=0,o=function(e){var t=Object(d.takeWhile)(a,(function(t){var r=i<=(e+1)*n;return r&&(i+=t),r})).length;r.push(t),a=Object(d.drop)(a,t)},c=0;c<t-1;c++)o(c);return r.push(a.length),[r]}(o,n):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isWide,r=function e(t,r){if(!r.length)return t;var a;a=r.length>15&&at(r)&&rt(t)?[2,1,2]:r.length>15&&it(r)&&ot(t)?[3,1,3]:5!==r.length&&ct(r)&&st(t)?[1,2,1]:lt(r)&&ut(t)?[1,3]:pt(r)&&dt(t)?[3,1]:ht(r)&&mt(t)?[1,2]:n&&(5===r.length||10!==r.length&&r.length>6)&&ft(t)&&Object(d.sum)(Object(d.take)(r,5))<5?[1,1,1,1,1]:kt(t,r)?[1,1,1,1]:_t(t,r,n)?[1,1,1]:vt(r)&&jt(t)?[2,1]:yt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var i=t.concat([a]),o=Object(d.sum)(a);return e(i,r.slice(o))};return r([],e)}(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(He,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(Ge,{key:t},e.map((function(e,t){var n=i.slice(s,s+e);return s+=e,Object(l.createElement)(Ve,{key:t},n)})))})))}}]),t}(l.Component);function Ft(e){var t=e.columns,n=e.renderedImages,r=Math.min(20,t),a=n.length%r;return Object(l.createElement)(He,null,[].concat(f()(a?[Object(d.take)(n,a)]:[]),f()(Object(d.chunk)(Object(d.drop)(n,a),r))).map((function(e,t){return Object(l.createElement)(Ge,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(Ve,{key:t},e)})))})))}var Pt=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),j()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(D.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var a=r.split("?",1)[0],i=function(e){var t=Object(Ce.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?Nt:Ee.a;if(Tt(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return i(a,{resize:"".concat(o,",").concat(o)})}return i(a)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,a=n.linkTo,i=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Ue,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,a=e.columns,i=e.images,o=e.layoutStyle,c=Tt(o)?Ft:At,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:a,images:i,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function Tt(e){return["circle","square"].includes(e)}function Nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(Ce.parse)(e),a=(r.auth,r.hash,r.port,r.query,r.search,Oe()(r,["auth","hash","port","query","search"]));return a.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(Ce.format)(a)}function Mt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,a=t.className,i=t.columns,o=void 0===i?function(e){return Math.min(3,e.images.length)}(t):i,c=t.linkTo;return Object(l.createElement)(Pt,{align:r,className:a,columns:o,images:n,layoutStyle:Me(Ke,a),linkTo:c})}var Rt,Dt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},zt={align:["center","wide","full"],customClassName:!1,html:!1},It=n(113),Lt=n.n(It),Bt=n(114),qt=n.n(Bt),Ut=n(115),Vt=n.n(Ut),Ht=n(116),Gt=n.n(Ht),$t=n(117),Wt=n.n($t),Kt=n(118),Zt=n.n(Kt),Jt=(Rt={},s()(Rt,ye.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Rt,ye.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Rt,ye.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Rt,ye.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Rt),Yt=ye.g.map((function(e){return o()({},e,{label:Jt[e.name]})}));function Qt(e){return Object(d.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var Xt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ye.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},en={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:Lt.a,width:160,height:95},{alt:"",link:"",url:qt.a,width:160,height:107},{alt:"",link:"",url:Vt.a,width:304,height:203},{alt:"",link:"",url:Gt.a,width:312,height:207},{alt:"",link:"",url:Wt.a,width:152,height:101},{alt:"",link:"",url:Zt.a,width:152,height:105}],linkTo:"none"},tn=Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(h.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),nn={attributes:Xt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack")+(Object(qe.b)()?"":" "+Object(u.__)("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:tn,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Yt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Qt(e).length>0},transform:function(e){var t=Qt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Qt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,a=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map((function(e){var n=e.id,r=e.url,a=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):Object(p.createBlock)("core/image")}}]},edit:Be,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var a=t.align,i=t.className,o=t.columns,c=void 0===o?ze(t):o,s=t.linkTo;return Object(l.createElement)(Pe,{align:a,className:i,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Me(ye.g,i),linkTo:s})},deprecated:[r],example:{attributes:en}};Object(a.a)("tiled-gallery",nn)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",(function(){return p})),n.d(r,"refreshConnectionTestResults",(function(){return d})),n.d(r,"fetchFromAPI",(function(){return h}));var a={};n.r(a),n.d(a,"getFailedConnections",(function(){return m})),n.d(a,"getMustReauthConnections",(function(){return f}));var i=n(0),o=n(1),c=n(2),s=n(52),l=n(28),u=(n(216),n(13));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function d(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function h(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter((function(e){return!1===e.test_success}))}function f(e){return e.filter((function(e){return"must_reauth"===e.test_success})).map((function(e){return e.service_name}))}var b=n(21),g=n.n(b),v=n(101),j=n.n(v),y=n(5),_=n(23),k=n.n(_);var O={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){var n,r;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.dispatch,e.prev=1,e.next=4,regeneratorRuntime.awrap(k()({path:"/wpcom/v2/publicize/connection-test-results"}));case 4:return r=e.sent,e.abrupt("return",n(p(r)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),null,null,[[1,8]])}};var w,E,C,x,S,A={FETCH_FROM_API:function(e){var t=e.path;return k()({path:t})}},F=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:A,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:a});w=F,C=[j()(O)],x=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},S={getState:w.getState,dispatch:function(){return x.apply(void 0,arguments)}},E=C.map((function(e){return e(S)})),x=y.flowRight.apply(void 0,g()(E))(w.dispatch),w.dispatch=x;var P=n(44),T=n(14),N=n(7),M=n.n(N),R=n(11),D=n.n(R),z=n(8),I=n.n(z),L=n(9),B=n.n(L),q=n(4),U=n.n(q),V=n(10),H=n.n(V),G=n(3),$=n.n(G),W=function(e){function t(){var e,n;M()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"refreshConnectionClick",(function(e){var t=e.target,r=t.href,a=t.title;e.preventDefault();var i=window.open(r,a,""),o=window.setInterval((function(){!1!==i.closed&&(window.clearInterval(o),n.props.refreshConnections())}),500)})),n}return H()(t,e),D()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter((function(e){return e.can_refresh}));return t.length?Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((function(t){return Object(i.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)}))):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter((function(e){return!e.can_refresh}));return e.length?e.map((function(e){return Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,e.test_message))})):null}},{key:"render",value:function(){return Object(i.createElement)(i.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(i.Component),K=Object(T.compose)([Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}}))])(W),Z=n(15),J=n.n(Z),Y=n(12),Q=n.n(Y),X=n(30),ee=n.n(X),te=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ne=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),re=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ae=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),ie=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(i.createElement)(c.Icon,ee()({icon:te},n));case"twitter":return Object(i.createElement)(c.Icon,ee()({icon:ne},n));case"linkedin":return Object(i.createElement)(c.Icon,ee()({icon:re},n));case"tumblr":return Object(i.createElement)(c.Icon,ee()({icon:ae},n))}return null},oe=n(35),ce=function(e){function t(){var e,n;M()(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"maybeDisplayLinkedInNotice",(function(){return n.connectionNeedsReauth()&&Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(i.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(Object(oe.a)())},Object(o.__)("Go to Sharing settings","jetpack")))})),$()(U()(n),"connectionNeedsReauth",(function(){return Object(y.includes)(n.props.mustReauthConnections,n.props.name)})),$()(U()(n),"onConnectionChange",(function(){var e=n.props.id;n.props.toggleConnection(e)})),n}return H()(t,e),D()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some((function(e){return e.service_name===n}))}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,a=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(i.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(i.createElement)(c.Disabled,null,u)),Object(i.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(i.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(i.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(i.createElement)(ie,{serviceName:l}),Object(i.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},a)),u))}}]),t}(i.Component),se=Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}}))(ce),le=function(e){function t(){var e,n;M()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"settingsClick",(function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var a=window.open(t,"",""),i=window.setInterval((function(){!1!==a.closed&&(window.clearInterval(i),r())}),500)})),n}return H()(t,e),D()(t,[{key:"getButtonLink",value:function(){var e=Object(oe.a)();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=Q()("jetpack-publicize-add-connection-container",this.props.className);return Object(i.createElement)("div",{className:e},Object(i.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(i.Component),ue=function(e){function t(){var e,n;M()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"state",{hasEditedShareMessage:!1}),$()(U()(n),"fieldId",Object(y.uniqueId)("jetpack-publicize-message-field-")),$()(U()(n),"onMessageChange",(function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)})),n}return H()(t,e),D()(t,[{key:"isDisabled",value:function(){return this.props.connections.every((function(e){return!e.toggleable}))}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,a=this.getShareMessage(),c=256-a.length,s=Q()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(i.createElement)("div",{id:"publicize-form"},Object(i.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map((function(e){var t=e.display_name,r=e.enabled,a=e.id,o=e.service_name,c=e.toggleable;return Object(i.createElement)(se,{disabled:!c,enabled:r,key:a,id:a,label:t,name:o,toggleConnection:n})}))),Object(i.createElement)(le,{refreshCallback:r}),t.some((function(e){return e.enabled}))&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(i.createElement)("div",{className:"jetpack-publicize-message-box"},Object(i.createElement)("textarea",{id:this.fieldId,value:a,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(i.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(i.Component),pe=Object(T.compose)([Object(u.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(y.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}})),Object(u.withDispatch)((function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map((function(e){return J()({},e,{enabled:e.id===t?!e.enabled:e.enabled})}));e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}}))])(ue),de=Object(T.compose)([Object(u.withSelect)((function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("core/editor").refreshPost}}))])((function(e){var t=e.connections,n=e.refreshConnections;return Object(i.createElement)(i.Fragment,null,t&&t.some((function(e){return e.enabled}))&&Object(i.createElement)(K,null),Object(i.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(i.createElement)(pe,{refreshCallback:n}),t&&0===t.length&&Object(i.createElement)(le,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))})),he={render:function(){return Object(i.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(i.createElement)(P.a,null,Object(i.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(i.createElement)(de,null))),Object(i.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(i.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(i.createElement)(de,null)))}},me=n(37);Object(me.a)("publicize",he)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],d=function(e){var t=e.isSelected;return Object(a.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(a.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},h=n(20),m=(n(152),n(129),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),j=n.n(v),y=n(9),_=n.n(y),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(a.createElement)(a.Fragment,null,n&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),i&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},i),o&&!(c||s)&&Object(a.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(a.createElement)("div",null,[Object(a.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(a.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(a.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(a.createElement)("div",null,[Object(a.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(a.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(a.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,i=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=a?"".concat(a,","):"",d=i?"+".concat(i,","):"",h=o?"+".concat(o,","):"";h=c?"".concat(h,"+").concat(c):h;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(d).concat(h).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some((function(e){return""!==e}))&&Object(a.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(a.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(i.__)("Open address in Google Maps","jetpack")},Object(a.createElement)(C,e)),!e.attributes.linkToGoogleMaps&&Object(a.createElement)(C,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=j()(this,(e=_()(t)).call.apply(e,[this].concat(a)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return E()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,d=t.postal,h=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,d,h].some((function(e){return""!==e})),v=l()({"jetpack-address-block":!0,"is-selected":f}),j=Object(a.createElement)(c.ToggleControl,{label:Object(i.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(a.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(o.PlainText,{value:n,placeholder:Object(i.__)("Street Address","jetpack"),"aria-label":Object(i.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:r,placeholder:Object(i.__)("Address Line 2","jetpack"),"aria-label":Object(i.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:s,placeholder:Object(i.__)("Address Line 3","jetpack"),"aria-label":Object(i.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:u,placeholder:Object(i.__)("City","jetpack"),"aria-label":Object(i.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:p,placeholder:Object(i.__)("State/Province/Region","jetpack"),"aria-label":Object(i.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:d,placeholder:Object(i.__)("Postal/Zip Code","jetpack"),"aria-label":Object(i.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:h,placeholder:Object(i.__)("Country","jetpack"),"aria-label":Object(i.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),j))}}]),t}(a.Component),F={title:Object(i.__)("Address","jetpack"),description:Object(i.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(i._x)("location","block search term","jetpack"),Object(i._x)("direction","block search term","jetpack"),Object(i._x)("place","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(a.Fragment,null,Object(a.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(a.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(43),T=n.n(P),N=function(e){var t=e.attributes.email,n=e.className;return t&&Object(a.createElement)("div",{className:n},t.split(/(\s+)/).map((function(e,t){var n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&T.a.validate(n)?e===n?Object(a.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(a.createElement)(a.Fragment,{key:t},Object(a.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(a.createElement)(a.Fragment,null,e.slice(-(e.length-n.length)))):Object(a.createElement)(a.Fragment,{key:t},e)})))},M=function(e,t,n,r,i){var c=t.isSelected,s=t.attributes[e];return Object(a.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(a.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:i}))},R=function(e){var t=e.setAttributes;return M("email",e,Object(i.__)("Email","jetpack"),N,(function(e){return t({email:e})}))},D={title:Object(i.__)("Email Address","jetpack"),description:Object(i.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(i._x)("message","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:R,save:N,parent:["jetpack/contact-info"]};var z=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(a.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,i=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9/+/(]/.test(r[0])?(i=i.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[i.trim()?Object(a.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},i):null,Object(a.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},I=function(e){var t=e.setAttributes;return M("phone",e,Object(i.__)("Phone number","jetpack"),z,(function(e){return t({phone:e})}))},L={title:Object(i.__)("Phone Number","jetpack"),description:Object(i.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(i._x)("mobile","block search term","jetpack"),Object(i._x)("telephone","block search term","jetpack"),Object(i._x)("cell","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:I,save:z},B={title:Object(i.__)("Contact Info","jetpack"),description:Object(i.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(i._x)("email","block search term","jetpack"),Object(i._x)("phone","block search term","jetpack"),Object(i._x)("address","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:d,save:function(e){var t=e.className;return Object(a.createElement)("div",{className:t},Object(a.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},q=[{name:"address",settings:F},{name:"email",settings:D},{name:"phone",settings:L}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(27),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(4),m=n.n(h),f=n(10),b=n.n(f),g=n(3),v=n.n(g),j=n(0),y=n(23),_=n.n(y),k=n(1),O=n(2),w=n(6),E=(n(157),n(21)),C=n.n(E),x=n(12),S=n.n(x),A=n(5),F=n(26),P=n(14);function T(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var a=e[r],i=a.keywords,o=void 0===i?[]:i;if("string"==typeof a.label&&(o=[].concat(C()(o),[a.label])),n.push(a),n.length===t)break}return n}var N=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"select",(function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()})),v()(m()(e),"reset",(function(){e.setState(e.constructor.getInitialState())})),v()(m()(e),"onChange",(function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var a=n?T(r):[];n&&e.setState({selectedIndex:0,filteredOptions:a,query:t})}else e.reset()})),v()(m()(e),"onKeyDown",(function(t){var n=e.state,r=n.isOpen,a=n.selectedIndex,i=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===a?i.length:a)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(a+1)%i.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(i[a]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}})),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,a=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(a===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}})),o=T(i),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",i),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}}))}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,a=r.children,i=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,d=o.className,h=l.length>0,m=h?"components-autocomplete-listbox-".concat(i):null,f=h?"components-autocomplete-item-".concat(i,"-").concat(p):null;return Object(j.createElement)("div",{className:"components-autocomplete"},a({isExpanded:h,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),h&&Object(j.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(j.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,(function(t,n){return Object(j.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(i,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",d,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(j.Component),M=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(N),R=Object(k.__)("Add a marker…","jetpack"),D=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",(function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text})),v()(m()(e),"search",(function(t){var n=e.props,r=n.apiKey,a=n.onError,i="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET",i),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var i=JSON.parse(n.responseText);a(i.statusText,i.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()}))})),v()(m()(e),"onReset",(function(){e.textRef.current.value=null})),e.textRef=Object(j.createRef)(),e.containerRef=Object(j.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(j.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.containerRef.current.querySelector("input").focus()}),50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(j.createElement)("div",{ref:this.containerRef},Object(j.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(j.createElement)(M,{completer:this.autocompleter,onReset:this.onReset},(function(t){var n=t.isExpanded,r=t.listBoxId,a=t.activeId,i=t.onChange,o=t.onKeyDown;return Object(j.createElement)(O.TextControl,{placeholder:R,ref:e.textRef,onChange:i,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":a,onKeyDown:o})}))))}}]),t}(j.Component);D.defaultProps={onError:function(){}};var z=D,I=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,a=e.apiKey;return Object(j.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(j.createElement)(O.Popover,{className:"component__add-point__popover"},Object(j.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(j.createElement)(O.Dashicon,{icon:"no"})),Object(j.createElement)(z,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:a,onError:r})))}}]),t}(j.Component);I.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var L=I,B=(n(158),function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",(function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,a=r.points,i=r.onChange,o=a.slice(0);o.splice(n,1),i(o)})),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,a=r.points,i=r.onChange,o=a.slice(0);o[n][e]=t,i(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map((function(t,n){return Object(j.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(j.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(j.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(j.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(j.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))}));return Object(j.createElement)("div",{className:"component__locations"},Object(j.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(j.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,U=n(76),V=(n(159),function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,a=e.label,i=t.map((function(e,t){var a=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(j.createElement)(O.Button,{className:a,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)}));return Object(j.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(j.createElement)("label",{className:"components-base-control__label"},a),Object(j.createElement)(O.ButtonGroup,null,i))}}]),t}(j.Component));V.defaultProps={label:"",options:[],value:null,onChange:function(){}};var H=V,G=n(99),$=n.n(G),W=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"addPoint",(function(t){var n=e.props,r=n.attributes,a=n.setAttributes,i=r.points,o=i.slice(0),c=!1;i.map((function(e){e.id===t.id&&(c=!0)})),c||(o.push(t),a({points:o}),e.setState({addPointVisibility:!1}))})),v()(m()(e),"updateAlignment",(function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)})),v()(m()(e),"updateAPIKeyControl",(function(t){e.setState({apiKeyControl:t.target.value})})),v()(m()(e),"updateAPIKey",(function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")})),v()(m()(e),"removeAPIKey",(function(){e.apiCall(null,"DELETE")})),v()(m()(e),"onError",(function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)})),e.state={addPointVisibility:!1,apiState:0},e.mapRef=Object(j.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,a="/wpcom/v2/service-api-keys/mapbox",i=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},(function(){_()(i).then((function(t){var n=t.service_api_key,a=t.service_api_key_source;r.removeAllNotices();var i=n?2:1,o="wpcom"===a?"":n;e.setState({apiState:i,apiKey:n,apiKeyControl:o,apiKeySource:a,apiRequestOutstanding:!1})}),(function(t){var n=t.message;e.onError(null,n),e.setState({apiState:1,apiRequestOutstanding:!1})}))}))}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,i=t.attributes,o=t.noticeUI,c=t.notices,s=t.isSelected,l=i.mapStyle,u=i.mapDetails,p=i.points,d=i.zoom,h=i.mapCenter,m=i.markerColor,f=i.align,b=i.preview,g=this.state,v=g.addPointVisibility,y=g.apiKey,_=g.apiKeyControl,E=g.apiKeySource,C=g.apiState,x=g.apiRequestOutstanding,S=Object(j.createElement)(j.Fragment,null,Object(j.createElement)(w.BlockControls,null,Object(j.createElement)(w.BlockAlignmentToolbar,{value:f,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(j.createElement)(O.Toolbar,null,Object(j.createElement)(O.IconButton,{icon:a.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(j.createElement)(w.InspectorControls,null,Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(j.createElement)(H,{value:l,onChange:function(e){return r({mapStyle:e})},options:a.a.mapStyleOptions}),Object(j.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:u,onChange:function(e){return r({mapDetails:e})}})),Object(j.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),p.length?Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(j.createElement)(q,{points:p,onChange:function(e){r({points:e})}})):null,"wpcom"!==E&&Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(j.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:_,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(j.createElement)(O.ButtonGroup,null,Object(j.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(j.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),A=Object(j.createElement)(O.Placeholder,{icon:a.a.icon},Object(j.createElement)(O.Spinner,null)),F=Object(j.createElement)(j.Fragment,null,Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(j.createElement)("br",null),Object(j.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(j.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),P=Object(j.createElement)(O.Placeholder,{icon:a.a.icon,label:Object(k.__)("Map","jetpack"),notices:c,instructions:F},Object(j.createElement)(j.Fragment,null,Object(j.createElement)("form",null,Object(j.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:x,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:_,onChange:this.updateAPIKeyControl}),Object(j.createElement)(O.Button,{isLarge:!0,isSecondary:!0,disabled:x||!_||_.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack"))))),T=Object(j.createElement)(j.Fragment,null,S,Object(j.createElement)("div",{className:n},Object(j.createElement)(U.a,{ref:this.mapRef,mapStyle:l,mapDetails:u,points:p,zoom:d,mapCenter:h,markerColor:m,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:y,onSetPoints:function(e){return r({points:e})},onSetMapCenter:function(e){return r({mapCenter:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},s&&v&&Object(j.createElement)(L,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:y,onError:this.onError,tagName:"AddPoint"})))),N=Object(j.createElement)("div",null,Object(j.createElement)("img",{alt:Object(k.__)("Map Preview","jetpack"),src:$.a}));return Object(j.createElement)(j.Fragment,null,o,b&&N,!b&&0===C&&A,!b&&1===C&&P,!b&&2===C&&T)}}]),t}(j.Component),K=Object(O.withNotices)(W),Z=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,a=e.points,i=e.zoom,o=e.mapCenter,c=e.markerColor,s=a.map((function(e,t){var n=e.coordinates,r=n.longitude,a="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(j.createElement)("li",{key:t},Object(j.createElement)("a",{href:a},e.title))})),l=t?"align".concat(t):null;return Object(j.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(a),"data-zoom":i,"data-map-center":JSON.stringify(o),"data-marker-color":c},a.length>0&&Object(j.createElement)("ul",null,s))}}]),t}(j.Component),J=(n(132),n(160),a.a.name),Y={title:a.a.title,icon:a.a.icon,category:a.a.category,keywords:a.a.keywords,description:a.a.description,attributes:a.a.attributes,supports:a.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==a.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z,example:a.a.example};Object(r.a)(J,Y)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(15),i=n.n(a),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(149),n(7)),d=n.n(p),h=n(11),m=n.n(h),f=n(8),b=n.n(f),g=n(9),v=n.n(g),j=n(4),y=n.n(j),_=n(10),k=n.n(_),O=n(12),w=n.n(O),E=n(43),C=n.n(E),x=n(14),S=n(41),A=n(20),F=n(32),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],T=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeSubject=n.onChangeSubject.bind(y()(n)),n.onBlurTo=n.onBlurTo.bind(y()(n)),n.onChangeTo=n.onChangeTo.bind(y()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(y()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(y()(n)),n.getToValidationError=n.getToValidationError.bind(y()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(y()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(y()(n)),n.hasEmailError=n.hasEmailError.bind(y()(n));var o=a[0].attributes.to?a[0].attributes.to:"",c=o.split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:c&&c.length?c:null},n}return k()(t,e),m()(t,[{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!C.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map((function(e){return e.email}));return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,a=r.subject,i=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:i,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(S.a,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(S.a,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:a,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"renderConfirmationMessageFields",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes,r=n.customThankyou,a=n.customThankyouMessage,i=n.customThankyouRedirect;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.SelectControl,{label:Object(c.__)("On Submission","jetpack"),value:r,options:[{label:Object(c.__)("Show a summary of submitted fields","jetpack"),value:""},{label:Object(c.__)("Show a custom text message","jetpack"),value:"message"},{label:Object(c.__)("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:function(t){return e.props.setAttributes({customThankyou:t})}}),"message"===r&&Object(o.createElement)(l.TextareaControl,{label:Object(c.__)("Message Text","jetpack"),value:a,placeholder:Object(c.__)("Thank you for your submission!","jetpack"),onChange:function(t){return e.props.setAttributes({customThankyouMessage:t})}}),"redirect"===r&&Object(o.createElement)(l.BaseControl,{label:Object(c.__)("Redirect Address","jetpack"),id:"contact-form-".concat(t,"-thankyou-url")},Object(o.createElement)(u.URLInput,{id:"contact-form-".concat(t,"-thankyou-url"),value:i,className:"jetpack-contact-form__thankyou-redirect-url",onChange:function(t){return e.props.setAttributes({customThankyouRedirect:t})}})))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email Feedback Settings","jetpack")},this.renderToAndSubjectFields()),Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Confirmation Message","jetpack")},this.renderConfirmationMessageFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),instructions:Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},this.renderToAndSubjectFields(),Object(o.createElement)("div",{class:"components-placeholder__instructions"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isDefault:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(F.a,this.props)))}}]),t}(o.Component),N=Object(x.compose)([x.withInstanceId])(T),M=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,a=e.isSelected,i=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),a&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:i,onChange:function(e){return t({required:e})}}),!a&&i&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var R=function(e){var t=e.isSelected,n=e.type,r=e.required,a=e.label,i=e.setAttributes,s=e.defaultValue,p=e.placeholder,d=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(M,{required:r,label:a,setAttributes:i,isSelected:t}),placeholder:p,value:p,onChange:function(e){return i({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:d,onChange:function(e){return i({id:e})}}))))};var D=function(e){var t=e.required,n=e.label,r=e.setAttributes,a=e.isSelected,i=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(M,{required:t,label:n,setAttributes:r,isSelected:a}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:i,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},z=Object(x.withInstanceId)((function(e){var t=e.instanceId,n=e.required,r=e.label,a=e.setAttributes,i=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(M,{required:n,label:r,setAttributes:a,isSelected:i}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return a({id:e})}}))))})})),I=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.onKeyPress=n.onKeyPress.bind(y()(n)),n.onDeleteOption=n.onDeleteOption.bind(y()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),L=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.addNewOption=n.addNewOption.bind(y()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,a=t.required,i=t.label,s=t.setAttributes,p=t.isSelected,d=t.id,h=this.props.options,m=this.state.inFocus;return h.length||(h=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(M,{required:a,label:i,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},h.map((function(t,r){return Object(o.createElement)(I,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})}))),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:d,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),B=Object(x.withInstanceId)(L),q={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact form","block search term","jetpack")],category:"jetpack",supports:{html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},customThankyou:{type:"string",default:""},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:N,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},example:{attributes:{hasFormSettingsSet:!0,submitButtonText:Object(c.__)("Submit","jetpack")},innerBlocks:[{name:"jetpack/field-name",attributes:{label:Object(c.__)("Name","jetpack"),required:!0}},{name:"jetpack/field-email",attributes:{label:Object(c.__)("Email","jetpack"),required:!0}},{name:"jetpack/field-url",attributes:{label:Object(c.__)("Website","jetpack")}},{name:"jetpack/field-textarea",attributes:{label:Object(c.__)("Message","jetpack")}}]},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!!(e.has_form_settings_set||e.submit_button_text&&"Submit"!==e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},U={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},V=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},H=function(e){return function(t){return Object(o.createElement)(R,{type:e,label:V(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},G=function(e){return function(t){return Object(o.createElement)(B,{label:V(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},$=[{name:"field-text",settings:i()({},U,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:H("text")})},{name:"field-name",settings:i()({},U,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:H("text")})},{name:"field-email",settings:i()({},U,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:H("email")})},{name:"field-url",settings:i()({},U,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:H("url")})},{name:"field-date",settings:i()({},U,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:H("text")})},{name:"field-telephone",settings:i()({},U,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:H("tel")})},{name:"field-textarea",settings:i()({},U,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(D,{label:V(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:i()({},U,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:i()({},U.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:i()({},U,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:G("checkbox"),attributes:i()({},U.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:i()({},U,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:G("radio"),attributes:i()({},U.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:i()({},U,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:G("select"),attributes:i()({},U.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",q,$)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],s=n(24),l=n(7),u=n.n(l),p=n(11),d=n.n(p),h=n(8),m=n.n(h),f=n(9),b=n.n(f),g=n(4),v=n.n(g),j=n(10),y=n.n(j),_=n(3),k=n.n(_),O=n(12),w=n.n(O),E=n(43),C=n.n(E),x=n(14),S=n(13),A=n(5),F=n(45),P=n(41),T=(n(230),n(106)),N=n.n(T),M=n(107),R=n.n(M),D=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,d=void 0===p?null:p,h=e.featuredMediaTitle,m=void 0===h?null:h;return Object(a.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(a.createElement)("div",{className:"jetpack-simple-payments-product"},d&&Object(a.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(a.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(a.createElement)("img",{src:d,alt:m}))),Object(a.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(a.createElement)("div",{className:"jetpack-simple-payments-title"},Object(a.createElement)("p",null,n)),o&&Object(a.createElement)("div",{className:"jetpack-simple-payments-description"},Object(a.createElement)("p",null,o)),s&&Object(a.createElement)("div",{className:"jetpack-simple-payments-price"},Object(a.createElement)("p",null,s)),Object(a.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(a.createElement)("div",{className:"jetpack-simple-payments-items"},Object(a.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(a.createElement)("div",{className:"jetpack-simple-payments-button"},Object(a.createElement)("img",{alt:Object(i.__)("Pay with PayPal","jetpack"),src:N.a,srcSet:"".concat(R.a," 2x")}))))))},z=n(6),I=n(48),L=function(e){return function(t){return e({featuredMediaId:Object(A.get)(t,"id",0),featuredMediaUrl:Object(A.get)(t,"url",null),featuredMediaTitle:Object(A.get)(t,"title",null)})}},B=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(a.createElement)("div",null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(z.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(z.MediaUpload,{onSelect:L(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(a.createElement)(I.a,{label:Object(i.__)("Edit Image","jetpack"),onClick:t})}}),Object(a.createElement)(o.ToolbarButton,{icon:"trash",title:Object(i.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(a.createElement)("figure",null,Object(a.createElement)("img",{src:n,alt:r})))):Object(a.createElement)(z.MediaPlaceholder,{icon:"format-image",labels:{title:Object(i.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:L(c)})},q=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},U=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(F.a)(t),a=r.precision,i=r.symbol,o=e.toFixed(a);return n?"".concat(o," ").concat(Object(A.trimEnd)(i,".")):o},V=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(a))),k()(v()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),k()(v()(n),"validateAttributes",(function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),a=n.validateCurrency();return e&&t&&r&&a})),k()(v()(n),"validateCurrency",(function(){var e=n.props.attributes.currency;return c.includes(e)})),k()(v()(n),"validatePrice",(function(){var e=n.props.attributes,t=e.currency,r=e.price,a=Object(F.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(i.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(i.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):q(r)>a?0===a?(n.setState({fieldPriceError:Object(i.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(i.sprintf)(Object(i._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",a,"jetpack"),a)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(i.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),k()(v()(n),"validateEmail",(function(){var e=n.props.attributes.email;return e?C.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(i.sprintf)(Object(i.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(i.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),k()(v()(n),"validateTitle",(function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(i.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),k()(v()(n),"handleEmailChange",(function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})})),k()(v()(n),"handleFeaturedMediaSelect",(function(e){n.props.setAttributes({featuredMediaId:Object(A.get)(e,"id",0)})})),k()(v()(n),"handleContentChange",(function(e){n.props.setAttributes({content:e})})),k()(v()(n),"handlePriceChange",(function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})})),k()(v()(n),"handleCurrencyChange",(function(e){n.props.setAttributes({currency:e})})),k()(v()(n),"handleMultipleChange",(function(e){n.props.setAttributes({multiple:!!e})})),k()(v()(n),"handleTitleChange",(function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})})),k()(v()(n),"getCurrencyList",c.map((function(e){var t=Object(F.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}}))),n}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(A.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,a=n.content,i=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(A.get)(e,["content","raw"],a),currency:Object(A.get)(e,["meta","spay_currency"],i),email:Object(A.get)(e,["meta","spay_email"],o),featuredMediaId:Object(A.get)(e,["featured_media"],c),multiple:Boolean(Object(A.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(e,["meta","spay_price"],l||void 0),title:Object(A.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,a=e.featuredMediaId,i=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:i,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,a=n.email,o=Object(S.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},(function(){o("postType","jp_pay_product",e.toApi()).then((function(e){return e&&r({productId:e.id}),e})).catch((function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(i.sprintf)(Object(i.__)("%s is not a valid email address.","jetpack"),a):null,fieldPriceError:"spay_price"===n?Object(i.__)("Invalid price.","jetpack"):null})}})).finally((function(){e.setState({isSavingProduct:!1})}))}))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,d=c.setAttributes,h=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,j=s.featuredMediaTitle,y=s.multiple,_=s.price,k=s.productId,O=s.title,E=v||l&&l.source_url,C=j||l&&l.alt_text,x=k&&Object(A.isEmpty)(h);if(!p&&x)return Object(a.createElement)("div",{className:"simple-payments__loading"},Object(a.createElement)(D,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&_&&O&&!t&&!n&&!r)return Object(a.createElement)(D,{"aria-busy":"false",content:m,featuredMediaUrl:E,featuredMediaTitle:C,formattedPrice:U(_,f),multiple:y,title:O});var S=x?o.Disabled:"div";return Object(a.createElement)(S,{className:"wp-block-jetpack-simple-payments"},Object(a.createElement)(B,{featuredMediaId:g,featuredMediaUrl:E,featuredMediaTitle:C,setAttributes:d}),Object(a.createElement)("div",null,Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:w()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(i.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(i.__)("Item name","jetpack"),required:!0,type:"text",value:O}),Object(a.createElement)(P.a,{id:"".concat(u,"-title-error"),isError:!0},r),Object(a.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(i.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(i.__)("Describe your item in a few words","jetpack"),value:m}),Object(a.createElement)("div",{className:"simple-payments__price-container"},Object(a.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(i.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:w()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(i.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:U(0,f,!1),required:!0,step:"1",type:"number",value:_||""}),Object(a.createElement)(P.a,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(a.createElement)("div",{className:"simple-payments__field-multiple"},Object(a.createElement)(o.ToggleControl,{checked:Boolean(y),label:Object(i.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:w()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(i.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(i.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(a.createElement)(P.a,{id:"".concat(u,"-email-error"),isError:!0},t),Object(a.createElement)(P.a,{id:"".concat(u,"-email-help")},Object(i.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(a.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(i.__)("Create one on PayPal","jetpack")))))}}]),t}(a.Component),H=Object(S.withSelect)((function(e,t){var n=e("core"),r=n.getEntityRecord,a=n.getMedia,i=e("core/editor"),o=i.isSavingPost,c=i.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(A.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(A.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?a(u):null}})),G=Object(x.compose)(H,x.withInstanceId)(V);var $=n(108),W=n.n($),K=(n(231),Object(s.b)()||Object(s.a)()?"https://support.wordpress.com/simple-payments/":"https://jetpack.com/support/jetpack-blocks/simple-payments-block/"),Z={title:Object(i.__)("Simple Payments button","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),Object(a.createElement)("p",null,Object(i.__)("Good for collecting donations or payments for products and services.","jetpack")),Object(a.createElement)(o.ExternalLink,{href:K},Object(i.__)("Support reference","jetpack"))),icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(i._x)("shop","block search term","jetpack"),Object(i._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:G,save:function(e){var t=e.attributes.productId;return t?Object(a.createElement)(a.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},example:{attributes:{price:25,title:Object(i.__)("Jetpack t-shirt","jetpack"),content:Object(i.__)("Take flight in ultimate comfort with ths stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:W.a}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",Z)},function(e,t,n){"use strict";n.r(t);var r=n(21),a=n.n(r),i=n(18),o=n.n(i),c=n(15),s=n.n(c),l=n(25),u=n(16),p=n(28),d=n(55),h=n(5),m=n(7),f=n.n(m),b=n(11),g=n.n(b),v=n(8),j=n.n(v),y=n(9),_=n.n(y),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=n(3),x=n.n(C),S=n(0),A=n(23),F=n.n(A),P=n(2),T=n(14),N=n(13),M=n(6),R=n(1),D=n(12),z=n.n(D),I=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(P.Spinner,null),Object(S.createElement)("p",null,t))},L=n(31),B=function(e,t){var n=t.autoplay,r=t.controls,a=t.loop,i=t.muted,o=t.poster,c=t.preload;if(!e)return null;var l=s()({},n&&{autoPlay:!0},{},!r&&{controls:!1},{},a&&{loop:!0},{},i&&{muted:!0,persistVolume:!1},{},o&&{posterUrl:o},{},"none"!==c&&{preloadContent:c});return Object(L.addQueryArgs)("https://videopress.com/v/".concat(e),l)},q=["image"],U=Object(T.createHigherOrderComponent)(Object(T.compose)([Object(N.withSelect)((function(e,t){var n=t.attributes,r=n.autoplay,a=n.controls,i=n.guid,o=n.loop,c=n.muted,s=n.poster,u=n.preload,p=n.src,d=e("core"),h=d.getEmbedPreview,m=d.isRequestingEmbedPreview,f=B(i,{autoplay:r,controls:a,loop:o,muted:c,poster:s,preload:u}),b=!!f&&h(f);return{isFetchingPreview:!!f&&m(f),isUploading:Object(l.isBlobURL)(p),preview:b,url:f}})),Object(N.withDispatch)((function(e){return{invalidateCachedEmbedPreview:function(t){e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}})),T.withInstanceId,function(e){return function(t){function n(){var e;return f()(this,n),e=j()(this,_()(n).apply(this,arguments)),x()(O()(e),"fallbackToCore",(function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})})),x()(O()(e),"setGuid",(function(){var t,n,r,a,i,o,c;return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:if(t=e.props,n=t.attributes,r=t.setAttributes,a=n.id){s.next=5;break}return r({guid:void 0}),s.abrupt("return");case 5:return s.prev=5,e.setState({isFetchingMedia:!0}),s.next=9,regeneratorRuntime.awrap(F()({path:"/wp/v2/media/".concat(a)}));case 9:if(i=s.sent,e.setState({isFetchingMedia:!1}),o=e.props.attributes.id,a===o){s.next=14;break}return s.abrupt("return");case 14:e.setState({media:i}),(c=Object(h.get)(i,"jetpack_videopress_guid"))?r({guid:c}):e.fallbackToCore(),s.next=23;break;case 19:s.prev=19,s.t0=s.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return s.stop()}}),null,null,[[5,19]])})),x()(O()(e),"switchToEditing",(function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),x()(O()(e),"onSelectPoster",(function(t){(0,e.props.setAttributes)({poster:t.url})})),x()(O()(e),"onRemovePoster",(function(){(0,e.props.setAttributes)({poster:""}),e.posterImageButton.current.focus()})),x()(O()(e),"toggleAttribute",(function(t){return function(n){e.props.setAttributes(x()({},t,n))}})),x()(O()(e),"getAutoplayHelp",(function(e){return e?Object(R.__)("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null})),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.invalidateCachedEmbedPreview,a=t.url;n.id!==e.attributes.id&&this.setGuid(),a&&a!==e.url&&r(a)}},{key:"render",value:function(){var t=this,n=this.props,r=n.attributes,a=n.className,i=n.instanceId,o=n.isFetchingPreview,c=n.isSelected,s=n.isUploading,l=n.preview,u=n.setAttributes,p=this.state,d=p.fallback,h=p.isFetchingMedia,m=r.autoplay,f=r.caption,b=r.controls,g=r.loop,v=r.muted,j=r.poster,y=r.preload,_="video-block__poster-image-description-".concat(i),k=Object(S.createElement)(S.Fragment,null,Object(S.createElement)(M.BlockControls,null,Object(S.createElement)(P.Toolbar,null,Object(S.createElement)(P.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(R.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)(M.InspectorControls,null,Object(S.createElement)(P.PanelBody,{title:Object(R.__)("Video Settings","jetpack")},Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Autoplay","jetpack"),onChange:this.toggleAttribute("autoplay"),checked:m,help:this.getAutoplayHelp}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Loop","jetpack"),onChange:this.toggleAttribute("loop"),checked:g}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:v}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Playback Controls","jetpack"),onChange:this.toggleAttribute("controls"),checked:b}),Object(S.createElement)(P.SelectControl,{label:Object(R.__)("Preload","jetpack"),value:y,onChange:function(e){return u({preload:e})},options:[{value:"auto",label:Object(R._x)("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:Object(R._x)("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:Object(R._x)("None","VideoPress preload setting","jetpack")}]}),Object(S.createElement)(M.MediaUploadCheck,null,Object(S.createElement)(P.BaseControl,{className:"editor-video-poster-control",label:Object(R.__)("Poster Image","jetpack")},Object(S.createElement)(M.MediaUpload,{title:Object(R.__)("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:q,render:function(e){var n=e.open;return Object(S.createElement)(P.Button,{isDefault:!0,onClick:n,ref:t.posterImageButton,"aria-describedby":_},j?Object(R.__)("Replace image","jetpack"):Object(R.__)("Select Poster Image","jetpack"))}}),Object(S.createElement)("p",{id:_,hidden:!0},j?Object(R.sprintf)(Object(R.__)("The current poster image url is %s","jetpack"),j):Object(R.__)("There is no poster image currently selected","jetpack")),!!j&&Object(S.createElement)(P.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(R.__)("Remove Poster Image")))))));if(s)return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)(I,{text:Object(R.__)("Uploading…","jetpack")}));if(h||o)return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)(I,{text:Object(R.__)("Generating preview…","jetpack")}));if(d||!l)return Object(S.createElement)(e,this.props);var O=l.html,w=l.scripts;return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)("figure",{className:z()(a,"wp-block-embed","is-type-video")},Object(S.createElement)(P.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(P.SandBox,{html:O,scripts:w}))),(!M.RichText.isEmpty(f)||c)&&Object(S.createElement)(M.RichText,{tagName:"figcaption",placeholder:Object(R.__)("Write caption…","jetpack"),value:f,onChange:function(e){return u({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),V=Object(T.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).autoplay,a=n.caption,i=n.controls,o=n.guid,c=n.loop,s=n.muted,l=n.poster,u=n.preload;if(!o)return e(t);var p=B(o,{autoplay:r,controls:i,loop:c,muted:s,poster:l,preload:u});return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(p,"\n")),!M.RichText.isEmpty(a)&&Object(S.createElement)(M.RichText.Content,{tagName:"figcaption",value:a}))}}),"withVideoPressSave"),H=n(40);var G={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:function(e){var t=e.attributes,n=t.caption,r=t.guid;if(!r)return null;var a="https://videopress.com/v/".concat(r);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(a,"\n")),!M.RichText.isEmpty(n)&&Object(S.createElement)(M.RichText.Content,{tagName:"figcaption",value:n}))},isDeprecation:!0};Object(d.addFilter)("blocks.registerBlockType","jetpack/videopress",(function(e,t){if("core/video"!==t||e.isDeprecation)return e;var n=e.attributes,r=e.deprecated,i=e.edit,c=e.save,d=e.supports,m=e.transforms,f=Object(H.a)("videopress"),b=f.available,g=f.unavailableReason;return b||["missing_plan","missing_module"].includes(g)?s()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:s()({},m,{from:[{type:"files",isMatch:function(e){return Object(h.every)(e,(function(e){return 0===e.type.indexOf("video/")}))},priority:9,transform:function(e,t){var n=[];return e.forEach((function(e){var r=Object(u.createBlock)("core/video",{src:Object(l.createBlobURL)(e)});Object(p.mediaUpload)({filesList:[e],onFileChange:function(e){var n=o()(e,1)[0],a=n.id,i=n.url;t(r.clientId,{id:a,src:i})},allowedTypes:["video"]}),n.push(r)})),n}}]}),supports:s()({},d,{reusable:!1}),edit:U(i),save:V(c),deprecated:[].concat(a()(r||[]),[{attributes:n,isEligible:function(e){return!e.guid},save:c,supports:d,isDeprecation:!0},G])}):e}))},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(15),s=n.n(c),l=n(21),u=n.n(l),p=n(7),d=n.n(p),h=n(11),m=n.n(h),f=n(8),b=n.n(f),g=n(9),v=n.n(g),j=n(4),y=n.n(j),_=n(10),k=n.n(_),O=n(3),w=n.n(O),E=n(14),C=n(5),x=n(25),S=n(13),A=n(6),F=n(28),P=n(48),T=function(e){var t=e.allowedMediaTypes,n=e.attributes,r=n.autoplay,c=n.delay,s=n.effect,l=n.images,u=n.sizeSlug,p=e.imageSizeOptions,d=e.onChangeImageSize,h=e.onSelectImages,m=e.setAttributes,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=[{label:Object(i._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(i._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(A.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Autoplay","jetpack")},Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Autoplay","jetpack"),help:Object(i.__)("Autoplay between slides","jetpack"),checked:r,onChange:function(e){m({autoplay:e})}}),r&&Object(a.createElement)(o.RangeControl,{label:Object(i.__)("Delay between transitions (in seconds)","jetpack"),value:c,onChange:function(e){m({delay:e})},min:1,max:5}),r&&f&&Object(a.createElement)("span",null,Object(i.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Effects","jetpack")},Object(a.createElement)(o.SelectControl,{label:Object(i.__)("Transition effect","jetpack"),value:s,onChange:function(e){m({effect:e})},options:b})),!Object(C.isEmpty)(l)&&!Object(C.isEmpty)(p)&&Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Image Settings","jetpack")},Object(a.createElement)(o.SelectControl,{label:Object(i.__)("Image Size","jetpack"),value:u,options:p,onChange:d}))),Object(a.createElement)(A.BlockControls,null,!!l.length&&Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(A.MediaUpload,{onSelect:h,allowedTypes:t,multiple:!0,gallery:!0,value:l.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(a.createElement)(P.a,{label:Object(i.__)("Edit Slideshow","jetpack"),onClick:t})}}))))},N=n(12),M=n.n(N),R=n(39),D=n(73),z=n(38),I=function(e){function t(e){var n;return d()(this,t),n=b()(this,v()(t).call(this,e)),w()(y()(n),"pendingRequestAnimationFrame",null),w()(y()(n),"resizeObserver",null),w()(y()(n),"initializeResizeObserver",(function(e){n.clearResizeObserver(),n.resizeObserver=new R.a((function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame((function(){Object(z.d)(e),e.update()}))})),n.resizeObserver.observe(e.el)})),w()(y()(n),"clearPendingRequestAnimationFrame",(function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)})),w()(y()(n),"clearResizeObserver",(function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)})),w()(y()(n),"prefersReducedMotion",(function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches})),w()(y()(n),"buildSwiper",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(Object(D.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:z.b,imagesReady:z.d,paginationRender:z.c,transitionEnd:z.a}))})),n.slideshowRef=Object(a.createRef)(),n.btnNextRef=Object(a.createRef)(),n.btnPrevRef=Object(a.createRef)(),n.paginationRef=Object(a.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then((function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})).catch((function(){t(Object(i.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,a=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(a===e.align&&Object(C.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((function(e){n.swiperInstance=e,n.initializeResizeObserver(e)})).catch((function(){u(Object(i.__)("The Swiper library could not be loaded.","jetpack"))})))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,i=e.effect,c=e.images;return Object(a.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":i},Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(a.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},c.map((function(e){var t=e.alt,n=e.caption,r=e.id,i=e.url;return Object(a.createElement)("li",{className:M()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(i)&&"is-transient"),key:r},Object(a.createElement)("figure",null,Object(a.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:i}),Object(x.isBlobURL)(i)&&Object(a.createElement)(o.Spinner,null),n&&Object(a.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),Object(a.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(a.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(a.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(a.Component);w()(I,"defaultProps",{effect:"slide"});var L=I,B=(n(232),["image"]),q=function(e,t){var n=Object(C.pick)(e,["alt","id","link","caption"]);return n.url=Object(C.get)(e,["sizes",t,"url"])||Object(C.get)(e,["media_details","sizes",t,"source_url"])||e.url,n},U=function(e){function t(){var e;return d()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(y()(e),"onSelectImages",(function(t){var n=e.props.attributes.sizeSlug,r=t.map((function(e){return q(e,n)}));e.setAttributes({images:r})})),w()(y()(e),"onRemoveImage",(function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,(function(e,n){return t!==n}));e.setState({selectedImage:null}),e.setAttributes({images:n})}})),w()(y()(e),"addFiles",(function(t){var n=e.props.attributes.images||[],r=e.props.attributes.sizeSlug,a=e.props,i=a.lockPostSaving,o=a.unlockPostSaving,c=a.noticeOperations;i("slideshowBlockLock"),Object(F.mediaUpload)({allowedTypes:B,filesList:t,onFileChange:function(t){var a=t.map((function(e){return q(e,r)}));e.setAttributes({images:[].concat(u()(n),u()(a))}),a.every((function(e){return Object(x.isBlobURL)(e.url)}))||o("slideshowBlockLock")},onError:c.createErrorNotice})})),w()(y()(e),"uploadFromFiles",(function(t){return e.addFiles(t.target.files)})),w()(y()(e),"updateImagesSize",(function(t){var n=e.props.attributes.images,r=e.props.resizedImages,a=n.map((function(e){var n=r.find((function(t){var n=t.id;return parseInt(n,10)===parseInt(e.id,10)})),a=Object(C.get)(n,["sizes",t,"source_url"]);return s()({},e,{},a&&{url:a})}));e.setAttributes({images:a,sizeSlug:t})})),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.ids;e.sizeSlug||this.setAttributes({sizeSlug:t.length?"full":"large"})}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(C.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.noticeOperations,l=t.noticeUI,u=n.align,p=n.autoplay,d=n.delay,h=n.effect,m=n.images,f=this.getImageSizeOptions(),b=Object(a.createElement)(T,{allowedMediaTypes:B,attributes:n,imageSizeOptions:f,onChangeImageSize:this.updateImagesSize,onSelectImages:this.onSelectImages,setAttributes:function(t){return e.setAttributes(t)}});return 0===m.length?Object(a.createElement)(a.Fragment,null,b,Object(a.createElement)(A.MediaPlaceholder,{icon:Object(a.createElement)(A.BlockIcon,{icon:X}),className:r,labels:{title:Object(i.__)("Slideshow","jetpack"),instructions:Object(i.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:B,multiple:!0,notices:l,onError:s.createErrorNotice})):Object(a.createElement)(a.Fragment,null,b,l,Object(a.createElement)(L,{align:u,autoplay:p,className:r,delay:d,effect:h,images:m,onError:s.createErrorNotice}),Object(a.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),c&&Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(a.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(i.__)("Upload an image","jetpack"))))}}]),t}(a.Component),V=Object(E.compose)(Object(S.withSelect)((function(e,t){return{imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce((function(t,n){var r=e("core").getMedia(n),a=Object(C.get)(r,["media_details","sizes"]);return[].concat(u()(t),[{id:n,sizes:a}])}),[])}})),Object(S.withDispatch)((function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}})),o.withNotices)(U),H=n(16);function G(e){return Object(C.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var $={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return G(e).length>0},transform:function(e){var t=G(e);return Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=G(e.images);return t.length>0?Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))}):Object(H.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(H.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map((function(e){var t=e.id,n=e.url,r=e.alt,a=e.caption;return Object(H.createBlock)("core/image",{id:t,url:n,alt:r,caption:a})})):Object(H.createBlock)("core/image")}}]},W=n(109),K=n.n(W),Z=n(110),J=n.n(Z),Y=n(111),Q=n.n(Y),X=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(a.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),ee={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:K.a},{alt:"",caption:"",id:23,url:J.a},{alt:"",caption:"",id:23,url:Q.a}],effect:"slide"},te={title:Object(i.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(i._x)("image","block search term","jetpack"),Object(i._x)("gallery","block search term","jetpack"),Object(i._x)("slider","block search term","jetpack")],description:Object(i.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:X,edit:V,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,i=t.delay,o=t.effect,c=t.images,s=e.className;return Object(a.createElement)(L,{align:n,autoplay:r,className:s,delay:i,effect:o,images:c})},transforms:$,example:{attributes:ee}};Object(r.a)("slideshow",te)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(13),c=n(5),s=function(e){return e.map((function(e){return e.value}))},l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],u=s(l),p=function(e){return Object(c.compact)([{value:"standard",label:Object(i.__)("Standard (224 x 301 pixels)","jetpack")},{value:"tall",label:Object(i.__)("Tall (288 x 490 pixels)","jetpack")},{value:"wide",label:Object(i.__)("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&{value:"button",label:Object(i.__)("Button (210 x 113 pixels)","jetpack")}])},d=function(e){return s(p(e))},h=Object(o.select)("core/block-editor").getSettings().siteLocale,m=!Object(c.isEmpty)(h)&&u.includes(h)?h:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:m,type:"string",validValues:u},newtab:{default:!1,type:"boolean"}},b=n(3),g=n.n(b),v=n(18),j=n.n(v),y=(n(79),n(12)),_=n.n(y),k=n(6),O=n(2),w=(n(89),Object(a.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},Object(a.createElement)(O.Path,{fill:"#555d66",d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))),E=n(24),C=n(30),x=n.n(C);var S=/<script type=\'text\/javascript\' src=\'\/\/www.opentable\.(\w{2,3}\.)?\w+\/widget\/reservation\/loader\?[^']+\'><\/script>/;function A(e){var t=Object(a.useState)(""),n=j()(t,2),r=n[0],o=n[1],s=function(e,t){var n=Object(a.useState)([]),r=j()(n,2),i=r[0],o=r[1],s=Object(a.useCallback)(Object(c.throttle)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((function(e){return e.json()})).then((function(e){return o(Object(c.unionBy)(i,e.items,"rid"))}))}),500),[i]);return Object(a.useEffect)((function(){Object(c.isEmpty)(e)||e.startsWith("<script")||s(e)}),[e]),i}(r,20),l=Object(a.useState)(e.rids||[]),u=j()(l,2),p=u[0],d=u[1],h=/^(\d+)$|\(\#(\d+)\)$/,m=s.filter((function(e){return p.indexOf(e.rid.toString())})).map((function(e){return e.name+" (#".concat(e.rid,")")})),f=Object(a.createElement)(O.FormTokenField,x()({value:p,suggestions:m,onInputChange:o,maxSuggestions:20,label:Object(i._n)("Restaurant","Restaurants",p.length,"jetpack")},e,{onChange:function(t){var n=t.map((function(e){var t=h.exec(e);return t[1]||t[2]}));d(n),e.onChange&&e.onChange(n)}}));return Object(a.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?Object(a.createElement)("form",{onSubmit:function(t){t.preventDefault(),e.onSubmit(Object(c.isEmpty)(p)&&S.test(r)?r:p)}},f,Object(a.createElement)(O.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i.__)("Embed","jetpack"))):f)}var F=n(59),P=n(51);n(133);var T={title:Object(i.__)("OpenTable","jetpack"),description:Object(i.__)("Allow visitors to book a reservation with OpenTable","jetpack"),icon:w,category:"jetpack",keywords:[Object(i.__)("opentable","jetpack"),Object(i.__)("reservation","jetpack"),Object(i.__)("restaurant","jetpack")],supports:{align:!0,html:!1},edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className,s=e.clientId,h=Object(P.a)(f,n);Object(c.isEqual)(h,n)||r(h);var m,b,v,y,C,x=n.align,S=n.rid,T=n.style,N=n.iframe,M=n.domain,R=n.lang,D=n.newtab,z=Object(a.useState)(),I=j()(z,2),L=I[0],B=I[1],q=function(){return B(Object(a.createElement)(a.Fragment,null,Object(a.createElement)("strong",null,Object(i.__)("We ran into an issue","jetpack")),Object(a.createElement)("br",null),Object(i.__)("Please ensure this embed matches the one from your OpenTable account","jetpack")))},U=p(S),V=d(S),H=function(e){return S.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e]},G=Object(a.createElement)(k.BlockControls,null,!Object(c.isEmpty)(S)&&Object(a.createElement)(O.Toolbar,{popoverProps:{className:"is-opentable"},isCollapsed:!0,icon:"admin-appearance",label:Object(i.__)("Style","jetpack"),controls:U.map((function(e){return{title:e.label,isActive:e.value===T,onClick:function(){return t=e.value,r({style:t}),"wide"===T&&"wide"===x&&r({align:""}),void("wide"===t&&r({align:"wide"}));var t}}}))})),$=function(e){Array.isArray(e)?r({rid:e,style:e.length>1&&"button"===T?"standard":T}):function(e){if(e){var t=e.match(/< *script[^>]*src *= *["']?([^"']*)/i);if(t&&t[1]){var n="";if((n=0===t[1].indexOf("http")?new URL(t[1]):new URL("http:"+t[1])).search){var a=new URLSearchParams(n.search),i=a.get("theme");"button"===a.get("type")&&(i=a.get("type"));var o={rid:a.getAll("rid"),iframe:Boolean(a.get("iframe")),domain:a.get("domain"),lang:a.get("lang"),newtab:Boolean(a.get("newtab")),style:i},c=Object(P.a)(f,o);r(c)}else q()}else q()}else q()}(e)},W=Object(E.b)()||Object(E.a)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",K=Object(a.createElement)(O.Placeholder,{label:Object(i.__)("OpenTable Reservation","jetpack"),icon:Object(a.createElement)(k.BlockIcon,{icon:w}),instructions:Object(i.__)("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:L&&Object(a.createElement)(O.Notice,{status:"error",isDismissible:!1},L)},Object(a.createElement)(A,{rids:S,onSubmit:$}),Object(a.createElement)("div",{className:"".concat(o,"-placeholder-links")},Object(a.createElement)(O.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},Object(i.__)("Sign up for OpenTable","jetpack")),Object(a.createElement)(O.ExternalLink,{href:W},Object(i.__)("Learn more","jetpack")))),Z=_()(o,(t={},g()(t,"".concat(o,"-theme-").concat(T),!Object(c.isEmpty)(S)&&V.includes(T)),g()(t,"is-multi","multi"===H(T)[0]),t));return Object(a.createElement)("div",{className:Z},!Object(c.isEmpty)(S)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.InspectorAdvancedControls,null,Object(a.createElement)(O.ToggleControl,{label:Object(i.__)("Load the widget in an iFrame (Recommended)","jetpack"),checked:N,onChange:function(){return r({iframe:!N})},className:"is-opentable"})),Object(a.createElement)(k.InspectorControls,null,Object(a.createElement)(O.PanelBody,{title:Object(i.__)("Styles","jetpack")},Object(a.createElement)(F.a,{clientId:s,styleOptions:U,onSelectStyle:r,activeStyle:T,attributes:n,viewportWidth:150})),Object(a.createElement)(O.PanelBody,{title:Object(i.__)("Settings","jetpack")},Object(a.createElement)(A,{rids:S,onChange:$}),Object(a.createElement)(O.SelectControl,{label:Object(i.__)("Language","jetpack"),value:R,onChange:function(e){return r({lang:e})},options:l}),Object(a.createElement)(O.ToggleControl,{label:Object(i.__)("Open in a new window","jetpack"),checked:D,onChange:function(){return r({newtab:!D})}})))),G),Object(c.isEmpty)(S)?K:(b=H(m||T),v=j()(b,2),y=v[0],C=v[1],Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"".concat(o,"-overlay")}),Object(a.createElement)("iframe",{title:Object(i.sprintf)(Object(i.__)("Open Table Preview %s","jetpack"),s),scrolling:"no",src:"https://www.opentable.com/widget/reservation/canvas?rid=".concat(Object(c.join)(S,"%2C"),"&type=").concat(y,"&theme=").concat(C,"&overlay=false&domain=").concat(M,"&lang=").concat(R&&u.includes(R)?R:"en-US","&newtab=").concat(D,"&disablega=true")}))))},save:function(e){var t=e.attributes.rid;return Object(a.createElement)(a.Fragment,null,t.map((function(e){return Object(a.createElement)("a",{href:"https://www.opentable.com/restref/client/?rid=".concat(e)},"https://www.opentable.com/restref/client/?rid=".concat(e))})))},attributes:f,example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1}}};Object(r.a)("opentable",T)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(12),O=n.n(k),w=n(6),E=n(13),C=n(28),x=n(23),S=n.n(x),A=n(26);function F(e){if(!e)return null;var t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}var P=n(24),T=n(14),N=window.getComputedStyle,M=Object(o.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,a=r&&r.color,i=n&&n.color,o=!i&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:a||!e?void 0:N(e).backgroundColor,fallbackTextColor:i||!o?void 0:N(o).color}}));function R(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,c=Object(a.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Border Settings","jetpack")},Object(a.createElement)(o.RangeControl,{value:n,label:Object(i.__)("Border Radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:c}))}var D=function(e){function t(){var e;return l()(this,t),(e=h()(this,f()(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(g()(e)),e}return j()(t,e),p()(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,c=t.setBackgroundColor,s=t.setTextColor,l=t.fallbackBackgroundColor,u=t.fallbackTextColor,p=t.setAttributes,d=t.className,h=n.borderRadius,m=n.placeholder,f=n.text,b=n.title;return Object(a.createElement)("div",{className:O()(d,"wp-block-button is-modal-button"),title:b,ref:this.bindRef},Object(a.createElement)(w.RichText,{placeholder:m||Object(i.__)("Add text…","jetpack"),value:f,keepPlaceholderOnFocus:!0,onChange:function(e){return p({text:e})},withoutInteractiveFormatting:!0,className:O()("wp-block-button__link",(e={"has-background":r.color},_()(e,r.class,r.class),_()(e,"has-text-color",o.color),_()(e,o.class,o.class),_()(e,"no-border-radius",0===h),e)),style:{backgroundColor:r.color,color:o.color,borderRadius:h?h+"px":void 0}}),Object(a.createElement)(w.InspectorControls,null,Object(a.createElement)(w.PanelColorSettings,{title:Object(i.__)("Color Settings","jetpack"),colorSettings:[{value:r.color,onChange:c,label:Object(i.__)("Background Color","jetpack")},{value:o.color,onChange:s,label:Object(i.__)("Text Color","jetpack")}]},Object(a.createElement)(w.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:l,fallbackTextColor:u})),Object(a.createElement)(R,{borderRadius:h,setAttributes:p})))}}]),t}(a.Component),z=Object(T.compose)([Object(w.withColors)("backgroundColor",{textColor:"color"}),M])(D),I=n(97),L=n.n(I),B=n(98),q=n.n(B),U=(n(153),[{name:"fill",label:Object(i.__)("Fill","jetpack"),isDefault:!0},{name:"outline",label:Object(i.__)("Outline","jetpack")}]),V=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{editedUrl:n.props.attributes.url||"",editingUrl:!1,resolvingUrl:n.props.attributes.url&&!n.props.attributes.eventId,resolvedStatusCode:null}),_()(g()(n),"resolveUrl",(function(){var e=n.props.attributes.url;n.setState({resolvedStatusCode:null}),n.fetchRequest=S()({path:"/wpcom/v2/resolve-redirect/".concat(e)}),n.fetchRequest.then((function(t){n.fetchRequest=null;var r=t.url||e,a=t.status?parseInt(t.status,10):null;n.props.setAttributes({eventId:F(r),url:r}),n.setState({resolvingUrl:!1,resolvedStatusCode:a,editedUrl:r})}),(function(e){"abort"!==e.statusText&&(n.fetchRequest=null,n.setState({resolvingUrl:!1,editingUrl:!0}))}))})),_()(g()(n),"setUrl",(function(e){e&&e.preventDefault();var t=n.state.editedUrl;t&&(n.props.setAttributes({eventId:F(t),url:t}),n.setState({editingUrl:!1,resolvingUrl:!0}))})),_()(g()(n),"cannotEmbed",(function(){var e=n.props.attributes.url,t=n.state.resolvedStatusCode;return e&&!G.test(e)||t&&t>=400})),_()(g()(n),"setEmbedType",(function(e){(0,n.props.setAttributes)({useModal:"modal"===e})})),n}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingUrl&&this.resolveUrl()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingUrl&&this.state.resolvingUrl&&this.resolveUrl()}},{key:"renderLoading",value:function(){return Object(a.createElement)("div",{className:"wp-block-embed is-loading"},Object(a.createElement)(o.Spinner,null),Object(a.createElement)("p",null,Object(i.__)("Embedding…","jetpack")))}},{key:"renderInspectorControls",value:function(){var e=this.props.attributes.useModal,t=[{value:"inline",isActive:!e,label:Object(i.__)("In-page Embed","jetpack"),preview:Object(a.createElement)("div",{className:"block-editor-block-preview__container"},Object(a.createElement)("img",{src:L.a,alt:Object(i.__)("In page Eventbrite checkout example","jetpack")}))},{value:"modal",isActive:e,label:Object(i.__)(" Button & Modal","jetpack"),preview:Object(a.createElement)("div",{className:"block-editor-block-preview__container"},Object(a.createElement)("img",{src:q.a,alt:Object(i.__)("Modal Eventbrite checkout example","jetpack")}))}];return Object(a.createElement)(C.InspectorControls,null,Object(a.createElement)(o.PanelBody,{className:"jetpack-eventbrite-block__embed-type-controls",title:Object(i._x)("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack")},Object(a.createElement)("div",{className:"block-editor-block-styles"},t.map(this.renderEmbedTypeItem.bind(this)))))}},{key:"renderEmbedTypeItem",value:function(e){var t=this,n=e.label,r=e.isActive,i=e.value,o=e.preview;return Object(a.createElement)("div",{key:i,className:O()("block-editor-block-styles__item",{"is-active":r}),onClick:function(){return t.setEmbedType(i)},onKeyDown:function(e){A.ENTER!==e.keyCode&&A.SPACE!==e.keyCode||e.preventDefault()},role:"button",tabIndex:"0","aria-label":n},Object(a.createElement)("div",{className:"block-editor-block-styles__item-preview"},o),Object(a.createElement)("div",{className:"block-editor-block-styles__item-label"},n))}},{key:"renderBlockControls",value:function(){var e=this;return Object(a.createElement)(w.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(i.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})))}},{key:"renderEditEmbed",value:function(){var e=this,t=this.props.className,n=this.state.editedUrl,r=Object(P.b)()||Object(P.a)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return Object(a.createElement)("div",{className:t},Object(a.createElement)(o.Placeholder,{label:Object(i.__)("Eventbrite Checkout","jetpack"),instructions:Object(i.__)("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:Object(a.createElement)(w.BlockIcon,{icon:K})},Object(a.createElement)("form",{onSubmit:this.setUrl},Object(a.createElement)("input",{type:"url",value:n,className:"components-placeholder__input","aria-label":Object(i.__)("Eventbrite URL","jetpack"),placeholder:Object(i.__)("Enter an event URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(a.createElement)(o.Button,{isLarge:!0,isDefault:!0,isSecondary:!0,type:"submit"},Object(i._x)("Embed","submit button label","jetpack")),this.cannotEmbed()&&Object(a.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Sorry, this content could not be embedded.","jetpack"),Object(a.createElement)("br",null),Object(a.createElement)(o.Button,{isLarge:!0,onClick:function(){return t=n,r=e.props.onReplace,i=Object(a.createElement)("a",{href:t},t),void r(Object(c.createBlock)("core/paragraph",{content:Object(a.renderToString)(i)}));var t,r,i}},Object(i._x)("Convert block to link","button label","jetpack")))),Object(a.createElement)("div",{className:"components-placeholder__learn-more"},Object(a.createElement)(o.ExternalLink,{href:r},Object(i.__)("Learn more about Eventbrite embeds","jetpack")))))}},{key:"renderInlinePreview",value:function(){var e=this.props.className,t=this.props.attributes.eventId;if(t){var n="eventbrite-widget-".concat(t),r="\n\t\t\t<script src=\"https://www.eventbrite.com/static/widgets/eb_widgets.js\"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ".concat(t,",\n\t\t\t\t\tiframeContainerId: '").concat(n,"',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id=\"").concat(n,'"></div>\n\t\t');return Object(a.createElement)("div",{className:e},Object(a.createElement)(o.SandBox,{html:r}),Object(a.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.addModalButtonStyles,i=t.removeModalButtonStyles,o=n.url,c=n.useModal,s=this.state,l=s.editingUrl;return s.resolvingUrl?(i(),e=this.renderLoading()):l||!o||this.cannotEmbed()?(i(),e=this.renderEditEmbed()):(c?r():i(),e=Object(a.createElement)(a.Fragment,null,this.renderBlockControls(),c?Object(a.createElement)(z,this.props):this.renderInlinePreview())),Object(a.createElement)(a.Fragment,null,this.renderInspectorControls(),e)}}]),t}(a.Component),H=Object(E.withDispatch)((function(e,t,n){var r=t.name,a=(0,(0,n.select)("core/blocks").getBlockStyles)(r);return{addModalButtonStyles:function(){a.length<1&&e("core/blocks").addBlockStyles(r,U)},removeModalButtonStyles:function(){a.length>0&&e("core/blocks").removeBlockStyles(r,U.map((function(e){return e.name})))}}}))(V);var G=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,$=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,W=Object(i.__)("Eventbrite Checkout","jetpack"),K={src:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,{id:"eventbrite-icon"},Object(a.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),foreground:"#555d66"},Z={title:W,description:Object(i.__)("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:K,category:"jetpack",keywords:[Object(i.__)("events","jetpack"),Object(i.__)("tickets","jetpack")],supports:{html:!1},attributes:{url:{type:"string"},eventId:{type:"number"},useModal:{type:"boolean"},text:{type:"string",default:Object(i._x)("Register","verb: e.g. register for an event.","jetpack")},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"}},edit:H,save:function(e){var t=e.attributes,n=t.eventId,r=t.useModal,i=t.url;if(n)return r?function(e){var t,n=e.backgroundColor,r=e.borderRadius,i=e.customBackgroundColor,o=e.customTextColor,c=e.eventId,s=e.text,l=e.textColor,u=e.url,p=Object(w.getColorClassName)("color",l),d=Object(w.getColorClassName)("background-color",n),h=O()("wp-block-button__link",(t={"has-text-color":l||o},_()(t,p,p),_()(t,"has-background",n||i),_()(t,d,d),_()(t,"no-border-radius",0===r),t)),m={backgroundColor:d?void 0:i,color:p?void 0:o,borderRadius:r?r+"px":void 0};return Object(a.createElement)("div",{className:"wp-block-button"},Object(a.createElement)(w.RichText.Content,{className:h,href:u,id:"eventbrite-widget-".concat(c),rel:"noopener noreferrer",role:"button",style:m,tagName:"a",target:"_blank",value:s}))}(t):i&&Object(a.createElement)("a",{className:"eventbrite__direct-link",href:i},i)},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&(G.test(e.textContent)||$.test(e.textContent))},transform:function(e){return Object(c.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://www.eventbrite.com/e/test-event-tickets-123456789",eventId:123456789,useModal:!0}}};Object(r.a)("eventbrite",Z)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(16),c=/^#?[A-Fa-f0-9]{6}$/,s=function(e){return c.test(e)},l={backgroundColor:{type:"string",default:"ffffff",validator:s},submitButtonText:{type:"string",default:Object(i.__)("Schedule time with me","jetpack")},submitButtonTextColor:{type:"string"},submitButtonBackgroundColor:{type:"string"},submitButtonClasses:{type:"string"},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:s},textColor:{type:"string",default:"4D5055",validator:s},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:function(e){return!e||e.startsWith("https://calendly.com/")}},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string",validator:s},customTextButtonColor:{type:"string",validator:s}},u=n(18),p=n.n(u),d=(n(79),n(5)),h=n(95),m=n.n(h),f=n(6),b=n(2),g=(n(80),Object(a.createElement)(b.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(b.G,{fill:"none",fillRule:"evenodd"},Object(a.createElement)(b.Rect,{height:"20.956522",rx:"3",stroke:"#656a74",strokeWidth:"2",width:"20.956522",x:"1",y:"2.043478"}),Object(a.createElement)(b.Rect,{fill:"#656a74",height:"4.869565",rx:"1",width:"2",x:"6.565217"}),Object(a.createElement)(b.Rect,{fill:"#656a74",height:"4.869565",rx:"1",width:"2",x:"14.652174"}),Object(a.createElement)(b.Path,{d:"m14.6086957 10.0869565c-.6956522-.57971012-1.6231885-.8695652-2.7826087-.8695652-1.7391305 0-3.47826091 1.5652174-3.47826091 3.6521739s1.73913041 3.6521739 3.47826091 3.6521739c1.1594202 0 2.0869565-.3478261 2.7826087-1.0434782",stroke:"#656a74"})))),v=n(51),j=n(32),y=/(^|\/\/)(calendly\.com[^"']*)/i,_=function(e){if(e){var t=function(e){var t=e.match(y);if(t)return"https://"+t[2]}(e);if(t){var n=function(e){var t={},n=new URL(e);if(t.url=n.origin+n.pathname,!n.search)return t;var r=new URLSearchParams(n.search),a=r.get("background_color"),i=r.get("primary_color"),o=r.get("text_color"),c=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(c)&&(t.backgroundColor=a),i&&i.match(c)&&(t.primaryColor=i),o&&o.match(c)&&(t.textColor=o),t}(t),r=function(e){return e.indexOf("data-url")>0?"inline":e.indexOf("initPopupWidget")>0||e.indexOf("initBadgeWidget")>0?"link":void 0}(e);r&&(n.style=r);var a=function(e){var t=e.match(/false;"\>([^<]+)\<\//);return t?t[1]:(t=e.match(/text: '([^']*?)'/))?t[1]:void 0}(e);a&&(n.submitButtonText=a);var i=function(e){var t=e.match(/textColor: '([^']*?)'/);if(t)return t[1]}(e);i&&(n.customTextButtonColor=i);var o=function(e){var t=e.match(/color: '([^']*?)'/);if(t)return t[1]}(e);return o&&(n.customBackgroundButtonColor=o),n}}},k=n(59);var O={title:Object(i.__)("Calendly","jetpack"),description:Object(i.__)("Embed a calendar for customers to schedule appointments","jetpack"),icon:g,category:"jetpack",keywords:[Object(i.__)("calendar","jetpack"),Object(i.__)("schedule","jetpack"),Object(i.__)("appointments","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.clientId,o=e.setAttributes,c=Object(v.a)(l,t);Object(d.isEqual)(c,t)||o(c);var s,u,h=c.backgroundColor,y=c.submitButtonText,O=c.hideEventTypeDetails,w=c.primaryColor,E=c.textColor,C=c.style,x=c.url,S=Object(a.useState)(""),A=p()(S,2),F=A[0],P=A[1],T=Object(a.useState)(),N=p()(T,2),M=N[0],R=N[1],D=function(){return R(Object(a.createElement)(a.Fragment,null,Object(i.__)("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack")))},z=function(e){if(e){e.preventDefault();var t=_(F);if(t){var n=Object(v.a)(l,t);o(n)}else D()}else D()},I=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("form",{onSubmit:z},Object(a.createElement)("input",{type:"text",id:"embedCode",onChange:function(e){return P(e.target.value)},placeholder:Object(i.__)("Calendly web address or embed code…","jetpack"),value:F,className:"components-placeholder__input"}),Object(a.createElement)("div",null,Object(a.createElement)(b.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")))),Object(a.createElement)("div",{className:"".concat(n,"-learn-more")},Object(a.createElement)(b.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},Object(i.__)("Need help finding your embed code?","jetpack")))),L=Object(a.createElement)(b.Placeholder,{label:Object(i.__)("Calendly","jetpack"),instructions:Object(i.__)("Enter your Calendly web address or embed code below.","jetpack"),icon:Object(a.createElement)(f.BlockIcon,{icon:g}),notices:M&&Object(a.createElement)(b.Notice,{status:"error",isDismissible:!1},M)},I),B=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"".concat(n,"-overlay")}),Object(a.createElement)("iframe",{src:(s=m.a.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:O?1:0,background_color:h,primary_color:w,text_color:E}),"".concat(x,"?").concat(s)),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",style:{minWidth:"320px",height:"630px",width:"100%"},title:"Calendly"})),q=Object(a.createElement)(j.a,{submitButtonText:y,attributes:t,setAttributes:o}),U=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("a",{style:{alignSelf:"flex-start",border:"none"},className:"wp-block-button__link"},y)),V=[{value:"inline",label:Object(i.__)("Inline","jetpack")},{value:"link",label:Object(i.__)("Link","jetpack")}],H=Object(a.createElement)(f.BlockControls,null,x&&Object(a.createElement)(b.Toolbar,{isCollapsed:!0,icon:"admin-appearance",label:Object(i.__)("Style","jetpack"),controls:V.map((function(e){return{title:e.label,isActive:e.value===C,onClick:function(){return o({style:e.value})}}})),popoverProps:{className:"is-calendly"}})),G=Object(a.createElement)(f.InspectorControls,null,x&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(b.PanelBody,{title:Object(i.__)("Styles","jetpack")},Object(a.createElement)(k.a,{clientId:r,styleOptions:V,onSelectStyle:o,activeStyle:C,attributes:t,viewportWidth:500}))),Object(a.createElement)(b.PanelBody,{title:Object(i.__)("Calendar Settings","jetpack"),initialOpen:!1},Object(a.createElement)("form",{onSubmit:z,className:"".concat(n,"-embed-form-sidebar")},Object(a.createElement)("input",{type:"text",id:"embedCode",onChange:function(e){return P(e.target.value)},placeholder:Object(i.__)("Calendly web address or embed code…","jetpack"),value:F,className:"components-placeholder__input"}),Object(a.createElement)("div",null,Object(a.createElement)(b.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")))),Object(a.createElement)(b.ToggleControl,{label:Object(i.__)("Hide Event Type Details","jetpack"),checked:O,onChange:function(){return o({hideEventTypeDetails:!O})}})),x&&Object(a.createElement)(b.Notice,{className:"".concat(n,"-color-notice"),isDismissible:!1},Object(a.createElement)(b.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},Object(i.__)("Follow these instructions to change the colors in this block.","jetpack"))));return Object(a.createElement)("div",{className:n},G,H,x?"inline"===C?B:u?U:q:L)},save:function(e){var t=e.attributes.url;return Object(a.createElement)("a",{href:t},t)},attributes:l,example:{attributes:{submitButtonText:Object(i.__)("Schedule time with me","jetpack"),hideEventTypeDetails:!1,style:"inline",url:"https://calendly.com/wordpresscom/jetpack-block-example"}},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&y.test(e.textContent)},transform:function(e){var t=_(e.textContent);return Object(o.createBlock)("jetpack/calendly",t)}}]}};Object(r.a)("calendly",O)},function(e,t,n){"use strict";n.r(t);var r,a=n(17),i=n(1),o=n(0),c=n(5),s=n(6),l=n(2),u=n(26),p=function(e){var t,n=e.id,r=e.setRating,a=e.children;return Object(o.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(t=n,function(e){return e.keyCode===u.ENTER?r(t):null}),onClick:function(e){return function(){return r(e)}}(n)},a)},d=(n(217),n(134),{title:Object(i.__)("Star Rating","jetpack"),description:Object(i.__)("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:function(){return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}))},keywords:[Object(i._x)("star","block search term","jetpack"),Object(i._x)("rating","block search term","jetpack"),Object(i._x)("review","block search term","jetpack")],category:"jetpack",example:{},styles:[{name:"filled",label:Object(i._x)("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:Object(i._x)("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:function(e){return function(t){var n=t.className,r=t.setAttributes,a=t.attributes,u=a.align,d=a.color,h=a.rating,m=a.maxRating,f=function(e){e===h&&Math.ceil(h)===h&&(e-=.5),r({rating:e})};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.AlignmentToolbar,{value:u,onChange:function(e){return r({align:e})}})),Object(o.createElement)("div",{className:n,style:{textAlign:u}},Object(c.range)(1,m+1).map((function(t){return Object(o.createElement)(p,{key:t,id:t,setRating:f},Object(o.createElement)("span",null,Object(o.createElement)(e,{className:h>=t-.5?null:"is-rating-unfilled",color:d})),Object(o.createElement)("span",null,Object(o.createElement)(e,{className:h>=t?null:"is-rating-unfilled",color:d})))}))),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(i.__)("Settings","jetpack")},Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Highest rating","jetpack"),value:m,onChange:function(e){return r({maxRating:e})},min:2,max:10}),Object(o.createElement)(s.PanelColorSettings,{title:Object(i.__)("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({color:e})},label:Object(i.__)("Color","jetpack")}]}))))}}((function(e){var t=function(e){return e&&e.color?e.color:"currentColor"}(e),n=function(e){return e&&e.className?e.className:""}(e);return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},Object(o.createElement)(l.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))})),save:(r="★",function(e){var t=e.className,n=e.attributes,a=n.align,i=n.rating,s=n.color;return Object(o.createElement)("figure",{className:t,style:{textAlign:a}},Object(c.range)(1,i+1).map((function(e){return Object(o.createElement)("span",{key:e,style:{color:s}},r)})))})});Object(a.a)("rating-star",d)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=(n(161),n(24)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(6),O=n(14),w=n(13),E=n(100),C=new(n.n(E).a),x=function(e){"A"===e.target.nodeName&&(window.confirm(Object(i.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(a.createElement)(a.RawHTML,{className:t,onClick:x},r.length?C.render(r):"")},A=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"input",null),_()(g()(n),"state",{activePanel:"editor"}),_()(g()(n),"bindInput",(function(e){n.input=e})),_()(g()(n),"updateSource",(function(e){return n.props.setAttributes({source:e})})),_()(g()(n),"handleKeyDown",(function(e){var t=n.props,r=t.attributes,a=t.removeBlock,i=r.source;8===e.keyCode&&""===i&&(a(),e.preventDefault())})),_()(g()(n),"toggleMode",(function(e){return function(){return n.setState({activePanel:e})}})),n}return j()(t,e),p()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode("editor")(),!e.isSelected&&this.props.isSelected&&"editor"===this.state.activePanel&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(a.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(a.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(a.createElement)("p",{className:"".concat(n,"__placeholder")},Object(i.__)("Write your _Markdown_ **here**…","jetpack")):Object(a.createElement)("div",{className:n},Object(a.createElement)(k.BlockControls,null,Object(a.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton("editor",Object(i.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(i.__)("Preview","jetpack")))),"preview"!==c&&r?Object(a.createElement)(k.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(i.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(a.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(a.Component),F=Object(O.compose)([Object(w.withSelect)((function(e){return{currentBlockId:e("core/block-editor").getSelectedBlockClientId()}})),Object(w.withDispatch)((function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/block-editor").removeBlocks(n)}}}))])(A),P=Object(i.__)("Try Markdown","jetpack"),T=Object(i.__)("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),N=Object(c.b)()||Object(c.a)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",M={title:Object(i.__)("Markdown","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(a.createElement)(o.ExternalLink,{href:N},Object(i.__)("Support reference","jetpack"))),icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(a.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(a.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(i._x)("formatting","block search term","jetpack"),Object(i._x)("syntax","block search term","jetpack"),Object(i._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:F,save:function(e){var t=e.attributes,n=e.className;return Object(a.createElement)(S,{className:n,source:t.source})},example:{attributes:{source:"## ## ".concat(P,"\n\n").concat(T)}}};Object(r.a)("markdown",M)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(6),k=[{height:250,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(i.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(i.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(i.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(a.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(i.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(i.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(a.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(a.createElement)(o.Toolbar,{controls:[{icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(a.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map((function(e){var i=e.tag,c=e.name,s=e.icon;return Object(a.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:s,isSelected:i===t,key:i,onClick:function(){n(i),r()},role:"menuitemcheckbox"},c)})))}})}n(239);var E=n(119),C=n.n(E),x=n(120),S=n.n(x),A=n(121),F=n.n(A),P=n(122),T=n.n(P),N=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(a))),y()(b()(n),"handleHideMobileChange",(function(e){n.props.setAttributes({hideMobile:!!e})})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.isSelected,c=t.format,s=t.hideMobile,l=k.filter((function(e){return e.tag===c}))[0],u=Object(a.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:Boolean(s),label:Object(i.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_.BlockControls,null,Object(a.createElement)(w,{value:c,onChange:function(e){return n({format:e})}})),Object(a.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(c)},Object(a.createElement)("div",{className:"jetpack-wordads__ad",style:{width:l.width,height:l.height,backgroundImage:"url( ".concat(function(e){switch(e){case"leaderboard":return S.a;case"mobile_leaderboard":return F.a;case"wideskyscraper":return T.a;default:return C.a}}(c)," )"),backgroundSize:"cover"}}),r&&u))}}]),t}(a.Component),M=Object(i.__)("Ad","jetpack"),R=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),D={title:M,description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Earn income by adding high quality ads to your post","jetpack")),Object(a.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(i.__)("Learn all about WordAds","jetpack"))),icon:R,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"jetpack",keywords:[Object(i.__)("ads","jetpack"),"WordAds",Object(i.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:N,save:function(){return null}};Object(r.a)("wordads",D)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=(n(146),n(126),n(30)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),d=n.n(p),h=n(8),m=n.n(h),f=n(9),b=n.n(f),g=n(4),v=n.n(g),j=n(10),y=n.n(j),_=n(3),k=n.n(_),O=n(23),w=n.n(O),E=n(12),C=n.n(E),x=n(58),S=n(6),A=n(15),F=n.n(A),P=n(5),T=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(a.createElement)(a.Fragment,{key:t},Object(a.createElement)("div",{className:"business-hours__row"},Object(a.createElement)("div",{className:C()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(a.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(a.createElement)(o.TextControl,{type:"time",label:Object(i.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:"09:00",onChange:function(e){n.setHour(e,"opening",t)}}),Object(a.createElement)(o.TextControl,{type:"time",label:Object(i.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:"17:00",onChange:function(e){n.setHour(e,"closing",t)}})),Object(a.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(a.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(a.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(a.createElement)("div",{className:C()(r.name,"business-hours__day")}," "),Object(a.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(a.createElement)(o.IconButton,{isLink:!0,label:Object(i.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(i.__)("Add Hours","jetpack"))),Object(a.createElement)("div",{className:"business-hours__remove"}," ")))})),k()(v()(n),"setHour",(function(e,t,r){var a=n.props,i=a.day,o=a.attributes;(0,a.setAttributes)({days:o.days.map((function(n){return n.name===i.name?F()({},n,{hours:n.hours.map((function(n,a){return a===r?F()({},n,k()({},t,e)):n}))}):n}))})})),k()(v()(n),"toggleClosed",(function(e){var t=n.props,r=t.day,a=t.attributes;(0,t.setAttributes)({days:a.days.map((function(t){if(t.name===r.name){var n=e?[{opening:"09:00",closing:"17:00"}]:[];return F()({},t,{hours:n})}return t}))})})),k()(v()(n),"addInterval",(function(){var e=n.props,t=e.day,r=e.attributes,a=e.setAttributes,i=r.days;t.hours.push({opening:"",closing:""}),a({days:i.map((function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e}))})})),k()(v()(n),"removeInterval",(function(e){var t=n.props,r=t.day,a=t.attributes;(0,t.setAttributes)({days:a.days.map((function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter((function(t,n){return e!==n}))}):t}))})})),n}return y()(t,e),d()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(a.createElement)(o.ToggleControl,{label:this.isClosed()?Object(i.__)("Closed","jetpack"):Object(i.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(a.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(a.createElement)("div",{className:C()(e.name,"business-hours__day")},this.renderDayToggle()),Object(a.createElement)("div",{className:C()(e.name,"closed","business-hours__hours")}," "),Object(a.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(a.Component),N=n(18),M=n.n(N),R=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day.hours;return Object(a.createElement)("span",{key:t},Object(i.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)),r.length>1+t&&Object(a.createElement)("span",null,", "))})),n}return y()(t,e),d()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=M()(n,2),a=r[0],i=r[1],o=new Date;return!(!a||!i)&&(o.setHours(a),o.setMinutes(i),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter((function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)}));return Object(a.createElement)("div",{className:"jetpack-business-hours__item"},Object(a.createElement)("dt",{className:n.name},r.days[n.name]),Object(a.createElement)("dd",null,Object(P.isEmpty)(o)?Object(i._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval),Object(a.createElement)("br",null)))}}]),t}(a.Component),D={days:{Sun:Object(i.__)("Sunday","jetpack"),Mon:Object(i.__)("Monday","jetpack"),Tue:Object(i.__)("Tuesday","jetpack"),Wed:Object(i.__)("Wednesday","jetpack"),Thu:Object(i.__)("Thursday","jetpack"),Fri:Object(i.__)("Friday","jetpack"),Sat:Object(i.__)("Saturday","jetpack")},startOfWeek:0},z=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(a))),k()(v()(n),"state",{localization:D,hasFetched:!1}),n}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:D},(function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then((function(t){e.setState({localization:t,hasFetched:!0})}),(function(){e.setState({localization:D,hasFetched:!0})}))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,d=u.hasFetched,h=p.startOfWeek,m=l.concat(l.slice(0,h)).slice(h);if(!d)return Object(a.createElement)(o.Placeholder,{icon:Object(a.createElement)(S.BlockIcon,{icon:B}),label:Object(i.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(a.createElement)("dl",{className:C()(r,"jetpack-business-hours")},m.map((function(e,t){return Object(a.createElement)(R,{key:t,day:e,localization:p,timeFormat:f})})))}return Object(a.createElement)("div",{className:C()(r,"is-edit")},m.map((function(t,n){return Object(a.createElement)(T,s()({key:n,day:t,localization:p},e.props))})))}}]),t}(a.Component),I=n(20),L=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],B=Object(I.a)(Object(a.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),q={title:Object(i.__)("Business Hours","jetpack"),description:Object(i.__)("Display opening hours for your business.","jetpack"),icon:B,category:"jetpack",supports:{html:!0},keywords:[Object(i._x)("opening hours","block search term","jetpack"),Object(i._x)("closing time","block search term","jetpack"),Object(i._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:L}},edit:function(e){return Object(a.createElement)(z,e)},save:function(){return null},example:{attributes:{days:L}}};Object(r.a)("business-hours",q)},function(e,t,n){"use strict";n.r(t);n(36);var r=n(21),a=n.n(r),i=n(0),o=n(16),c=n(53);Object(o.setCategories)([].concat(a()(Object(o.getCategories)().filter((function(e){return"jetpack"!==e.slug}))),[{slug:"jetpack",title:"Jetpack",icon:Object(i.createElement)(c.a,null)}]));var s,l,u,p,d=n(15),h=n.n(d),m=n(23),f=n.n(m),b=n(13),g=n(1),v=(n(78),n(29)),j=n(35),y=n(24);function _(){var e=Object(j.a)();return void 0!==typeof window&&window.location&&e?Object(y.b)()||Object(y.a)()?"https://wordpress.com/plans/my-plan/".concat(e):"".concat(window.location.protocol,"//").concat(e.replace("::","/"),"/wp-admin/admin.php?page=jetpack#/my-plan"):null}if(regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===typeof window||!window.location){e.next=16;break}if(!Object(v.parse)(window.location.href,!0).query.plan_upgraded){e.next=16;break}if(s=null,e.prev=4,!Object(y.b)()){e.next=7;break}return e.abrupt("break",16);case 7:return e.next=9,regeneratorRuntime.awrap(f()({path:"/jetpack/v4/site"}));case 9:l=e.sent,u=JSON.parse(l.data),s=u.plan.product_name;case 12:return e.prev=12,p=_(),Object(b.dispatch)("core/notices").createNotice("success",s?Object(g.sprintf)(Object(g.__)("Congratulations! Your site is now on the %s plan.","jetpack"),s):Object(g.__)("Congratulations! Your site is now on a paid plan.","jetpack"),h()({isDismissible:!0},p&&{actions:[{url:_(),label:Object(g.__)("View my plan","jetpack")}]})),e.finish(12);case 16:case"end":return e.stop()}}),null,null,[[4,,12,16]]),void 0!==typeof window&&window.location){var k=Object(v.parse)(window.location.href,!0).query;k.stripe_connect_success?Object(b.dispatch)("core/notices").createNotice("success",Object(g.__)("Congrats! Your site is now connected to Stripe. You can start making money by adding your first subscription!","jetpack")):k.stripe_connect_cancelled&&Object(b.dispatch)("core/notices").createNotice("error",Object(g.__)("You cancelled connecting your site to Stripe.","jetpack"))}var O=n(50);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){var w=window.Jetpack_Editor_Initial_State.tracksUserData,E=w.userid,C=w.username;O.a.initialize(E,C,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(5),O=n(6),w=n(23),E=n.n(w),C=n(31);function x(e){if(!F.test(e))return"";var t=Object(C.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}var S=/^\s*https?:\/\/pin\.it\//i,A=function(e){function t(){var e;return l()(this,t),e=h()(this,f()(t).apply(this,arguments)),_()(g()(e),"resolveRedirect",(function(){var t=e.props.attributes.url;e.fetchRequest=E()({path:"/wpcom/v2/resolve-redirect/".concat(t)}),e.fetchRequest.then((function(t){e.fetchRequest=null,e.props.setAttributes({url:t.url}),e.setState({resolvingRedirect:!1,editedUrl:t.url})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({resolvingRedirect:!1,editingUrl:!0}))}))})),_()(g()(e),"hideOverlay",(function(){e.setState({interactive:!0})})),_()(g()(e),"setUrl",(function(t){t&&t.preventDefault();var n=e.state.editedUrl;e.props.setAttributes({url:n}),e.setState({editingUrl:!1}),S.test(n)&&e.setState({resolvingRedirect:!0})})),e.state={editedUrl:e.props.attributes.url||"",editingUrl:!1,resolvingRedirect:S.test(e.props.attributes.url),interactive:!1},e}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingRedirect&&this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentWillUnmount",value:function(){Object(k.invoke)(this.fetchRequest,["abort"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,s=n.url,l=this.state,u=l.editedUrl,p=l.interactive,d=l.editingUrl;if(l.resolvingRedirect)return Object(a.createElement)("div",{className:"wp-block-embed is-loading"},Object(a.createElement)(o.Spinner,null),Object(a.createElement)("p",null,Object(i.__)("Embedding…")));var h=x(s),m="<a data-pin-do='".concat(h,"' href='").concat(s,"'></a>"),f=s&&!h,b=Object(a.createElement)(O.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(i.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})));return d||!s||f?Object(a.createElement)("div",{className:r},b,Object(a.createElement)(o.Placeholder,{label:Object(i.__)("Pinterest","jetpack"),icon:Object(a.createElement)(O.BlockIcon,{icon:T})},Object(a.createElement)("form",{onSubmit:this.setUrl},Object(a.createElement)("input",{type:"url",value:u,className:"components-placeholder__input","aria-label":Object(i.__)("Pinterest URL","jetpack"),placeholder:Object(i.__)("Enter URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(a.createElement)(o.Button,{isLarge:!0,isSecondary:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")),f&&Object(a.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Sorry, this content could not be embedded.","jetpack"),Object(a.createElement)("br",null),Object(a.createElement)(o.Button,{isLarge:!0,onClick:function(){return function(e,t){var n=Object(a.createElement)("a",{href:e},e);t(Object(c.createBlock)("core/paragraph",{content:Object(a.renderToString)(n)}))}(u,e.props.onReplace)}},Object(i._x)("Convert block to link","button label","jetpack")))))):Object(a.createElement)("div",{className:r},b,Object(a.createElement)("div",null,Object(a.createElement)(o.SandBox,{html:m,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:this.hideOverlay}),!p&&Object(a.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(a.Component),F=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,P=Object(i.__)("Pinterest","jetpack"),T=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),N={title:P,description:Object(i.__)("Embed a Pinterest pin, board, or user.","jetpack"),icon:T,category:"jetpack",supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:A,save:function(e){var t=e.attributes,n=e.className,r=t.url;return x(r)?Object(a.createElement)("div",{className:n},Object(a.createElement)("a",{"data-pin-do":x(r),href:r})):null},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&F.test(e.textContent)},transform:function(e){return Object(c.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://pinterest.com/anapinskywalker/"}}};Object(r.a)("pinterest",N)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(20),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(6),O=n(13),w=n(12),E=n.n(w),C=n(33),x=[{value:C.b,label:Object(i.__)("Show after threshold","jetpack")},{value:C.c,label:Object(i.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{isThresholdValid:!0}),_()(g()(n),"setCriteria",(function(e){return n.props.setAttributes({criteria:e})})),_()(g()(n),"setThreshold",(function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})})),n}return j()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===C.b?Object(i.sprintf)(Object(i._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(i.sprintf)(Object(i._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(a.createElement)("div",{className:E()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(a.createElement)(o.Placeholder,{icon:F,label:Object(i.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(a.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(i.__)("Please enter a valid number.","jetpack"),label:Object(i.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(a.createElement)(o.RadioControl,{label:Object(i.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(a.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(a.createElement)(k.InnerBlocks,null))}}]),t}(a.Component),A=Object(O.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,a=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||a(t.clientId)}}))(S),F=(n(228),Object(c.a)(Object(a.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:C.b},threshold:{type:"number",default:C.d}},category:"jetpack",description:Object(i.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(i._x)("return","block search term","jetpack"),Object(i._x)("visitors","block search term","jetpack"),Object(i._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(i.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(a.createElement)("div",{className:t},Object(a.createElement)(k.InnerBlocks.Content,null))},example:{attributes:{criteria:C.b,threshold:C.d},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(i.__)("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(21),s=n.n(c),l=n(7),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(23),k=n.n(_),O=n(12),w=n.n(O),E=n(32),C=n(6),x=n(11),S=n.n(x),A=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(i))),y()(b()(n),"state",{interest_categories:[]}),y()(b()(n),"retrieveGroups",(function(){k()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((function(e){var t=e.interest_categories;n.setState({interest_categories:t})}))})),y()(b()(n),"render",(function(){var e=n.state.interest_categories,t=n.props,r=t.interests,i=t.onChange;return Object(a.createElement)(a.Fragment,null,e&&(e||[]).map((function(e){return e.interests.map((function(e){return Object(a.createElement)(o.CheckboxControl,{label:e.name,value:e.id,checked:r.includes(e.id),onChange:function(t){return i(e.id,t)},key:e.id})}))})))})),n}return v()(t,e),S()(t,[{key:"componentDidMount",value:function(){this.retrieveGroups()}}]),t}(a.Component),F=A;A.defaultProps={interests:[],onChange:function(){return null}};var P=function(e){function t(){var e;return u()(this,t),e=d()(this,m()(t).apply(this,arguments)),y()(b()(e),"componentDidMount",(function(){e.apiCall()})),y()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),y()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};k()(t).then((function(t){var n=t.connect_url,r="connected"===t.code?1:2;e.setState({connected:r,connectURL:n})}),(function(t){e.setState({connected:2,connectURL:null}),e.onError(t.message)}))})),y()(b()(e),"auditionNotification",(function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)})),y()(b()(e),"clearAudition",(function(){e.setState({audition:null})})),y()(b()(e),"updateProcessingText",(function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification("processing")})),y()(b()(e),"updateSuccessText",(function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification("success")})),y()(b()(e),"updateErrorText",(function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification("error")})),y()(b()(e),"updateEmailPlaceholder",(function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()})),y()(b()(e),"labelForAuditionType",(function(t){var n=e.props.attributes,r=n.processingLabel,a=n.successLabel,i=n.errorLabel;return"processing"===t?r:"success"===t?a:"error"===t?i:null})),y()(b()(e),"roleForAuditionType",(function(e){return"error"===e?"alert":"status"})),y()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,l=t.noticeUI,u=t.setAttributes,p=e.state,d=p.audition,h=p.connected,m=p.connectURL,f=n.emailPlaceholder,b=n.consentText,g=n.interests,v=n.processingLabel,j=n.successLabel,_=n.errorLabel,k=n.preview,O=n.signupFieldTag,x=n.signupFieldValue,S="wp-block-jetpack-mailchimp_",A=Object(a.createElement)(o.Placeholder,{icon:N,notices:c},Object(a.createElement)(o.Spinner,null)),P=Object(a.createElement)(o.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:N,label:Object(i.__)("Mailchimp","jetpack"),notices:c,instructions:Object(i.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack")},Object(a.createElement)("div",null,Object(a.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:m,target:"_blank"},Object(i.__)("Set up Mailchimp form","jetpack"))),Object(a.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(i.__)("Re-check Connection","jetpack"))),T=Object(a.createElement)(C.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Text Elements","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Email Placeholder","jetpack"),value:f,onChange:e.updateEmailPlaceholder})),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Notifications","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Processing text","jetpack"),value:v,onChange:e.updateProcessingText}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Success text","jetpack"),value:j,onChange:e.updateSuccessText}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Error text","jetpack"),value:_,onChange:e.updateErrorText})),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Mailchimp Groups","jetpack")},Object(a.createElement)(F,{interests:g,onChange:function(e,t){var n=s()(new Set([].concat(s()(g),[e]))).filter((function(n){return!(n===e&&!t)&&n}));u({interests:n})}}),Object(a.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},Object(i.__)("Learn about groups","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Signup Location Tracking","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Signup Field Tag","jetpack"),placeholder:Object(i.__)("SIGNUP"),value:O,onChange:function(e){return u({signupFieldTag:e})}}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Signup Field Value","jetpack"),placeholder:Object(i.__)("website"),value:x,onChange:function(e){return u({signupFieldValue:e})}}),Object(a.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},Object(i.__)("Learn about signup location tracking","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Mailchimp Connection","jetpack")},Object(a.createElement)(o.ExternalLink,{href:m},Object(i.__)("Manage Connection","jetpack")))),M=w()(r,y()({},"".concat(S,"notication-audition"),d)),R=Object(a.createElement)("div",{className:M},Object(a.createElement)(o.TextControl,{"aria-label":f,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:f,title:Object(i.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(a.createElement)(E.a,e.props),Object(a.createElement)(C.RichText,{tagName:"p",placeholder:Object(i.__)("Write consent text","jetpack"),value:b,onChange:function(e){return u({consentText:e})},inlineToolbar:!0}),d&&Object(a.createElement)("div",{className:"".concat(S,"notification ").concat(S).concat(d),role:e.roleForAuditionType(d)},e.labelForAuditionType(d))),D=R;return Object(a.createElement)(a.Fragment,null,l,k&&D,!k&&0===h&&A,!k&&2===h&&P,!k&&1===h&&T,!k&&1===h&&R)})),e.state={audition:null,connected:0,connectURL:null},e.timeout=null,e}return v()(t,e),t}(a.Component),T=Object(o.withNotices)(P),N=(n(156),Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),M={title:Object(i.__)("Mailchimp","jetpack"),icon:N,description:Object(i.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(i._x)("email","block search term","jetpack"),Object(i._x)("subscription","block search term","jetpack"),Object(i._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(i.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(i.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(i.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:Object(i.__)("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:Object(i.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(i.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:T,save:function(){return null},example:{attributes:{preview:!0}}};Object(r.a)("mailchimp",M)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(2),o=n(1),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(12),k=n.n(_),O=n(32),w=n(23),E=n.n(w),C=n(5),x=n(45),S=n(49),A=n(31),F=n(14),P=n(13),T=n(6),N=n(40),M=n(56),R=n.n(M),D=n(50),z=n(57),I=(n(218),function(e){var t=e.stripeConnectUrl;return Object(a.createElement)(z.a,{buttonLabel:Object(o.__)("Connect","jetpack"),icon:Object(a.createElement)(R.a,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:t,onClick:function(e){D.a.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:e})},title:Object(o.__)("Connect to Stripe to use this block on your site","jetpack"),subtitle:Object(o.__)("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}),L=function(e){function t(){var e;s()(this,t),e=d()(this,m()(t).apply(this,arguments)),y()(b()(e),"componentDidMount",(function(){e.apiCall()})),y()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),y()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};E()(t).then((function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:2}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,a=t.should_upgrade_to_access_memberships,i=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?1:2;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:a,upgradeURL:i,siteSlug:o})}),(function(t){e.setState({connected:2,connectURL:null}),e.onError(t.message)}))})),y()(b()(e),"getCurrencyList",V.map((function(e){var t=Object(x.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(C.trimEnd)(t,"."))}}))),y()(b()(e),"handleCurrencyChange",(function(t){return e.setState({editedProductCurrency:t})})),y()(b()(e),"handleRenewIntervalChange",(function(t){return e.setState({editedProductRenewInterval:t})})),y()(b()(e),"handlePriceChange",(function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})})),y()(b()(e),"handleTitleChange",(function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})})),y()(b()(e),"saveProduct",(function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:2});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};E()(t).then((function(t){e.setState({addingMembershipAmount:0,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)}),(function(t){e.setState({addingMembershipAmount:1}),e.onError(t.message)}))}else e.setState({editedProductTitleValid:!1})})),y()(b()(e),"renderAmount",(function(e){var t=Object(S.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)})),y()(b()(e),"renderAddMembershipAmount",(function(t){return 0!==e.state.addingMembershipAmount||t?2!==e.state.addingMembershipAmount?Object(a.createElement)("div",null,Object(a.createElement)("div",{className:"membership-button__price-container"},Object(a.createElement)(i.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(a.createElement)(i.TextControl,{label:Object(o.__)("Price","jetpack"),className:k()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(S.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(a.createElement)(i.TextControl,{className:k()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(a.createElement)(i.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(a.createElement)("div",null,Object(a.createElement)(i.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:e.saveProduct},Object(o.__)("Add this plan","jetpack")),Object(a.createElement)(i.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:0})}},Object(o.__)("Cancel","jetpack")))):void 0:Object(a.createElement)(i.Button,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:1})}},Object(o.__)("Add a plan","jetpack"))})),y()(b()(e),"getFormattedPriceByProductId",(function(t){var n=e.state.products.filter((function(e){return parseInt(e.id)===parseInt(t)})).pop();return Object(S.a)(parseFloat(n.price),n.currency)})),y()(b()(e),"setMembershipAmount",(function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})})),y()(b()(e),"renderMembershipAmounts",(function(){return Object(a.createElement)("div",null,e.state.products.map((function(t){return Object(a.createElement)(i.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))})))})),y()(b()(e),"renderDisclaimer",(function(){return Object(a.createElement)("div",{className:"membership-button__disclaimer"},Object(a.createElement)(i.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))})),y()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=e.state,l=s.connected,u=s.products,p=n.align,d=e.getConnectUrl(),h=Object(a.createElement)(T.InspectorControls,null,Object(a.createElement)(i.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(a.createElement)(i.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map((function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}}))})),Object(a.createElement)(i.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(a.createElement)(i.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),m=k()(r,["wp-block-button__link","components-button","is-primary","is-button","align".concat(p)]),f=Object(a.createElement)(O.a,{className:m,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(a.createElement)(a.Fragment,null,e.props.noticeUI,!e.hasUpgradeNudge&&!e.state.shouldUpgrade&&2===l&&Object(a.createElement)(I,{blockName:"recurring-payments",stripeConnectUrl:d}),!e.hasUpgradeNudge&&e.state.shouldUpgrade&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c,instructions:Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack")},Object(a.createElement)(i.Button,{isSecondary:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),e.renderDisclaimer())),(0===l||2===e.state.addingMembershipAmount)&&!e.props.attributes.planId&&Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),notices:c},Object(a.createElement)(i.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&1===l&&0===u.length&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(a.createElement)("div",{className:"components-placeholder__instructions"},Object(a.createElement)("p",null,Object(o.__)("To use this block, first add at least one payment plan.","jetpack")),e.renderAddMembershipAmount(!0),e.renderDisclaimer()))),!e.state.shouldUpgrade&&!e.props.attributes.planId&&2!==e.state.addingMembershipAmount&&1===l&&u.length>0&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(a.createElement)("div",{className:"components-placeholder__instructions"},Object(a.createElement)("p",null,Object(o.__)("To use this block, select a previously created payment plan.","jetpack")),e.renderMembershipAmounts(),Object(a.createElement)("p",null,Object(o.__)("Or a new one.","jetpack")),e.renderAddMembershipAmount(!1),e.renderDisclaimer()))),e.state.products&&h,((e.hasUpgradeNudge||!e.state.shouldUpgrade)&&0!==l||e.props.attributes.planId)&&f,e.hasUpgradeNudge&&2===l&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments disclaimer-only"},e.renderDisclaimer()))})),e.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null;var n=Object(N.a)("recurring-payments");return e.hasUpgradeNudge=!n.available&&"missing_plan"===n.unavailableReason,e}return v()(t,e),u()(t,[{key:"getConnectUrl",value:function(){var e,t=this.props.postId,n=this.state.connectURL;if(!Object(A.isURL)(n))return null;if(!t)return n;try{var r=Object(A.getQueryArg)(n,"state");e=JSON.parse(atob(r))}catch(a){return n}return e.from_editor_post_id=t,Object(A.addQueryArgs)(n,{state:btoa(JSON.stringify(e))})}}]),t}(a.Component),B=Object(F.compose)([Object(P.withSelect)((function(e){return{postId:e("core/editor").getCurrentPostId()}})),i.withNotices])(L),q=(n(226),Object(a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(a.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(i.G,null,Object(a.createElement)(i.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),U={title:Object(o.__)("Recurring Payments button","jetpack"),icon:q,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},edit:B,save:function(){return null},supports:{html:!1,align:!0}},V=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",U)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(23),O=n.n(k),w=n(32),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{subscriberCountString:""}),n}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(a.createElement)("div",{className:n,role:"form"},Object(a.createElement)(c.ToggleControl,{label:Object(i.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(a.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(a.createElement)(w.a,this.props)):Object(a.createElement)("div",{className:n,role:"form"},l&&Object(a.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(a.createElement)(c.TextControl,{placeholder:s}),Object(a.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then((function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(i.sprintf)(Object(i._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(i.__)("Subscriber count unavailable","jetpack")})}))}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(a.Component);var C=n(20),x={title:Object(i.__)("Subscription Form","jetpack"),description:Object(a.createElement)("p",null,Object(i.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(C.a)(Object(a.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(i._x)("subscribe","block search term","jetpack"),Object(i._x)("join","block search term","jetpack"),Object(i._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(i.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(i.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(i.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,i=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(a.createElement)(a.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(i,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},example:{attributes:{}},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(i.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(a.createElement)(a.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(14),c=n(28),s=n(13),l=n(60),u=Object(s.withSelect)((function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),d={render:Object(o.compose)([u,p])((function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(i.CheckboxControl,{label:Object(a.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))}))},h=n(37);Object(h.a)("likes",d)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(10),b=n.n(f),g=n(6),v=n(5),j=n(13),y=n(14);function _(e){return Object(a.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(a.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(i.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(a.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(i.__)("Placeholder image","jetpack")},Object(a.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(a.createElement)("title",null,Object(i.__)("Grey square","jetpack")),Object(a.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(a.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)("title",null,Object(i.__)("Icon for image","jetpack")),Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(i.__)("August 3, 2018","jetpack")),e.displayContext&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(i.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(a.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(a.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(a.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(a.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(a.createElement)("div",null,Object(a.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(a.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),d()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,d=t.postLayout,h=t.postsToShow,m=[{icon:"grid-view",title:Object(i.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===d},{icon:"list-view",title:Object(i.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===d}],f=[],b=0;b<h;b++)r[b]?f.push(Object(a.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(a.createElement)(_,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(g.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Related Posts Settings","jetpack")},Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(a.createElement)(o.RangeControl,{label:Object(i.__)("Number of posts","jetpack"),value:h,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(a.createElement)(g.BlockControls,null,Object(a.createElement)(o.Toolbar,{controls:m})),Object(a.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(a.createElement)("div",{className:"jp-relatedposts-i2","data-layout":d},Object(a.createElement)(O,{posts:f}))))}}]),t}(a.Component),E=Object(y.compose)(y.withInstanceId,Object(j.withSelect)((function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}})))(w),C=(n(227),{title:Object(i.__)("Related Posts","jetpack"),icon:Object(a.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(a.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(i._x)("Similar content","block search term","jetpack"),Object(i._x)("Linked","block search term","jetpack"),Object(i._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:function(){return null},example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}});Object(r.a)("related-posts",C)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(12),k=n.n(_),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",E=Object(i.__)("Search for a term or paste a Giphy URL","jetpack"),C=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(i))),y()(b()(n),"textControlRef",Object(a.createRef)()),y()(b()(n),"state",{captionFocus:!1,results:null}),y()(b()(n),"onFormSubmit",(function(e){e.preventDefault(),n.onSubmit()})),y()(b()(n),"onSubmit",(function(){var e=n.props.attributes.searchText;n.parseSearch(e)})),y()(b()(n),"parseSearch",(function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))})),y()(b()(n),"urlForSearch",(function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")})),y()(b()(n),"urlForId",(function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))})),y()(b()(n),"splitAndLast",(function(e,t){var n=e.split(t);return n[n.length-1]})),y()(b()(n),"fetch",(function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,a=r[0];if(!a.images)return;n.setState({results:r},(function(){n.selectGiphy(a)}))}},t.send()})),y()(b()(n),"selectGiphy",(function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),a="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:a})})),y()(b()(n),"setFocus",(function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})})),y()(b()(n),"hasSearchText",(function(){var e=n.props.attributes.searchText;return e&&e.length>0})),y()(b()(n),"thumbnailClicked",(function(e){n.selectGiphy(e)})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,d=n.searchText,h=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:h},v=k()(r,"align".concat(l)),j=Object(a.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(a.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:E,placeholder:E,onChange:function(e){return s({searchText:e})},value:d}),Object(a.createElement)(o.Button,{isDefault:!0,onClick:this.onSubmit},Object(i.__)("Search","jetpack")));return Object(a.createElement)("div",{className:v},Object(a.createElement)(O.InspectorControls,null,Object(a.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(a.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(a.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(a.createElement)("figure",null,c&&j,c&&b&&b.length>1&&Object(a.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map((function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(a.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})}))),Object(a.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(a.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(a.createElement)("iframe",{src:p,title:d})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(a.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(i.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(a.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},j))}}]),t}(a.Component),x=(n(130),n(154),Object(i.__)("GIF","jetpack")),S=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(i._x)("animated","block search term","jetpack"),Object(i._x)("giphy","block search term","jetpack"),Object(i._x)("image","block search term","jetpack")],description:Object(i.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:C,save:function(){return null},example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(14),c=n(28),s=n(13),l=n(60),u=Object(s.withSelect)((function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),d={render:Object(o.compose)([u,p])((function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(i.CheckboxControl,{label:Object(a.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))}))},h=n(37);Object(h.a)("sharing",d)},function(e,t,n){"use strict";n.r(t);var r=n(7),a=n.n(r),i=n(11),o=n.n(i),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),d=n.n(p),h=n(0),m=n(1),f=n(5),b=n(2),g=n(13),v=n(4),j=n.n(v),y=n(3),_=n.n(y),k=(n(229),function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(i))),_()(j()(n),"state",{hasCopied:!1}),_()(j()(n),"onCopy",(function(){return n.setState({hasCopied:!0})})),_()(j()(n),"onFinishCopy",(function(){return n.setState({hasCopied:!1})})),_()(j()(n),"onFocus",(function(e){return e.target.select()})),n}return d()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(h.createElement)("div",{className:"jetpack-clipboard-input"},Object(h.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(h.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(h.Component)),O=n(44),w={render:function(){return Object(h.createElement)(C,null)}},E=function(e){function t(){return a()(this,t),s()(this,u()(t).apply(this,arguments))}return d()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(h.createElement)(O.a,null,Object(h.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(h.createElement)(k,{link:e}))):null}}]),t}(h.Component),C=Object(g.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}}))(E),x=n(37);Object(x.a)("shortlinks",w)},,,,,function(e,t,n){},function(e,t,n){n(255),n(254),n(250),n(244),n(242),n(249),n(263),n(261),n(258),n(243),n(252),n(248),n(256),n(241),n(251),n(259),n(262),n(257),n(264),n(265),n(245),n(247),n(260),n(240),n(246),n(253),n(303),e.exports=n(304)},function(e,t,n){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(20),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(10),g=n.n(b),v=(n(270),function(e){function t(){return l()(this,t),h()(this,f()(t).apply(this,arguments))}return g()(t,e),p()(t,[{key:"render",value:function(){return Object(a.createElement)("p",null,Object(i.__)("Coming soon","jetpack"))}}]),t}(a.Component)),j={title:Object(i.__)("Amazon","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Amazon","jetpack")),Object(a.createElement)(o.ExternalLink,{href:"#"},Object(i.__)("Learn more about Amazon","jetpack"))),icon:Object(c.a)(Object(a.createElement)(o.Path,{d:"M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z"})),category:"jetpack",keywords:[],supports:{align:!1,alignWide:!0,anchor:!1,customClassName:!0,className:!0,html:!1,multiple:!0,reusable:!0},edit:v,save:function(){return null},example:{attributes:{}}};Object(r.a)("amazon",j)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(52),c=(n(272),n(44)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(14),O=n(5),w=n(13),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"onMessageChange",(function(e){n.props.updateSeoDescription(e.target.value)})),n}return j()(t,e),p()(t,[{key:"render",value:function(){var e=this.props.seoDescription;return Object(r.createElement)("div",{className:"jetpack-seo-message-box"},Object(r.createElement)("textarea",{value:e,onChange:this.onMessageChange,placeholder:Object(a.__)("Write a description…","jetpack"),rows:4}),Object(r.createElement)("div",{className:"jetpack-seo-character-count"},Object(a.sprintf)(Object(a._n)("%d character","%d characters",e.length,"jetpack"),e.length)))}}]),t}(r.Component),C=Object(k.compose)([Object(w.withSelect)((function(e){return{seoDescription:Object(O.get)(e("core/editor").getEditedPostAttribute("meta"),["advanced_seo_description"],"")}})),Object(w.withDispatch)((function(e){return{updateSeoDescription:function(t){e("core/editor").editPost({meta:{advanced_seo_description:t}})}}}))])(E),x={render:function(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(c.a,null,Object(r.createElement)(i.PanelBody,{title:Object(a.__)("SEO Description","jetpack")},Object(r.createElement)(C,null))),Object(r.createElement)(o.PluginPrePublishPanel,{initialOpen:!0,id:"seo-title",title:Object(r.createElement)("span",{id:"seo-defaults",key:"seo-title-span"},Object(a.__)("SEO Description","jetpack"))},Object(r.createElement)(C,null)))}},S=n(37);Object(S.a)("seo",x)}]));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-beta.rtl.css b/plugins/jetpack/_inc/blocks/editor-beta.rtl.css index 27426c5c..7dd3874f 100644 --- a/plugins/jetpack/_inc/blocks/editor-beta.rtl.css +++ b/plugins/jetpack/_inc/blocks/editor-beta.rtl.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-left:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-button{margin-top:1px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 9px 5px 10px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.wp-block-jetpack-recurring-payments .components-button{display:inline-block;margin-bottom:20px}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .components-placeholder__instructions{margin-bottom:0}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 5% 0 0;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-right:-10px;margin-left:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;margin:0;transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}.jetpack-seo-message-box{background-color:#edeff0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}
\ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-left:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-calendly-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}.is-calendly .is-active{font-weight:700}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{color:#8d96a0;width:100%;margin:0 0 1em}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-eventbrite.is-modal-button{display:inline-block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link{display:block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link:focus span[data-rich-text-placeholder]:after{opacity:.3}.block-editor-block-preview__content [data-type="jetpack/eventbrite"][data-block],.block-editor-block-preview__content [data-type="jetpack/eventbrite"] [data-block]{display:table}.jetpack-eventbrite-block__embed-type-controls .block-editor-block-styles__item-preview{align-items:center;height:auto;justify-content:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-text-control__input{height:36px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 9px 5px 10px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:327px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{padding:0 8px;height:36px;align-items:center;line-height:normal}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{margin:1px 4px 0 0;position:relative}}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 0 .25em 1em}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-left:0;padding-right:1em}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;text-align:right;padding:0;margin:0}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.block-editor-block-preview__content [data-type="jetpack/opentable"][data-block],.block-editor-block-preview__content [data-type="jetpack/opentable"] [data-block]{display:table}.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;flex-basis:100%;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b;line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 5% 0 0;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-right:-10px;margin-left:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:#000}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;margin:0;transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}.jetpack-seo-message-box{background-color:#edeff0;border-radius:4px}.jetpack-seo-message-box textarea{width:100%}.jetpack-seo-character-count{padding-bottom:5px;padding-right:5px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.asset.php b/plugins/jetpack/_inc/blocks/editor-experimental.asset.php new file mode 100644 index 00000000..2fbeb0bd --- /dev/null +++ b/plugins/jetpack/_inc/blocks/editor-experimental.asset.php @@ -0,0 +1 @@ +<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url'), 'version' => '3a61b3002bb5a87b70bf81c5340b6456');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.css b/plugins/jetpack/_inc/blocks/editor-experimental.css new file mode 100644 index 00000000..0bbd46a1 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/editor-experimental.css @@ -0,0 +1 @@ +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-right:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-calendly-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}.is-calendly .is-active{font-weight:700}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{color:#8d96a0;width:100%;margin:0 0 1em}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-eventbrite.is-modal-button{display:inline-block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link{display:block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link:focus span[data-rich-text-placeholder]:after{opacity:.3}.block-editor-block-preview__content [data-type="jetpack/eventbrite"][data-block],.block-editor-block-preview__content [data-type="jetpack/eventbrite"] [data-block]{display:table}.jetpack-eventbrite-block__embed-type-controls .block-editor-block-styles__item-preview{align-items:center;height:auto;justify-content:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-text-control__input{height:36px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:327px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{padding:0 8px;height:36px;align-items:center;line-height:normal}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{margin:1px 0 0 4px;position:relative}}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 1em .25em 0}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-right:0;padding-left:1em}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;text-align:left;padding:0;margin:0}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.block-editor-block-preview__content [data-type="jetpack/opentable"][data-block],.block-editor-block-preview__content [data-type="jetpack/opentable"] [data-block]{display:table}.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;flex-basis:100%;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b;line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 0 0 5%;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-left:-10px;margin-right:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:#000}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-left:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.js b/plugins/jetpack/_inc/blocks/editor-experimental.js new file mode 100644 index 00000000..feca7d39 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/editor-experimental.js @@ -0,0 +1,2 @@ +/*! For license information please see editor-experimental.js.LICENSE */ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,i=t[0],o=t[1],c=0,s=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&s.push(a[r][0]),a[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={5:0,3:0},a={5:0,3:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{16:1,17:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="rtl"===document.dir?({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".rtl.css":({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".css",o=i.p+a,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(p=c[s]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(l===a||l===o))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var p;if((l=(p=u[s]).getAttribute("data-href"))===a||l===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete r[e],d.parentNode.removeChild(d),n(i)},d.href=o,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){r[e]=0})));var n=a[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,r){n=a[e]=[t,r]}));t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+""+({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".js"}(e);var l=new Error;c=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=a[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",l.name="ChunkLoadError",l.type=r,l.request=i,n[1](l)}a[e]=void 0}};var u=setTimeout((function(){c({type:"timeout",target:s})}),12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return i(i.s=268)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(127),a=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(128);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){var r=n(3);function a(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(55),o=n(16),c=n(94),s=n(40),l=n(30),u=n.n(l),p=n(0),d=n(14),h=(n(143),function(e){return Object(d.createHigherOrderComponent)((function(t){return function(n){return Object(p.createElement)(t,u()({},n,{className:n.name===e?"has-warning is-interactive":""}))}}),"withHasWarningIsInteractiveClassNames")}),m=n(56),f=n.n(m),b=n(1),g=n(31),v=n(5),j=n(13),y=n(50),_=n(57),k=n(35),O=n(24),w={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};Object(j.registerStore)("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:w,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,w.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",w.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(145);var E=Object(d.compose)([Object(j.withSelect)((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),a=Object(v.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(v.get)(r,["path_slug"]),i=e("core/editor").getCurrentPostId(),o=e("core/editor").getCurrentPostType(),c=["page","post"].includes(o)?"":"edit",s=Object(O.b)()?Object(g.addQueryArgs)("/"+Object(v.compact)([c,o,Object(k.a)(),i]).join("/"),{plan_upgraded:1}):Object(g.addQueryArgs)(window.location.protocol+"//".concat(Object(k.a)().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:i,plan_upgraded:1}),l=a&&Object(g.addQueryArgs)("https://wordpress.com/checkout/".concat(Object(k.a)(),"/").concat(a),{redirect_to:s});return{trackEvent:function(e){y.a.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(v.get)(r,["product_name"]),upgradeUrl:l}}))])((function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(p.createElement)(_.a,{buttonLabel:Object(b.__)("Upgrade","jetpack"),icon:Object(p.createElement)(f.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:t?Object(b.sprintf)(Object(b.__)("Upgrade to %(planName)s to use this block on your site.","jetpack"),{planName:t}):Object(b.__)("Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:Object(b.__)("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})})),C=function(e){var t=e.requiredPlan;return Object(d.createHigherOrderComponent)((function(e){return function(n){return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(E,{plan:t,blockName:n.name}),Object(p.createElement)(e,n))}}),"wrapPaidBlock")};n.d(t,"a",(function(){return A}));var x=c.beta||[];function S(e,t){return"missing_plan"===e&&t.required_plan}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(s.a)(e),c=r.available,l=r.details,u=r.unavailableReason,p=S(u,l);if(!c&&!p)return!1;var d=Object(o.registerBlockType)("jetpack/".concat(e),a()({},t,{title:x.includes(e)?"".concat(t.title," (beta)"):t.title,edit:p?C({requiredPlan:p})(t.edit):t.edit,example:p?void 0:t.example}));return p&&Object(i.addFilter)("editor.BlockListBlock","jetpack/".concat(e,"-with-has-warning-is-interactive-class-names"),h("jetpack/".concat(e))),n.forEach((function(e){return Object(o.registerBlockType)("jetpack/".concat(e.name),e.settings)})),d}},function(e,t,n){var r=n(65),a=n(66),i=n(67);e.exports=function(e,t){return r(e)||a(e,t)||i()}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(81);var p=/[&<>"]/,d=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function m(e){return h[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(68);t.lib={},t.lib.mdurl=n(82),t.lib.ucmicro=n(168),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(d,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";var r=n(0),a=n(2);t.a=function(e){return Object(r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){var r=n(123),a=n(124),i=n(125);e.exports=function(e){return r(e)||a(e)||i()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return p}));var r=["image"],a=4,i=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function a(){return"simple"===r()}function i(){return"atomic"===r()}n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i}))},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(1),i={name:"map",prefix:"jetpack",title:Object(a.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(a._x)("map","block search term","jetpack"),Object(a._x)("location","block search term","jetpack"),Object(a._x)("navigation","block search term","jetpack")],description:Object(a.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(a.__)("Basic","jetpack")},{value:"black_and_white",label:Object(a.__)("Black and white","jetpack")},{value:"satellite",label:Object(a.__)("Satellite","jetpack")},{value:"terrain",label:Object(a.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t,n){"use strict";var r=n(136),a=n(138);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=j,t.resolve=function(e,t){return j(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?j(e,!1,!0).resolveObject(t):t},t.format=function(e){a.isString(e)&&(e=j(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(139);function j(e,t,n){if(e&&a.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),c=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var j=e=l.join(c);if(j=j.trim(),!n&&1===e.split("#").length){var y=s.exec(j);if(y)return this.path=j,this.href=j,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(j);if(_){var k=(_=_[0]).toLowerCase();this.protocol=k,j=j.substr(_.length)}if(n||_||j.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===j.substr(0,2);!O||_&&b[_]||(j=j.substr(2),this.slashes=!0)}if(!b[_]&&(O||_&&!g[_])){for(var w,E,C=-1,x=0;x<d.length;x++){-1!==(S=j.indexOf(d[x]))&&(-1===C||S<C)&&(C=S)}-1!==(E=-1===C?j.lastIndexOf("@"):j.lastIndexOf("@",C))&&(w=j.slice(0,E),j=j.slice(E+1),this.auth=decodeURIComponent(w)),C=-1;for(x=0;x<p.length;x++){var S;-1!==(S=j.indexOf(p[x]))&&(-1===C||S<C)&&(C=S)}-1===C&&(C=j.length),this.host=j.slice(0,C),j=j.slice(C),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var T=F[x];if(T&&!T.match(h)){for(var M="",N=0,R=T.length;N<R;N++)T.charCodeAt(N)>127?M+="x":M+=T[N];if(!M.match(h)){var D=F.slice(0,x),z=F.slice(x+1),I=T.match(m);I&&(D.push(I[1]),z.unshift(I[2])),z.length&&(j="/"+z.join(".")+j),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==j[0]&&(j="/"+j))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==j.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),j=j.split(q).join(U)}}var V=j.indexOf("#");-1!==V&&(this.hash=j.substr(V),j=j.slice(0,V));var H=j.indexOf("?");if(-1!==H?(this.search=j.substr(H),this.query=j.substr(H+1),t&&(this.query=v.parse(this.query)),j=j.slice(0,H)):t&&(this.search="",this.query={}),j&&(this.pathname=j),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(j(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(a.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var h=p[d];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var j=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=y||j||n.host&&e.pathname,k=_,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),_=_&&(""===m[0]||""===O[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,x=0,S=O.length;S>=0;S--)"."===(E=O[S])?O.splice(S,1):".."===E?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!_&&!k)for(;x--;x)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(_=_||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t,n){"use strict";var r=n(3),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(10),m=n.n(h),f=n(0),b=n(1),g=n(12),v=n.n(g),j=n(14),y=n(2),_=n(6),k=n(5),O=window.getComputedStyle,w=Object(y.withFallbackStyles)((function(e,t){var n,r,a,i,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(a=O(r).backgroundColor),n&&(i=O(n).color),{fallbackBackgroundColor:s||a,fallbackTextColor:l||i}})),E=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,i=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},a()(e,i,i),a()(e,"has-background",r),a()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,a=e.setAttributes,i=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(_.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return a({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,allowedFormats:[]})),Object(f.createElement)(_.InspectorControls,null,Object(f.createElement)(_.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){i(e),a({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),a({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(_.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(j.compose)([Object(_.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c}));var r="after-visits",a="before-visits",i=3,o="jp-visit-counter",c=15552e3},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";function r(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,"a",(function(){return r}))},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(47),a=n(40);function i(e,t){var n=Object(a.a)(e),i=n.available;n.unavailableReason;return!!i&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c}));var r=n(74),a=n(5),i="wp-block-jetpack-slideshow_autoplay-paused";function o(e){c(e),s(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(i)?(e.el.classList.remove(i),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(i),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function c(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,16/9),1),a="undefined"!=typeof window?.8*window.innerHeight:600,i=Math.min(e.width/r,a),o="".concat(Math.floor(i),"px"),c="".concat(Math.floor(i/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=o,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=c,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=c}}}function s(e){Object(a.forEach)(e.slides,(function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(a.alt))}}(e)}function l(e){Object(a.forEach)(e.pagination.bullets,(function(t){t.addEventListener("click",(function(){var t=e.slides[e.realIndex];setTimeout((function(){t.focus()}),500)}))}))}},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}())}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&s()}function c(){o(i)}function s(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(c,t);a=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=v(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function f(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=p(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],i=e["padding-"+a];t[a]=h(i)}return t}(r),i=a.left+a.right,o=a.top+a.bottom,c=h(r.width),s=h(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=m(r,"left","right")+i),Math.round(s+o)!==n&&(s-=m(r,"top","bottom")+o)),!function(e){return e===p(e).document.documentElement}(e)){var l=Math.round(c+i)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return v(a.left,a.top,c,s)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return a?b(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):f(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var j=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,a,i,o,c,s,l=(r=(n=t).x,a=n.y,i=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),u(s,{x:r,y:a,width:i,height:o,top:a,right:r+i,bottom:o+a,left:r}),s);u(this,{target:e,contentRect:l})},_=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new j(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),k="undefined"!=typeof WeakMap?new WeakMap:new r,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new _(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var w=void 0!==i.ResizeObserver?i.ResizeObserver:O;t.a=w},function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(5);function o(e){var t=Object(i.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null),n=Object(i.get)(t,["available_blocks",e,"available"],!1),r=Object(i.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),o=Object(i.get)(t,["available_blocks",e,"details"],[]);return a()({available:n},!n&&{details:o,unavailableReason:r})}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(30),a=n.n(r),i=n(46),o=n.n(i),c=n(0),s=n(12),l=n.n(s),u=n(96),p=n.n(u);n(151);t.a=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,i=void 0!==r&&r,s=o()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":i});return n&&Object(c.createElement)("div",a()({className:u},s),i&&Object(c.createElement)(p.a,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),Object(c.createElement)("span",null,n))}},,function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(2),i=n(52),o=n(47),c=(n(155),n(53)),s=Object(a.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(i.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null}))}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t,n){var r=n(150);e.exports=function(e,t){if(null==e)return{};var n,a,i=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){"use strict";var r=n(0),a=n(2);t.a=function(e){var t=e.label,n=e.onClick;return Object(r.createElement)(a.IconButton,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},function(e,t,n){"use strict";var r=n(54),a=n.n(r),i=n(102),o=n.n(i),c=n(103),s=n.n(c),l=n(63),u=n.n(l),p=n(104),d=n.n(p),h=n(77),m=n.n(h),f=n(105),b=n.n(f),g=n(72);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,i):""+Math.round(a)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(c)}var j=o()("i18n-calypso"),y=[function(e){return e}],_={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function C(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t));if(e.state.locale[r.original])return E(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:d()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return v(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==_[n+e])return _[n+e];var r=b()().update(e).digest("hex");return _[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)y.push(r(!1));else{var a=t.substr(5).indexOf("-");if(a<0){var i=Number(t.substr(5));y.push(r(i))}else for(var o=Number(t.substr(5,a)),c=Number(t.substr(6+a)),s=o;s<=c;s++)y.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=E(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=E(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!C(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var a=C(this,t);if(a||(a=E(this.state.jed,t)),t.args){var i=Array.isArray(t.args)?t.args.slice(0):[t.args];i.unshift(a);try{a=u.a.sprintf.apply(u.a,i)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",i)}}return t.components&&(a=s()({mixedString:a,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(e){a=e(a,t)})),n&&this.state.translations.set(e,a),a},x.prototype.reRenderTranslations=function(){j("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),T=n.n(P),M=n(11),N=n.n(M),R=n(8),D=n.n(R),z=n(9),I=n.n(z),L=n(4),B=n.n(L),q=n(10),U=n.n(q),V=n(3),H=n.n(V),G=n(34),$=n.n(G),W=n(18),K=n.n(W),Z=new F,J=(Z.moment,Z.numberFormat.bind(Z)),Y=(Z.translate.bind(Z),Z.configure.bind(Z),Z.setLocale.bind(Z),Z.getLocale.bind(Z),Z.getLocaleSlug.bind(Z),Z.addTranslations.bind(Z),Z.reRenderTranslations.bind(Z),Z.registerComponentUpdateHook.bind(Z),Z.registerTranslateHook.bind(Z),Z.state,Z.stateObserver,Z.on.bind(Z),Z.off.bind(Z),Z.emit.bind(Z),A={moment:(S=Z).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Z),n(45));function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var i=a()({},r,n),o=i.decimal,c=i.grouping,s=i.precision,l=i.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",(function(){return Q}))},function(e,t,n){"use strict";var r=n(93),a=n.n(r),i=n(5),o={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var c,s,l=function(e){if(e in o)return o[e];throw new Error("config key `"+e+"` does not exist")},u=a()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var p={initialize:function(e,t,n){p.setUser(e,t),p.setSuperProps(n),p.identifyUser()},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){c=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Built stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){p.tracks.recordPageView(e),p.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,i,o){p.ga.recordPurchase(e,t,n,r,a,i,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(u("- Super Props: %o",c),t=Object(i.assign)(t,c)),u('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):u('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};p.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){p.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){u("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};p.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",l("google_analytics_key"),"auto",e),p.ga.initialized=!0)},recordPageView:function(e,t){p.ga.initialize(),u("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),l("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){p.ga.initialize();var a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),u(a),l("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,i,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.a=p},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5),a=function(e,t){return Object(r.reduce)(t,(function(t,n,r){var a=e[r],i=a.type,o=a.validator,c=a.validValues,s=a.default;return t[r]="boolean"===i?!!n:o?o(n)?n:s:c?c.includes(n)?n:s:n,t}),{})}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(12),o=n.n(i);t.a=function(e){var t=e.size,n=void 0===t?24:t,i=e.className;return Object(r.createElement)(a.SVG,{className:o()("jetpack-logo",i),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(a.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(a.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(a.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",c,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:a,width:a,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var a,i=n(34),o=(a=i)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(14),o=n(13),c=n(6);n(144);t.a=Object(i.compose)([Object(o.withDispatch)((function(e,t){var n=t.blockName,r=t.href,a=t.onClick;return{autosaveAndRedirect:function(t){return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return t.preventDefault(),a(n),i.next=4,regeneratorRuntime.awrap(e("core/editor").autosave());case 4:window.top.location.href=r;case 5:case"end":return i.stop()}}))}}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,i=e.href,o=e.icon,s=e.subtitle,l=e.title;return Object(r.createElement)(c.Warning,{actions:i&&[Object(r.createElement)(a.Button,{href:i,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(r.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(r.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(r.createElement)("span",{className:"jetpack-block-nudge__title"},l),Object(r.createElement)("span",{className:"jetpack-block-nudge__message"},s))))}))},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(15),a=n.n(r),i=n(0),o=n(12),c=n.n(o),s=n(5),l=n(16),u=n(6),p=n(13),d=n(26),h=function(e){var t=e.attributes,n=e.styleOption,r=e.viewportWidth,o=e.blockName,c=Object(l.getBlockType)(o);return Object(i.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(i.createElement)(u.BlockPreview,{viewportWidth:r,blocks:c.example?Object(l.getBlockFromExample)(o,{attributes:a()({},c.example.attributes,{style:n.value}),innerBlocks:c.example.innerBlocks}):Object(l.createBlock)(c,t)}))},m=i.memo?Object(i.memo)(h,(function(e,t){return Object(s.isEqual)(e,t)})):h;function f(e){var t,n=e.attributes,r=e.clientId,o=e.styleOptions,s=e.onSelectStyle,l=e.activeStyle,u=e.viewportWidth;return p.useSelect&&(t=Object(p.useSelect)((function(e){return(0,e("core/block-editor").getBlock)(r)}))),Object(i.createElement)("div",{className:"block-editor-block-styles"},o.map((function(e){var r=a()({},n,{style:e.value});return Object(i.createElement)("div",{key:e.value,className:c()("block-editor-block-styles__item",{"is-active":e.value===l}),onClick:function(){s({style:e.value})},onKeyDown:function(t){d.ENTER!==t.keyCode&&d.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},p.useSelect&&t&&Object(i.createElement)(m,{blockName:t.name,styleOption:e,attributes:r,viewportWidth:u}),Object(i.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(1),i=n(2),o=n(47),c=n(44),s=Object(i.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(i.PanelBody,{title:Object(a.__)("Likes and Sharing","jetpack")},e)):null}))}})},function(e,t,n){"use strict";var r=n(233);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=a.default.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=a.default.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,d=(0,i.default)(p),h=(0,o.default)(d),m="i"+Math.floor(3*h()),c('determined server "%s" to use with "%s"',m,p),m+".wp.com"),r&&(l.query.ssl=1)}var p,d,h,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[s[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=a.default.format(l);return c("generated Photon URL: %s",g),g};var a=r(n(29)),i=r(n(234)),o=r(n(235)),c=(0,r(n(236)).default)("photon"),s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(18),a=n.n(r),i=n(22);function o(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function c(e,t){!function(e,t,n){var r=a()(t,2),c=r[0],s=r[1],h=1/c*(n-i.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,a=l(e),c=a.map((function(e){return(n-i.b*(e.childElementCount-1))*p(e)[0]})),s=o(c,r);a.forEach((function(e,t){var r=c[t],a=s[t];!function(e,t){var n=t.colHeight,r=t.width,a=t.rawWidth,i=o(u(e).map((function(e){return a/d(e)})),n);Array.from(e.children).forEach((function(e,t){var n=i[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-i.b*(e.childElementCount-1),width:a,rawWidth:r})}))}(e,{rawHeight:h,rowWidth:n-i.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce((function(e,t){var n=a()(e,2),r=n[0],i=n[1],o=a()(t,2);return[r+o[0],i+o[1]]}),[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(d).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function d(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t,n){!function(n,r){var a=Array.prototype,i=Object.prototype,o=a.slice,c=i.hasOwnProperty,s=a.forEach,l={},u={forEach:function(e,t,n){var r,a,i;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,a=e.length;r<a;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(i in e)if(c.call(e,i)&&t.call(n,e[i],i,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function d(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function h(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(h.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new h(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,a){return this.dcnpgettext.call(this,e,t,n,r,a)},dcnpgettext:function(e,t,n,r,a){var i;if(r=r||n,e=e||this._textdomain,!this.options)return(i=new p).dcnpgettext.call(i,void 0,void 0,n,r,a);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,h=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===a)s=0;else{if("number"!=typeof a&&(a=parseInt(a,10),isNaN(a)))throw new Error("The number that was passed in is not a number.");s=d(f)(a)}if(!h)throw new Error("No domain named `"+e+"` could be found.");return!(o=h[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[d(f)(a)]),c[d()(a)]):(c=o[s])||(c=[n,r])[d()(a)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var a,i,o,c,s,l,u,p=1,d=n.length,h="",m=[];for(i=0;i<d;i++)if("string"===(h=e(n[i])))m.push(n[i]);else if("array"===h){if((c=n[i])[2])for(a=r[p],o=0;o<c[2].length;o++){if(!a.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);a=a[c[2][o]]}else a=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(a))throw b("[sprintf] expecting number but found %s",e(a));switch(null==a&&(a=""),c[8]){case"b":a=a.toString(2);break;case"c":a=String.fromCharCode(a);break;case"d":a=parseInt(a,10);break;case"e":a=c[7]?a.toExponential(c[7]):a.toExponential();break;case"f":a=c[7]?parseFloat(a).toFixed(c[7]):parseFloat(a);break;case"o":a=a.toString(8);break;case"s":a=(a=String(a))&&c[7]?a.substring(0,c[7]):a;break;case"u":a=Math.abs(a);break;case"x":a=a.toString(16);break;case"X":a=a.toString(16).toUpperCase()}a=/[def]/.test(c[8])&&c[3]&&a>=0?"+"+a:a,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(a).length,s=c[6]?t(l,u):"",m.push(c[5]?a+s:s+a)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],a=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){a|=1;var i=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(i.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))i.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";i.push(c[1])}n[2]=i}else a|=2;if(3===a)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),g=function(e,t){return t.unshift(e),b.apply(null,t)};p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?g(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},(p.PF={}).parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,a,i,o){var c=i.length-1;switch(a){case 1:return{type:"GROUP",expr:i[c-1]};case 2:this.$={type:"TERNARY",expr:i[c-4],truthy:i[c-2],falsey:i[c]};break;case 3:this.$={type:"OR",left:i[c-2],right:i[c]};break;case 4:this.$={type:"AND",left:i[c-2],right:i[c]};break;case 5:this.$={type:"LT",left:i[c-2],right:i[c]};break;case 6:this.$={type:"LTE",left:i[c-2],right:i[c]};break;case 7:this.$={type:"GT",left:i[c-2],right:i[c]};break;case 8:this.$={type:"GTE",left:i[c-2],right:i[c]};break;case 9:this.$={type:"NEQ",left:i[c-2],right:i[c]};break;case 10:this.$={type:"EQ",left:i[c-2],right:i[c]};break;case 11:this.$={type:"MOD",left:i[c-2],right:i[c]};break;case 12:this.$={type:"GROUP",expr:i[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],a=[],i=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}a.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,h,m,f,b,g,v,j,y,_,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==d&&(d=p()),f=i[m]&&i[m][d]),void 0===f||!f.length||!f[0]){if(!l){for(g in y=[],i[m])this.terminals_[g]&&g>2&&y.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+this.terminals_[d]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:y})}if(3==l){if(1==d)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,d=p()}for(;!(2..toString()in i[m]);){if(0==m)throw new Error(O||"Parsing halted.");_=1,n.length=n.length-2*_,r.length=r.length-_,a.length=a.length-_,m=n[n.length-1]}h=d,d=2,f=i[m=n[n.length-1]]&&i[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+d);switch(f[0]){case 1:n.push(d),r.push(this.lexer.yytext),a.push(this.lexer.yylloc),n.push(f[1]),d=null,h?(d=h,h=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:a[a.length-(v||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(v||1)].first_column,last_column:a[a.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,a)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),a=a.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),a.push(k._$),j=i[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t){var n=1e3,r=6e4,a=36e5,i=24*a;function o(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*i;case"hours":case"hour":case"hrs":case"hr":case"h":return o*a;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return o(e,t,i,"day");if(t>=a)return o(e,t,a,"hour");if(t>=r)return o(e,t,r,"minute");if(t>=n)return o(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=a)return Math.round(e/a)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){a=!0,i=s}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var a=this.__find__(e),i=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var a=this.__find__(e),i=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(92),a=n(91);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var o=e.charCodeAt(a);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):i(e,a)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++a)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=o(a)),n+=s(a.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,a){var i=n-t;r(i%4==0);for(var o=new Array(i/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===a?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var i=e[r];"big"===t?(n[a]=i>>>24,n[a+1]=i>>>16&255,n[a+2]=i>>>8&255,n[a+3]=255&i):(n[a+3]=i>>>24,n[a+2]=i>>>16&255,n[a+1]=i>>>8&255,n[a]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],i=r+e[t+1]>>>0,o=(i<r?1:0)+n+a;e[t]=o>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,i,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+n+a+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,i,o,c){return t+r+i+c>>>0},t.sum64_5_hi=function(e,t,n,r,a,i,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+i>>>0)<i?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+a+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,i,o,c,s,l){return t+r+i+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,a="object"==typeof Reflect?Reflect:null,i=a&&"function"==typeof a.apply?a.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var a,i,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),o=i[t]),void 0===o)o=i[t]=n,++e._eventsCount;else if("function"==typeof o?o=i[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(a=l(e))>0&&o.length>a&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=p.bind(r);return a.listener=n,r.wrapFn=a,a}function h(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:"function"==typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):f(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,a=this._events;if(void 0!==a)r=r&&void 0===a.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=a[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var l=s.length,u=f(s,l);for(n=0;n<l;++n)i(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,d(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,d(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,a,i,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,a=i;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(a=i[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return h(this,e,!0)},c.prototype.rawListeners=function(e){return h(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(18),a=n.n(r),i=n(5);n(135);function o(){var e,t,r,o,c,s,l,u=arguments;return regeneratorRuntime.async((function(p){for(;;)switch(p.prev=p.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:".swiper-container",t=u.length>1&&void 0!==u[1]?u[1]:{},r=u.length>2&&void 0!==u[2]?u[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(i.mapValues)(r,(function(e){return function(){e(this)}}))},p.next=6,regeneratorRuntime.awrap(Promise.all([n.e(17).then(n.t.bind(null,266,7)),n.e(17).then(n.t.bind(null,267,7))]));case 6:return c=p.sent,s=a()(c,1),l=s[0].default,p.abrupt("return",new l(e,Object(i.merge)({},o,t)));case 10:case"end":return p.stop()}}))}},function(e,t){!function(){e.exports=this.wp.escapeHtml}()},,function(e,t,n){"use strict";var r=n(18),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(4),m=n.n(h),f=n(10),b=n.n(f),g=n(3),v=n.n(g),j=n(0),y=n(1),_=n(5),k=n(2),O=(n(131),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=u()(this,(e=d()(t)).call.apply(e,[this].concat(a))),v()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),v()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,a=e.markerColor,i=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",i)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+a+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(j.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,E=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=u()(this,(e=d()(t)).call.apply(e,[this].concat(a))),v()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(j.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(j.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=E;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),v()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),v()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),v()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,a=n.slice(0);Object(_.assign)(a[r],t),e.props.onSetPoints(a)})),v()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),v()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,a=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,i=Math.min(.75*r,a);n.style.height=i+"px",t.resize(),e.setBoundsByMarkers()})),v()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.admin,r=t.onSetMapCenter,a=t.onSetZoom,i=t.points,o=t.zoom,c=e.state,s=c.map,l=c.activeMarker,u=c.mapboxgl,p=c.zoomControl,d=c.boundsSetProgrammatically;if(s&&(i.length&&n?s.dragPan.disable():s.dragPan.enable(),i.length&&!l)){var h=new u.LngLatBounds;if(i.forEach((function(e){h.extend([e.coordinates.longitude,e.coordinates.latitude])})),r(h.getCenter()),i.length>1){s.fitBounds(h,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0});try{s.removeControl(p)}catch(m){}}else{if(s.setCenter(h.getCenter()),d){s.setZoom(12),a(12)}else s.setZoom(parseInt(o,10));s.addControl(p),e.setState({boundsSetProgrammatically:!1})}}})),v()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),v()(m()(e),"googlePoint2Mapbox",(function(e){return e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0}})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(j.createRef)(),e.debouncedSizeMap=Object(_.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,a=t.children,i=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,d=this.updateActiveMarker,h=Object(_.get)(s,"props.point")||{},m=h.title,f=h.caption,b=j.Children.map(a,(function(e){if("AddPoint"===Object(_.get)(e,"props.tagName"))return e})),g=c&&l&&n.map((function(e,t){return Object(j.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:i,onClick:u})})),v=l&&Object(j.createElement)(C,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(j.createElement)(j.Fragment,null,Object(j.createElement)(k.TextControl,{label:Object(y.__)("Marker Title","jetpack"),value:m,onChange:function(e){return d({title:e})}}),Object(j.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(y.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return d({caption:e})}}),Object(j.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(j.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(y.__)("Delete Marker","jetpack"))),s&&!r&&Object(j.createElement)(j.Fragment,null,Object(j.createElement)("h3",null,m),Object(j.createElement)("p",null,f)));return Object(j.createElement)(j.Fragment,null,Object(j.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,a=t.points,i=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(16).then(n.t.bind(null,306,7)),n.e(16).then(n.t.bind(null,307,7))]).then((function(n){var r=a()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,a=r.zoom,i=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(a,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",(function(e){o("mapbox_error",e.error.message)}));var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",(function(){t.props.onSetZoom(s.getZoom())})),s.on("moveend",(function(){var e=t.props,n=e.onSetMapCenter;e.points.length<1&&n(s.getCenter())})),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},(function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),i(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}}]),t}(j.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onSetMapCenter:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){!function(){e.exports=this.moment}()},function(e,t){!function(){e.exports=this.wp.notices}()},function(e,t){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(n){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var o in e)e.hasOwnProperty(o)&&this.append(o,e[o])}},i=a.prototype;i.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},i.delete=function(e){delete this._entries[e]},i.get=function(e){return e in this._entries?this._entries[e][0]:null},i.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},i.has=function(e){return e in this._entries},i.set=function(e,t){this._entries[e]=[String(t)]},i.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},i.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},i.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},i.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(i[Symbol.iterator]=i.entries),i.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var i=e.URLSearchParams.prototype;"function"!=typeof i.sort&&(i.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof i._fromString&&Object.defineProperty(i,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,i=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<i.length;n++)r=i[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(n){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(p){throw new Error("URL unable to set base "+n+" due to "+p)}}var i=a.createElement("a");if(i.href=t,r&&(a.body.appendChild(i),i.href=i.href),":"===i.protocol||!/:/.test(i.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var o=new e.URLSearchParams(this.search),c=!0,s=!0,l=this;["append","delete","set"].forEach((function(e){var t=o[e];o[e]=function(){t.apply(o,arguments),c&&(s=!1,l.search=o.toString(),s=!0)}})),Object.defineProperty(this,"searchParams",{value:o,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){},function(e,t,n){"use strict";e.exports=n(163)},function(e,t,n){"use strict";e.exports.encode=n(164),e.exports.decode=n(165),e.exports.format=n(166),e.exports.parse=n(167)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+a+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+a+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,a,i,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(c),a<2)return!1;for(a%2&&(e.push("text","",0).content=i,a--),n=0;n<a;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,a,i,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(a=c[r.end],(i=e.tokens[r.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[a.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&o.push(a.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(i=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=i)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,a=e.pos,i=e.src.charCodeAt(a);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,a,i,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,i=String.fromCharCode(n.marker),(a=e.tokens[n.token]).type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?i+i:i,a.content="",(a=e.tokens[r.token]).type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?i+i:i,a.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(142)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e){e.exports=JSON.parse('{"production":["business-hours","calendly","contact-form","contact-info","eventbrite","gif","likes","mailchimp","map","markdown","opentable","pinterest","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],"beta":["amazon","seo"]}')},function(e,t,n){"use strict";var r=n(147),a=n(148);function i(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=a({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),a=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(a),i,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}(t=a({encode:!0,strict:!0,arrayFormat:"none"},t));return e?Object.keys(e).sort().map((function(r){var a=e[r];if(void 0===a)return"";if(null===a)return i(r,t);if(Array.isArray(a)){var o=[];return a.slice().forEach((function(e){void 0!==e&&o.push(n(r,e,o.length))})),o.join("&")}return i(r,t)+"="+i(a,t)})).filter((function(e){return e.length>0})).join("&"):""}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",c,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:a,width:a,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,i=n(34),o=(a=i)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,n){e.exports=n.p+"images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png"},function(e,t,n){e.exports=n.p+"images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png"},function(e,t,n){e.exports=n.p+"images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg"},function(e,t,n){"use strict";e.exports=n(162)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var a,i,o=n[r.type],c=t(r);if(o)for(a=0;a<o.length;a++)(i=o[a](r,e))&&e.dispatch(i);return c}}}).effects=n,t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(219)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=c(n(34)),i=c(n(220)),o=c(n(223));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,d,h,m,f=[],b={};for(d=0;d<e.length;d++)if("string"!==(p=e[d]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=d;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(c,e),h=l(e.slice(c+1,u),t),o=a.default.cloneElement(n,{},h),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,o.default)(t);try{return l(i,n)}catch(c){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(72),a=n(91);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,a(i,r.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(71),a=n(224),i=n(225),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=i.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],i=this.h[1],u=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(a,5),l(m,i,u,d),h,n[r],p[m]);h=d,d=u,u=o(i,30),i=a,a=f}this.h[0]=c(this.h[0],a),this.h[1]=c(this.h[1],i),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],d),this.h[4]=c(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){e.exports=n.p+"images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg"},function(e,t){!function(){e.exports=this.wp.tokenList}()},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg"},function(e,t,n){e.exports=n.p+"images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png"},function(e,t,n){e.exports=n.p+"images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png"},function(e,t,n){e.exports=n.p+"images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png"},function(e,t,n){e.exports=n.p+"images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png"},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(e){var r;!function(a){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var o,c=2147483647,s=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function m(e){throw RangeError(p[e])}function f(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+f((e=e.replace(u,".")).split("."),t).join(".")}function g(e){for(var t,n,r=[],a=0,i=e.length;a<i;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<i?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function v(e){return f(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function _(e){var t,n,r,a,i,o,s,l,u,p,h,f=[],b=e.length,g=0,j=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),f.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(i=g,o=1,s=36;a>=b&&m("invalid-input"),((l=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>d((c-g)/o))&&m("overflow"),g+=l*o,!(l<(u=s<=_?1:s>=_+26?26:s-_));s+=36)o>d(c/(p=36-u))&&m("overflow"),o*=p;_=y(g-i,t=f.length+1,0==i),d(g/t)>c-j&&m("overflow"),j+=d(g/t),g%=t,f.splice(g++,0,j)}return v(f)}function k(e){var t,n,r,a,i,o,s,l,u,p,f,b,v,_,k,O=[];for(b=(e=g(e)).length,t=128,n=0,i=72,o=0;o<b;++o)(f=e[o])<128&&O.push(h(f));for(r=a=O.length,a&&O.push("-");r<b;){for(s=c,o=0;o<b;++o)(f=e[o])>=t&&f<s&&(s=f);for(s-t>d((c-n)/(v=r+1))&&m("overflow"),n+=(s-t)*v,t=s,o=0;o<b;++o)if((f=e[o])<t&&++n>c&&m("overflow"),f==t){for(l=n,u=36;!(l<(p=u<=i?1:u>=i+26?26:u-i));u+=36)k=l-p,_=36-p,O.push(h(j(p+k%_,0))),l=d(k/_);O.push(h(j(l,0))),i=y(n,v,r==a),n=0,++r}++n,++t}return O.join("")}o={version:"1.3.2",ucs2:{decode:g,encode:v},decode:_,encode:k,toASCII:function(e){return b(e,(function(e){return l.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return b(e,(function(e){return s.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(137)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(140),t.encode=t.stringify=n(141)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,d,h,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),d=decodeURIComponent(u),h=decodeURIComponent(p),r(i,d)?Array.isArray(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var i=encodeURIComponent(r(a))+n;return Array.isArray(e[a])?e[a].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[a]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""}},function(e,t,n){var r=n(21);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return a.colors[Math.abs(t)%a.colors.length]}function a(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var o=r,c=Number(new Date),s=c-(n||c);o.diff=s,o.prev=n,o.curr=c,n=c,t[0]=a.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var r=a.formatters[n];if("function"==typeof r){var i=t[l];e=r.call(o,i),t.splice(l,1),l--}return e})),a.formatArgs.call(o,t);var u=o.log||a.log;u.apply(o,t)}}return r.namespace=e,r.enabled=a.enabled(e),r.useColors=a.useColors(),r.color=t(e),r.destroy=i,r.extend=o,"function"==typeof a.init&&a.init(r),a.instances.push(r),r}function i(){var e=a.instances.indexOf(this);return-1!==e&&(a.instances.splice(e,1),!0)}function o(e,t){var n=a(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function c(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},a.disable=function(){var e=[].concat(r(a.names.map(c)),r(a.skips.map(c).map((function(e){return"-"+e})))).join(",");return a.enable(""),e},a.enable=function(e){var t;a.save(e),a.names=[],a.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+e.substr(1)+"$")):a.names.push(new RegExp("^"+e+"$")));for(t=0;t<a.instances.length;t++){var i=a.instances[t];i.enabled=a.enabled(i.namespace)}},a.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=a.skips.length;t<n;t++)if(a.skips[t].test(e))return!1;for(t=0,n=a.names.length;t<n;t++)if(a.names[t].test(e))return!0;return!1},a.humanize=n(64),Object.keys(e).forEach((function(t){a[t]=e[t]})),a.instances=[],a.names=[],a.skips=[],a.formatters={},a.selectColor=t,a.enable(a.load()),a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,c,s=o(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))a.call(n,u)&&(s[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)i.call(n,c[p])&&(s[c[p]]=n[c[p]])}}return s}},function(e,t,n){},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(19),a=n(170),i=n(174),o=n(175),c=n(183),s=n(197),l=n(210),u=n(82),p=n(212),d={default:n(213),zero:n(214),commonmark:n(215)},h=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!h.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function j(e,t){if(!(this instanceof j))return new j(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new i,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}j.prototype.set=function(e){return r.assign(this.options,e),this},j.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},j.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},j.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},j.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},j.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},j.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},j.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},j.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=j},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,n){"use strict";var r={};function a(e,t,n){var i,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=a.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?a.push(n):a.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)a[e.charCodeAt(t)]=e[t];return a}(t),i=0,o=e.length;i<o;i++)if(c=e.charCodeAt(i),n&&37===c&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&i+1<o&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}a.defaultChars=";/?:@&=+$,-_.!~*'()#",a.componentChars="-_.!~*'()",e.exports=a},function(e,t,n){"use strict";var r={};function a(e,t){var n;return"string"!=typeof t&&(t=a.defaultChars),n=function(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),a.push(n);for(t=0;t<e.length;t++)a[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return a}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,a,i,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(a=parseInt(e.slice(t+1,t+3),16))<128?l+=n[a]:192==(224&a)&&t+3<r&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=a<<6&1984|63&i)<128?"��":String.fromCharCode(s),t+=3):224==(240&a)&&t+6<r&&(i=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&o))?(l+=(s=a<<12&61440|i<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&a)&&t+9<r&&(i=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&o)&&128==(192&c))?((s=a<<18&1835008|i<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l}))}a.defaultChars=";/?:@&=+$,#",a.componentChars="",e.exports=a},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var a=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=a.exec(f);if(g&&(i=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&h[g]||(f=f.substr(2),this.slashes=!0)),!h[g]&&(s||g&&!m[g])){var v,j,y=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===y||c<y)&&(y=c);for(-1!==(j=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,j),f=f.slice(j+1),this.auth=v),y=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===y||c<y)&&(y=c);-1===y&&(y=f.length),":"===f[y-1]&&y--;var _=f.slice(0,y);f=f.slice(y),this.parseHost(_),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var E="",C=0,x=w.length;C<x;C++)w.charCodeAt(C)>127?E+="x":E+=w[C];if(!E.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(d);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var T=f.indexOf("?");return-1!==T&&(this.search=f.substr(T),f=f.slice(0,T)),f&&(this.pathname=f),m[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(83),t.Cc=n(84),t.Cf=n(169),t.P=n(68),t.Z=n(85)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(171),t.parseLinkDestination=n(172),t.parseLinkTitle=n(173)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===i)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return a&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(19).isSpace,a=n(19).unescapeAll;e.exports=function(e,t,n){var i,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(i=e.charCodeAt(t))||r(i))return s;if(62===i)return s.pos=t+1,s.str=a(e.slice(c+1,t)),s.ok=!0,s;92===i&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<n)t+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=a(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(19).unescapeAll;e.exports=function(e,t,n){var a,i,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t<n;){if((a=e.charCodeAt(t))===i)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===a?o++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(19).assign,a=n(19).unescapeAll,i=n(19).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,a){var o=e[t];return"<code"+a.renderAttrs(o)+">"+i(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,a){var o=e[t];return"<pre"+a.renderAttrs(o)+"><code>"+i(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],d=p.info?a(p.info).trim():"",h="";return d&&(h=d.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,h)||i(p.content)).indexOf("<pre")?c+"\n":d?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+h]):l[s][1]+=" "+n.langPrefix+h,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,a){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=a.renderInlineAsText(i.children,n,r),a.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return i(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,a="",i=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===o.nesting?"</":"<")+o.tag,a+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(a+=" /"),o.block&&(i=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?i=!1:-1===r.nesting&&r.tag===o.tag&&(i=!1))),a+=i?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,a="",i=this.rules,o=0,c=e.length;o<c;o++)void 0!==i[r=e[o].type]?a+=i[r](e,o,t,n,this):a+=this.renderToken(e,o,t);return a},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,i=e.length;a<i;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},c.prototype.render=function(e,t,n){var r,a,i,o="",c=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(i=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[i]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(69),a=[["normalize",n(176)],["block",n(177)],["inline",n(178)],["linkify",n(179)],["replacements",n(180)],["smartquotes",n(181)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(182),e.exports=i},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,a=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(a,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(19).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_=e.tokens;if(e.md.options.linkify)for(n=0,i=_.length;n<i;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(f=0,t=(o=_[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(y=s.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,j=e.md.linkify.match(p),l=[],m=s.level,h=0,u=0;u<j.length;u++)b=j[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=j[u].text,v=j[u].schema?"mailto:"!==j[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=j[u].index)>h&&((c=new e.Token("text","",0)).content=p.slice(h,d),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),h=j[u].lastIndex);h<p.length&&((c=new e.Token("text","",0)).content=p.slice(h),c.level=m,l.push(c)),_[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,a=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(i,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(a.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(19).isWhiteSpace,a=n(19).isPunctChar,i=n(19).isMdAsciiPunct,o=/['"]/,c=/['"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,t){var n,o,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E,C,x;for(E=[],n=0;n<e.length;n++){for(o=e[n],h=e[n].level,O=E.length-1;O>=0&&!(E[O].level<=h);O--);if(E.length=O+1,"text"===o.type){p=0,d=(l=o.content).length;e:for(;p<d&&(c.lastIndex=p,u=c.exec(l));){if(_=k=!0,p=u.index+1,w="'"===u[0],f=32,u.index-1>=0)f=l.charCodeAt(u.index-1);else for(O=n-1;O>=0&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O--)if("text"===e[O].type){f=e[O].content.charCodeAt(e[O].content.length-1);break}if(b=32,p<d)b=l.charCodeAt(p);else for(O=n+1;O<e.length&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O++)if("text"===e[O].type){b=e[O].content.charCodeAt(0);break}if(g=i(f)||a(String.fromCharCode(f)),v=i(b)||a(String.fromCharCode(b)),j=r(f),(y=r(b))?_=!1:v&&(j||g||(_=!1)),j?k=!1:g&&(y||v||(k=!1)),34===b&&'"'===u[0]&&f>=48&&f<=57&&(k=_=!1),_&&k&&(_=!1,k=v),_||k){if(k)for(O=E.length-1;O>=0&&(m=E[O],!(E[O].level<h));O--)if(m.single===w&&E[O].level===h){m=E[O],w?(C=t.md.options.quotes[2],x=t.md.options.quotes[3]):(C=t.md.options.quotes[0],x=t.md.options.quotes[1]),o.content=s(o.content,u.index,x),e[m.token].content=s(e[m.token].content,m.pos,C),p+=x.length-1,m.token===n&&(p+=C.length-1),d=(l=o.content).length,E.length=O;continue e}_?E.push({token:n,pos:u.index,single:w,level:h}):k&&w&&(o.content=s(o.content,u.index,"’"))}else w&&(o.content=s(o.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(70);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(69),a=[["table",n(184),["paragraph","reference"]],["code",n(185)],["fence",n(186),["paragraph","reference","blockquote","list"]],["blockquote",n(187),["paragraph","reference","blockquote","list"]],["hr",n(188),["paragraph","reference","blockquote","list"]],["list",n(189),["paragraph","reference","blockquote"]],["reference",n(190)],["heading",n(191),["paragraph","reference","blockquote"]],["lheading",n(192)],["html_block",n(193),["paragraph","reference","blockquote"]],["paragraph",n(195)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),i=a.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<i&&!a[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},i.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},i.prototype.State=n(196),e.exports=i},function(e,t,n){"use strict";var r=n(19).isSpace;function a(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,a=e.length,i=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<a;)96===t?c?(c=!1,s=r):i%2==0&&(c=!0,s=r):124!==t||i%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?i++:i=0,++r===a&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,d,h,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(d=(s=a(e,t+1)).split("|"),f=[],u=0;u<d.length;u++){if(!(b=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((h=(d=i(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<d.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=d[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=a(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(d=i(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<h;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=d[u]?d[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(i=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var a,i,o,c,s,l,u,p=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(s=d,(i=(d=e.skipChars(d,a))-s)<3)return!1;if(u=e.src.slice(s,d),(o=e.src.slice(d,h)).indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((d=s=e.bMarks[c]+e.tShift[c])<(h=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[c]-e.blkIndent>=4||(d=e.skipChars(d,a))-s<i||(d=e.skipSpaces(d))<h)){p=!0;break}return i=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,i,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E=e.lineMax,C=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(a)return!0;for(s=h=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,s++,h++,i=!1,y=!0):9===e.src.charCodeAt(C)?(y=!0,(e.bsCount[t]+h)%4==3?(C++,s++,h++,i=!1):i=!0):y=!1,m=[e.bMarks[t]],e.bMarks[t]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?h+=4-(h+e.bsCount[t]+(i?1:0))%4:h++,C++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=C>=x,v=[e.sCount[t]],e.sCount[t]=h-s,j=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,d=t+1;d<n&&(e.sCount[d]<e.blkIndent&&(w=!0),!((C=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(C++)||w){if(u)break;for(_=!1,c=0,l=k.length;c<l;c++)if(k[c](e,d,n,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(m.push(e.bMarks[d]),f.push(e.bsCount[d]),j.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}m.push(e.bMarks[d]),f.push(e.bsCount[d]),j.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(s=h=e.sCount[d]+C-(e.bMarks[d]+e.tShift[d]),32===e.src.charCodeAt(C)?(C++,s++,h++,i=!1,y=!0):9===e.src.charCodeAt(C)?(y=!0,(e.bsCount[d]+h)%4==3?(C++,s++,h++,i=!1):i=!0):y=!1,m.push(e.bMarks[d]),e.bMarks[d]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?h+=4-(h+e.bsCount[d]+(i?1:0))%4:h++,C++;u=C>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=h-s,j.push(e.tShift[d]),e.tShift[d]=C-e.bMarks[d]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,d),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<j.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=j[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==i&&!r(c))return!1;c===i&&o++}return!(o<3)&&(!!a||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(i)),!0))}},function(e,t,n){"use strict";var r=n(19).isSpace;function a(e,t){var n,a,i,o;return a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n?-1:a<i&&(o=e.src.charCodeAt(a),!r(o))?-1:a}function i(e,t){var n,a=e.bMarks[t]+e.tShift[t],i=a,o=e.eMarks[t];if(i+1>=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-a>=10)return-1}return i<o&&(n=e.src.charCodeAt(i),!r(n))?-1:i}e.exports=function(e,t,n,r){var o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E,C,x,S,A,F,P,T,M,N=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=i(e,t))>=0){if(d=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),N&&1!==v)return!1}else{if(!((S=a(e,t))>=0))return!1;d=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,d?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(g),y=t,A=!1,T=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";y<n;){for(x=S,j=e.eMarks[y],p=_=e.sCount[y]+S-(e.bMarks[t]+e.tShift[t]);x<j;){if(9===(o=e.src.charCodeAt(x)))_+=4-(_+e.bsCount[y])%4;else{if(32!==o)break;_++}x++}if((u=(c=x)>=j?1:_-p)>4&&(u=1),l=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),M.map=h=[t,0],k=e.blkIndent,C=e.tight,E=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=_,c>=j&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(R=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=E,e.sCount[t]=O,e.tight=C,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),y=t=e.line,h[1]=y,c=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;for(P=!1,s=0,m=T.length;s<m;s++)if(T[s](e,y,n,!0)){P=!0;break}if(P)break;if(d){if((S=i(e,y))<0)break}else if((S=a(e,y))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(M=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=y,e.line=y,e.parentType=w,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t,n,i){var o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(j=!1,p=0,d=y.length;p<d;p++)if(y[p](e,E,l,!0)){j=!0;break}if(j)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!a(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!a(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(_=b.str,O=b.pos,k+=b.lines):(_="",O=c,k=s);O<w&&(o=v.charCodeAt(O),a(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&_)for(_="",O=c,k=s;O<w&&(o=v.charCodeAt(O),a(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(h=r(v.slice(1,m)))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:_,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,i=e.src.charCodeAt(++l);35===i&&l<u&&o<=6;)o++,i=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(i))&&(!!a||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i,o,c,s,l,u,p,d,h=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(s=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(a=!1,i=0,o=m.length;i<o;i++)if(m[i](e,h,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(e,t,n){"use strict";var r=n(194),a=n(86).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),a=0;a<i.length&&!i[a][0].test(s);a++);if(a===i.length)return!1;if(r)return i[a][2];if(o=t+1,!i[a][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),i[a][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,a,i,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,a=0,i=l.length;a<i;a++)if(l[a](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(70),a=n(19).isSpace;function i(e,t,n,r){var i,o,c,s,l,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(i=o.charCodeAt(s),!d){if(a(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&s!==l-1||(10!==i&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,o,c,s,l,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(o=0,p=s=this.bMarks[d],l=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];s<l&&o<n;){if(c=this.src.charCodeAt(s),a(c))9===c?o+=4-(o+this.bsCount[d])%4:o++;else{if(!(s-p<this.tShift[d]))break;o++}s++}u[i]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(69),a=[["text",n(198)],["newline",n(199)],["escape",n(200)],["backticks",n(201)],["strikethrough",n(87).tokenize],["emphasis",n(88).tokenize],["link",n(202)],["image",n(203)],["autolink",n(204)],["html_inline",n(205)],["entity",n(206)]],i=[["balance_pairs",n(207)],["strikethrough",n(87).postProcess],["emphasis",n(88).postProcess],["text_collapse",n(208)]];function o(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),i=a.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<i&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,i=e.posMax,o=e.md.options.maxNesting;e.pos<i;){if(e.level<o)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var a,i,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(i=this.ruler2.getRules("")).length,a=0;a<o;a++)i[a](c)},o.prototype.State=n(209),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t){var n,a,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},function(e,t,n){"use strict";for(var r=n(19).isSpace,a=[],i=0;i<256;i++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<o){if((n=e.src.charCodeAt(i))<256&&0!==a[n])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),i++;i<o&&(n=e.src.charCodeAt(i),r(n));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,a,i,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(a=e.src.slice(n,s),i=o=s;-1!==(i=e.src.indexOf("`",o));){for(o=i+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-i===a.length)return t||((c=e.push("code_inline","code",0)).markup=a,c.content=e.src.slice(s,i).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=a),e.pos+=a.length,!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t){var n,i,o,c,s,l,u,p,d,h="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?l=u.pos:h=""),b=l;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(d=u.str,l=u.pos;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);else d="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;h=p.href,d=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t){var n,i,o,c,s,l,u,p,d,h,m,f,b,g="",v=e.pos,j=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<j&&40===e.src.charCodeAt(u)){for(u++;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);if(u>=j)return!1;for(b=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(d.str),e.md.validateLink(g)?u=d.pos:g=""),b=u;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<j&&b!==u&&d.ok)for(h=d.str,u=d.pos;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);else h="";if(u>=j||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<j&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,h=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,h&&n.push(["title",h])),e.pos=u,e.posMax=j,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,a=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(a.test(n)?(c=(i=n.match(a))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(86).HTML_TAG_RE;e.exports=function(e,t){var n,a,i,o=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=i)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+a[0].length)),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(81),a=n(19).has,i=n(19).isValidEntityCode,o=n(19).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=i(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&a(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,a,i=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=i[t]).close)for(n=t-r.jump-1;n>=0;){if((a=i[n]).open&&a.marker===r.marker&&a.end<0&&a.level===r.level)if(!((a.close||r.open)&&void 0!==a.length&&void 0!==r.length&&(a.length+r.length)%3==0)){r.jump=t-n,r.open=!1,a.end=t,a.jump=0;break}n-=a.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)r+=a[t].nesting,a[t].level=r,"text"===a[t].type&&t+1<i&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},function(e,t,n){"use strict";var r=n(70),a=n(19).isWhiteSpace,i=n(19).isPunctChar,o=n(19).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n);return n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(a),a},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,d,h,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||i(String.fromCharCode(n)),h=o(r)||i(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:h&&(u||p||(f=!1)),u?b=!1:p&&(d||h||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||h)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===a(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(211)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?i(n.validate)?r.validate=n.validate:l(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?l(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?l(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,i,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(a=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(83).source,t.src_Cc=n(84).source,t.src_Z=n(85).source,t.src_P=n(68).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",(function(){return m})),n.d(t,"ucs2encode",(function(){return f})),n.d(t,"decode",(function(){return v})),n.d(t,"encode",(function(){return j})),n.d(t,"toASCII",(function(){return _})),n.d(t,"toUnicode",(function(){return y}));var r=n(21),a=n.n(r),i=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function d(e){throw new RangeError(l[e])}function h(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var a=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+a}function m(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),n--)}else t.push(a)}return t}var f=function(e){return String.fromCodePoint.apply(String,a()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,a=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&d("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var h=a,m=1,f=36;;f+=36){p>=r&&d("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((i-a)/m))&&d("overflow"),a+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var j=36-v;m>u(i/j)&&d("overflow"),m*=j}var y=n.length+1;c=g(a-h,y,0==h),u(a/y)>i-o&&d("overflow"),o+=u(a/y),a%=y,n.splice(a++,0,o)}return String.fromCodePoint.apply(String,n)},j=function(e){var t=[],n=(e=m(e)).length,r=128,a=0,o=72,c=!0,s=!1,l=void 0;try{for(var h,f=e[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var v=h.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var j=t.length,y=j;for(j&&t.push("-");y<n;){var _=i,k=!0,O=!1,w=void 0;try{for(var E,C=e[Symbol.iterator]();!(k=(E=C.next()).done);k=!0){var x=E.value;x>=r&&x<_&&(_=x)}}catch(B){O=!0,w=B}finally{try{k||null==C.return||C.return()}finally{if(O)throw w}}var S=y+1;_-r>u((i-a)/S)&&d("overflow"),a+=(_-r)*S,r=_;var A=!0,F=!1,P=void 0;try{for(var T,M=e[Symbol.iterator]();!(A=(T=M.next()).done);A=!0){var N=T.value;if(N<r&&++a>i&&d("overflow"),N==r){for(var R=a,D=36;;D+=36){var z=D<=o?1:D>=o+26?26:D-o;if(R<z)break;var I=R-z,L=36-z;t.push(p(b(z+I%L,0))),R=u(I/L)}t.push(p(b(R,0))),o=g(a,S,y==j),a=0,++y}}}catch(B){F=!0,P=B}finally{try{A||null==M.return||M.return()}finally{if(F)throw P}}++a,++r}return t.join("")},y=function(e){return h(e,(function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e}))},_=function(e){return h(e,(function(e){return c.test(e)?"xn--"+j(e):e}))},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:j,toASCII:_,toUnicode:y};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=o,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var a=r.formatters[n];if("function"==typeof a){var o=t[l];e=a.call(i,o),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=a,o.extend=i,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function a(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(t=0;t<a;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(64),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(90),o=n(221),c=n(222),s="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===a)return n(r,e,""===t?"."+l(e,0):t),1;var p=0,d=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)p+=u(i=e[h],d+l(i,h),n,r);else{var m=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(m){0;for(var f,b=m.call(e),g=0;!(f=b.next()).done;)p+=u(i=f.value,d+l(i,g++),n,r)}else if("object"===c){0;var v=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return p}var p=/\/+/g;function d(e){return(""+e).replace(p,"$&/")}var h,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function j(e,t,n){var a,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?y(p,c,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=s+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),c.push(p))}function y(e,t,n,r,a){var i="";null!=n&&(i=d(n)+"/");var o=v.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,j,o),v.release(o)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=v).instancePool=[],m.getPooled=h||f,m.poolSize||(m.poolSize=10),m.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)y(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,c){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 l=[n,r,a,i,o,c],u=0;(s=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var r=n(90);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(71),a=n(92);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,i=8;i<this.padLength;i++)r[a++]=0;return r}},function(e,t,n){"use strict";var r=n(71).rotr32;function a(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?o(t,n,r):2===e?i(t,n,r):void 0},t.ch32=a,t.maj32=i,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){"use strict";var t=[];function n(e){var t,n,r,a,i=-1;for(t=0,r=e.length;t<r;t+=1){for(a=255&(i^e[t]),n=0;n<8;n+=1)1==(1&a)?a=a>>>1^3988292384:a>>>=1;i=i>>>8^a}return-1^i}function r(e,n){var a,i,o;if(void 0!==r.crc&&n&&e||(r.crc=-1,e)){for(a=r.crc,i=0,o=e.length;i<o;i+=1)a=a>>>8^t[255&(a^e[i])];return r.crc=a,-1^a}}!function(){var e,n,r;for(n=0;n<256;n+=1){for(e=n,r=0;r<8;r+=1)1&e?e=3988292384^e>>>1:e>>>=1;t[n]=e>>>0}}(),e.exports=function(e,t){var a;e="string"==typeof e?(a=e,Array.prototype.map.call(a,(function(e){return e.charCodeAt(0)}))):e;return((t?n(e):r(e))>>>0).toString(16)},e.exports.direct=n,e.exports.table=r}()},function(e,t,n){"use strict";var r=[],a=window,i=Math.pow(256,6),o=Math.pow(2,52),c=2*o,s=Math.random;function l(e){var t,n=e.length,r=this,a=0,i=r.i=r.j=0,o=r.S=[];for(n||(e=[n++]);a<256;)o[a]=a++;for(a=0;a<256;a++)o[a]=o[i=255&i+e[a%n]+(t=o[a])],o[i]=t;(r.g=function(e){for(var t,n=0,a=r.i,i=r.j,o=r.S;e--;)t=o[a=255&a+1],n=256*n+o[255&(o[a]=o[i=255&i+t])+(o[i]=t)];return r.i=a,r.j=i,n})(256)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(i){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[255&a]=255&(n^=19*t[255&a])+r.charCodeAt(a++);return h(t)}function d(e){try{return a.crypto.getRandomValues(e=new Uint8Array(256)),h(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,h(r)]}}function h(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var a=n&&n.entropy||!1,s=[],m=(p(u(a?[t,h(r)]:0 in arguments?t:d(),3),s),new l(s));return p(h(m.S),r),function(){for(var e=m.g(6),t=i,n=0;e<o;)e=256*(e+n),t*=256,n=m.g(1);for(;e>=c;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=s},p(Math.random(),r)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(237)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=o,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var a=r.formatters[n];if("function"==typeof a){var o=t[l];e=a.call(i,o),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=a,o.extend=i,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function a(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(t=0;t<a;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(64),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",(function(){return Nt})),n.d(r,"attributes",(function(){return Dt})),n.d(r,"support",(function(){return zt}));var a=n(17),i=n(15),o=n.n(i),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),d=n(5),h=n(2),m=n(21),f=n.n(m),b=n(7),g=n.n(b),v=n(11),j=n.n(v),y=n(8),_=n.n(y),k=n(9),O=n.n(k),w=n(4),E=n.n(w),C=n(10),x=n.n(C),S=n(6),A=n(28),F=[{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],P=Object(u.__)("Pick an image filter","jetpack");function T(e){var t=e.value,n=e.onChange;return Object(l.createElement)(h.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(h.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:P,tooltip:P,icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(h.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},F.map((function(e){var a,i=e.icon,o=e.title,c=e.value;return Object(l.createElement)(h.MenuItem,{className:t===c?"is-active":void 0,icon:i,isSelected:t===c,key:c||"original",onClick:(a=c,function(){n(t===a?void 0:a),r()}),role:"menuitemcheckbox"},o)})))}})}var M=n(12),N=n.n(M),R=n(26),D=n(25),z=n(13),I=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",(function(){n.props.isSelected||n.props.onSelect()})),s()(E()(n),"onImageKeyDown",(function(e){n.img.current===document.activeElement&&n.props.isSelected&&[R.BACKSPACE,R.DELETE].includes(e.keyCode)&&n.props.onRemove()})),n}return x()(t,e),j()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,a=e.link,i=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!a&&r.link&&(c.link=r.link),!i&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,a=t.height,i=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,d=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(d){case"media":e=g;break;case"attachment":e=p}var j=Object(D.isBlobURL)(f),y=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":a,"data-id":i,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:g,srcSet:j?void 0:b,tabIndex:"0",style:j?{backgroundImage:"url(".concat(f,")")}:void 0}),j&&Object(l.createElement)(h.Spinner,null));return Object(l.createElement)("figure",{className:N()("tiled-gallery__item",s()({"is-selected":c,"is-transient":j},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(h.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,y):y)}}]),t}(l.Component),L=Object(z.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(I);function B(e){var t,n=e.alt,r=e.imageFilter,a=e.height,i=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,d=e.width;if(Object(D.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:n,"data-height":a,"data-id":i,"data-link":o,"data-url":u,"data-width":d,src:p});return Object(l.createElement)("figure",{className:N()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},h):h)}var q=n(39);function U(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:N()("tiled-gallery__row",n)},t)}var G=n(62);function $(e){var t=e.height,n=e.width;return t&&n?n/t:1}var W=he([2,1,2],5),K=me([fe,fe,be,fe,fe]),Z=me([fe,fe,fe,be,fe,fe,fe]),J=he([3,1,3],5),Y=me([be,fe,fe,be]),Q=he([1,2,1],5),X=me([be,fe,fe,fe]),ee=he([1,3],3),te=me([fe,fe,fe,be]),ne=he([3,1],3),re=me([ve(1.6),Object(d.overEvery)(ge(.9),ve(2)),Object(d.overEvery)(ge(.9),ve(2))]),ae=he([1,2],3),ie=he([1,1,1,1,1],1),oe=he([1,1,1,1],1),ce=he([1,1,1],3),se=me([Object(d.overEvery)(ge(.9),ve(2)),Object(d.overEvery)(ge(.9),ve(2)),ve(1.6)]),le=he([2,1],3),ue=me([function(e){return e>=2}]);function pe(e,t,n){var r=Object(d.sum)(Object(d.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ce(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}function de(e,t){var n=Object(d.sum)(Object(d.take)(t,4));return oe(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function he(e,t){return function(n){return!Object(d.some)(Object(d.takeRight)(n,t),(function(t){return Object(d.isEqual)(t,e)}))}}function me(e){return function(t){return t.length>=e.length&&Object(d.every)(Object(d.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function fe(e){return e>=1&&e<2}function be(e){return e<1}function ge(e){return function(t){return t>=e}}function ve(e){return function(t){return t<e}}var je=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var a,i=function(){var e=a.value,t=e.contentRect,n=e.target,r=t.width;Object(G.a)(n).forEach((function(e){return Object(G.b)(e,r)}))},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)i()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),j()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,a=e.layoutStyle,i=e.renderedImages,o=function(e){return Object(d.map)(e,$)}(r),c="columns"===a?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(d.sum)(e)/t,r=[],a=e,i=0,o=function(e){var t=Object(d.takeWhile)(a,(function(t){var r=i<=(e+1)*n;return r&&(i+=t),r})).length;r.push(t),a=Object(d.drop)(a,t)},c=0;c<t-1;c++)o(c);return r.push(a.length),[r]}(o,n):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isWide,r=function e(t,r){if(!r.length)return t;var a;a=r.length>15&&K(r)&&W(t)?[2,1,2]:r.length>15&&Z(r)&&J(t)?[3,1,3]:5!==r.length&&Y(r)&&Q(t)?[1,2,1]:X(r)&&ee(t)?[1,3]:te(r)&&ne(t)?[3,1]:re(r)&&ae(t)?[1,2]:n&&(5===r.length||10!==r.length&&r.length>6)&&ie(t)&&Object(d.sum)(Object(d.take)(r,5))<5?[1,1,1,1,1]:de(t,r)?[1,1,1,1]:pe(t,r,n)?[1,1,1]:se(r)&&le(t)?[2,1]:ue(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var i=t.concat([a]),o=Object(d.sum)(a);return e(i,r.slice(o))};return r([],e)}(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(H,{key:t},e.map((function(e,t){var n=i.slice(s,s+e);return s+=e,Object(l.createElement)(U,{key:t},n)})))})))}}]),t}(l.Component),ye=n(22);function _e(e){var t=e.columns,n=e.renderedImages,r=Math.min(ye.h,t),a=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(a?[Object(d.take)(n,a)]:[]),f()(Object(d.chunk)(Object(d.drop)(n,a),r))).map((function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(U,{key:t},e)})))})))}var ke=n(46),Oe=n.n(ke),we=n(61),Ee=n.n(we),Ce=n(29);function xe(e){return["circle","square"].includes(e)}function Se(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function Ae(e){var t=Object(Ce.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(Ce.parse)(e),a=(r.auth,r.hash,r.port,r.query,r.search,Oe()(r,["auth","hash","port","query","search"]));return a.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(Ce.format)(a)}var Pe=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),j()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,a=n.images,i=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,m=n.setImageAttributes,f=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,a.length),b=i?B:L,g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(D.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],a=e.height,i=e.width,o=t.layoutStyle,c=Ae(r)||!0===Se()?Fe:Ee.a;if(xe(o)&&i&&a){var s=Math.min(ye.i,i,a);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l,u=300,p=600;if(xe(o)){var h=Math.min(p,i,a),m=Math.min(ye.i,i,a);l=Object(d.range)(h,m,u).map((function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"info"});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}else{var f=Math.min(p,i),b=Math.min(ye.i,i);l=Object(d.range)(f,b,u).map((function(e){var t=c(r,{strip:"info",width:e});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}(e,{layoutStyle:c}),v=g.src,j=g.srcSet;return Object(l.createElement)(b,{alt:e.alt,"aria-label":f,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:i?void 0:s(t),onSelect:i?void 0:p(t),origUrl:e.url,setAttributes:i?void 0:m(t),srcSet:j,url:v,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,a=e.columns,i=e.images,o=e.layoutStyle,c=xe(o)?_e:je,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:a,images:i,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Te=n(112),Me=n.n(Te);function Ne(e,t){var n=function(e,t){var n=!0,r=!1,a=void 0;try{for(var i,o=new Me.a(t).values()[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var c=i.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(d.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,a=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw a}}return Object(d.find)(e,"isDefault")}(e,t);return n?n.name:null}var Re=n(48),De=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function ze(e){return Math.min(3,e.images.length)}var Ie=function(e){var t=Object(d.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(d.get)(e,["sizes","large","url"])||Object(d.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Le=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",(function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(A.mediaUpload)({allowedTypes:ye.a,filesList:e,onFileChange:function(e){var r=e.map((function(e){return Ie(e)}));n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})})),s()(E()(n),"onRemoveImage",(function(e){return function(){var t=Object(d.filter)(n.props.attributes.images,(function(t,n){return e!==n})),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}})),s()(E()(n),"onSelectImage",(function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}})),s()(E()(n),"onSelectImages",(function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((function(e){return Ie(e)}))})})),s()(E()(n),"setColumnsNumber",(function(e){return n.setAttributes({columns:e})})),s()(E()(n),"setImageAttributes",(function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],{},t)],f()(r.slice(e+1)))})}})),s()(E()(n),"setLinkTo",(function(e){return n.setAttributes({linkTo:e})})),s()(E()(n),"uploadFromFiles",(function(e){return n.addFiles(e.target.files)})),n}return x()(t,e),j()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,d=r.columns,m=void 0===d?ze(r):d,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(h.DropZone,{onFilesDrop:this.addFiles}),j=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(h.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ye.a,multiple:!0,gallery:!0,value:b.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(l.createElement)(Re.a,{label:Object(u.__)("Edit Gallery","jetpack"),onClick:t})}})),Object(l.createElement)(T,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,j,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:tn}),className:i,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ye.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var y=Ne(ye.g,r.className);return Object(l.createElement)(l.Fragment,null,j,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(h.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(y)&&b.length>1&&Object(l.createElement)(h.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ye.h,b.length)}),Object(l.createElement)(h.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:De}))),c,Object(l.createElement)(Pe,{align:p,className:i,columns:m,imageFilter:f,images:b,layoutStyle:y,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:a?t:null,setImageAttributes:this.setImageAttributes},v,a&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(h.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),Be=Object(h.withNotices)(Le);var qe=n(24);n(238);function Ue(e){var t,n=e["aria-label"],r=e.alt,a=e.height,i=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(D.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":a,"data-id":i,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},d):d)}function Ve(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function He(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Ge(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:N()("tiled-gallery__row",n)},t)}var $e=n(18),We=n.n($e),Ke=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function Ze(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function Je(e,t){!function(e,t,n){var r=We()(t,2),a=r[0],i=r[1],o=1/a*(n-4*(e.childElementCount-1)-i);!function(e,t){var n=t.rawHeight,r=t.rowWidth,a=Qe(e),i=a.map((function(e){return(n-4*(e.childElementCount-1))*et(e)[0]})),o=Ze(i,r);a.forEach((function(e,t){var r=i[t],a=o[t];!function(e,t){var n=t.colHeight,r=t.width,a=t.rawWidth,i=Ze(Xe(e).map((function(e){return a/tt(e)})),n);Array.from(e.children).forEach((function(e,t){var n=i[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-4*(e.childElementCount-1),width:a,rawWidth:r})}))}(e,{rawHeight:o,rowWidth:n-4*(e.childElementCount-1)})}(e,function(e){return Qe(e).map(et).reduce((function(e,t){var n=We()(e,2),r=n[0],a=n[1],i=We()(t,2);return[r+i[0],a+i[1]]}),[0,0])}(e),t)}function Ye(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function Qe(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function Xe(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function et(e){var t=Xe(e),n=t.length,r=1/t.map(tt).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function tt(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function nt(e){var t=e.height,n=e.width;return t&&n?n/t:1}var rt=Ot([2,1,2],5),at=wt([Et,Et,Ct,Et,Et]),it=wt([Et,Et,Et,Ct,Et,Et,Et]),ot=Ot([3,1,3],5),ct=wt([Ct,Et,Et,Ct]),st=Ot([1,2,1],5),lt=wt([Ct,Et,Et,Et]),ut=Ot([1,3],3),pt=wt([Et,Et,Et,Ct]),dt=Ot([3,1],3),ht=wt([St(1.6),Object(d.overEvery)(xt(.9),St(2)),Object(d.overEvery)(xt(.9),St(2))]),mt=Ot([1,2],3),ft=Ot([1,1,1,1,1],1),bt=Ot([1,1,1,1],1),gt=Ot([1,1,1],3),vt=wt([Object(d.overEvery)(xt(.9),St(2)),Object(d.overEvery)(xt(.9),St(2)),St(1.6)]),jt=Ot([2,1],3),yt=wt([function(e){return e>=2}]);function _t(e,t,n){var r=Object(d.sum)(Object(d.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&>(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}function kt(e,t){var n=Object(d.sum)(Object(d.take)(t,4));return bt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function Ot(e,t){return function(n){return!Object(d.some)(Object(d.takeRight)(n,t),(function(t){return Object(d.isEqual)(t,e)}))}}function wt(e){return function(t){return t.length>=e.length&&Object(d.every)(Object(d.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function Et(e){return e>=1&&e<2}function Ct(e){return e<1}function xt(e){return function(t){return t>=e}}function St(e){return function(t){return t<e}}var At=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var a,i=function(){var e=a.value,t=e.contentRect,n=e.target,r=t.width;Ye(n).forEach((function(e){return Je(e,r)}))},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)i()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),j()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,a=e.layoutStyle,i=e.renderedImages,o=function(e){return Object(d.map)(e,nt)}(r),c="columns"===a?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(d.sum)(e)/t,r=[],a=e,i=0,o=function(e){var t=Object(d.takeWhile)(a,(function(t){var r=i<=(e+1)*n;return r&&(i+=t),r})).length;r.push(t),a=Object(d.drop)(a,t)},c=0;c<t-1;c++)o(c);return r.push(a.length),[r]}(o,n):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isWide,r=function e(t,r){if(!r.length)return t;var a;a=r.length>15&&at(r)&&rt(t)?[2,1,2]:r.length>15&&it(r)&&ot(t)?[3,1,3]:5!==r.length&&ct(r)&&st(t)?[1,2,1]:lt(r)&&ut(t)?[1,3]:pt(r)&&dt(t)?[3,1]:ht(r)&&mt(t)?[1,2]:n&&(5===r.length||10!==r.length&&r.length>6)&&ft(t)&&Object(d.sum)(Object(d.take)(r,5))<5?[1,1,1,1,1]:kt(t,r)?[1,1,1,1]:_t(t,r,n)?[1,1,1]:vt(r)&&jt(t)?[2,1]:yt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var i=t.concat([a]),o=Object(d.sum)(a);return e(i,r.slice(o))};return r([],e)}(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(He,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(Ge,{key:t},e.map((function(e,t){var n=i.slice(s,s+e);return s+=e,Object(l.createElement)(Ve,{key:t},n)})))})))}}]),t}(l.Component);function Ft(e){var t=e.columns,n=e.renderedImages,r=Math.min(20,t),a=n.length%r;return Object(l.createElement)(He,null,[].concat(f()(a?[Object(d.take)(n,a)]:[]),f()(Object(d.chunk)(Object(d.drop)(n,a),r))).map((function(e,t){return Object(l.createElement)(Ge,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(Ve,{key:t},e)})))})))}var Pt=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),j()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(D.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var a=r.split("?",1)[0],i=function(e){var t=Object(Ce.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?Mt:Ee.a;if(Tt(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return i(a,{resize:"".concat(o,",").concat(o)})}return i(a)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,a=n.linkTo,i=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Ue,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,a=e.columns,i=e.images,o=e.layoutStyle,c=Tt(o)?Ft:At,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:a,images:i,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function Tt(e){return["circle","square"].includes(e)}function Mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(Ce.parse)(e),a=(r.auth,r.hash,r.port,r.query,r.search,Oe()(r,["auth","hash","port","query","search"]));return a.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(Ce.format)(a)}function Nt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,a=t.className,i=t.columns,o=void 0===i?function(e){return Math.min(3,e.images.length)}(t):i,c=t.linkTo;return Object(l.createElement)(Pt,{align:r,className:a,columns:o,images:n,layoutStyle:Ne(Ke,a),linkTo:c})}var Rt,Dt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},zt={align:["center","wide","full"],customClassName:!1,html:!1},It=n(113),Lt=n.n(It),Bt=n(114),qt=n.n(Bt),Ut=n(115),Vt=n.n(Ut),Ht=n(116),Gt=n.n(Ht),$t=n(117),Wt=n.n($t),Kt=n(118),Zt=n.n(Kt),Jt=(Rt={},s()(Rt,ye.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Rt,ye.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Rt,ye.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Rt,ye.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Rt),Yt=ye.g.map((function(e){return o()({},e,{label:Jt[e.name]})}));function Qt(e){return Object(d.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var Xt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ye.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},en={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:Lt.a,width:160,height:95},{alt:"",link:"",url:qt.a,width:160,height:107},{alt:"",link:"",url:Vt.a,width:304,height:203},{alt:"",link:"",url:Gt.a,width:312,height:207},{alt:"",link:"",url:Wt.a,width:152,height:101},{alt:"",link:"",url:Zt.a,width:152,height:105}],linkTo:"none"},tn=Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(h.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),nn={attributes:Xt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack")+(Object(qe.b)()?"":" "+Object(u.__)("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:tn,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Yt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Qt(e).length>0},transform:function(e){var t=Qt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Qt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,a=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map((function(e){var n=e.id,r=e.url,a=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):Object(p.createBlock)("core/image")}}]},edit:Be,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var a=t.align,i=t.className,o=t.columns,c=void 0===o?ze(t):o,s=t.linkTo;return Object(l.createElement)(Pe,{align:a,className:i,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Ne(ye.g,i),linkTo:s})},deprecated:[r],example:{attributes:en}};Object(a.a)("tiled-gallery",nn)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",(function(){return p})),n.d(r,"refreshConnectionTestResults",(function(){return d})),n.d(r,"fetchFromAPI",(function(){return h}));var a={};n.r(a),n.d(a,"getFailedConnections",(function(){return m})),n.d(a,"getMustReauthConnections",(function(){return f}));var i=n(0),o=n(1),c=n(2),s=n(52),l=n(28),u=(n(216),n(13));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function d(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function h(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter((function(e){return!1===e.test_success}))}function f(e){return e.filter((function(e){return"must_reauth"===e.test_success})).map((function(e){return e.service_name}))}var b=n(21),g=n.n(b),v=n(101),j=n.n(v),y=n(5),_=n(23),k=n.n(_);var O={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){var n,r;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.dispatch,e.prev=1,e.next=4,regeneratorRuntime.awrap(k()({path:"/wpcom/v2/publicize/connection-test-results"}));case 4:return r=e.sent,e.abrupt("return",n(p(r)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),null,null,[[1,8]])}};var w,E,C,x,S,A={FETCH_FROM_API:function(e){var t=e.path;return k()({path:t})}},F=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:A,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:a});w=F,C=[j()(O)],x=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},S={getState:w.getState,dispatch:function(){return x.apply(void 0,arguments)}},E=C.map((function(e){return e(S)})),x=y.flowRight.apply(void 0,g()(E))(w.dispatch),w.dispatch=x;var P=n(44),T=n(14),M=n(7),N=n.n(M),R=n(11),D=n.n(R),z=n(8),I=n.n(z),L=n(9),B=n.n(L),q=n(4),U=n.n(q),V=n(10),H=n.n(V),G=n(3),$=n.n(G),W=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"refreshConnectionClick",(function(e){var t=e.target,r=t.href,a=t.title;e.preventDefault();var i=window.open(r,a,""),o=window.setInterval((function(){!1!==i.closed&&(window.clearInterval(o),n.props.refreshConnections())}),500)})),n}return H()(t,e),D()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter((function(e){return e.can_refresh}));return t.length?Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((function(t){return Object(i.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)}))):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter((function(e){return!e.can_refresh}));return e.length?e.map((function(e){return Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,e.test_message))})):null}},{key:"render",value:function(){return Object(i.createElement)(i.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(i.Component),K=Object(T.compose)([Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}}))])(W),Z=n(15),J=n.n(Z),Y=n(12),Q=n.n(Y),X=n(30),ee=n.n(X),te=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ne=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),re=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ae=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),ie=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(i.createElement)(c.Icon,ee()({icon:te},n));case"twitter":return Object(i.createElement)(c.Icon,ee()({icon:ne},n));case"linkedin":return Object(i.createElement)(c.Icon,ee()({icon:re},n));case"tumblr":return Object(i.createElement)(c.Icon,ee()({icon:ae},n))}return null},oe=n(35),ce=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"maybeDisplayLinkedInNotice",(function(){return n.connectionNeedsReauth()&&Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(i.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(Object(oe.a)())},Object(o.__)("Go to Sharing settings","jetpack")))})),$()(U()(n),"connectionNeedsReauth",(function(){return Object(y.includes)(n.props.mustReauthConnections,n.props.name)})),$()(U()(n),"onConnectionChange",(function(){var e=n.props.id;n.props.toggleConnection(e)})),n}return H()(t,e),D()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some((function(e){return e.service_name===n}))}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,a=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(i.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(i.createElement)(c.Disabled,null,u)),Object(i.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(i.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(i.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(i.createElement)(ie,{serviceName:l}),Object(i.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},a)),u))}}]),t}(i.Component),se=Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}}))(ce),le=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"settingsClick",(function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var a=window.open(t,"",""),i=window.setInterval((function(){!1!==a.closed&&(window.clearInterval(i),r())}),500)})),n}return H()(t,e),D()(t,[{key:"getButtonLink",value:function(){var e=Object(oe.a)();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=Q()("jetpack-publicize-add-connection-container",this.props.className);return Object(i.createElement)("div",{className:e},Object(i.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(i.Component),ue=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"state",{hasEditedShareMessage:!1}),$()(U()(n),"fieldId",Object(y.uniqueId)("jetpack-publicize-message-field-")),$()(U()(n),"onMessageChange",(function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)})),n}return H()(t,e),D()(t,[{key:"isDisabled",value:function(){return this.props.connections.every((function(e){return!e.toggleable}))}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,a=this.getShareMessage(),c=256-a.length,s=Q()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(i.createElement)("div",{id:"publicize-form"},Object(i.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map((function(e){var t=e.display_name,r=e.enabled,a=e.id,o=e.service_name,c=e.toggleable;return Object(i.createElement)(se,{disabled:!c,enabled:r,key:a,id:a,label:t,name:o,toggleConnection:n})}))),Object(i.createElement)(le,{refreshCallback:r}),t.some((function(e){return e.enabled}))&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(i.createElement)("div",{className:"jetpack-publicize-message-box"},Object(i.createElement)("textarea",{id:this.fieldId,value:a,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(i.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(i.Component),pe=Object(T.compose)([Object(u.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(y.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}})),Object(u.withDispatch)((function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map((function(e){return J()({},e,{enabled:e.id===t?!e.enabled:e.enabled})}));e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}}))])(ue),de=Object(T.compose)([Object(u.withSelect)((function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("core/editor").refreshPost}}))])((function(e){var t=e.connections,n=e.refreshConnections;return Object(i.createElement)(i.Fragment,null,t&&t.some((function(e){return e.enabled}))&&Object(i.createElement)(K,null),Object(i.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(i.createElement)(pe,{refreshCallback:n}),t&&0===t.length&&Object(i.createElement)(le,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))})),he={render:function(){return Object(i.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(i.createElement)(P.a,null,Object(i.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(i.createElement)(de,null))),Object(i.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(i.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(i.createElement)(de,null)))}},me=n(37);Object(me.a)("publicize",he)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],d=function(e){var t=e.isSelected;return Object(a.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(a.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},h=n(20),m=(n(152),n(129),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),j=n.n(v),y=n(9),_=n.n(y),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(a.createElement)(a.Fragment,null,n&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),i&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},i),o&&!(c||s)&&Object(a.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(a.createElement)("div",null,[Object(a.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(a.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(a.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(a.createElement)("div",null,[Object(a.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(a.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(a.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,i=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=a?"".concat(a,","):"",d=i?"+".concat(i,","):"",h=o?"+".concat(o,","):"";h=c?"".concat(h,"+").concat(c):h;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(d).concat(h).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some((function(e){return""!==e}))&&Object(a.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(a.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(i.__)("Open address in Google Maps","jetpack")},Object(a.createElement)(C,e)),!e.attributes.linkToGoogleMaps&&Object(a.createElement)(C,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=j()(this,(e=_()(t)).call.apply(e,[this].concat(a)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return E()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,d=t.postal,h=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,d,h].some((function(e){return""!==e})),v=l()({"jetpack-address-block":!0,"is-selected":f}),j=Object(a.createElement)(c.ToggleControl,{label:Object(i.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(a.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(o.PlainText,{value:n,placeholder:Object(i.__)("Street Address","jetpack"),"aria-label":Object(i.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:r,placeholder:Object(i.__)("Address Line 2","jetpack"),"aria-label":Object(i.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:s,placeholder:Object(i.__)("Address Line 3","jetpack"),"aria-label":Object(i.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:u,placeholder:Object(i.__)("City","jetpack"),"aria-label":Object(i.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:p,placeholder:Object(i.__)("State/Province/Region","jetpack"),"aria-label":Object(i.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:d,placeholder:Object(i.__)("Postal/Zip Code","jetpack"),"aria-label":Object(i.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:h,placeholder:Object(i.__)("Country","jetpack"),"aria-label":Object(i.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),j))}}]),t}(a.Component),F={title:Object(i.__)("Address","jetpack"),description:Object(i.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(i._x)("location","block search term","jetpack"),Object(i._x)("direction","block search term","jetpack"),Object(i._x)("place","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(a.Fragment,null,Object(a.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(a.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(43),T=n.n(P),M=function(e){var t=e.attributes.email,n=e.className;return t&&Object(a.createElement)("div",{className:n},t.split(/(\s+)/).map((function(e,t){var n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&T.a.validate(n)?e===n?Object(a.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(a.createElement)(a.Fragment,{key:t},Object(a.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(a.createElement)(a.Fragment,null,e.slice(-(e.length-n.length)))):Object(a.createElement)(a.Fragment,{key:t},e)})))},N=function(e,t,n,r,i){var c=t.isSelected,s=t.attributes[e];return Object(a.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(a.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:i}))},R=function(e){var t=e.setAttributes;return N("email",e,Object(i.__)("Email","jetpack"),M,(function(e){return t({email:e})}))},D={title:Object(i.__)("Email Address","jetpack"),description:Object(i.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(i._x)("message","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:R,save:M,parent:["jetpack/contact-info"]};var z=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(a.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,i=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9/+/(]/.test(r[0])?(i=i.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[i.trim()?Object(a.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},i):null,Object(a.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},I=function(e){var t=e.setAttributes;return N("phone",e,Object(i.__)("Phone number","jetpack"),z,(function(e){return t({phone:e})}))},L={title:Object(i.__)("Phone Number","jetpack"),description:Object(i.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(i._x)("mobile","block search term","jetpack"),Object(i._x)("telephone","block search term","jetpack"),Object(i._x)("cell","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:I,save:z},B={title:Object(i.__)("Contact Info","jetpack"),description:Object(i.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(i._x)("email","block search term","jetpack"),Object(i._x)("phone","block search term","jetpack"),Object(i._x)("address","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:d,save:function(e){var t=e.className;return Object(a.createElement)("div",{className:t},Object(a.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},q=[{name:"address",settings:F},{name:"email",settings:D},{name:"phone",settings:L}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(27),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(4),m=n.n(h),f=n(10),b=n.n(f),g=n(3),v=n.n(g),j=n(0),y=n(23),_=n.n(y),k=n(1),O=n(2),w=n(6),E=(n(157),n(21)),C=n.n(E),x=n(12),S=n.n(x),A=n(5),F=n(26),P=n(14);function T(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var a=e[r],i=a.keywords,o=void 0===i?[]:i;if("string"==typeof a.label&&(o=[].concat(C()(o),[a.label])),n.push(a),n.length===t)break}return n}var M=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"select",(function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()})),v()(m()(e),"reset",(function(){e.setState(e.constructor.getInitialState())})),v()(m()(e),"onChange",(function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var a=n?T(r):[];n&&e.setState({selectedIndex:0,filteredOptions:a,query:t})}else e.reset()})),v()(m()(e),"onKeyDown",(function(t){var n=e.state,r=n.isOpen,a=n.selectedIndex,i=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===a?i.length:a)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(a+1)%i.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(i[a]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}})),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,a=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(a===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}})),o=T(i),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",i),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}}))}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,a=r.children,i=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,d=o.className,h=l.length>0,m=h?"components-autocomplete-listbox-".concat(i):null,f=h?"components-autocomplete-item-".concat(i,"-").concat(p):null;return Object(j.createElement)("div",{className:"components-autocomplete"},a({isExpanded:h,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),h&&Object(j.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(j.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,(function(t,n){return Object(j.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(i,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",d,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(j.Component),N=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(M),R=Object(k.__)("Add a marker…","jetpack"),D=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",(function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text})),v()(m()(e),"search",(function(t){var n=e.props,r=n.apiKey,a=n.onError,i="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET",i),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var i=JSON.parse(n.responseText);a(i.statusText,i.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()}))})),v()(m()(e),"onReset",(function(){e.textRef.current.value=null})),e.textRef=Object(j.createRef)(),e.containerRef=Object(j.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(j.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.containerRef.current.querySelector("input").focus()}),50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(j.createElement)("div",{ref:this.containerRef},Object(j.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(j.createElement)(N,{completer:this.autocompleter,onReset:this.onReset},(function(t){var n=t.isExpanded,r=t.listBoxId,a=t.activeId,i=t.onChange,o=t.onKeyDown;return Object(j.createElement)(O.TextControl,{placeholder:R,ref:e.textRef,onChange:i,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":a,onKeyDown:o})}))))}}]),t}(j.Component);D.defaultProps={onError:function(){}};var z=D,I=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,a=e.apiKey;return Object(j.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(j.createElement)(O.Popover,{className:"component__add-point__popover"},Object(j.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(j.createElement)(O.Dashicon,{icon:"no"})),Object(j.createElement)(z,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:a,onError:r})))}}]),t}(j.Component);I.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var L=I,B=(n(158),function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",(function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,a=r.points,i=r.onChange,o=a.slice(0);o.splice(n,1),i(o)})),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,a=r.points,i=r.onChange,o=a.slice(0);o[n][e]=t,i(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map((function(t,n){return Object(j.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(j.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(j.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(j.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(j.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))}));return Object(j.createElement)("div",{className:"component__locations"},Object(j.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(j.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,U=n(76),V=(n(159),function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,a=e.label,i=t.map((function(e,t){var a=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(j.createElement)(O.Button,{className:a,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)}));return Object(j.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(j.createElement)("label",{className:"components-base-control__label"},a),Object(j.createElement)(O.ButtonGroup,null,i))}}]),t}(j.Component));V.defaultProps={label:"",options:[],value:null,onChange:function(){}};var H=V,G=n(99),$=n.n(G),W=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"addPoint",(function(t){var n=e.props,r=n.attributes,a=n.setAttributes,i=r.points,o=i.slice(0),c=!1;i.map((function(e){e.id===t.id&&(c=!0)})),c||(o.push(t),a({points:o}),e.setState({addPointVisibility:!1}))})),v()(m()(e),"updateAlignment",(function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)})),v()(m()(e),"updateAPIKeyControl",(function(t){e.setState({apiKeyControl:t.target.value})})),v()(m()(e),"updateAPIKey",(function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")})),v()(m()(e),"removeAPIKey",(function(){e.apiCall(null,"DELETE")})),v()(m()(e),"onError",(function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)})),e.state={addPointVisibility:!1,apiState:0},e.mapRef=Object(j.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,a="/wpcom/v2/service-api-keys/mapbox",i=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},(function(){_()(i).then((function(t){var n=t.service_api_key,a=t.service_api_key_source;r.removeAllNotices();var i=n?2:1,o="wpcom"===a?"":n;e.setState({apiState:i,apiKey:n,apiKeyControl:o,apiKeySource:a,apiRequestOutstanding:!1})}),(function(t){var n=t.message;e.onError(null,n),e.setState({apiState:1,apiRequestOutstanding:!1})}))}))}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,i=t.attributes,o=t.noticeUI,c=t.notices,s=t.isSelected,l=i.mapStyle,u=i.mapDetails,p=i.points,d=i.zoom,h=i.mapCenter,m=i.markerColor,f=i.align,b=i.preview,g=this.state,v=g.addPointVisibility,y=g.apiKey,_=g.apiKeyControl,E=g.apiKeySource,C=g.apiState,x=g.apiRequestOutstanding,S=Object(j.createElement)(j.Fragment,null,Object(j.createElement)(w.BlockControls,null,Object(j.createElement)(w.BlockAlignmentToolbar,{value:f,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(j.createElement)(O.Toolbar,null,Object(j.createElement)(O.IconButton,{icon:a.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(j.createElement)(w.InspectorControls,null,Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(j.createElement)(H,{value:l,onChange:function(e){return r({mapStyle:e})},options:a.a.mapStyleOptions}),Object(j.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:u,onChange:function(e){return r({mapDetails:e})}})),Object(j.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),p.length?Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(j.createElement)(q,{points:p,onChange:function(e){r({points:e})}})):null,"wpcom"!==E&&Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(j.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:_,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(j.createElement)(O.ButtonGroup,null,Object(j.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(j.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),A=Object(j.createElement)(O.Placeholder,{icon:a.a.icon},Object(j.createElement)(O.Spinner,null)),F=Object(j.createElement)(j.Fragment,null,Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(j.createElement)("br",null),Object(j.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(j.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),P=Object(j.createElement)(O.Placeholder,{icon:a.a.icon,label:Object(k.__)("Map","jetpack"),notices:c,instructions:F},Object(j.createElement)(j.Fragment,null,Object(j.createElement)("form",null,Object(j.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:x,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:_,onChange:this.updateAPIKeyControl}),Object(j.createElement)(O.Button,{isLarge:!0,isSecondary:!0,disabled:x||!_||_.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack"))))),T=Object(j.createElement)(j.Fragment,null,S,Object(j.createElement)("div",{className:n},Object(j.createElement)(U.a,{ref:this.mapRef,mapStyle:l,mapDetails:u,points:p,zoom:d,mapCenter:h,markerColor:m,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:y,onSetPoints:function(e){return r({points:e})},onSetMapCenter:function(e){return r({mapCenter:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},s&&v&&Object(j.createElement)(L,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:y,onError:this.onError,tagName:"AddPoint"})))),M=Object(j.createElement)("div",null,Object(j.createElement)("img",{alt:Object(k.__)("Map Preview","jetpack"),src:$.a}));return Object(j.createElement)(j.Fragment,null,o,b&&M,!b&&0===C&&A,!b&&1===C&&P,!b&&2===C&&T)}}]),t}(j.Component),K=Object(O.withNotices)(W),Z=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,a=e.points,i=e.zoom,o=e.mapCenter,c=e.markerColor,s=a.map((function(e,t){var n=e.coordinates,r=n.longitude,a="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(j.createElement)("li",{key:t},Object(j.createElement)("a",{href:a},e.title))})),l=t?"align".concat(t):null;return Object(j.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(a),"data-zoom":i,"data-map-center":JSON.stringify(o),"data-marker-color":c},a.length>0&&Object(j.createElement)("ul",null,s))}}]),t}(j.Component),J=(n(132),n(160),a.a.name),Y={title:a.a.title,icon:a.a.icon,category:a.a.category,keywords:a.a.keywords,description:a.a.description,attributes:a.a.attributes,supports:a.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==a.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z,example:a.a.example};Object(r.a)(J,Y)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(15),i=n.n(a),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(149),n(7)),d=n.n(p),h=n(11),m=n.n(h),f=n(8),b=n.n(f),g=n(9),v=n.n(g),j=n(4),y=n.n(j),_=n(10),k=n.n(_),O=n(12),w=n.n(O),E=n(43),C=n.n(E),x=n(14),S=n(41),A=n(20),F=n(32),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],T=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeSubject=n.onChangeSubject.bind(y()(n)),n.onBlurTo=n.onBlurTo.bind(y()(n)),n.onChangeTo=n.onChangeTo.bind(y()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(y()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(y()(n)),n.getToValidationError=n.getToValidationError.bind(y()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(y()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(y()(n)),n.hasEmailError=n.hasEmailError.bind(y()(n));var o=a[0].attributes.to?a[0].attributes.to:"",c=o.split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:c&&c.length?c:null},n}return k()(t,e),m()(t,[{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!C.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map((function(e){return e.email}));return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,a=r.subject,i=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:i,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(S.a,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(S.a,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:a,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"renderConfirmationMessageFields",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes,r=n.customThankyou,a=n.customThankyouMessage,i=n.customThankyouRedirect;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.SelectControl,{label:Object(c.__)("On Submission","jetpack"),value:r,options:[{label:Object(c.__)("Show a summary of submitted fields","jetpack"),value:""},{label:Object(c.__)("Show a custom text message","jetpack"),value:"message"},{label:Object(c.__)("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:function(t){return e.props.setAttributes({customThankyou:t})}}),"message"===r&&Object(o.createElement)(l.TextareaControl,{label:Object(c.__)("Message Text","jetpack"),value:a,placeholder:Object(c.__)("Thank you for your submission!","jetpack"),onChange:function(t){return e.props.setAttributes({customThankyouMessage:t})}}),"redirect"===r&&Object(o.createElement)(l.BaseControl,{label:Object(c.__)("Redirect Address","jetpack"),id:"contact-form-".concat(t,"-thankyou-url")},Object(o.createElement)(u.URLInput,{id:"contact-form-".concat(t,"-thankyou-url"),value:i,className:"jetpack-contact-form__thankyou-redirect-url",onChange:function(t){return e.props.setAttributes({customThankyouRedirect:t})}})))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email Feedback Settings","jetpack")},this.renderToAndSubjectFields()),Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Confirmation Message","jetpack")},this.renderConfirmationMessageFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),instructions:Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},this.renderToAndSubjectFields(),Object(o.createElement)("div",{class:"components-placeholder__instructions"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isDefault:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(F.a,this.props)))}}]),t}(o.Component),M=Object(x.compose)([x.withInstanceId])(T),N=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,a=e.isSelected,i=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),a&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:i,onChange:function(e){return t({required:e})}}),!a&&i&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var R=function(e){var t=e.isSelected,n=e.type,r=e.required,a=e.label,i=e.setAttributes,s=e.defaultValue,p=e.placeholder,d=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(N,{required:r,label:a,setAttributes:i,isSelected:t}),placeholder:p,value:p,onChange:function(e){return i({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:d,onChange:function(e){return i({id:e})}}))))};var D=function(e){var t=e.required,n=e.label,r=e.setAttributes,a=e.isSelected,i=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(N,{required:t,label:n,setAttributes:r,isSelected:a}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:i,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},z=Object(x.withInstanceId)((function(e){var t=e.instanceId,n=e.required,r=e.label,a=e.setAttributes,i=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(N,{required:n,label:r,setAttributes:a,isSelected:i}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return a({id:e})}}))))})})),I=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.onKeyPress=n.onKeyPress.bind(y()(n)),n.onDeleteOption=n.onDeleteOption.bind(y()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),L=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.addNewOption=n.addNewOption.bind(y()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,a=t.required,i=t.label,s=t.setAttributes,p=t.isSelected,d=t.id,h=this.props.options,m=this.state.inFocus;return h.length||(h=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(N,{required:a,label:i,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},h.map((function(t,r){return Object(o.createElement)(I,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})}))),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:d,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),B=Object(x.withInstanceId)(L),q={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact form","block search term","jetpack")],category:"jetpack",supports:{html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},customThankyou:{type:"string",default:""},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:M,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},example:{attributes:{hasFormSettingsSet:!0,submitButtonText:Object(c.__)("Submit","jetpack")},innerBlocks:[{name:"jetpack/field-name",attributes:{label:Object(c.__)("Name","jetpack"),required:!0}},{name:"jetpack/field-email",attributes:{label:Object(c.__)("Email","jetpack"),required:!0}},{name:"jetpack/field-url",attributes:{label:Object(c.__)("Website","jetpack")}},{name:"jetpack/field-textarea",attributes:{label:Object(c.__)("Message","jetpack")}}]},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!!(e.has_form_settings_set||e.submit_button_text&&"Submit"!==e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},U={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},V=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},H=function(e){return function(t){return Object(o.createElement)(R,{type:e,label:V(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},G=function(e){return function(t){return Object(o.createElement)(B,{label:V(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},$=[{name:"field-text",settings:i()({},U,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:H("text")})},{name:"field-name",settings:i()({},U,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:H("text")})},{name:"field-email",settings:i()({},U,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:H("email")})},{name:"field-url",settings:i()({},U,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:H("url")})},{name:"field-date",settings:i()({},U,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:H("text")})},{name:"field-telephone",settings:i()({},U,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:H("tel")})},{name:"field-textarea",settings:i()({},U,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(D,{label:V(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:i()({},U,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:i()({},U.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:i()({},U,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:G("checkbox"),attributes:i()({},U.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:i()({},U,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:G("radio"),attributes:i()({},U.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:i()({},U,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:G("select"),attributes:i()({},U.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",q,$)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],s=n(24),l=n(7),u=n.n(l),p=n(11),d=n.n(p),h=n(8),m=n.n(h),f=n(9),b=n.n(f),g=n(4),v=n.n(g),j=n(10),y=n.n(j),_=n(3),k=n.n(_),O=n(12),w=n.n(O),E=n(43),C=n.n(E),x=n(14),S=n(13),A=n(5),F=n(45),P=n(41),T=(n(230),n(106)),M=n.n(T),N=n(107),R=n.n(N),D=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,d=void 0===p?null:p,h=e.featuredMediaTitle,m=void 0===h?null:h;return Object(a.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(a.createElement)("div",{className:"jetpack-simple-payments-product"},d&&Object(a.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(a.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(a.createElement)("img",{src:d,alt:m}))),Object(a.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(a.createElement)("div",{className:"jetpack-simple-payments-title"},Object(a.createElement)("p",null,n)),o&&Object(a.createElement)("div",{className:"jetpack-simple-payments-description"},Object(a.createElement)("p",null,o)),s&&Object(a.createElement)("div",{className:"jetpack-simple-payments-price"},Object(a.createElement)("p",null,s)),Object(a.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(a.createElement)("div",{className:"jetpack-simple-payments-items"},Object(a.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(a.createElement)("div",{className:"jetpack-simple-payments-button"},Object(a.createElement)("img",{alt:Object(i.__)("Pay with PayPal","jetpack"),src:M.a,srcSet:"".concat(R.a," 2x")}))))))},z=n(6),I=n(48),L=function(e){return function(t){return e({featuredMediaId:Object(A.get)(t,"id",0),featuredMediaUrl:Object(A.get)(t,"url",null),featuredMediaTitle:Object(A.get)(t,"title",null)})}},B=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(a.createElement)("div",null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(z.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(z.MediaUpload,{onSelect:L(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(a.createElement)(I.a,{label:Object(i.__)("Edit Image","jetpack"),onClick:t})}}),Object(a.createElement)(o.ToolbarButton,{icon:"trash",title:Object(i.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(a.createElement)("figure",null,Object(a.createElement)("img",{src:n,alt:r})))):Object(a.createElement)(z.MediaPlaceholder,{icon:"format-image",labels:{title:Object(i.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:L(c)})},q=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},U=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(F.a)(t),a=r.precision,i=r.symbol,o=e.toFixed(a);return n?"".concat(o," ").concat(Object(A.trimEnd)(i,".")):o},V=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(a))),k()(v()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),k()(v()(n),"validateAttributes",(function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),a=n.validateCurrency();return e&&t&&r&&a})),k()(v()(n),"validateCurrency",(function(){var e=n.props.attributes.currency;return c.includes(e)})),k()(v()(n),"validatePrice",(function(){var e=n.props.attributes,t=e.currency,r=e.price,a=Object(F.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(i.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(i.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):q(r)>a?0===a?(n.setState({fieldPriceError:Object(i.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(i.sprintf)(Object(i._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",a,"jetpack"),a)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(i.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),k()(v()(n),"validateEmail",(function(){var e=n.props.attributes.email;return e?C.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(i.sprintf)(Object(i.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(i.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),k()(v()(n),"validateTitle",(function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(i.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),k()(v()(n),"handleEmailChange",(function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})})),k()(v()(n),"handleFeaturedMediaSelect",(function(e){n.props.setAttributes({featuredMediaId:Object(A.get)(e,"id",0)})})),k()(v()(n),"handleContentChange",(function(e){n.props.setAttributes({content:e})})),k()(v()(n),"handlePriceChange",(function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})})),k()(v()(n),"handleCurrencyChange",(function(e){n.props.setAttributes({currency:e})})),k()(v()(n),"handleMultipleChange",(function(e){n.props.setAttributes({multiple:!!e})})),k()(v()(n),"handleTitleChange",(function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})})),k()(v()(n),"getCurrencyList",c.map((function(e){var t=Object(F.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}}))),n}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(A.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,a=n.content,i=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(A.get)(e,["content","raw"],a),currency:Object(A.get)(e,["meta","spay_currency"],i),email:Object(A.get)(e,["meta","spay_email"],o),featuredMediaId:Object(A.get)(e,["featured_media"],c),multiple:Boolean(Object(A.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(e,["meta","spay_price"],l||void 0),title:Object(A.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,a=e.featuredMediaId,i=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:i,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,a=n.email,o=Object(S.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},(function(){o("postType","jp_pay_product",e.toApi()).then((function(e){return e&&r({productId:e.id}),e})).catch((function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(i.sprintf)(Object(i.__)("%s is not a valid email address.","jetpack"),a):null,fieldPriceError:"spay_price"===n?Object(i.__)("Invalid price.","jetpack"):null})}})).finally((function(){e.setState({isSavingProduct:!1})}))}))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,d=c.setAttributes,h=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,j=s.featuredMediaTitle,y=s.multiple,_=s.price,k=s.productId,O=s.title,E=v||l&&l.source_url,C=j||l&&l.alt_text,x=k&&Object(A.isEmpty)(h);if(!p&&x)return Object(a.createElement)("div",{className:"simple-payments__loading"},Object(a.createElement)(D,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&_&&O&&!t&&!n&&!r)return Object(a.createElement)(D,{"aria-busy":"false",content:m,featuredMediaUrl:E,featuredMediaTitle:C,formattedPrice:U(_,f),multiple:y,title:O});var S=x?o.Disabled:"div";return Object(a.createElement)(S,{className:"wp-block-jetpack-simple-payments"},Object(a.createElement)(B,{featuredMediaId:g,featuredMediaUrl:E,featuredMediaTitle:C,setAttributes:d}),Object(a.createElement)("div",null,Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:w()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(i.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(i.__)("Item name","jetpack"),required:!0,type:"text",value:O}),Object(a.createElement)(P.a,{id:"".concat(u,"-title-error"),isError:!0},r),Object(a.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(i.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(i.__)("Describe your item in a few words","jetpack"),value:m}),Object(a.createElement)("div",{className:"simple-payments__price-container"},Object(a.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(i.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:w()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(i.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:U(0,f,!1),required:!0,step:"1",type:"number",value:_||""}),Object(a.createElement)(P.a,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(a.createElement)("div",{className:"simple-payments__field-multiple"},Object(a.createElement)(o.ToggleControl,{checked:Boolean(y),label:Object(i.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:w()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(i.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(i.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(a.createElement)(P.a,{id:"".concat(u,"-email-error"),isError:!0},t),Object(a.createElement)(P.a,{id:"".concat(u,"-email-help")},Object(i.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(a.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(i.__)("Create one on PayPal","jetpack")))))}}]),t}(a.Component),H=Object(S.withSelect)((function(e,t){var n=e("core"),r=n.getEntityRecord,a=n.getMedia,i=e("core/editor"),o=i.isSavingPost,c=i.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(A.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(A.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?a(u):null}})),G=Object(x.compose)(H,x.withInstanceId)(V);var $=n(108),W=n.n($),K=(n(231),Object(s.b)()||Object(s.a)()?"https://support.wordpress.com/simple-payments/":"https://jetpack.com/support/jetpack-blocks/simple-payments-block/"),Z={title:Object(i.__)("Simple Payments button","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),Object(a.createElement)("p",null,Object(i.__)("Good for collecting donations or payments for products and services.","jetpack")),Object(a.createElement)(o.ExternalLink,{href:K},Object(i.__)("Support reference","jetpack"))),icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(i._x)("shop","block search term","jetpack"),Object(i._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:G,save:function(e){var t=e.attributes.productId;return t?Object(a.createElement)(a.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},example:{attributes:{price:25,title:Object(i.__)("Jetpack t-shirt","jetpack"),content:Object(i.__)("Take flight in ultimate comfort with ths stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:W.a}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",Z)},function(e,t,n){"use strict";n.r(t);var r=n(21),a=n.n(r),i=n(18),o=n.n(i),c=n(15),s=n.n(c),l=n(25),u=n(16),p=n(28),d=n(55),h=n(5),m=n(7),f=n.n(m),b=n(11),g=n.n(b),v=n(8),j=n.n(v),y=n(9),_=n.n(y),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=n(3),x=n.n(C),S=n(0),A=n(23),F=n.n(A),P=n(2),T=n(14),M=n(13),N=n(6),R=n(1),D=n(12),z=n.n(D),I=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(P.Spinner,null),Object(S.createElement)("p",null,t))},L=n(31),B=function(e,t){var n=t.autoplay,r=t.controls,a=t.loop,i=t.muted,o=t.poster,c=t.preload;if(!e)return null;var l=s()({},n&&{autoPlay:!0},{},!r&&{controls:!1},{},a&&{loop:!0},{},i&&{muted:!0,persistVolume:!1},{},o&&{posterUrl:o},{},"none"!==c&&{preloadContent:c});return Object(L.addQueryArgs)("https://videopress.com/v/".concat(e),l)},q=["image"],U=Object(T.createHigherOrderComponent)(Object(T.compose)([Object(M.withSelect)((function(e,t){var n=t.attributes,r=n.autoplay,a=n.controls,i=n.guid,o=n.loop,c=n.muted,s=n.poster,u=n.preload,p=n.src,d=e("core"),h=d.getEmbedPreview,m=d.isRequestingEmbedPreview,f=B(i,{autoplay:r,controls:a,loop:o,muted:c,poster:s,preload:u}),b=!!f&&h(f);return{isFetchingPreview:!!f&&m(f),isUploading:Object(l.isBlobURL)(p),preview:b,url:f}})),Object(M.withDispatch)((function(e){return{invalidateCachedEmbedPreview:function(t){e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}})),T.withInstanceId,function(e){return function(t){function n(){var e;return f()(this,n),e=j()(this,_()(n).apply(this,arguments)),x()(O()(e),"fallbackToCore",(function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})})),x()(O()(e),"setGuid",(function(){var t,n,r,a,i,o,c;return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:if(t=e.props,n=t.attributes,r=t.setAttributes,a=n.id){s.next=5;break}return r({guid:void 0}),s.abrupt("return");case 5:return s.prev=5,e.setState({isFetchingMedia:!0}),s.next=9,regeneratorRuntime.awrap(F()({path:"/wp/v2/media/".concat(a)}));case 9:if(i=s.sent,e.setState({isFetchingMedia:!1}),o=e.props.attributes.id,a===o){s.next=14;break}return s.abrupt("return");case 14:e.setState({media:i}),(c=Object(h.get)(i,"jetpack_videopress_guid"))?r({guid:c}):e.fallbackToCore(),s.next=23;break;case 19:s.prev=19,s.t0=s.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return s.stop()}}),null,null,[[5,19]])})),x()(O()(e),"switchToEditing",(function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),x()(O()(e),"onSelectPoster",(function(t){(0,e.props.setAttributes)({poster:t.url})})),x()(O()(e),"onRemovePoster",(function(){(0,e.props.setAttributes)({poster:""}),e.posterImageButton.current.focus()})),x()(O()(e),"toggleAttribute",(function(t){return function(n){e.props.setAttributes(x()({},t,n))}})),x()(O()(e),"getAutoplayHelp",(function(e){return e?Object(R.__)("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null})),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.invalidateCachedEmbedPreview,a=t.url;n.id!==e.attributes.id&&this.setGuid(),a&&a!==e.url&&r(a)}},{key:"render",value:function(){var t=this,n=this.props,r=n.attributes,a=n.className,i=n.instanceId,o=n.isFetchingPreview,c=n.isSelected,s=n.isUploading,l=n.preview,u=n.setAttributes,p=this.state,d=p.fallback,h=p.isFetchingMedia,m=r.autoplay,f=r.caption,b=r.controls,g=r.loop,v=r.muted,j=r.poster,y=r.preload,_="video-block__poster-image-description-".concat(i),k=Object(S.createElement)(S.Fragment,null,Object(S.createElement)(N.BlockControls,null,Object(S.createElement)(P.Toolbar,null,Object(S.createElement)(P.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(R.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)(N.InspectorControls,null,Object(S.createElement)(P.PanelBody,{title:Object(R.__)("Video Settings","jetpack")},Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Autoplay","jetpack"),onChange:this.toggleAttribute("autoplay"),checked:m,help:this.getAutoplayHelp}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Loop","jetpack"),onChange:this.toggleAttribute("loop"),checked:g}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:v}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Playback Controls","jetpack"),onChange:this.toggleAttribute("controls"),checked:b}),Object(S.createElement)(P.SelectControl,{label:Object(R.__)("Preload","jetpack"),value:y,onChange:function(e){return u({preload:e})},options:[{value:"auto",label:Object(R._x)("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:Object(R._x)("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:Object(R._x)("None","VideoPress preload setting","jetpack")}]}),Object(S.createElement)(N.MediaUploadCheck,null,Object(S.createElement)(P.BaseControl,{className:"editor-video-poster-control",label:Object(R.__)("Poster Image","jetpack")},Object(S.createElement)(N.MediaUpload,{title:Object(R.__)("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:q,render:function(e){var n=e.open;return Object(S.createElement)(P.Button,{isDefault:!0,onClick:n,ref:t.posterImageButton,"aria-describedby":_},j?Object(R.__)("Replace image","jetpack"):Object(R.__)("Select Poster Image","jetpack"))}}),Object(S.createElement)("p",{id:_,hidden:!0},j?Object(R.sprintf)(Object(R.__)("The current poster image url is %s","jetpack"),j):Object(R.__)("There is no poster image currently selected","jetpack")),!!j&&Object(S.createElement)(P.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(R.__)("Remove Poster Image")))))));if(s)return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)(I,{text:Object(R.__)("Uploading…","jetpack")}));if(h||o)return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)(I,{text:Object(R.__)("Generating preview…","jetpack")}));if(d||!l)return Object(S.createElement)(e,this.props);var O=l.html,w=l.scripts;return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)("figure",{className:z()(a,"wp-block-embed","is-type-video")},Object(S.createElement)(P.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(P.SandBox,{html:O,scripts:w}))),(!N.RichText.isEmpty(f)||c)&&Object(S.createElement)(N.RichText,{tagName:"figcaption",placeholder:Object(R.__)("Write caption…","jetpack"),value:f,onChange:function(e){return u({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),V=Object(T.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).autoplay,a=n.caption,i=n.controls,o=n.guid,c=n.loop,s=n.muted,l=n.poster,u=n.preload;if(!o)return e(t);var p=B(o,{autoplay:r,controls:i,loop:c,muted:s,poster:l,preload:u});return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(p,"\n")),!N.RichText.isEmpty(a)&&Object(S.createElement)(N.RichText.Content,{tagName:"figcaption",value:a}))}}),"withVideoPressSave"),H=n(40);var G={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:function(e){var t=e.attributes,n=t.caption,r=t.guid;if(!r)return null;var a="https://videopress.com/v/".concat(r);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(a,"\n")),!N.RichText.isEmpty(n)&&Object(S.createElement)(N.RichText.Content,{tagName:"figcaption",value:n}))},isDeprecation:!0};Object(d.addFilter)("blocks.registerBlockType","jetpack/videopress",(function(e,t){if("core/video"!==t||e.isDeprecation)return e;var n=e.attributes,r=e.deprecated,i=e.edit,c=e.save,d=e.supports,m=e.transforms,f=Object(H.a)("videopress"),b=f.available,g=f.unavailableReason;return b||["missing_plan","missing_module"].includes(g)?s()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:s()({},m,{from:[{type:"files",isMatch:function(e){return Object(h.every)(e,(function(e){return 0===e.type.indexOf("video/")}))},priority:9,transform:function(e,t){var n=[];return e.forEach((function(e){var r=Object(u.createBlock)("core/video",{src:Object(l.createBlobURL)(e)});Object(p.mediaUpload)({filesList:[e],onFileChange:function(e){var n=o()(e,1)[0],a=n.id,i=n.url;t(r.clientId,{id:a,src:i})},allowedTypes:["video"]}),n.push(r)})),n}}]}),supports:s()({},d,{reusable:!1}),edit:U(i),save:V(c),deprecated:[].concat(a()(r||[]),[{attributes:n,isEligible:function(e){return!e.guid},save:c,supports:d,isDeprecation:!0},G])}):e}))},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(15),s=n.n(c),l=n(21),u=n.n(l),p=n(7),d=n.n(p),h=n(11),m=n.n(h),f=n(8),b=n.n(f),g=n(9),v=n.n(g),j=n(4),y=n.n(j),_=n(10),k=n.n(_),O=n(3),w=n.n(O),E=n(14),C=n(5),x=n(25),S=n(13),A=n(6),F=n(28),P=n(48),T=function(e){var t=e.allowedMediaTypes,n=e.attributes,r=n.autoplay,c=n.delay,s=n.effect,l=n.images,u=n.sizeSlug,p=e.imageSizeOptions,d=e.onChangeImageSize,h=e.onSelectImages,m=e.setAttributes,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=[{label:Object(i._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(i._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(A.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Autoplay","jetpack")},Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Autoplay","jetpack"),help:Object(i.__)("Autoplay between slides","jetpack"),checked:r,onChange:function(e){m({autoplay:e})}}),r&&Object(a.createElement)(o.RangeControl,{label:Object(i.__)("Delay between transitions (in seconds)","jetpack"),value:c,onChange:function(e){m({delay:e})},min:1,max:5}),r&&f&&Object(a.createElement)("span",null,Object(i.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Effects","jetpack")},Object(a.createElement)(o.SelectControl,{label:Object(i.__)("Transition effect","jetpack"),value:s,onChange:function(e){m({effect:e})},options:b})),!Object(C.isEmpty)(l)&&!Object(C.isEmpty)(p)&&Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Image Settings","jetpack")},Object(a.createElement)(o.SelectControl,{label:Object(i.__)("Image Size","jetpack"),value:u,options:p,onChange:d}))),Object(a.createElement)(A.BlockControls,null,!!l.length&&Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(A.MediaUpload,{onSelect:h,allowedTypes:t,multiple:!0,gallery:!0,value:l.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(a.createElement)(P.a,{label:Object(i.__)("Edit Slideshow","jetpack"),onClick:t})}}))))},M=n(12),N=n.n(M),R=n(39),D=n(73),z=n(38),I=function(e){function t(e){var n;return d()(this,t),n=b()(this,v()(t).call(this,e)),w()(y()(n),"pendingRequestAnimationFrame",null),w()(y()(n),"resizeObserver",null),w()(y()(n),"initializeResizeObserver",(function(e){n.clearResizeObserver(),n.resizeObserver=new R.a((function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame((function(){Object(z.d)(e),e.update()}))})),n.resizeObserver.observe(e.el)})),w()(y()(n),"clearPendingRequestAnimationFrame",(function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)})),w()(y()(n),"clearResizeObserver",(function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)})),w()(y()(n),"prefersReducedMotion",(function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches})),w()(y()(n),"buildSwiper",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(Object(D.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:z.b,imagesReady:z.d,paginationRender:z.c,transitionEnd:z.a}))})),n.slideshowRef=Object(a.createRef)(),n.btnNextRef=Object(a.createRef)(),n.btnPrevRef=Object(a.createRef)(),n.paginationRef=Object(a.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then((function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})).catch((function(){t(Object(i.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,a=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(a===e.align&&Object(C.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((function(e){n.swiperInstance=e,n.initializeResizeObserver(e)})).catch((function(){u(Object(i.__)("The Swiper library could not be loaded.","jetpack"))})))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,i=e.effect,c=e.images;return Object(a.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":i},Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(a.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},c.map((function(e){var t=e.alt,n=e.caption,r=e.id,i=e.url;return Object(a.createElement)("li",{className:N()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(i)&&"is-transient"),key:r},Object(a.createElement)("figure",null,Object(a.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:i}),Object(x.isBlobURL)(i)&&Object(a.createElement)(o.Spinner,null),n&&Object(a.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),Object(a.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(a.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(a.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(a.Component);w()(I,"defaultProps",{effect:"slide"});var L=I,B=(n(232),["image"]),q=function(e,t){var n=Object(C.pick)(e,["alt","id","link","caption"]);return n.url=Object(C.get)(e,["sizes",t,"url"])||Object(C.get)(e,["media_details","sizes",t,"source_url"])||e.url,n},U=function(e){function t(){var e;return d()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(y()(e),"onSelectImages",(function(t){var n=e.props.attributes.sizeSlug,r=t.map((function(e){return q(e,n)}));e.setAttributes({images:r})})),w()(y()(e),"onRemoveImage",(function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,(function(e,n){return t!==n}));e.setState({selectedImage:null}),e.setAttributes({images:n})}})),w()(y()(e),"addFiles",(function(t){var n=e.props.attributes.images||[],r=e.props.attributes.sizeSlug,a=e.props,i=a.lockPostSaving,o=a.unlockPostSaving,c=a.noticeOperations;i("slideshowBlockLock"),Object(F.mediaUpload)({allowedTypes:B,filesList:t,onFileChange:function(t){var a=t.map((function(e){return q(e,r)}));e.setAttributes({images:[].concat(u()(n),u()(a))}),a.every((function(e){return Object(x.isBlobURL)(e.url)}))||o("slideshowBlockLock")},onError:c.createErrorNotice})})),w()(y()(e),"uploadFromFiles",(function(t){return e.addFiles(t.target.files)})),w()(y()(e),"updateImagesSize",(function(t){var n=e.props.attributes.images,r=e.props.resizedImages,a=n.map((function(e){var n=r.find((function(t){var n=t.id;return parseInt(n,10)===parseInt(e.id,10)})),a=Object(C.get)(n,["sizes",t,"source_url"]);return s()({},e,{},a&&{url:a})}));e.setAttributes({images:a,sizeSlug:t})})),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.ids;e.sizeSlug||this.setAttributes({sizeSlug:t.length?"full":"large"})}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(C.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.noticeOperations,l=t.noticeUI,u=n.align,p=n.autoplay,d=n.delay,h=n.effect,m=n.images,f=this.getImageSizeOptions(),b=Object(a.createElement)(T,{allowedMediaTypes:B,attributes:n,imageSizeOptions:f,onChangeImageSize:this.updateImagesSize,onSelectImages:this.onSelectImages,setAttributes:function(t){return e.setAttributes(t)}});return 0===m.length?Object(a.createElement)(a.Fragment,null,b,Object(a.createElement)(A.MediaPlaceholder,{icon:Object(a.createElement)(A.BlockIcon,{icon:X}),className:r,labels:{title:Object(i.__)("Slideshow","jetpack"),instructions:Object(i.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:B,multiple:!0,notices:l,onError:s.createErrorNotice})):Object(a.createElement)(a.Fragment,null,b,l,Object(a.createElement)(L,{align:u,autoplay:p,className:r,delay:d,effect:h,images:m,onError:s.createErrorNotice}),Object(a.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),c&&Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(a.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(i.__)("Upload an image","jetpack"))))}}]),t}(a.Component),V=Object(E.compose)(Object(S.withSelect)((function(e,t){return{imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce((function(t,n){var r=e("core").getMedia(n),a=Object(C.get)(r,["media_details","sizes"]);return[].concat(u()(t),[{id:n,sizes:a}])}),[])}})),Object(S.withDispatch)((function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}})),o.withNotices)(U),H=n(16);function G(e){return Object(C.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var $={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return G(e).length>0},transform:function(e){var t=G(e);return Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=G(e.images);return t.length>0?Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))}):Object(H.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(H.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map((function(e){var t=e.id,n=e.url,r=e.alt,a=e.caption;return Object(H.createBlock)("core/image",{id:t,url:n,alt:r,caption:a})})):Object(H.createBlock)("core/image")}}]},W=n(109),K=n.n(W),Z=n(110),J=n.n(Z),Y=n(111),Q=n.n(Y),X=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(a.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),ee={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:K.a},{alt:"",caption:"",id:23,url:J.a},{alt:"",caption:"",id:23,url:Q.a}],effect:"slide"},te={title:Object(i.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(i._x)("image","block search term","jetpack"),Object(i._x)("gallery","block search term","jetpack"),Object(i._x)("slider","block search term","jetpack")],description:Object(i.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:X,edit:V,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,i=t.delay,o=t.effect,c=t.images,s=e.className;return Object(a.createElement)(L,{align:n,autoplay:r,className:s,delay:i,effect:o,images:c})},transforms:$,example:{attributes:ee}};Object(r.a)("slideshow",te)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(13),c=n(5),s=function(e){return e.map((function(e){return e.value}))},l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],u=s(l),p=function(e){return Object(c.compact)([{value:"standard",label:Object(i.__)("Standard (224 x 301 pixels)","jetpack")},{value:"tall",label:Object(i.__)("Tall (288 x 490 pixels)","jetpack")},{value:"wide",label:Object(i.__)("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&{value:"button",label:Object(i.__)("Button (210 x 113 pixels)","jetpack")}])},d=function(e){return s(p(e))},h=Object(o.select)("core/block-editor").getSettings().siteLocale,m=!Object(c.isEmpty)(h)&&u.includes(h)?h:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:m,type:"string",validValues:u},newtab:{default:!1,type:"boolean"}},b=n(3),g=n.n(b),v=n(18),j=n.n(v),y=(n(79),n(12)),_=n.n(y),k=n(6),O=n(2),w=(n(89),Object(a.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},Object(a.createElement)(O.Path,{fill:"#555d66",d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))),E=n(24),C=n(30),x=n.n(C);var S=/<script type=\'text\/javascript\' src=\'\/\/www.opentable\.(\w{2,3}\.)?\w+\/widget\/reservation\/loader\?[^']+\'><\/script>/;function A(e){var t=Object(a.useState)(""),n=j()(t,2),r=n[0],o=n[1],s=function(e,t){var n=Object(a.useState)([]),r=j()(n,2),i=r[0],o=r[1],s=Object(a.useCallback)(Object(c.throttle)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((function(e){return e.json()})).then((function(e){return o(Object(c.unionBy)(i,e.items,"rid"))}))}),500),[i]);return Object(a.useEffect)((function(){Object(c.isEmpty)(e)||e.startsWith("<script")||s(e)}),[e]),i}(r,20),l=Object(a.useState)(e.rids||[]),u=j()(l,2),p=u[0],d=u[1],h=/^(\d+)$|\(\#(\d+)\)$/,m=s.filter((function(e){return p.indexOf(e.rid.toString())})).map((function(e){return e.name+" (#".concat(e.rid,")")})),f=Object(a.createElement)(O.FormTokenField,x()({value:p,suggestions:m,onInputChange:o,maxSuggestions:20,label:Object(i._n)("Restaurant","Restaurants",p.length,"jetpack")},e,{onChange:function(t){var n=t.map((function(e){var t=h.exec(e);return t[1]||t[2]}));d(n),e.onChange&&e.onChange(n)}}));return Object(a.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?Object(a.createElement)("form",{onSubmit:function(t){t.preventDefault(),e.onSubmit(Object(c.isEmpty)(p)&&S.test(r)?r:p)}},f,Object(a.createElement)(O.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i.__)("Embed","jetpack"))):f)}var F=n(59),P=n(51);n(133);var T={title:Object(i.__)("OpenTable","jetpack"),description:Object(i.__)("Allow visitors to book a reservation with OpenTable","jetpack"),icon:w,category:"jetpack",keywords:[Object(i.__)("opentable","jetpack"),Object(i.__)("reservation","jetpack"),Object(i.__)("restaurant","jetpack")],supports:{align:!0,html:!1},edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className,s=e.clientId,h=Object(P.a)(f,n);Object(c.isEqual)(h,n)||r(h);var m,b,v,y,C,x=n.align,S=n.rid,T=n.style,M=n.iframe,N=n.domain,R=n.lang,D=n.newtab,z=Object(a.useState)(),I=j()(z,2),L=I[0],B=I[1],q=function(){return B(Object(a.createElement)(a.Fragment,null,Object(a.createElement)("strong",null,Object(i.__)("We ran into an issue","jetpack")),Object(a.createElement)("br",null),Object(i.__)("Please ensure this embed matches the one from your OpenTable account","jetpack")))},U=p(S),V=d(S),H=function(e){return S.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e]},G=Object(a.createElement)(k.BlockControls,null,!Object(c.isEmpty)(S)&&Object(a.createElement)(O.Toolbar,{popoverProps:{className:"is-opentable"},isCollapsed:!0,icon:"admin-appearance",label:Object(i.__)("Style","jetpack"),controls:U.map((function(e){return{title:e.label,isActive:e.value===T,onClick:function(){return t=e.value,r({style:t}),"wide"===T&&"wide"===x&&r({align:""}),void("wide"===t&&r({align:"wide"}));var t}}}))})),$=function(e){Array.isArray(e)?r({rid:e,style:e.length>1&&"button"===T?"standard":T}):function(e){if(e){var t=e.match(/< *script[^>]*src *= *["']?([^"']*)/i);if(t&&t[1]){var n="";if((n=0===t[1].indexOf("http")?new URL(t[1]):new URL("http:"+t[1])).search){var a=new URLSearchParams(n.search),i=a.get("theme");"button"===a.get("type")&&(i=a.get("type"));var o={rid:a.getAll("rid"),iframe:Boolean(a.get("iframe")),domain:a.get("domain"),lang:a.get("lang"),newtab:Boolean(a.get("newtab")),style:i},c=Object(P.a)(f,o);r(c)}else q()}else q()}else q()}(e)},W=Object(E.b)()||Object(E.a)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",K=Object(a.createElement)(O.Placeholder,{label:Object(i.__)("OpenTable Reservation","jetpack"),icon:Object(a.createElement)(k.BlockIcon,{icon:w}),instructions:Object(i.__)("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:L&&Object(a.createElement)(O.Notice,{status:"error",isDismissible:!1},L)},Object(a.createElement)(A,{rids:S,onSubmit:$}),Object(a.createElement)("div",{className:"".concat(o,"-placeholder-links")},Object(a.createElement)(O.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},Object(i.__)("Sign up for OpenTable","jetpack")),Object(a.createElement)(O.ExternalLink,{href:W},Object(i.__)("Learn more","jetpack")))),Z=_()(o,(t={},g()(t,"".concat(o,"-theme-").concat(T),!Object(c.isEmpty)(S)&&V.includes(T)),g()(t,"is-multi","multi"===H(T)[0]),t));return Object(a.createElement)("div",{className:Z},!Object(c.isEmpty)(S)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.InspectorAdvancedControls,null,Object(a.createElement)(O.ToggleControl,{label:Object(i.__)("Load the widget in an iFrame (Recommended)","jetpack"),checked:M,onChange:function(){return r({iframe:!M})},className:"is-opentable"})),Object(a.createElement)(k.InspectorControls,null,Object(a.createElement)(O.PanelBody,{title:Object(i.__)("Styles","jetpack")},Object(a.createElement)(F.a,{clientId:s,styleOptions:U,onSelectStyle:r,activeStyle:T,attributes:n,viewportWidth:150})),Object(a.createElement)(O.PanelBody,{title:Object(i.__)("Settings","jetpack")},Object(a.createElement)(A,{rids:S,onChange:$}),Object(a.createElement)(O.SelectControl,{label:Object(i.__)("Language","jetpack"),value:R,onChange:function(e){return r({lang:e})},options:l}),Object(a.createElement)(O.ToggleControl,{label:Object(i.__)("Open in a new window","jetpack"),checked:D,onChange:function(){return r({newtab:!D})}})))),G),Object(c.isEmpty)(S)?K:(b=H(m||T),v=j()(b,2),y=v[0],C=v[1],Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"".concat(o,"-overlay")}),Object(a.createElement)("iframe",{title:Object(i.sprintf)(Object(i.__)("Open Table Preview %s","jetpack"),s),scrolling:"no",src:"https://www.opentable.com/widget/reservation/canvas?rid=".concat(Object(c.join)(S,"%2C"),"&type=").concat(y,"&theme=").concat(C,"&overlay=false&domain=").concat(N,"&lang=").concat(R&&u.includes(R)?R:"en-US","&newtab=").concat(D,"&disablega=true")}))))},save:function(e){var t=e.attributes.rid;return Object(a.createElement)(a.Fragment,null,t.map((function(e){return Object(a.createElement)("a",{href:"https://www.opentable.com/restref/client/?rid=".concat(e)},"https://www.opentable.com/restref/client/?rid=".concat(e))})))},attributes:f,example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1}}};Object(r.a)("opentable",T)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(12),O=n.n(k),w=n(6),E=n(13),C=n(28),x=n(23),S=n.n(x),A=n(26);function F(e){if(!e)return null;var t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}var P=n(24),T=n(14),M=window.getComputedStyle,N=Object(o.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,a=r&&r.color,i=n&&n.color,o=!i&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:a||!e?void 0:M(e).backgroundColor,fallbackTextColor:i||!o?void 0:M(o).color}}));function R(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,c=Object(a.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Border Settings","jetpack")},Object(a.createElement)(o.RangeControl,{value:n,label:Object(i.__)("Border Radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:c}))}var D=function(e){function t(){var e;return l()(this,t),(e=h()(this,f()(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(g()(e)),e}return j()(t,e),p()(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,c=t.setBackgroundColor,s=t.setTextColor,l=t.fallbackBackgroundColor,u=t.fallbackTextColor,p=t.setAttributes,d=t.className,h=n.borderRadius,m=n.placeholder,f=n.text,b=n.title;return Object(a.createElement)("div",{className:O()(d,"wp-block-button is-modal-button"),title:b,ref:this.bindRef},Object(a.createElement)(w.RichText,{placeholder:m||Object(i.__)("Add text…","jetpack"),value:f,keepPlaceholderOnFocus:!0,onChange:function(e){return p({text:e})},withoutInteractiveFormatting:!0,className:O()("wp-block-button__link",(e={"has-background":r.color},_()(e,r.class,r.class),_()(e,"has-text-color",o.color),_()(e,o.class,o.class),_()(e,"no-border-radius",0===h),e)),style:{backgroundColor:r.color,color:o.color,borderRadius:h?h+"px":void 0}}),Object(a.createElement)(w.InspectorControls,null,Object(a.createElement)(w.PanelColorSettings,{title:Object(i.__)("Color Settings","jetpack"),colorSettings:[{value:r.color,onChange:c,label:Object(i.__)("Background Color","jetpack")},{value:o.color,onChange:s,label:Object(i.__)("Text Color","jetpack")}]},Object(a.createElement)(w.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:l,fallbackTextColor:u})),Object(a.createElement)(R,{borderRadius:h,setAttributes:p})))}}]),t}(a.Component),z=Object(T.compose)([Object(w.withColors)("backgroundColor",{textColor:"color"}),N])(D),I=n(97),L=n.n(I),B=n(98),q=n.n(B),U=(n(153),[{name:"fill",label:Object(i.__)("Fill","jetpack"),isDefault:!0},{name:"outline",label:Object(i.__)("Outline","jetpack")}]),V=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{editedUrl:n.props.attributes.url||"",editingUrl:!1,resolvingUrl:n.props.attributes.url&&!n.props.attributes.eventId,resolvedStatusCode:null}),_()(g()(n),"resolveUrl",(function(){var e=n.props.attributes.url;n.setState({resolvedStatusCode:null}),n.fetchRequest=S()({path:"/wpcom/v2/resolve-redirect/".concat(e)}),n.fetchRequest.then((function(t){n.fetchRequest=null;var r=t.url||e,a=t.status?parseInt(t.status,10):null;n.props.setAttributes({eventId:F(r),url:r}),n.setState({resolvingUrl:!1,resolvedStatusCode:a,editedUrl:r})}),(function(e){"abort"!==e.statusText&&(n.fetchRequest=null,n.setState({resolvingUrl:!1,editingUrl:!0}))}))})),_()(g()(n),"setUrl",(function(e){e&&e.preventDefault();var t=n.state.editedUrl;t&&(n.props.setAttributes({eventId:F(t),url:t}),n.setState({editingUrl:!1,resolvingUrl:!0}))})),_()(g()(n),"cannotEmbed",(function(){var e=n.props.attributes.url,t=n.state.resolvedStatusCode;return e&&!G.test(e)||t&&t>=400})),_()(g()(n),"setEmbedType",(function(e){(0,n.props.setAttributes)({useModal:"modal"===e})})),n}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingUrl&&this.resolveUrl()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingUrl&&this.state.resolvingUrl&&this.resolveUrl()}},{key:"renderLoading",value:function(){return Object(a.createElement)("div",{className:"wp-block-embed is-loading"},Object(a.createElement)(o.Spinner,null),Object(a.createElement)("p",null,Object(i.__)("Embedding…","jetpack")))}},{key:"renderInspectorControls",value:function(){var e=this.props.attributes.useModal,t=[{value:"inline",isActive:!e,label:Object(i.__)("In-page Embed","jetpack"),preview:Object(a.createElement)("div",{className:"block-editor-block-preview__container"},Object(a.createElement)("img",{src:L.a,alt:Object(i.__)("In page Eventbrite checkout example","jetpack")}))},{value:"modal",isActive:e,label:Object(i.__)(" Button & Modal","jetpack"),preview:Object(a.createElement)("div",{className:"block-editor-block-preview__container"},Object(a.createElement)("img",{src:q.a,alt:Object(i.__)("Modal Eventbrite checkout example","jetpack")}))}];return Object(a.createElement)(C.InspectorControls,null,Object(a.createElement)(o.PanelBody,{className:"jetpack-eventbrite-block__embed-type-controls",title:Object(i._x)("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack")},Object(a.createElement)("div",{className:"block-editor-block-styles"},t.map(this.renderEmbedTypeItem.bind(this)))))}},{key:"renderEmbedTypeItem",value:function(e){var t=this,n=e.label,r=e.isActive,i=e.value,o=e.preview;return Object(a.createElement)("div",{key:i,className:O()("block-editor-block-styles__item",{"is-active":r}),onClick:function(){return t.setEmbedType(i)},onKeyDown:function(e){A.ENTER!==e.keyCode&&A.SPACE!==e.keyCode||e.preventDefault()},role:"button",tabIndex:"0","aria-label":n},Object(a.createElement)("div",{className:"block-editor-block-styles__item-preview"},o),Object(a.createElement)("div",{className:"block-editor-block-styles__item-label"},n))}},{key:"renderBlockControls",value:function(){var e=this;return Object(a.createElement)(w.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(i.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})))}},{key:"renderEditEmbed",value:function(){var e=this,t=this.props.className,n=this.state.editedUrl,r=Object(P.b)()||Object(P.a)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return Object(a.createElement)("div",{className:t},Object(a.createElement)(o.Placeholder,{label:Object(i.__)("Eventbrite Checkout","jetpack"),instructions:Object(i.__)("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:Object(a.createElement)(w.BlockIcon,{icon:K})},Object(a.createElement)("form",{onSubmit:this.setUrl},Object(a.createElement)("input",{type:"url",value:n,className:"components-placeholder__input","aria-label":Object(i.__)("Eventbrite URL","jetpack"),placeholder:Object(i.__)("Enter an event URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(a.createElement)(o.Button,{isLarge:!0,isDefault:!0,isSecondary:!0,type:"submit"},Object(i._x)("Embed","submit button label","jetpack")),this.cannotEmbed()&&Object(a.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Sorry, this content could not be embedded.","jetpack"),Object(a.createElement)("br",null),Object(a.createElement)(o.Button,{isLarge:!0,onClick:function(){return t=n,r=e.props.onReplace,i=Object(a.createElement)("a",{href:t},t),void r(Object(c.createBlock)("core/paragraph",{content:Object(a.renderToString)(i)}));var t,r,i}},Object(i._x)("Convert block to link","button label","jetpack")))),Object(a.createElement)("div",{className:"components-placeholder__learn-more"},Object(a.createElement)(o.ExternalLink,{href:r},Object(i.__)("Learn more about Eventbrite embeds","jetpack")))))}},{key:"renderInlinePreview",value:function(){var e=this.props.className,t=this.props.attributes.eventId;if(t){var n="eventbrite-widget-".concat(t),r="\n\t\t\t<script src=\"https://www.eventbrite.com/static/widgets/eb_widgets.js\"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ".concat(t,",\n\t\t\t\t\tiframeContainerId: '").concat(n,"',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id=\"").concat(n,'"></div>\n\t\t');return Object(a.createElement)("div",{className:e},Object(a.createElement)(o.SandBox,{html:r}),Object(a.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.addModalButtonStyles,i=t.removeModalButtonStyles,o=n.url,c=n.useModal,s=this.state,l=s.editingUrl;return s.resolvingUrl?(i(),e=this.renderLoading()):l||!o||this.cannotEmbed()?(i(),e=this.renderEditEmbed()):(c?r():i(),e=Object(a.createElement)(a.Fragment,null,this.renderBlockControls(),c?Object(a.createElement)(z,this.props):this.renderInlinePreview())),Object(a.createElement)(a.Fragment,null,this.renderInspectorControls(),e)}}]),t}(a.Component),H=Object(E.withDispatch)((function(e,t,n){var r=t.name,a=(0,(0,n.select)("core/blocks").getBlockStyles)(r);return{addModalButtonStyles:function(){a.length<1&&e("core/blocks").addBlockStyles(r,U)},removeModalButtonStyles:function(){a.length>0&&e("core/blocks").removeBlockStyles(r,U.map((function(e){return e.name})))}}}))(V);var G=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,$=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,W=Object(i.__)("Eventbrite Checkout","jetpack"),K={src:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,{id:"eventbrite-icon"},Object(a.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),foreground:"#555d66"},Z={title:W,description:Object(i.__)("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:K,category:"jetpack",keywords:[Object(i.__)("events","jetpack"),Object(i.__)("tickets","jetpack")],supports:{html:!1},attributes:{url:{type:"string"},eventId:{type:"number"},useModal:{type:"boolean"},text:{type:"string",default:Object(i._x)("Register","verb: e.g. register for an event.","jetpack")},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"}},edit:H,save:function(e){var t=e.attributes,n=t.eventId,r=t.useModal,i=t.url;if(n)return r?function(e){var t,n=e.backgroundColor,r=e.borderRadius,i=e.customBackgroundColor,o=e.customTextColor,c=e.eventId,s=e.text,l=e.textColor,u=e.url,p=Object(w.getColorClassName)("color",l),d=Object(w.getColorClassName)("background-color",n),h=O()("wp-block-button__link",(t={"has-text-color":l||o},_()(t,p,p),_()(t,"has-background",n||i),_()(t,d,d),_()(t,"no-border-radius",0===r),t)),m={backgroundColor:d?void 0:i,color:p?void 0:o,borderRadius:r?r+"px":void 0};return Object(a.createElement)("div",{className:"wp-block-button"},Object(a.createElement)(w.RichText.Content,{className:h,href:u,id:"eventbrite-widget-".concat(c),rel:"noopener noreferrer",role:"button",style:m,tagName:"a",target:"_blank",value:s}))}(t):i&&Object(a.createElement)("a",{className:"eventbrite__direct-link",href:i},i)},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&(G.test(e.textContent)||$.test(e.textContent))},transform:function(e){return Object(c.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://www.eventbrite.com/e/test-event-tickets-123456789",eventId:123456789,useModal:!0}}};Object(r.a)("eventbrite",Z)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(16),c=/^#?[A-Fa-f0-9]{6}$/,s=function(e){return c.test(e)},l={backgroundColor:{type:"string",default:"ffffff",validator:s},submitButtonText:{type:"string",default:Object(i.__)("Schedule time with me","jetpack")},submitButtonTextColor:{type:"string"},submitButtonBackgroundColor:{type:"string"},submitButtonClasses:{type:"string"},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:s},textColor:{type:"string",default:"4D5055",validator:s},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:function(e){return!e||e.startsWith("https://calendly.com/")}},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string",validator:s},customTextButtonColor:{type:"string",validator:s}},u=n(18),p=n.n(u),d=(n(79),n(5)),h=n(95),m=n.n(h),f=n(6),b=n(2),g=(n(80),Object(a.createElement)(b.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(b.G,{fill:"none",fillRule:"evenodd"},Object(a.createElement)(b.Rect,{height:"20.956522",rx:"3",stroke:"#656a74",strokeWidth:"2",width:"20.956522",x:"1",y:"2.043478"}),Object(a.createElement)(b.Rect,{fill:"#656a74",height:"4.869565",rx:"1",width:"2",x:"6.565217"}),Object(a.createElement)(b.Rect,{fill:"#656a74",height:"4.869565",rx:"1",width:"2",x:"14.652174"}),Object(a.createElement)(b.Path,{d:"m14.6086957 10.0869565c-.6956522-.57971012-1.6231885-.8695652-2.7826087-.8695652-1.7391305 0-3.47826091 1.5652174-3.47826091 3.6521739s1.73913041 3.6521739 3.47826091 3.6521739c1.1594202 0 2.0869565-.3478261 2.7826087-1.0434782",stroke:"#656a74"})))),v=n(51),j=n(32),y=/(^|\/\/)(calendly\.com[^"']*)/i,_=function(e){if(e){var t=function(e){var t=e.match(y);if(t)return"https://"+t[2]}(e);if(t){var n=function(e){var t={},n=new URL(e);if(t.url=n.origin+n.pathname,!n.search)return t;var r=new URLSearchParams(n.search),a=r.get("background_color"),i=r.get("primary_color"),o=r.get("text_color"),c=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(c)&&(t.backgroundColor=a),i&&i.match(c)&&(t.primaryColor=i),o&&o.match(c)&&(t.textColor=o),t}(t),r=function(e){return e.indexOf("data-url")>0?"inline":e.indexOf("initPopupWidget")>0||e.indexOf("initBadgeWidget")>0?"link":void 0}(e);r&&(n.style=r);var a=function(e){var t=e.match(/false;"\>([^<]+)\<\//);return t?t[1]:(t=e.match(/text: '([^']*?)'/))?t[1]:void 0}(e);a&&(n.submitButtonText=a);var i=function(e){var t=e.match(/textColor: '([^']*?)'/);if(t)return t[1]}(e);i&&(n.customTextButtonColor=i);var o=function(e){var t=e.match(/color: '([^']*?)'/);if(t)return t[1]}(e);return o&&(n.customBackgroundButtonColor=o),n}}},k=n(59);var O={title:Object(i.__)("Calendly","jetpack"),description:Object(i.__)("Embed a calendar for customers to schedule appointments","jetpack"),icon:g,category:"jetpack",keywords:[Object(i.__)("calendar","jetpack"),Object(i.__)("schedule","jetpack"),Object(i.__)("appointments","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.clientId,o=e.setAttributes,c=Object(v.a)(l,t);Object(d.isEqual)(c,t)||o(c);var s,u,h=c.backgroundColor,y=c.submitButtonText,O=c.hideEventTypeDetails,w=c.primaryColor,E=c.textColor,C=c.style,x=c.url,S=Object(a.useState)(""),A=p()(S,2),F=A[0],P=A[1],T=Object(a.useState)(),M=p()(T,2),N=M[0],R=M[1],D=function(){return R(Object(a.createElement)(a.Fragment,null,Object(i.__)("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack")))},z=function(e){if(e){e.preventDefault();var t=_(F);if(t){var n=Object(v.a)(l,t);o(n)}else D()}else D()},I=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("form",{onSubmit:z},Object(a.createElement)("input",{type:"text",id:"embedCode",onChange:function(e){return P(e.target.value)},placeholder:Object(i.__)("Calendly web address or embed code…","jetpack"),value:F,className:"components-placeholder__input"}),Object(a.createElement)("div",null,Object(a.createElement)(b.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")))),Object(a.createElement)("div",{className:"".concat(n,"-learn-more")},Object(a.createElement)(b.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},Object(i.__)("Need help finding your embed code?","jetpack")))),L=Object(a.createElement)(b.Placeholder,{label:Object(i.__)("Calendly","jetpack"),instructions:Object(i.__)("Enter your Calendly web address or embed code below.","jetpack"),icon:Object(a.createElement)(f.BlockIcon,{icon:g}),notices:N&&Object(a.createElement)(b.Notice,{status:"error",isDismissible:!1},N)},I),B=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"".concat(n,"-overlay")}),Object(a.createElement)("iframe",{src:(s=m.a.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:O?1:0,background_color:h,primary_color:w,text_color:E}),"".concat(x,"?").concat(s)),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",style:{minWidth:"320px",height:"630px",width:"100%"},title:"Calendly"})),q=Object(a.createElement)(j.a,{submitButtonText:y,attributes:t,setAttributes:o}),U=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("a",{style:{alignSelf:"flex-start",border:"none"},className:"wp-block-button__link"},y)),V=[{value:"inline",label:Object(i.__)("Inline","jetpack")},{value:"link",label:Object(i.__)("Link","jetpack")}],H=Object(a.createElement)(f.BlockControls,null,x&&Object(a.createElement)(b.Toolbar,{isCollapsed:!0,icon:"admin-appearance",label:Object(i.__)("Style","jetpack"),controls:V.map((function(e){return{title:e.label,isActive:e.value===C,onClick:function(){return o({style:e.value})}}})),popoverProps:{className:"is-calendly"}})),G=Object(a.createElement)(f.InspectorControls,null,x&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(b.PanelBody,{title:Object(i.__)("Styles","jetpack")},Object(a.createElement)(k.a,{clientId:r,styleOptions:V,onSelectStyle:o,activeStyle:C,attributes:t,viewportWidth:500}))),Object(a.createElement)(b.PanelBody,{title:Object(i.__)("Calendar Settings","jetpack"),initialOpen:!1},Object(a.createElement)("form",{onSubmit:z,className:"".concat(n,"-embed-form-sidebar")},Object(a.createElement)("input",{type:"text",id:"embedCode",onChange:function(e){return P(e.target.value)},placeholder:Object(i.__)("Calendly web address or embed code…","jetpack"),value:F,className:"components-placeholder__input"}),Object(a.createElement)("div",null,Object(a.createElement)(b.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")))),Object(a.createElement)(b.ToggleControl,{label:Object(i.__)("Hide Event Type Details","jetpack"),checked:O,onChange:function(){return o({hideEventTypeDetails:!O})}})),x&&Object(a.createElement)(b.Notice,{className:"".concat(n,"-color-notice"),isDismissible:!1},Object(a.createElement)(b.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},Object(i.__)("Follow these instructions to change the colors in this block.","jetpack"))));return Object(a.createElement)("div",{className:n},G,H,x?"inline"===C?B:u?U:q:L)},save:function(e){var t=e.attributes.url;return Object(a.createElement)("a",{href:t},t)},attributes:l,example:{attributes:{submitButtonText:Object(i.__)("Schedule time with me","jetpack"),hideEventTypeDetails:!1,style:"inline",url:"https://calendly.com/wordpresscom/jetpack-block-example"}},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&y.test(e.textContent)},transform:function(e){var t=_(e.textContent);return Object(o.createBlock)("jetpack/calendly",t)}}]}};Object(r.a)("calendly",O)},function(e,t,n){"use strict";n.r(t);var r,a=n(17),i=n(1),o=n(0),c=n(5),s=n(6),l=n(2),u=n(26),p=function(e){var t,n=e.id,r=e.setRating,a=e.children;return Object(o.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(t=n,function(e){return e.keyCode===u.ENTER?r(t):null}),onClick:function(e){return function(){return r(e)}}(n)},a)},d=(n(217),n(134),{title:Object(i.__)("Star Rating","jetpack"),description:Object(i.__)("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:function(){return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}))},keywords:[Object(i._x)("star","block search term","jetpack"),Object(i._x)("rating","block search term","jetpack"),Object(i._x)("review","block search term","jetpack")],category:"jetpack",example:{},styles:[{name:"filled",label:Object(i._x)("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:Object(i._x)("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:function(e){return function(t){var n=t.className,r=t.setAttributes,a=t.attributes,u=a.align,d=a.color,h=a.rating,m=a.maxRating,f=function(e){e===h&&Math.ceil(h)===h&&(e-=.5),r({rating:e})};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.AlignmentToolbar,{value:u,onChange:function(e){return r({align:e})}})),Object(o.createElement)("div",{className:n,style:{textAlign:u}},Object(c.range)(1,m+1).map((function(t){return Object(o.createElement)(p,{key:t,id:t,setRating:f},Object(o.createElement)("span",null,Object(o.createElement)(e,{className:h>=t-.5?null:"is-rating-unfilled",color:d})),Object(o.createElement)("span",null,Object(o.createElement)(e,{className:h>=t?null:"is-rating-unfilled",color:d})))}))),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(i.__)("Settings","jetpack")},Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Highest rating","jetpack"),value:m,onChange:function(e){return r({maxRating:e})},min:2,max:10}),Object(o.createElement)(s.PanelColorSettings,{title:Object(i.__)("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({color:e})},label:Object(i.__)("Color","jetpack")}]}))))}}((function(e){var t=function(e){return e&&e.color?e.color:"currentColor"}(e),n=function(e){return e&&e.className?e.className:""}(e);return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},Object(o.createElement)(l.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))})),save:(r="★",function(e){var t=e.className,n=e.attributes,a=n.align,i=n.rating,s=n.color;return Object(o.createElement)("figure",{className:t,style:{textAlign:a}},Object(c.range)(1,i+1).map((function(e){return Object(o.createElement)("span",{key:e,style:{color:s}},r)})))})});Object(a.a)("rating-star",d)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=(n(161),n(24)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(6),O=n(14),w=n(13),E=n(100),C=new(n.n(E).a),x=function(e){"A"===e.target.nodeName&&(window.confirm(Object(i.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(a.createElement)(a.RawHTML,{className:t,onClick:x},r.length?C.render(r):"")},A=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"input",null),_()(g()(n),"state",{activePanel:"editor"}),_()(g()(n),"bindInput",(function(e){n.input=e})),_()(g()(n),"updateSource",(function(e){return n.props.setAttributes({source:e})})),_()(g()(n),"handleKeyDown",(function(e){var t=n.props,r=t.attributes,a=t.removeBlock,i=r.source;8===e.keyCode&&""===i&&(a(),e.preventDefault())})),_()(g()(n),"toggleMode",(function(e){return function(){return n.setState({activePanel:e})}})),n}return j()(t,e),p()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode("editor")(),!e.isSelected&&this.props.isSelected&&"editor"===this.state.activePanel&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(a.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(a.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(a.createElement)("p",{className:"".concat(n,"__placeholder")},Object(i.__)("Write your _Markdown_ **here**…","jetpack")):Object(a.createElement)("div",{className:n},Object(a.createElement)(k.BlockControls,null,Object(a.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton("editor",Object(i.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(i.__)("Preview","jetpack")))),"preview"!==c&&r?Object(a.createElement)(k.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(i.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(a.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(a.Component),F=Object(O.compose)([Object(w.withSelect)((function(e){return{currentBlockId:e("core/block-editor").getSelectedBlockClientId()}})),Object(w.withDispatch)((function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/block-editor").removeBlocks(n)}}}))])(A),P=Object(i.__)("Try Markdown","jetpack"),T=Object(i.__)("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),M=Object(c.b)()||Object(c.a)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",N={title:Object(i.__)("Markdown","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(a.createElement)(o.ExternalLink,{href:M},Object(i.__)("Support reference","jetpack"))),icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(a.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(a.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(i._x)("formatting","block search term","jetpack"),Object(i._x)("syntax","block search term","jetpack"),Object(i._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:F,save:function(e){var t=e.attributes,n=e.className;return Object(a.createElement)(S,{className:n,source:t.source})},example:{attributes:{source:"## ## ".concat(P,"\n\n").concat(T)}}};Object(r.a)("markdown",N)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(6),k=[{height:250,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(i.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(i.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(i.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(a.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(i.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(i.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(a.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(a.createElement)(o.Toolbar,{controls:[{icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(a.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map((function(e){var i=e.tag,c=e.name,s=e.icon;return Object(a.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:s,isSelected:i===t,key:i,onClick:function(){n(i),r()},role:"menuitemcheckbox"},c)})))}})}n(239);var E=n(119),C=n.n(E),x=n(120),S=n.n(x),A=n(121),F=n.n(A),P=n(122),T=n.n(P),M=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(a))),y()(b()(n),"handleHideMobileChange",(function(e){n.props.setAttributes({hideMobile:!!e})})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.isSelected,c=t.format,s=t.hideMobile,l=k.filter((function(e){return e.tag===c}))[0],u=Object(a.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:Boolean(s),label:Object(i.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_.BlockControls,null,Object(a.createElement)(w,{value:c,onChange:function(e){return n({format:e})}})),Object(a.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(c)},Object(a.createElement)("div",{className:"jetpack-wordads__ad",style:{width:l.width,height:l.height,backgroundImage:"url( ".concat(function(e){switch(e){case"leaderboard":return S.a;case"mobile_leaderboard":return F.a;case"wideskyscraper":return T.a;default:return C.a}}(c)," )"),backgroundSize:"cover"}}),r&&u))}}]),t}(a.Component),N=Object(i.__)("Ad","jetpack"),R=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),D={title:N,description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Earn income by adding high quality ads to your post","jetpack")),Object(a.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(i.__)("Learn all about WordAds","jetpack"))),icon:R,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"jetpack",keywords:[Object(i.__)("ads","jetpack"),"WordAds",Object(i.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:M,save:function(){return null}};Object(r.a)("wordads",D)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=(n(146),n(126),n(30)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),d=n.n(p),h=n(8),m=n.n(h),f=n(9),b=n.n(f),g=n(4),v=n.n(g),j=n(10),y=n.n(j),_=n(3),k=n.n(_),O=n(23),w=n.n(O),E=n(12),C=n.n(E),x=n(58),S=n(6),A=n(15),F=n.n(A),P=n(5),T=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(a.createElement)(a.Fragment,{key:t},Object(a.createElement)("div",{className:"business-hours__row"},Object(a.createElement)("div",{className:C()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(a.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(a.createElement)(o.TextControl,{type:"time",label:Object(i.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:"09:00",onChange:function(e){n.setHour(e,"opening",t)}}),Object(a.createElement)(o.TextControl,{type:"time",label:Object(i.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:"17:00",onChange:function(e){n.setHour(e,"closing",t)}})),Object(a.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(a.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(a.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(a.createElement)("div",{className:C()(r.name,"business-hours__day")}," "),Object(a.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(a.createElement)(o.IconButton,{isLink:!0,label:Object(i.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(i.__)("Add Hours","jetpack"))),Object(a.createElement)("div",{className:"business-hours__remove"}," ")))})),k()(v()(n),"setHour",(function(e,t,r){var a=n.props,i=a.day,o=a.attributes;(0,a.setAttributes)({days:o.days.map((function(n){return n.name===i.name?F()({},n,{hours:n.hours.map((function(n,a){return a===r?F()({},n,k()({},t,e)):n}))}):n}))})})),k()(v()(n),"toggleClosed",(function(e){var t=n.props,r=t.day,a=t.attributes;(0,t.setAttributes)({days:a.days.map((function(t){if(t.name===r.name){var n=e?[{opening:"09:00",closing:"17:00"}]:[];return F()({},t,{hours:n})}return t}))})})),k()(v()(n),"addInterval",(function(){var e=n.props,t=e.day,r=e.attributes,a=e.setAttributes,i=r.days;t.hours.push({opening:"",closing:""}),a({days:i.map((function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e}))})})),k()(v()(n),"removeInterval",(function(e){var t=n.props,r=t.day,a=t.attributes;(0,t.setAttributes)({days:a.days.map((function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter((function(t,n){return e!==n}))}):t}))})})),n}return y()(t,e),d()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(a.createElement)(o.ToggleControl,{label:this.isClosed()?Object(i.__)("Closed","jetpack"):Object(i.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(a.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(a.createElement)("div",{className:C()(e.name,"business-hours__day")},this.renderDayToggle()),Object(a.createElement)("div",{className:C()(e.name,"closed","business-hours__hours")}," "),Object(a.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(a.Component),M=n(18),N=n.n(M),R=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day.hours;return Object(a.createElement)("span",{key:t},Object(i.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)),r.length>1+t&&Object(a.createElement)("span",null,", "))})),n}return y()(t,e),d()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=N()(n,2),a=r[0],i=r[1],o=new Date;return!(!a||!i)&&(o.setHours(a),o.setMinutes(i),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter((function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)}));return Object(a.createElement)("div",{className:"jetpack-business-hours__item"},Object(a.createElement)("dt",{className:n.name},r.days[n.name]),Object(a.createElement)("dd",null,Object(P.isEmpty)(o)?Object(i._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval),Object(a.createElement)("br",null)))}}]),t}(a.Component),D={days:{Sun:Object(i.__)("Sunday","jetpack"),Mon:Object(i.__)("Monday","jetpack"),Tue:Object(i.__)("Tuesday","jetpack"),Wed:Object(i.__)("Wednesday","jetpack"),Thu:Object(i.__)("Thursday","jetpack"),Fri:Object(i.__)("Friday","jetpack"),Sat:Object(i.__)("Saturday","jetpack")},startOfWeek:0},z=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(a))),k()(v()(n),"state",{localization:D,hasFetched:!1}),n}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:D},(function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then((function(t){e.setState({localization:t,hasFetched:!0})}),(function(){e.setState({localization:D,hasFetched:!0})}))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,d=u.hasFetched,h=p.startOfWeek,m=l.concat(l.slice(0,h)).slice(h);if(!d)return Object(a.createElement)(o.Placeholder,{icon:Object(a.createElement)(S.BlockIcon,{icon:B}),label:Object(i.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(a.createElement)("dl",{className:C()(r,"jetpack-business-hours")},m.map((function(e,t){return Object(a.createElement)(R,{key:t,day:e,localization:p,timeFormat:f})})))}return Object(a.createElement)("div",{className:C()(r,"is-edit")},m.map((function(t,n){return Object(a.createElement)(T,s()({key:n,day:t,localization:p},e.props))})))}}]),t}(a.Component),I=n(20),L=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],B=Object(I.a)(Object(a.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),q={title:Object(i.__)("Business Hours","jetpack"),description:Object(i.__)("Display opening hours for your business.","jetpack"),icon:B,category:"jetpack",supports:{html:!0},keywords:[Object(i._x)("opening hours","block search term","jetpack"),Object(i._x)("closing time","block search term","jetpack"),Object(i._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:L}},edit:function(e){return Object(a.createElement)(z,e)},save:function(){return null},example:{attributes:{days:L}}};Object(r.a)("business-hours",q)},function(e,t,n){"use strict";n.r(t);n(36);var r=n(21),a=n.n(r),i=n(0),o=n(16),c=n(53);Object(o.setCategories)([].concat(a()(Object(o.getCategories)().filter((function(e){return"jetpack"!==e.slug}))),[{slug:"jetpack",title:"Jetpack",icon:Object(i.createElement)(c.a,null)}]));var s,l,u,p,d=n(15),h=n.n(d),m=n(23),f=n.n(m),b=n(13),g=n(1),v=(n(78),n(29)),j=n(35),y=n(24);function _(){var e=Object(j.a)();return void 0!==typeof window&&window.location&&e?Object(y.b)()||Object(y.a)()?"https://wordpress.com/plans/my-plan/".concat(e):"".concat(window.location.protocol,"//").concat(e.replace("::","/"),"/wp-admin/admin.php?page=jetpack#/my-plan"):null}if(regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===typeof window||!window.location){e.next=16;break}if(!Object(v.parse)(window.location.href,!0).query.plan_upgraded){e.next=16;break}if(s=null,e.prev=4,!Object(y.b)()){e.next=7;break}return e.abrupt("break",16);case 7:return e.next=9,regeneratorRuntime.awrap(f()({path:"/jetpack/v4/site"}));case 9:l=e.sent,u=JSON.parse(l.data),s=u.plan.product_name;case 12:return e.prev=12,p=_(),Object(b.dispatch)("core/notices").createNotice("success",s?Object(g.sprintf)(Object(g.__)("Congratulations! Your site is now on the %s plan.","jetpack"),s):Object(g.__)("Congratulations! Your site is now on a paid plan.","jetpack"),h()({isDismissible:!0},p&&{actions:[{url:_(),label:Object(g.__)("View my plan","jetpack")}]})),e.finish(12);case 16:case"end":return e.stop()}}),null,null,[[4,,12,16]]),void 0!==typeof window&&window.location){var k=Object(v.parse)(window.location.href,!0).query;k.stripe_connect_success?Object(b.dispatch)("core/notices").createNotice("success",Object(g.__)("Congrats! Your site is now connected to Stripe. You can start making money by adding your first subscription!","jetpack")):k.stripe_connect_cancelled&&Object(b.dispatch)("core/notices").createNotice("error",Object(g.__)("You cancelled connecting your site to Stripe.","jetpack"))}var O=n(50);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){var w=window.Jetpack_Editor_Initial_State.tracksUserData,E=w.userid,C=w.username;O.a.initialize(E,C,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(5),O=n(6),w=n(23),E=n.n(w),C=n(31);function x(e){if(!F.test(e))return"";var t=Object(C.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}var S=/^\s*https?:\/\/pin\.it\//i,A=function(e){function t(){var e;return l()(this,t),e=h()(this,f()(t).apply(this,arguments)),_()(g()(e),"resolveRedirect",(function(){var t=e.props.attributes.url;e.fetchRequest=E()({path:"/wpcom/v2/resolve-redirect/".concat(t)}),e.fetchRequest.then((function(t){e.fetchRequest=null,e.props.setAttributes({url:t.url}),e.setState({resolvingRedirect:!1,editedUrl:t.url})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({resolvingRedirect:!1,editingUrl:!0}))}))})),_()(g()(e),"hideOverlay",(function(){e.setState({interactive:!0})})),_()(g()(e),"setUrl",(function(t){t&&t.preventDefault();var n=e.state.editedUrl;e.props.setAttributes({url:n}),e.setState({editingUrl:!1}),S.test(n)&&e.setState({resolvingRedirect:!0})})),e.state={editedUrl:e.props.attributes.url||"",editingUrl:!1,resolvingRedirect:S.test(e.props.attributes.url),interactive:!1},e}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingRedirect&&this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentWillUnmount",value:function(){Object(k.invoke)(this.fetchRequest,["abort"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,s=n.url,l=this.state,u=l.editedUrl,p=l.interactive,d=l.editingUrl;if(l.resolvingRedirect)return Object(a.createElement)("div",{className:"wp-block-embed is-loading"},Object(a.createElement)(o.Spinner,null),Object(a.createElement)("p",null,Object(i.__)("Embedding…")));var h=x(s),m="<a data-pin-do='".concat(h,"' href='").concat(s,"'></a>"),f=s&&!h,b=Object(a.createElement)(O.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(i.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})));return d||!s||f?Object(a.createElement)("div",{className:r},b,Object(a.createElement)(o.Placeholder,{label:Object(i.__)("Pinterest","jetpack"),icon:Object(a.createElement)(O.BlockIcon,{icon:T})},Object(a.createElement)("form",{onSubmit:this.setUrl},Object(a.createElement)("input",{type:"url",value:u,className:"components-placeholder__input","aria-label":Object(i.__)("Pinterest URL","jetpack"),placeholder:Object(i.__)("Enter URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(a.createElement)(o.Button,{isLarge:!0,isSecondary:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")),f&&Object(a.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Sorry, this content could not be embedded.","jetpack"),Object(a.createElement)("br",null),Object(a.createElement)(o.Button,{isLarge:!0,onClick:function(){return function(e,t){var n=Object(a.createElement)("a",{href:e},e);t(Object(c.createBlock)("core/paragraph",{content:Object(a.renderToString)(n)}))}(u,e.props.onReplace)}},Object(i._x)("Convert block to link","button label","jetpack")))))):Object(a.createElement)("div",{className:r},b,Object(a.createElement)("div",null,Object(a.createElement)(o.SandBox,{html:m,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:this.hideOverlay}),!p&&Object(a.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(a.Component),F=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,P=Object(i.__)("Pinterest","jetpack"),T=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),M={title:P,description:Object(i.__)("Embed a Pinterest pin, board, or user.","jetpack"),icon:T,category:"jetpack",supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:A,save:function(e){var t=e.attributes,n=e.className,r=t.url;return x(r)?Object(a.createElement)("div",{className:n},Object(a.createElement)("a",{"data-pin-do":x(r),href:r})):null},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&F.test(e.textContent)},transform:function(e){return Object(c.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://pinterest.com/anapinskywalker/"}}};Object(r.a)("pinterest",M)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(20),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(6),O=n(13),w=n(12),E=n.n(w),C=n(33),x=[{value:C.b,label:Object(i.__)("Show after threshold","jetpack")},{value:C.c,label:Object(i.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{isThresholdValid:!0}),_()(g()(n),"setCriteria",(function(e){return n.props.setAttributes({criteria:e})})),_()(g()(n),"setThreshold",(function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})})),n}return j()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===C.b?Object(i.sprintf)(Object(i._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(i.sprintf)(Object(i._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(a.createElement)("div",{className:E()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(a.createElement)(o.Placeholder,{icon:F,label:Object(i.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(a.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(i.__)("Please enter a valid number.","jetpack"),label:Object(i.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(a.createElement)(o.RadioControl,{label:Object(i.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(a.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(a.createElement)(k.InnerBlocks,null))}}]),t}(a.Component),A=Object(O.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,a=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||a(t.clientId)}}))(S),F=(n(228),Object(c.a)(Object(a.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:C.b},threshold:{type:"number",default:C.d}},category:"jetpack",description:Object(i.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(i._x)("return","block search term","jetpack"),Object(i._x)("visitors","block search term","jetpack"),Object(i._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(i.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(a.createElement)("div",{className:t},Object(a.createElement)(k.InnerBlocks.Content,null))},example:{attributes:{criteria:C.b,threshold:C.d},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(i.__)("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(21),s=n.n(c),l=n(7),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(23),k=n.n(_),O=n(12),w=n.n(O),E=n(32),C=n(6),x=n(11),S=n.n(x),A=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(i))),y()(b()(n),"state",{interest_categories:[]}),y()(b()(n),"retrieveGroups",(function(){k()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((function(e){var t=e.interest_categories;n.setState({interest_categories:t})}))})),y()(b()(n),"render",(function(){var e=n.state.interest_categories,t=n.props,r=t.interests,i=t.onChange;return Object(a.createElement)(a.Fragment,null,e&&(e||[]).map((function(e){return e.interests.map((function(e){return Object(a.createElement)(o.CheckboxControl,{label:e.name,value:e.id,checked:r.includes(e.id),onChange:function(t){return i(e.id,t)},key:e.id})}))})))})),n}return v()(t,e),S()(t,[{key:"componentDidMount",value:function(){this.retrieveGroups()}}]),t}(a.Component),F=A;A.defaultProps={interests:[],onChange:function(){return null}};var P=function(e){function t(){var e;return u()(this,t),e=d()(this,m()(t).apply(this,arguments)),y()(b()(e),"componentDidMount",(function(){e.apiCall()})),y()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),y()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};k()(t).then((function(t){var n=t.connect_url,r="connected"===t.code?1:2;e.setState({connected:r,connectURL:n})}),(function(t){e.setState({connected:2,connectURL:null}),e.onError(t.message)}))})),y()(b()(e),"auditionNotification",(function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)})),y()(b()(e),"clearAudition",(function(){e.setState({audition:null})})),y()(b()(e),"updateProcessingText",(function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification("processing")})),y()(b()(e),"updateSuccessText",(function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification("success")})),y()(b()(e),"updateErrorText",(function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification("error")})),y()(b()(e),"updateEmailPlaceholder",(function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()})),y()(b()(e),"labelForAuditionType",(function(t){var n=e.props.attributes,r=n.processingLabel,a=n.successLabel,i=n.errorLabel;return"processing"===t?r:"success"===t?a:"error"===t?i:null})),y()(b()(e),"roleForAuditionType",(function(e){return"error"===e?"alert":"status"})),y()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,l=t.noticeUI,u=t.setAttributes,p=e.state,d=p.audition,h=p.connected,m=p.connectURL,f=n.emailPlaceholder,b=n.consentText,g=n.interests,v=n.processingLabel,j=n.successLabel,_=n.errorLabel,k=n.preview,O=n.signupFieldTag,x=n.signupFieldValue,S="wp-block-jetpack-mailchimp_",A=Object(a.createElement)(o.Placeholder,{icon:M,notices:c},Object(a.createElement)(o.Spinner,null)),P=Object(a.createElement)(o.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:M,label:Object(i.__)("Mailchimp","jetpack"),notices:c,instructions:Object(i.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack")},Object(a.createElement)("div",null,Object(a.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:m,target:"_blank"},Object(i.__)("Set up Mailchimp form","jetpack"))),Object(a.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(i.__)("Re-check Connection","jetpack"))),T=Object(a.createElement)(C.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Text Elements","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Email Placeholder","jetpack"),value:f,onChange:e.updateEmailPlaceholder})),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Notifications","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Processing text","jetpack"),value:v,onChange:e.updateProcessingText}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Success text","jetpack"),value:j,onChange:e.updateSuccessText}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Error text","jetpack"),value:_,onChange:e.updateErrorText})),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Mailchimp Groups","jetpack")},Object(a.createElement)(F,{interests:g,onChange:function(e,t){var n=s()(new Set([].concat(s()(g),[e]))).filter((function(n){return!(n===e&&!t)&&n}));u({interests:n})}}),Object(a.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},Object(i.__)("Learn about groups","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Signup Location Tracking","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Signup Field Tag","jetpack"),placeholder:Object(i.__)("SIGNUP"),value:O,onChange:function(e){return u({signupFieldTag:e})}}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Signup Field Value","jetpack"),placeholder:Object(i.__)("website"),value:x,onChange:function(e){return u({signupFieldValue:e})}}),Object(a.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},Object(i.__)("Learn about signup location tracking","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Mailchimp Connection","jetpack")},Object(a.createElement)(o.ExternalLink,{href:m},Object(i.__)("Manage Connection","jetpack")))),N=w()(r,y()({},"".concat(S,"notication-audition"),d)),R=Object(a.createElement)("div",{className:N},Object(a.createElement)(o.TextControl,{"aria-label":f,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:f,title:Object(i.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(a.createElement)(E.a,e.props),Object(a.createElement)(C.RichText,{tagName:"p",placeholder:Object(i.__)("Write consent text","jetpack"),value:b,onChange:function(e){return u({consentText:e})},inlineToolbar:!0}),d&&Object(a.createElement)("div",{className:"".concat(S,"notification ").concat(S).concat(d),role:e.roleForAuditionType(d)},e.labelForAuditionType(d))),D=R;return Object(a.createElement)(a.Fragment,null,l,k&&D,!k&&0===h&&A,!k&&2===h&&P,!k&&1===h&&T,!k&&1===h&&R)})),e.state={audition:null,connected:0,connectURL:null},e.timeout=null,e}return v()(t,e),t}(a.Component),T=Object(o.withNotices)(P),M=(n(156),Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),N={title:Object(i.__)("Mailchimp","jetpack"),icon:M,description:Object(i.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(i._x)("email","block search term","jetpack"),Object(i._x)("subscription","block search term","jetpack"),Object(i._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(i.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(i.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(i.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:Object(i.__)("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:Object(i.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(i.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:T,save:function(){return null},example:{attributes:{preview:!0}}};Object(r.a)("mailchimp",N)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(2),o=n(1),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(12),k=n.n(_),O=n(32),w=n(23),E=n.n(w),C=n(5),x=n(45),S=n(49),A=n(31),F=n(14),P=n(13),T=n(6),M=n(40),N=n(56),R=n.n(N),D=n(50),z=n(57),I=(n(218),function(e){var t=e.stripeConnectUrl;return Object(a.createElement)(z.a,{buttonLabel:Object(o.__)("Connect","jetpack"),icon:Object(a.createElement)(R.a,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:t,onClick:function(e){D.a.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:e})},title:Object(o.__)("Connect to Stripe to use this block on your site","jetpack"),subtitle:Object(o.__)("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}),L=function(e){function t(){var e;s()(this,t),e=d()(this,m()(t).apply(this,arguments)),y()(b()(e),"componentDidMount",(function(){e.apiCall()})),y()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),y()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};E()(t).then((function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:2}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,a=t.should_upgrade_to_access_memberships,i=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?1:2;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:a,upgradeURL:i,siteSlug:o})}),(function(t){e.setState({connected:2,connectURL:null}),e.onError(t.message)}))})),y()(b()(e),"getCurrencyList",V.map((function(e){var t=Object(x.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(C.trimEnd)(t,"."))}}))),y()(b()(e),"handleCurrencyChange",(function(t){return e.setState({editedProductCurrency:t})})),y()(b()(e),"handleRenewIntervalChange",(function(t){return e.setState({editedProductRenewInterval:t})})),y()(b()(e),"handlePriceChange",(function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})})),y()(b()(e),"handleTitleChange",(function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})})),y()(b()(e),"saveProduct",(function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:2});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};E()(t).then((function(t){e.setState({addingMembershipAmount:0,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)}),(function(t){e.setState({addingMembershipAmount:1}),e.onError(t.message)}))}else e.setState({editedProductTitleValid:!1})})),y()(b()(e),"renderAmount",(function(e){var t=Object(S.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)})),y()(b()(e),"renderAddMembershipAmount",(function(t){return 0!==e.state.addingMembershipAmount||t?2!==e.state.addingMembershipAmount?Object(a.createElement)("div",null,Object(a.createElement)("div",{className:"membership-button__price-container"},Object(a.createElement)(i.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(a.createElement)(i.TextControl,{label:Object(o.__)("Price","jetpack"),className:k()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(S.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(a.createElement)(i.TextControl,{className:k()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(a.createElement)(i.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(a.createElement)("div",null,Object(a.createElement)(i.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:e.saveProduct},Object(o.__)("Add this plan","jetpack")),Object(a.createElement)(i.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:0})}},Object(o.__)("Cancel","jetpack")))):void 0:Object(a.createElement)(i.Button,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:1})}},Object(o.__)("Add a plan","jetpack"))})),y()(b()(e),"getFormattedPriceByProductId",(function(t){var n=e.state.products.filter((function(e){return parseInt(e.id)===parseInt(t)})).pop();return Object(S.a)(parseFloat(n.price),n.currency)})),y()(b()(e),"setMembershipAmount",(function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})})),y()(b()(e),"renderMembershipAmounts",(function(){return Object(a.createElement)("div",null,e.state.products.map((function(t){return Object(a.createElement)(i.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))})))})),y()(b()(e),"renderDisclaimer",(function(){return Object(a.createElement)("div",{className:"membership-button__disclaimer"},Object(a.createElement)(i.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))})),y()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=e.state,l=s.connected,u=s.products,p=n.align,d=e.getConnectUrl(),h=Object(a.createElement)(T.InspectorControls,null,Object(a.createElement)(i.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(a.createElement)(i.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map((function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}}))})),Object(a.createElement)(i.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(a.createElement)(i.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),m=k()(r,["wp-block-button__link","components-button","is-primary","is-button","align".concat(p)]),f=Object(a.createElement)(O.a,{className:m,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(a.createElement)(a.Fragment,null,e.props.noticeUI,!e.hasUpgradeNudge&&!e.state.shouldUpgrade&&2===l&&Object(a.createElement)(I,{blockName:"recurring-payments",stripeConnectUrl:d}),!e.hasUpgradeNudge&&e.state.shouldUpgrade&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c,instructions:Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack")},Object(a.createElement)(i.Button,{isSecondary:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),e.renderDisclaimer())),(0===l||2===e.state.addingMembershipAmount)&&!e.props.attributes.planId&&Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),notices:c},Object(a.createElement)(i.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&1===l&&0===u.length&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(a.createElement)("div",{className:"components-placeholder__instructions"},Object(a.createElement)("p",null,Object(o.__)("To use this block, first add at least one payment plan.","jetpack")),e.renderAddMembershipAmount(!0),e.renderDisclaimer()))),!e.state.shouldUpgrade&&!e.props.attributes.planId&&2!==e.state.addingMembershipAmount&&1===l&&u.length>0&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(a.createElement)("div",{className:"components-placeholder__instructions"},Object(a.createElement)("p",null,Object(o.__)("To use this block, select a previously created payment plan.","jetpack")),e.renderMembershipAmounts(),Object(a.createElement)("p",null,Object(o.__)("Or a new one.","jetpack")),e.renderAddMembershipAmount(!1),e.renderDisclaimer()))),e.state.products&&h,((e.hasUpgradeNudge||!e.state.shouldUpgrade)&&0!==l||e.props.attributes.planId)&&f,e.hasUpgradeNudge&&2===l&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments disclaimer-only"},e.renderDisclaimer()))})),e.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null;var n=Object(M.a)("recurring-payments");return e.hasUpgradeNudge=!n.available&&"missing_plan"===n.unavailableReason,e}return v()(t,e),u()(t,[{key:"getConnectUrl",value:function(){var e,t=this.props.postId,n=this.state.connectURL;if(!Object(A.isURL)(n))return null;if(!t)return n;try{var r=Object(A.getQueryArg)(n,"state");e=JSON.parse(atob(r))}catch(a){return n}return e.from_editor_post_id=t,Object(A.addQueryArgs)(n,{state:btoa(JSON.stringify(e))})}}]),t}(a.Component),B=Object(F.compose)([Object(P.withSelect)((function(e){return{postId:e("core/editor").getCurrentPostId()}})),i.withNotices])(L),q=(n(226),Object(a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(a.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(i.G,null,Object(a.createElement)(i.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),U={title:Object(o.__)("Recurring Payments button","jetpack"),icon:q,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},edit:B,save:function(){return null},supports:{html:!1,align:!0}},V=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",U)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(23),O=n.n(k),w=n(32),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{subscriberCountString:""}),n}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(a.createElement)("div",{className:n,role:"form"},Object(a.createElement)(c.ToggleControl,{label:Object(i.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(a.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(a.createElement)(w.a,this.props)):Object(a.createElement)("div",{className:n,role:"form"},l&&Object(a.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(a.createElement)(c.TextControl,{placeholder:s}),Object(a.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then((function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(i.sprintf)(Object(i._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(i.__)("Subscriber count unavailable","jetpack")})}))}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(a.Component);var C=n(20),x={title:Object(i.__)("Subscription Form","jetpack"),description:Object(a.createElement)("p",null,Object(i.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(C.a)(Object(a.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(i._x)("subscribe","block search term","jetpack"),Object(i._x)("join","block search term","jetpack"),Object(i._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(i.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(i.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(i.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,i=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(a.createElement)(a.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(i,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},example:{attributes:{}},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(i.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(a.createElement)(a.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(14),c=n(28),s=n(13),l=n(60),u=Object(s.withSelect)((function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),d={render:Object(o.compose)([u,p])((function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(i.CheckboxControl,{label:Object(a.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))}))},h=n(37);Object(h.a)("likes",d)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(10),b=n.n(f),g=n(6),v=n(5),j=n(13),y=n(14);function _(e){return Object(a.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(a.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(i.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(a.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(i.__)("Placeholder image","jetpack")},Object(a.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(a.createElement)("title",null,Object(i.__)("Grey square","jetpack")),Object(a.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(a.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)("title",null,Object(i.__)("Icon for image","jetpack")),Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(i.__)("August 3, 2018","jetpack")),e.displayContext&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(i.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(a.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(a.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(a.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(a.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(a.createElement)("div",null,Object(a.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(a.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),d()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,d=t.postLayout,h=t.postsToShow,m=[{icon:"grid-view",title:Object(i.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===d},{icon:"list-view",title:Object(i.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===d}],f=[],b=0;b<h;b++)r[b]?f.push(Object(a.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(a.createElement)(_,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(g.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Related Posts Settings","jetpack")},Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(a.createElement)(o.RangeControl,{label:Object(i.__)("Number of posts","jetpack"),value:h,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(a.createElement)(g.BlockControls,null,Object(a.createElement)(o.Toolbar,{controls:m})),Object(a.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(a.createElement)("div",{className:"jp-relatedposts-i2","data-layout":d},Object(a.createElement)(O,{posts:f}))))}}]),t}(a.Component),E=Object(y.compose)(y.withInstanceId,Object(j.withSelect)((function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}})))(w),C=(n(227),{title:Object(i.__)("Related Posts","jetpack"),icon:Object(a.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(a.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(i._x)("Similar content","block search term","jetpack"),Object(i._x)("Linked","block search term","jetpack"),Object(i._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:function(){return null},example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}});Object(r.a)("related-posts",C)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(12),k=n.n(_),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",E=Object(i.__)("Search for a term or paste a Giphy URL","jetpack"),C=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(i))),y()(b()(n),"textControlRef",Object(a.createRef)()),y()(b()(n),"state",{captionFocus:!1,results:null}),y()(b()(n),"onFormSubmit",(function(e){e.preventDefault(),n.onSubmit()})),y()(b()(n),"onSubmit",(function(){var e=n.props.attributes.searchText;n.parseSearch(e)})),y()(b()(n),"parseSearch",(function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))})),y()(b()(n),"urlForSearch",(function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")})),y()(b()(n),"urlForId",(function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))})),y()(b()(n),"splitAndLast",(function(e,t){var n=e.split(t);return n[n.length-1]})),y()(b()(n),"fetch",(function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,a=r[0];if(!a.images)return;n.setState({results:r},(function(){n.selectGiphy(a)}))}},t.send()})),y()(b()(n),"selectGiphy",(function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),a="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:a})})),y()(b()(n),"setFocus",(function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})})),y()(b()(n),"hasSearchText",(function(){var e=n.props.attributes.searchText;return e&&e.length>0})),y()(b()(n),"thumbnailClicked",(function(e){n.selectGiphy(e)})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,d=n.searchText,h=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:h},v=k()(r,"align".concat(l)),j=Object(a.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(a.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:E,placeholder:E,onChange:function(e){return s({searchText:e})},value:d}),Object(a.createElement)(o.Button,{isDefault:!0,onClick:this.onSubmit},Object(i.__)("Search","jetpack")));return Object(a.createElement)("div",{className:v},Object(a.createElement)(O.InspectorControls,null,Object(a.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(a.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(a.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(a.createElement)("figure",null,c&&j,c&&b&&b.length>1&&Object(a.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map((function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(a.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})}))),Object(a.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(a.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(a.createElement)("iframe",{src:p,title:d})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(a.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(i.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(a.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},j))}}]),t}(a.Component),x=(n(130),n(154),Object(i.__)("GIF","jetpack")),S=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(i._x)("animated","block search term","jetpack"),Object(i._x)("giphy","block search term","jetpack"),Object(i._x)("image","block search term","jetpack")],description:Object(i.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:C,save:function(){return null},example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(14),c=n(28),s=n(13),l=n(60),u=Object(s.withSelect)((function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),d={render:Object(o.compose)([u,p])((function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(i.CheckboxControl,{label:Object(a.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))}))},h=n(37);Object(h.a)("sharing",d)},function(e,t,n){"use strict";n.r(t);var r=n(7),a=n.n(r),i=n(11),o=n.n(i),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),d=n.n(p),h=n(0),m=n(1),f=n(5),b=n(2),g=n(13),v=n(4),j=n.n(v),y=n(3),_=n.n(y),k=(n(229),function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(i))),_()(j()(n),"state",{hasCopied:!1}),_()(j()(n),"onCopy",(function(){return n.setState({hasCopied:!0})})),_()(j()(n),"onFinishCopy",(function(){return n.setState({hasCopied:!1})})),_()(j()(n),"onFocus",(function(e){return e.target.select()})),n}return d()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(h.createElement)("div",{className:"jetpack-clipboard-input"},Object(h.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(h.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(h.Component)),O=n(44),w={render:function(){return Object(h.createElement)(C,null)}},E=function(e){function t(){return a()(this,t),s()(this,u()(t).apply(this,arguments))}return d()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(h.createElement)(O.a,null,Object(h.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(h.createElement)(k,{link:e}))):null}}]),t}(h.Component),C=Object(g.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}}))(E),x=n(37);Object(x.a)("shortlinks",w)},,,function(e,t,n){n(255),n(254),n(250),n(244),n(242),n(249),n(263),n(261),n(258),n(243),n(252),n(248),n(256),n(241),n(251),n(259),n(262),n(257),n(264),n(265),n(245),n(247),n(260),n(240),n(246),e.exports=n(253)}]));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css b/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css new file mode 100644 index 00000000..b5503efe --- /dev/null +++ b/plugins/jetpack/_inc/blocks/editor-experimental.rtl.css @@ -0,0 +1 @@ +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-left:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-calendly-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}.is-calendly .is-active{font-weight:700}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{color:#8d96a0;width:100%;margin:0 0 1em}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-eventbrite.is-modal-button{display:inline-block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link{display:block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link:focus span[data-rich-text-placeholder]:after{opacity:.3}.block-editor-block-preview__content [data-type="jetpack/eventbrite"][data-block],.block-editor-block-preview__content [data-type="jetpack/eventbrite"] [data-block]{display:table}.jetpack-eventbrite-block__embed-type-controls .block-editor-block-styles__item-preview{align-items:center;height:auto;justify-content:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-text-control__input{height:36px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 9px 5px 10px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:327px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{padding:0 8px;height:36px;align-items:center;line-height:normal}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{margin:1px 4px 0 0;position:relative}}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 0 .25em 1em}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-left:0;padding-right:1em}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;text-align:right;padding:0;margin:0}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.block-editor-block-preview__content [data-type="jetpack/opentable"][data-block],.block-editor-block-preview__content [data-type="jetpack/opentable"] [data-block]{display:table}.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;flex-basis:100%;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b;line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 5% 0 0;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-right:-10px;margin-left:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:#000}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;margin:0;transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor.asset.php b/plugins/jetpack/_inc/blocks/editor.asset.php index c9ba0692..ceeb2817 100644 --- a/plugins/jetpack/_inc/blocks/editor.asset.php +++ b/plugins/jetpack/_inc/blocks/editor.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url'), 'version' => '3c783fc3fbf3daf62ef074f72e02fef5');
\ No newline at end of file +<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wp-api-fetch', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-escape-html', 'wp-hooks', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-token-list', 'wp-url'), 'version' => 'ca75bfa5584bc5343456a53a5d00d452');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor.css b/plugins/jetpack/_inc/blocks/editor.css index 9312711a..0bbd46a1 100644 --- a/plugins/jetpack/_inc/blocks/editor.css +++ b/plugins/jetpack/_inc/blocks/editor.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-right:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-button{margin-top:1px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-right:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-button{display:inline-block;margin-bottom:20px}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .components-placeholder__instructions{margin-bottom:0}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 0 0 5%;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-left:-10px;margin-right:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}
\ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-right:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-right:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-right:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-calendly-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}.is-calendly .is-active{font-weight:700}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-right:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:left}.jetpack-contact-form .components-placeholder .help-message{color:#8d96a0;width:100%;margin:0 0 1em}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 8px 0 16px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:left}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-left:-6px;padding:4px 8px 4px 4px}.jetpack-field-multiple__add-option svg{margin-right:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-left:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-left:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 4px 0 0;float:left;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:left;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-left:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 32px 2px 14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 20px 2px 6px;margin:0 4px;background-position:right 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-right:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-eventbrite.is-modal-button{display:inline-block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link{display:block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link:focus span[data-rich-text-placeholder]:after{opacity:.3}.block-editor-block-preview__content [data-type="jetpack/eventbrite"][data-block],.block-editor-block-preview__content [data-type="jetpack/eventbrite"] [data-block]{display:table}.jetpack-eventbrite-block__embed-type-controls .block-editor-block-styles__item-preview{align-items:center;height:auto;justify-content:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;left:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-text-control__input{height:36px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-right:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px 0 2px -2px;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-right:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-right:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.component__add-point{position:absolute;left:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-left:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:right}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-right:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-right:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:left}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-right:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-right:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 10px 5px 9px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-left:4px solid #000;margin-left:0;margin-right:0;padding-left:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-left:1.3em;padding-left:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:327px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{padding:0 8px;height:36px;align-items:center;line-height:normal}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{margin:1px 0 0 4px;position:relative}}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 1em .25em 0}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-right:0;padding-left:1em}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;text-align:left;padding:0;margin:0}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.block-editor-block-preview__content [data-type="jetpack/opentable"][data-block],.block-editor-block-preview__content [data-type="jetpack/opentable"] [data-block]{display:table}.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-left:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-right:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-right:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-left:0;margin-right:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-right:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-right:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-right:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;left:0;position:absolute;right:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:left}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;flex-basis:100%;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b;line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-right:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 0 0 5%;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-left:-10px;margin-right:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);left:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:#000}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:left}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-right:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-right:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-left:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 0 0 6px}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;left:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-right:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-left:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-right:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;right:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;left:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;right:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-left:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;left:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-left:4px;padding-right:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 0 2px 2px;position:absolute;right:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;left:50%;margin:0;transform:translate(-50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor.js b/plugins/jetpack/_inc/blocks/editor.js index 272ab9d5..ec6bedaf 100644 --- a/plugins/jetpack/_inc/blocks/editor.js +++ b/plugins/jetpack/_inc/blocks/editor.js @@ -1,18 +1,2 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],o=t[1],c=0,s=[];c<a.length;c++)r=a[c],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&s.push(i[r][0]),i[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={2:0},i={2:0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{12:1,13:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var i="rtl"===document.dir?({12:"vendors~map/mapbox-gl",13:"vendors~swiper"}[e]||e)+"."+{12:"1239e27c56411388bad5",13:"17b5bcc416832d7a0c9e"}[e]+".rtl.css":({12:"vendors~map/mapbox-gl",13:"vendors~swiper"}[e]||e)+"."+{12:"1239e27c56411388bad5",13:"17b5bcc416832d7a0c9e"}[e]+".css",o=a.p+i,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(p=c[s]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(l===i||l===o))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var p;if((l=(p=u[s]).getAttribute("data-href"))===i||l===o)return t()}var h=document.createElement("link");h.rel="stylesheet",h.type="text/css",h.setAttribute("data-webpack",!0),h.onload=t,h.onerror=function(t){var i=t&&t.target&&t.target.src||o,a=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=i,delete r[e],h.parentNode.removeChild(h),n(a)},h.href=o,document.getElementsByTagName("head")[0].appendChild(h)})).then((function(){r[e]=0})));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,r){n=i[e]=[t,r]}));t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.src=function(e){return a.p+""+({12:"vendors~map/mapbox-gl",13:"vendors~swiper"}[e]||e)+"."+{12:"1239e27c56411388bad5",13:"17b5bcc416832d7a0c9e"}[e]+".js"}(e);var l=new Error;c=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",l.name="ChunkLoadError",l.type=r,l.request=a,n[1](l)}i[e]=void 0}};var u=setTimeout((function(){c({type:"timeout",target:s})}),12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return a(a.s=255)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(82),i=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(83);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r; -/*! - Copyright (c) 2017 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var o=i.apply(null,r);o&&e.push(o)}else if("object"===a)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){var r=n(3);function i(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(60),o=n(16),c=n(102),s=n(41),l=n(33),u=n.n(l),p=n(0),h=n(14),d=(n(135),function(e){return Object(h.createHigherOrderComponent)((function(t){return function(n){return Object(p.createElement)(t,u()({},n,{className:n.name===e?"has-warning is-interactive":""}))}}),"withHasWarningIsInteractiveClassNames")}),m=n(61),f=n.n(m),b=n(1),g=n(28),v=n(5),y=n(13),j=n(51),_=n(62),k=n(35),O=n(26),w={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};Object(y.registerStore)("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:w,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,w.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",w.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(137);var C=Object(h.compose)([Object(y.withSelect)((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),i=Object(v.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(v.get)(r,["path_slug"]),a=e("core/editor").getCurrentPostId(),o=e("core/editor").getCurrentPostType(),c=["page","post"].includes(o)?"":"edit",s=Object(O.b)()?Object(g.addQueryArgs)("/"+Object(v.compact)([c,o,Object(k.a)(),a]).join("/"),{plan_upgraded:1}):Object(g.addQueryArgs)(window.location.protocol+"//".concat(Object(k.a)().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:a,plan_upgraded:1}),l=i&&Object(g.addQueryArgs)("https://wordpress.com/checkout/".concat(Object(k.a)(),"/").concat(i),{redirect_to:s});return{trackEvent:function(e){j.a.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(v.get)(r,["product_name"]),upgradeUrl:l}}))])((function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(p.createElement)(_.a,{buttonLabel:Object(b.__)("Upgrade","jetpack"),icon:Object(p.createElement)(f.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:t?Object(b.sprintf)(Object(b.__)("Upgrade to %(planName)s to use this block on your site.","jetpack"),{planName:t}):Object(b.__)("Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:Object(b.__)("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})})),E=function(e){var t=e.requiredPlan;return Object(h.createHigherOrderComponent)((function(e){return function(n){return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(C,{plan:t,blockName:n.name}),Object(p.createElement)(e,n))}}),"wrapPaidBlock")};n.d(t,"a",(function(){return S}));var x=c.beta||[];function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(s.a)(e),c=r.available,l=r.details,u=function(e,t){return"missing_plan"===e&&t.required_plan}(r.unavailableReason,l);if(!c&&!u)return!1;var p=Object(o.registerBlockType)("jetpack/".concat(e),i()({},t,{title:x.includes(e)?"".concat(t.title," (beta)"):t.title,edit:u?E({requiredPlan:u})(t.edit):t.edit,example:u?void 0:t.example}));return u&&Object(a.addFilter)("editor.BlockListBlock","jetpack/".concat(e,"-with-has-warning-is-interactive-class-names"),d("jetpack/".concat(e))),n.forEach((function(e){return Object(o.registerBlockType)("jetpack/".concat(e.name),e.settings)})),p}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(88);var p=/[&<>"]/,h=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function m(e){return d[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(71);t.lib={},t.lib.mdurl=n(89),t.lib.ucmicro=n(157),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=a,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(h,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){return Object(r.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(i.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return p}));var r=["image"],i=4,a=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t,n){var r=n(77),i=n(78),a=n(79);e.exports=function(e){return r(e)||i(e)||a()}},function(e,t,n){var r=n(57),i=n(58),a=n(59);e.exports=function(e,t){return r(e)||i(e,t)||a()}},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(1),a={name:"map",prefix:"jetpack",title:Object(i.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(i._x)("map","block search term","jetpack"),Object(i._x)("location","block search term","jetpack"),Object(i._x)("navigation","block search term","jetpack")],description:Object(i.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(i.__)("Basic","jetpack")},{value:"black_and_white",label:Object(i.__)("Black and white","jetpack")},{value:"satellite",label:Object(i.__)("Satellite","jetpack")},{value:"terrain",label:Object(i.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},function(e,t,n){"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function i(){return"simple"===r()}function a(){return"atomic"===r()}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";var r=n(128),i=n(130);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){i.isString(e)&&(e=y(e));return e instanceof a?e.format():a.prototype.format.call(e)},t.Url=a;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),h=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(131);function y(e,t,n){if(e&&i.isObject(e)&&e instanceof a)return e;var r=new a;return r.parse(e,t,n),r}a.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),c=-1!==a&&a<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var y=e=l.join(c);if(y=y.trim(),!n&&1===e.split("#").length){var j=s.exec(y);if(j)return this.path=y,this.href=y,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(y);if(_){var k=(_=_[0]).toLowerCase();this.protocol=k,y=y.substr(_.length)}if(n||_||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===y.substr(0,2);!O||_&&b[_]||(y=y.substr(2),this.slashes=!0)}if(!b[_]&&(O||_&&!g[_])){for(var w,C,E=-1,x=0;x<h.length;x++){-1!==(S=y.indexOf(h[x]))&&(-1===E||S<E)&&(E=S)}-1!==(C=-1===E?y.lastIndexOf("@"):y.lastIndexOf("@",E))&&(w=y.slice(0,C),y=y.slice(C+1),this.auth=decodeURIComponent(w)),E=-1;for(x=0;x<p.length;x++){var S;-1!==(S=y.indexOf(p[x]))&&(-1===E||S<E)&&(E=S)}-1===E&&(E=y.length),this.host=y.slice(0,E),y=y.slice(E),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var T=F[x];if(T&&!T.match(d)){for(var M="",N=0,z=T.length;N<z;N++)T.charCodeAt(N)>127?M+="x":M+=T[N];if(!M.match(d)){var D=F.slice(0,x),R=F.slice(x+1),I=T.match(m);I&&(D.push(I[1]),R.unshift(I[2])),R.length&&(y="/"+R.join(".")+y),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==y.indexOf(q)){var V=encodeURIComponent(q);V===q&&(V=escape(q)),y=y.split(q).join(V)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var U=y.indexOf("?");if(-1!==U?(this.search=y.substr(U),this.query=y.substr(U+1),t&&(this.query=v.parse(this.query)),y=y.slice(0,U)):t&&(this.search="",this.query={}),y&&(this.pathname=y),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",a=!1,o="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==a?(a="//"+(a||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):a||(a=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+a+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+r},a.prototype.resolve=function(e){return this.resolveObject(y(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(i.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),h=0;h<p.length;h++){var d=p[h];n[d]=e[d]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=j||y||n.host&&e.pathname,k=_,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),_=_&&(""===m[0]||""===O[0])),j)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!i.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=O.slice(-1)[0],E=(n.host||e.host||O.length>1)&&("."===C||".."===C)||""===C,x=0,S=O.length;S>=0;S--)"."===(C=O[S])?O.splice(S,1):".."===C?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!_&&!k)for(;x--;x)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),E&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(_=_||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t){function n(e,t,n,r,i,a,o){try{var c=e[a](o),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function c(e){n(o,i,a,c,s,"next",e)}function s(e){n(o,i,a,c,s,"throw",e)}c(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c}));var r="after-visits",i="before-visits",a=3,o="jp-visit-counter",c=15552e3},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";function r(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return u}));var r=n(68),i=n(5),a=16/9,o=.8,c=600,s="wp-block-jetpack-slideshow_autoplay-paused";function l(e){u(e),p(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(s)?(e.el.classList.remove(s),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(s),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function u(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,a),1),i="undefined"!=typeof window?window.innerHeight*o:c,s=Math.min(e.width/r,i),l="".concat(Math.floor(s),"px"),u="".concat(Math.floor(s/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=l,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=u,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=u}}}function p(e){Object(i.forEach)(e.slides,(function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(i.alt))}}(e)}function h(e){Object(i.forEach)(e.pagination.bullets,(function(t){t.addEventListener("click",(function(){var t=e.slides[e.realIndex];setTimeout((function(){t.focus()}),500)}))}))}},,function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}())}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},c=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,p=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&l()}function s(){o(a)}function l(){var e=Date.now();if(n){if(e-i<c)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;l.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=j(0,0,0,0);function f(e){return parseFloat(e)||0}function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],a=e["padding-"+i];t[i]=f(a)}return t}(r),a=i.left+i.right,o=i.top+i.bottom,c=f(r.width),s=f(r.height);if("border-box"===r.boxSizing&&(Math.round(c+a)!==t&&(c-=b(r,"left","right")+a),Math.round(s+o)!==n&&(s-=b(r,"top","bottom")+o)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(c+a)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return j(i.left,i.top,c,s)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function y(e){return i?v(e)?function(e){var t=e.getBBox();return j(0,0,t.width,t.height)}(e):g(e):m}function j(e,t,n,r){return{x:e,y:t,width:n,height:r}}var _=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=j(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=y(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,i,a,o,c,s,l=(r=(n=t).x,i=n.y,a=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),h(s,{x:r,y:i,width:a,height:o,top:i,right:r+a,bottom:o+i,left:r}),s);h(this,{target:e,contentRect:l})},O=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new _(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new O(t,n,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));var E=void 0!==a.ResizeObserver?a.ResizeObserver:C;t.a=E},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(48),i=n(41);function a(e,t){var n=Object(i.a)(e),a=n.available;n.unavailableReason;return!!a&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";var r=n(3),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(10),m=n.n(d),f=n(0),b=n(1),g=n(12),v=n.n(g),y=n(14),j=n(2),_=n(6),k=n(5),O=window.getComputedStyle,w=Object(j.withFallbackStyles)((function(e,t){var n,r,i,a,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(i=O(r).backgroundColor),n&&(a=O(n).color),{fallbackBackgroundColor:s||i,fallbackTextColor:l||a}})),C=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,a=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},i()(e,a,a),i()(e,"has-background",r),i()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,i=e.setAttributes,a=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(_.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return i({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,allowedFormats:[]})),Object(f.createElement)(_.InspectorControls,null,Object(f.createElement)(_.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){a(e),i({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),i({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(_.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(y.compose)([Object(_.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(C)},function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(5),o="Jetpack_Editor_Initial_State";function c(e){var t=Object(a.get)("object"==typeof window?window:null,[o],null),n=Object(a.get)(t,["available_blocks",e,"available"],!1),r=Object(a.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),c=Object(a.get)(t,["available_blocks",e,"details"],[]);return i()({available:n},!n&&{details:c,unavailableReason:r})}n.d(t,"a",(function(){return c}))},function(e,t,n){"use strict";var r=n(33),i=n.n(r),a=n(46),o=n.n(a),c=n(0),s=n(12),l=n.n(s),u=n(103),p=n.n(u);n(141);t.a=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,a=void 0!==r&&r,s=o()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":a});return n&&Object(c.createElement)("div",i()({className:u},s),a&&Object(c.createElement)(p.a,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),Object(c.createElement)("span",null,n))}},function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n(2),a=n(52),o=n(48),c=(n(144),n(54)),s=Object(i.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(a.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(a.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null}))}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function i(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t,n){var r=n(140);e.exports=function(e,t){if(null==e)return{};var n,i,a=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){"use strict";var r=n(0),i=n(2);t.a=function(e){var t=e.label,n=e.onClick;return Object(r.createElement)(i.IconButton,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},function(e,t,n){"use strict";var r=n(55),i=n.n(r),a=n(107),o=n.n(a),c=n(108),s=n.n(c),l=n(66),u=n.n(l),p=n(109),h=n.n(p),d=n(76),m=n.n(d),f=n(110),b=n.n(f),g=n(75);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(a? -/* - * Exposes number format capability - * - * @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors). - * @license See CREDITS.md - * @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js - */ -function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,a):""+Math.round(i)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<a&&(s[1]=s[1]||"",s[1]+=new Array(a-s[1].length+1).join("0")),s.join(c)}var y=o()("i18n-calypso"),j=[function(e){return e}],_={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function C(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function E(e,t){for(var n=j.length-1;n>=0;n--){var r=j[n](Object.assign({},t));if(e.state.locale[r.original])return C(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:h()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return v(e,n,r,i)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==_[n+e])return _[n+e];var r=b()().update(e).digest("hex");return _[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)j.push(r(!1));else{var i=t.substr(5).indexOf("-");if(i<0){var a=Number(t.substr(5));j.push(r(a))}else for(var o=Number(t.substr(5,i)),c=Number(t.substr(6+i)),s=o;s<=c;s++)j.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=C(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=C(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!E(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var i=E(this,t);if(i||(i=C(this.state.jed,t)),t.args){var a=Array.isArray(t.args)?t.args.slice(0):[t.args];a.unshift(i);try{i=u.a.sprintf.apply(u.a,a)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",a)}}return t.components&&(i=s()({mixedString:i,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(e){i=e(i,t)})),n&&this.state.translations.set(e,i),i},x.prototype.reRenderTranslations=function(){y("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),T=n.n(P),M=n(11),N=n.n(M),z=n(8),D=n.n(z),R=n(9),I=n.n(R),L=n(4),B=n.n(L),q=n(10),V=n.n(q),H=n(3),U=n.n(H),G=n(34),$=n.n(G),K=n(22),W=n.n(K),Z=new F,J=(Z.moment,Z.numberFormat.bind(Z)),Y=(Z.translate.bind(Z),Z.configure.bind(Z),Z.setLocale.bind(Z),Z.getLocale.bind(Z),Z.getLocaleSlug.bind(Z),Z.addTranslations.bind(Z),Z.reRenderTranslations.bind(Z),Z.registerComponentUpdateHook.bind(Z),Z.registerTranslateHook.bind(Z),Z.state,Z.stateObserver,Z.on.bind(Z),Z.off.bind(Z),Z.emit.bind(Z),A={moment:(S=Z).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Z),n(45));function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var a=i()({},r,n),o=a.decimal,c=a.grouping,s=a.precision,l=a.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",(function(){return Q}))},function(e,t,n){"use strict";var r=n(101),i=n.n(r),a=n(5),o={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var c,s,l=function(e){if(e in o)return o[e];throw new Error("config key `"+e+"` does not exist")},u=i()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var p={initialize:function(e,t,n){p.setUser(e,t),p.setSuperProps(n),p.identifyUser()},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){c=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Built stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){p.tracks.recordPageView(e),p.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,i,a,o){p.ga.recordPurchase(e,t,n,r,i,a,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(u("- Super Props: %o",c),t=Object(a.assign)(t,c)),u('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):u('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};p.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){p.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){u("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};p.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",l("google_analytics_key"),"auto",e),p.ga.initialized=!0)},recordPageView:function(e,t){p.ga.initialize(),u("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),l("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){p.ga.initialize();var i="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(i+=" [Option Label: "+n+"]"),void 0!==r&&(i+=" [Option Value: "+r+"]"),u(i),l("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,i,a,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:i,quantity:a}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.a=p},function(e,t){!function(){e.exports=this.wp.editPost}()},,function(e,t,n){"use strict";var r=n(0),i=n(2),a=n(12),o=n.n(a);t.a=function(e){var t=e.size,n=void 0===t?24:t,a=e.className;return Object(r.createElement)(i.SVG,{className:o()("jetpack-logo",a),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(i.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(i.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(22),i=n.n(r),a=n(20);function o(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function c(e,t){!function(e,t,n){var r=i()(t,2),c=r[0],s=r[1],d=1/c*(n-a.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=l(e),c=i.map((function(e){return(n-a.b*(e.childElementCount-1))*p(e)[0]})),s=o(c,r);i.forEach((function(e,t){var r=c[t],i=s[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=o(u(e).map((function(e){return i/h(e)})),n);Array.from(e.children).forEach((function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-a.b*(e.childElementCount-1),width:i,rawWidth:r})}))}(e,{rawHeight:d,rowWidth:n-a.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce((function(e,t){var n=i()(e,2),r=n[0],a=n[1],o=i()(t,2);return[r+o[0],a+o[1]]}),[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(h).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function h(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){i=!0,a=s}finally{try{r||null==c.return||c.return()}finally{if(i)throw a}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,i=void 0===n?24:n,a=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:i,width:i,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var i,a=n(34),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";var r=n(30),i=n.n(r),a=n(0),o=n(2),c=n(14),s=n(13),l=n(6);n(136);t.a=Object(c.compose)([Object(s.withDispatch)((function(e,t){var n,r=t.blockName,a=t.href,o=t.onClick;return{autosaveAndRedirect:(n=i()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),o(r),t.next=4,e("core/editor").autosave();case 4:window.top.location.href=a;case 5:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,r=e.href,i=e.icon,c=e.subtitle,s=e.title;return Object(a.createElement)(l.Warning,{actions:r&&[Object(a.createElement)(o.Button,{href:r,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(a.createElement)("span",{className:"jetpack-block-nudge__info"},i,Object(a.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(a.createElement)("span",{className:"jetpack-block-nudge__title"},s),Object(a.createElement)("span",{className:"jetpack-block-nudge__message"},c))))}))},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),i=n(1),a=n(2),o=n(48),c=n(44),s=Object(a.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(a.PanelBody,{title:Object(i.__)("Likes and Sharing","jetpack")},e)):null}))}})},function(e,t,n){"use strict";var r=n(222);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=i.default.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=i.default.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,h=(0,a.default)(p),d=(0,o.default)(h),m="i"+Math.floor(3*d()),c('determined server "%s" to use with "%s"',m,p),m+".wp.com"),r&&(l.query.ssl=1)}var p,h,d,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[s[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=i.default.format(l);return c("generated Photon URL: %s",g),g};var i=r(n(27)),a=r(n(223)),o=r(n(224)),c=(0,r(n(225)).default)("photon"),s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){ -/** - * @preserve jed.js https://github.com/SlexAxton/Jed - */ -!function(n,r){var i=Array.prototype,a=Object.prototype,o=i.slice,c=a.hasOwnProperty,s=i.forEach,l={},u={forEach:function(e,t,n){var r,i,a;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(a in e)if(c.call(e,a)&&t.call(n,e[a],a,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function h(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function d(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(d.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new d(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,i){return this.dcnpgettext.call(this,e,t,n,r,i)},dcnpgettext:function(e,t,n,r,i){var a;if(r=r||n,e=e||this._textdomain,!this.options)return(a=new p).dcnpgettext.call(a,void 0,void 0,n,r,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,d=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=d[""].plural_forms||d[""]["Plural-Forms"]||d[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===i)s=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");s=h(f)(i)}if(!d)throw new Error("No domain named `"+e+"` could be found.");return!(o=d[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[h(f)(i)]),c[h()(i)]):(c=o[s])||(c=[n,r])[h()(i)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var i,a,o,c,s,l,u,p=1,h=n.length,d="",m=[];for(a=0;a<h;a++)if("string"===(d=e(n[a])))m.push(n[a]);else if("array"===d){if((c=n[a])[2])for(i=r[p],o=0;o<c[2].length;o++){if(!i.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);i=i[c[2][o]]}else i=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(i))throw b("[sprintf] expecting number but found %s",e(i));switch(null==i&&(i=""),c[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=c[7]?i.toExponential(c[7]):i.toExponential();break;case"f":i=c[7]?parseFloat(i).toFixed(c[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&c[7]?i.substring(0,c[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(c[8])&&c[3]&&i>=0?"+"+i:i,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(i).length,s=c[6]?t(l,u):"",m.push(c[5]?i+s:s+i)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],i=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){i|=1;var a=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(a.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))a.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";a.push(c[1])}n[2]=a}else i|=2;if(3===i)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),g=function(e,t){return t.unshift(e),b.apply(null,t)};p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?g(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},p.PF={},p.PF.parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,i,a,o){var c=a.length-1;switch(i){case 1:return{type:"GROUP",expr:a[c-1]};case 2:this.$={type:"TERNARY",expr:a[c-4],truthy:a[c-2],falsey:a[c]};break;case 3:this.$={type:"OR",left:a[c-2],right:a[c]};break;case 4:this.$={type:"AND",left:a[c-2],right:a[c]};break;case 5:this.$={type:"LT",left:a[c-2],right:a[c]};break;case 6:this.$={type:"LTE",left:a[c-2],right:a[c]};break;case 7:this.$={type:"GT",left:a[c-2],right:a[c]};break;case 8:this.$={type:"GTE",left:a[c-2],right:a[c]};break;case 9:this.$={type:"NEQ",left:a[c-2],right:a[c]};break;case 10:this.$={type:"EQ",left:a[c-2],right:a[c]};break;case 11:this.$={type:"MOD",left:a[c-2],right:a[c]};break;case 12:this.$={type:"GROUP",expr:a[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],i=[],a=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}i.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,d,m,f,b,g,v,y,j,_,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==h&&(h=p()),f=a[m]&&a[m][h]),void 0===f||!f.length||!f[0]){if(!l){for(g in j=[],a[m])this.terminals_[g]&&g>2&&j.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+j.join(", ")+", got '"+this.terminals_[h]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:j})}if(3==l){if(1==h)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,h=p()}for(;!(2..toString()in a[m]);){if(0==m)throw new Error(O||"Parsing halted.");_=1,n.length=n.length-2*_,r.length=r.length-_,i.length=i.length-_,m=n[n.length-1]}d=h,h=2,f=a[m=n[n.length-1]]&&a[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+h);switch(f[0]){case 1:n.push(h),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(f[1]),h=null,d?(h=d,d=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:i[i.length-(v||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(v||1)].first_column,last_column:i[i.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,i)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),i=i.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),i.push(k._$),y=a[n[n.length-2]][n[n.length-1]],n.push(y);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(22),i=n.n(r),a=n(30),o=n.n(a),c=n(5);n(100);function s(){return l.apply(this,arguments)}function l(){return(l=o()(regeneratorRuntime.mark((function e(){var t,r,a,o,s,l,u,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=p.length>0&&void 0!==p[0]?p[0]:".swiper-container",r=p.length>1&&void 0!==p[1]?p[1]:{},a=p.length>2&&void 0!==p[2]?p[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(c.mapValues)(a,(function(e){return function(){e(this)}}))},e.next=6,Promise.all([n.e(13).then(n.t.bind(null,253,7)),n.e(13).then(n.t.bind(null,254,7))]);case 6:return s=e.sent,l=i()(s,1),u=l[0].default,e.abrupt("return",new u(t,Object(c.merge)({},o,r)));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t){!function(){e.exports=this.wp.escapeHtml}()},function(e,t,n){"use strict";var r=n(22),i=n.n(r),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),j=n(1),_=n(5),k=n(2),O=(n(86),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),v()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,i=e.markerColor,a=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+i+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(y.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,C=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=u()(this,(e=h()(t)).call.apply(e,[this].concat(i))),v()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(y.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(y.Component);C.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var E=C;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),v()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),v()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),v()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,i=n.slice(0);Object(_.assign)(i[r],t),e.props.onSetPoints(i)})),v()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),v()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,i=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,a=Math.min(.75*r,i);n.style.height=a+"px",t.resize(),e.setBoundsByMarkers()})),v()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.zoom,r=t.points,i=t.onSetZoom,a=e.state,o=a.map,c=a.activeMarker,s=a.mapboxgl,l=a.zoomControl,u=a.boundsSetProgrammatically;if(o&&r.length&&!c){var p=new s.LngLatBounds;if(r.forEach((function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])})),r.length>1)return o.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void o.removeControl(l);if(o.setCenter(p.getCenter()),u){o.setZoom(12),i(12)}else o.setZoom(parseInt(n,10));o.addControl(l),e.setState({boundsSetProgrammatically:!1})}})),v()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(y.createRef)(),e.debouncedSizeMap=Object(_.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,i=t.children,a=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,h=this.updateActiveMarker,d=Object(_.get)(s,"props.point")||{},m=d.title,f=d.caption,b=y.Children.map(i,(function(e){if("AddPoint"===Object(_.get)(e,"props.tagName"))return e})),g=c&&l&&n.map((function(e,t){return Object(y.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:a,onClick:u})})),v=l&&Object(y.createElement)(E,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)(k.TextControl,{label:Object(j.__)("Marker Title","jetpack"),value:m,onChange:function(e){return h({title:e})}}),Object(y.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(j.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return h({caption:e})}}),Object(y.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(y.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(j.__)("Delete Marker","jetpack"))),s&&!r&&Object(y.createElement)(y.Fragment,null,Object(y.createElement)("h3",null,m),Object(y.createElement)("p",null,f)));return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,i=t.points,a=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),i!==e.points&&this.setBoundsByMarkers(),i.length!==e.points.length&&this.clearCurrentMarker(),a===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(12).then(n.t.bind(null,282,7)),n.e(12).then(n.t.bind(null,283,7))]).then((function(n){var r=i()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,i=r.zoom,a=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(i,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",(function(e){o("mapbox_error",e.error.message)}));var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",(function(){t.props.onSetZoom(s.getZoom())})),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},(function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),a(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(y.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){var n=1e3,r=60*n,i=60*r,a=24*i,o=7*a,c=365.25*a;function s(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var s=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*c;case"weeks":case"week":case"w":return s*o;case"days":case"day":case"d":return s*a;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return s(e,t,a,"day");if(t>=i)return s(e,t,i,"hour");if(t>=r)return s(e,t,r,"minute");if(t>=n)return s(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),i=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=i.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var i=this.__find__(e),a=r||{};if(-1===i)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(99),i=n(98);function a(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var o=e.charCodeAt(i);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=o(i)),n+=s(i.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,i){var a=n-t;r(a%4==0);for(var o=new Array(a/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===i?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var a=e[r];"big"===t?(n[i]=a>>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],a=r+e[t+1]>>>0,o=(a<r?1:0)+n+i;e[t]=o>>>0,e[t+1]=a},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,a,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+a>>>0)<a?1:0,e+n+i+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,a,o,c){return t+r+a+c>>>0},t.sum64_5_hi=function(e,t,n,r,i,a,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+a>>>0)<a?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+i+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,a,o,c,s,l){return t+r+a+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,a=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,a,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]),void 0===o)o=a[t]=n,++e._eventsCount;else if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(i=l(e))>0&&o.length>i&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,a(this.listener,this.target,e))}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):f(i,i.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var l=s.length,u=f(s,l);for(n=0;n<l;++n)a(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,a,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,a=Object.keys(n);for(r=0;r<a.length;++r)"removeListener"!==(i=a[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return d(this,e,!0)},c.prototype.rawListeners=function(e){return d(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){!function(){e.exports=this.moment}()},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){!function(){e.exports=this.wp.notices}()},function(e,t,n){},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=n(152)},function(e,t,n){"use strict";e.exports.encode=n(153),e.exports.decode=n(154),e.exports.format=n(155),e.exports.parse=n(156)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+i+")");e.exports.HTML_TAG_RE=a,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i,a,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(i=(r=e.scanDelims(e.pos,!0)).length,a=String.fromCharCode(c),i<2)return!1;for(i%2&&(e.push("text","",0).content=a,i--),n=0;n<i;n+=2)e.push("text","",0).content=a+a,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(i=c[r.end],(a=e.tokens[r.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&o.push(i.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(a=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=a)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,i=e.pos,a=e.src.charCodeAt(i);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(a),e.delimiters.push({marker:a,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,i,a,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,a=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=o?"strong_open":"em_open",i.tag=o?"strong":"em",i.nesting=1,i.markup=o?a+a:a,i.content="",(i=e.tokens[r.token]).type=o?"strong_close":"em_close",i.tag=o?"strong":"em",i.nesting=-1,i.markup=o?a+a:a,i.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){},function(e,t,n){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(134)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e){e.exports=JSON.parse('{"production":["business-hours","contact-form","contact-info","gif","likes","mailchimp","map","markdown","pinterest","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],"beta":["seo"]}')},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,i=void 0===n?24:n,a=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",c,(t=i,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:i,width:i,onClick:a},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var i,a=n(34),o=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){e.exports=n.p+"images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg"},function(e,t,n){"use strict";e.exports=n(151)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var i,a,o=n[r.type],c=t(r);if(o)for(i=0;i<o.length;i++)(a=o[i](r,e))&&e.dispatch(a);return c}}}).effects=n,t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(208)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=c(n(34)),a=c(n(209)),o=c(n(212));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,h,d,m,f=[],b={};for(h=0;h<e.length;h++)if("string"!==(p=e[h]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=h;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,i=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===i.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+i.value+"`")}(c,e),d=l(e.slice(c+1,u),t),o=i.default.cloneElement(n,{},d),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,o.default)(t);try{return l(a,n)}catch(c){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(75),i=n(98);function a(e){if(!(this instanceof a))return new a(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=a,i(a,r.EventEmitter),Object.defineProperty(a.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),a.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},a.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},a.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},a.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},a.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},a.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},a.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},a.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(74),i=n(213),a=n(214),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=a.ft_1,u=i.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(h,u),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],a=this.h[1],u=this.h[2],h=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(i,5),l(m,a,u,h),d,n[r],p[m]);d=h,h=u,u=o(a,30),a=i,i=f}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],a),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],h),this.h[4]=c(this.h[4],d)},h.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){e.exports=n.p+"images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg"},function(e,t){!function(){e.exports=this.wp.tokenList}()},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg"},function(e,t,n){e.exports=n.p+"images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png"},function(e,t,n){e.exports=n.p+"images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png"},function(e,t,n){e.exports=n.p+"images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png"},function(e,t,n){e.exports=n.p+"images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png"},function(e,t,n){(function(e){var r;/*! https://mths.be/punycode v1.3.2 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var a="object"==typeof window&&window;a.global!==a&&a.window!==a&&a.self;var o,c=2147483647,s=36,l=1,u=26,p=38,h=700,d=72,m=128,f="-",b=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-l,_=Math.floor,k=String.fromCharCode;function O(e){throw RangeError(y[e])}function w(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function C(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+w((e=e.replace(v,".")).split("."),t).join(".")}function E(e){for(var t,n,r=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function x(e){return w(e,(function(e){var t="";return e>65535&&(t+=k((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=k(e)})).join("")}function S(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function A(e,t,n){var r=0;for(e=n?_(e/h):e>>1,e+=_(e/t);e>j*u>>1;r+=s)e=_(e/j);return _(r+(j+1)*e/(e+p))}function F(e){var t,n,r,i,a,o,p,h,b,g,v,y=[],j=e.length,k=0,w=m,C=d;for((n=e.lastIndexOf(f))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&O("not-basic"),y.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<j;){for(a=k,o=1,p=s;i>=j&&O("invalid-input"),((h=(v=e.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||h>_((c-k)/o))&&O("overflow"),k+=h*o,!(h<(b=p<=C?l:p>=C+u?u:p-C));p+=s)o>_(c/(g=s-b))&&O("overflow"),o*=g;C=A(k-a,t=y.length+1,0==a),_(k/t)>c-w&&O("overflow"),w+=_(k/t),k%=t,y.splice(k++,0,w)}return x(y)}function P(e){var t,n,r,i,a,o,p,h,b,g,v,y,j,w,C,x=[];for(y=(e=E(e)).length,t=m,n=0,a=d,o=0;o<y;++o)(v=e[o])<128&&x.push(k(v));for(r=i=x.length,i&&x.push(f);r<y;){for(p=c,o=0;o<y;++o)(v=e[o])>=t&&v<p&&(p=v);for(p-t>_((c-n)/(j=r+1))&&O("overflow"),n+=(p-t)*j,t=p,o=0;o<y;++o)if((v=e[o])<t&&++n>c&&O("overflow"),v==t){for(h=n,b=s;!(h<(g=b<=a?l:b>=a+u?u:b-a));b+=s)C=h-g,w=s-g,x.push(k(S(g+C%w,0))),h=_(C/w);x.push(k(S(h,0))),a=A(n,j,r==i),n=0,++r}++n,++t}return x.join("")}o={version:"1.3.2",ucs2:{decode:E,encode:x},decode:F,encode:P,toASCII:function(e){return C(e,(function(e){return g.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return C(e,(function(e){return b.test(e)?F(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(129)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(132),t.encode=t.stringify=n(133)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var o=/\+/g;e=e.split(t);var c=1e3;i&&"number"==typeof i.maxKeys&&(c=i.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,h,d,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),h=decodeURIComponent(u),d=decodeURIComponent(p),r(a,h)?Array.isArray(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var a=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map((function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[i]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},function(e,t,n){e.exports=function(e){function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let n;function o(...e){if(!o.enabled)return;const t=o,i=Number(new Date),a=i-(n||i);t.diff=a,t.prev=n,t.curr=i,n=i,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let c=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return n;c++;const a=r.formatters[i];if("function"==typeof a){const r=e[c];n=a.call(t,r),e.splice(c,1),c--}return n}),r.formatArgs.call(t,e),(t.log||r.log).apply(t,e)}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){const e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){const n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){const e=[...r.names.map(o),...r.skips.map(o).map(e=>"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){let t;r.save(e),r.names=[],r.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){const e=r.instances[t];e.enabled=r.enabled(e.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(70),Object.keys(e).forEach(t=>{r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(18),i=n(159),a=n(163),o=n(164),c=n(172),s=n(186),l=n(199),u=n(89),p=n(201),h={default:n(202),zero:n(203),commonmark:n(204)},d=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!d.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function y(e,t){if(!(this instanceof y))return new y(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new a,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},i),this.options={},this.configure(e),t&&this.set(t)}y.prototype.set=function(e){return r.assign(this.options,e),this},y.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=h[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},y.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},y.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},y.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},y.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},y.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},y.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=y},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,n){"use strict";var r={};function i(e,t,n){var a,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)i[e.charCodeAt(t)]=e[t];return i}(t),a=0,o=e.length;a<o;a++)if(c=e.charCodeAt(a),n&&37===c&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3)))u+=e.slice(a,a+3),a+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&a+1<o&&(s=e.charCodeAt(a+1))>=56320&&s<=57343){u+=encodeURIComponent(e[a]+e[a+1]),a++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[a]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,n){"use strict";var r={};function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),i.push(n);for(t=0;t<e.length;t++)i[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return i}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,i,a,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(i=parseInt(e.slice(t+1,t+3),16))<128?l+=n[i]:192==(224&i)&&t+3<r&&128==(192&(a=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=i<<6&1984|63&a)<128?"��":String.fromCharCode(s),t+=3):224==(240&i)&&t+6<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&a)&&128==(192&o))?(l+=(s=i<<12&61440|a<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&i)&&t+9<r&&(a=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&a)&&128==(192&o)&&128==(192&c))?((s=i<<18&1835008|a<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l}))}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,a,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=i.exec(f);if(g&&(a=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&d[g]||(f=f.substr(2),this.slashes=!0)),!d[g]&&(s||g&&!m[g])){var v,y,j=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===j||c<j)&&(j=c);for(-1!==(y=-1===j?f.lastIndexOf("@"):f.lastIndexOf("@",j))&&(v=f.slice(0,y),f=f.slice(y+1),this.auth=v),j=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===j||c<j)&&(j=c);-1===j&&(j=f.length),":"===f[j-1]&&j--;var _=f.slice(0,j);f=f.slice(j),this.parseHost(_),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var C="",E=0,x=w.length;E<x;E++)w.charCodeAt(E)>127?C+="x":C+=w[E];if(!C.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(h);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var T=f.indexOf("?");return-1!==T&&(this.search=f.substr(T),f=f.slice(0,T)),f&&(this.pathname=f),m[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(90),t.Cc=n(91),t.Cf=n(158),t.P=n(71),t.Z=n(92)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(160),t.parseLinkDestination=n(161),t.parseLinkTitle=n(162)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(a=e.src.charCodeAt(e.pos))&&0===--r){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===a)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return i&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(18).isSpace,i=n(18).unescapeAll;e.exports=function(e,t,n){var a,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(a=e.charCodeAt(t))||r(a))return s;if(62===a)return s.pos=t+1,s.str=i(e.slice(c+1,t)),s.ok=!0,s;92===a&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(a=e.charCodeAt(t))&&!(a<32||127===a);)if(92===a&&t+1<n)t+=2;else{if(40===a&&o++,41===a){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=i(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(18).unescapeAll;e.exports=function(e,t,n){var i,a,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(a=e.charCodeAt(t))&&39!==a&&40!==a)return s;for(t++,40===a&&(a=41);t<n;){if((i=e.charCodeAt(t))===a)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===i?o++:92===i&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(18).assign,i=n(18).unescapeAll,a=n(18).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,i){var o=e[t];return"<code"+i.renderAttrs(o)+">"+a(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,i){var o=e[t];return"<pre"+i.renderAttrs(o)+"><code>"+a(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],h=p.info?i(p.info).trim():"",d="";return h&&(d=h.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,d)||a(p.content)).indexOf("<pre")?c+"\n":h?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+d]):l[s][1]+=" "+n.langPrefix+d,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,i){var a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return a(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+a(e.attrs[t][0])+'="'+a(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,i="",a=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(i+="\n"),i+=(-1===o.nesting?"</":"<")+o.tag,i+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(i+=" /"),o.block&&(a=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?a=!1:-1===r.nesting&&r.tag===o.tag&&(a=!1))),i+=a?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,i="",a=this.rules,o=0,c=e.length;o<c;o++)void 0!==a[r=e[o].type]?i+=a[r](e,o,t,n,this):i+=this.renderToken(e,o,t);return i},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",i=0,a=e.length;i<a;i++)"text"===e[i].type?r+=e[i].content:"image"===e[i].type&&(r+=this.renderInlineAsText(e[i].children,t,n));return r},c.prototype.render=function(e,t,n){var r,i,a,o="",c=this.rules;for(r=0,i=e.length;r<i;r++)"inline"===(a=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[a]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(72),i=[["normalize",n(165)],["block",n(166)],["inline",n(167)],["linkify",n(168)],["replacements",n(169)],["smartquotes",n(170)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1])}a.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},a.prototype.State=n(171),e.exports=a},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,i=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(i,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i=e.tokens;for(n=0,r=i.length;n<r;n++)"inline"===(t=i[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(18).arrayReplaceAt;function i(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_=e.tokens;if(e.md.options.linkify)for(n=0,a=_.length;n<a;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(f=0,t=(o=_[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(j=s.content,/^<a[>\s]/i.test(j)&&f>0&&f--,i(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,y=e.md.linkify.match(p),l=[],m=s.level,d=0,u=0;u<y.length;u++)b=y[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=y[u].text,v=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(h=y[u].index)>d&&((c=new e.Token("text","",0)).content=p.slice(d,h),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),d=y[u].lastIndex);d<p.length&&((c=new e.Token("text","",0)).content=p.slice(d),c.level=m,l.push(c)),_[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,a=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(a,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,i=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||i||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(i.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(18).isWhiteSpace,i=n(18).isPunctChar,a=n(18).isMdAsciiPunct,o=/['"]/,c=/['"]/g,s="’";function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function u(e,t){var n,o,u,p,h,d,m,f,b,g,v,y,j,_,k,O,w,C,E,x,S;for(E=[],n=0;n<e.length;n++){for(o=e[n],m=e[n].level,w=E.length-1;w>=0&&!(E[w].level<=m);w--);if(E.length=w+1,"text"===o.type){h=0,d=(u=o.content).length;e:for(;h<d&&(c.lastIndex=h,p=c.exec(u));){if(k=O=!0,h=p.index+1,C="'"===p[0],b=32,p.index-1>=0)b=u.charCodeAt(p.index-1);else for(w=n-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if("text"===e[w].type){b=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,h<d)g=u.charCodeAt(h);else for(w=n+1;w<e.length&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w++)if("text"===e[w].type){g=e[w].content.charCodeAt(0);break}if(v=a(b)||i(String.fromCharCode(b)),y=a(g)||i(String.fromCharCode(g)),j=r(b),(_=r(g))?k=!1:y&&(j||v||(k=!1)),j?O=!1:v&&(_||y||(O=!1)),34===g&&'"'===p[0]&&b>=48&&b<=57&&(O=k=!1),k&&O&&(k=!1,O=y),k||O){if(O)for(w=E.length-1;w>=0&&(f=E[w],!(E[w].level<m));w--)if(f.single===C&&E[w].level===m){f=E[w],C?(x=t.md.options.quotes[2],S=t.md.options.quotes[3]):(x=t.md.options.quotes[0],S=t.md.options.quotes[1]),o.content=l(o.content,p.index,S),e[f.token].content=l(e[f.token].content,f.pos,x),h+=S.length-1,f.token===n&&(h+=x.length-1),d=(u=o.content).length,E.length=w;continue e}k?E.push({token:n,pos:p.index,single:C,level:m}):O&&C&&(o.content=l(o.content,p.index,s))}else C&&(o.content=l(o.content,p.index,s))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&u(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(73);function i(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(72),i=[["table",n(173),["paragraph","reference"]],["code",n(174)],["fence",n(175),["paragraph","reference","blockquote","list"]],["blockquote",n(176),["paragraph","reference","blockquote","list"]],["hr",n(177),["paragraph","reference","blockquote","list"]],["list",n(178),["paragraph","reference","blockquote"]],["reference",n(179)],["heading",n(180),["paragraph","reference","blockquote"]],["lheading",n(181)],["html_block",n(182),["paragraph","reference","blockquote"]],["paragraph",n(184)]];function a(){this.ruler=new r;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}a.prototype.tokenize=function(e,t,n){for(var r,i=this.ruler.getRules(""),a=i.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<a&&!i[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},a.prototype.parse=function(e,t,n,r){var i;e&&(i=new this.State(e,t,n,r),this.tokenize(i,i.line,i.lineMax))},a.prototype.State=n(185),e.exports=a},function(e,t,n){"use strict";var r=n(18).isSpace;function i(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function a(e){var t,n=[],r=0,i=e.length,a=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<i;)96===t?c?(c=!1,s=r):a%2==0&&(c=!0,s=r):124!==t||a%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?a++:a=0,++r===i&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,h,d,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(h=(s=i(e,t+1)).split("|"),f=[],u=0;u<h.length;u++){if(!(b=h[u].trim())){if(0===u||u===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=i(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((d=(h=a(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<h.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=i(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(h=a(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<d;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=h[u]?h[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a;if(e.sCount[t]-e.blkIndent<4)return!1;for(i=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;i=++r}return e.line=i,(a=e.push("code_block","code",0)).content=e.getLines(t,i,4+e.blkIndent,!0),a.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,a,o,c,s,l,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(i=e.src.charCodeAt(h))&&96!==i)return!1;if(s=h,(a=(h=e.skipChars(h,i))-s)<3)return!1;if(u=e.src.slice(s,h),(o=e.src.slice(h,d)).indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((h=s=e.bMarks[c]+e.tShift[c])<(d=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(h)===i&&!(e.sCount[c]-e.blkIndent>=4||(h=e.skipChars(h,i))-s<a||(h=e.skipSpaces(h))<d)){p=!0;break}return a=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,a,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_,k,O,w,C=e.lineMax,E=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(E++))return!1;if(i)return!0;for(s=d=e.sCount[t]+E-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(E)?(E++,s++,d++,a=!1,j=!0):9===e.src.charCodeAt(E)?(j=!0,(e.bsCount[t]+d)%4==3?(E++,s++,d++,a=!1):a=!0):j=!1,m=[e.bMarks[t]],e.bMarks[t]=E;E<x&&(o=e.src.charCodeAt(E),r(o));)9===o?d+=4-(d+e.bsCount[t]+(a?1:0))%4:d++,E++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(j?1:0),u=E>=x,v=[e.sCount[t]],e.sCount[t]=d-s,y=[e.tShift[t]],e.tShift[t]=E-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,h=t+1;h<n&&(e.sCount[h]<e.blkIndent&&(w=!0),!((E=e.bMarks[h]+e.tShift[h])>=(x=e.eMarks[h])));h++)if(62!==e.src.charCodeAt(E++)||w){if(u)break;for(_=!1,c=0,l=k.length;c<l;c++)if(k[c](e,h,n,!0)){_=!0;break}if(_){e.lineMax=h,0!==e.blkIndent&&(m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]-=e.blkIndent);break}m.push(e.bMarks[h]),f.push(e.bsCount[h]),y.push(e.tShift[h]),v.push(e.sCount[h]),e.sCount[h]=-1}else{for(s=d=e.sCount[h]+E-(e.bMarks[h]+e.tShift[h]),32===e.src.charCodeAt(E)?(E++,s++,d++,a=!1,j=!0):9===e.src.charCodeAt(E)?(j=!0,(e.bsCount[h]+d)%4==3?(E++,s++,d++,a=!1):a=!0):j=!1,m.push(e.bMarks[h]),e.bMarks[h]=E;E<x&&(o=e.src.charCodeAt(E),r(o));)9===o?d+=4-(d+e.bsCount[h]+(a?1:0))%4:d++,E++;u=E>=x,f.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(j?1:0),v.push(e.sCount[h]),e.sCount[h]=d-s,y.push(e.tShift[h]),e.tShift[h]=E-e.bMarks[h]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,h),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=C,e.parentType=g,p[1]=e.line,c=0;c<y.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=y[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(a=e.src.charCodeAt(l++))&&45!==a&&95!==a)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==a&&!r(c))return!1;c===a&&o++}return!(o<3)&&(!!i||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(a)),!0))}},function(e,t,n){"use strict";var r=n(18).isSpace;function i(e,t){var n,i,a,o;return i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],42!==(n=e.src.charCodeAt(i++))&&45!==n&&43!==n?-1:i<a&&(o=e.src.charCodeAt(i),!r(o))?-1:i}function a(e,t){var n,i=e.bMarks[t]+e.tShift[t],a=i,o=e.eMarks[t];if(a+1>=o)return-1;if((n=e.src.charCodeAt(a++))<48||n>57)return-1;for(;;){if(a>=o)return-1;if(!((n=e.src.charCodeAt(a++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(a-i>=10)return-1}return a<o&&(n=e.src.charCodeAt(a),!r(n))?-1:a}e.exports=function(e,t,n,r){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_,k,O,w,C,E,x,S,A,F,P,T,M,N=!1,z=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=a(e,t))>=0){if(h=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),N&&1!==v)return!1}else{if(!((S=i(e,t))>=0))return!1;h=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,h?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(g),j=t,A=!1,T=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";j<n;){for(x=S,y=e.eMarks[j],p=_=e.sCount[j]+S-(e.bMarks[t]+e.tShift[t]);x<y;){if(9===(o=e.src.charCodeAt(x)))_+=4-(_+e.bsCount[j])%4;else{if(32!==o)break;_++}x++}if((u=(c=x)>=y?1:_-p)>4&&(u=1),l=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),M.map=d=[t,0],k=e.blkIndent,E=e.tight,C=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=_,c>=y&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(z=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=C,e.sCount[t]=O,e.tight=E,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),j=t=e.line,d[1]=j,c=e.bMarks[t],j>=n)break;if(e.sCount[j]<e.blkIndent)break;for(P=!1,s=0,m=T.length;s<m;s++)if(T[s](e,j,n,!0)){P=!0;break}if(P)break;if(h){if((S=a(e,j))<0)break}else if((S=i(e,j))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(M=h?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=j,e.line=j,e.parentType=w,z&&function(e,t){var n,r,i=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===i&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t,n,a){var o,c,s,l,u,p,h,d,m,f,b,g,v,y,j,_,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],C=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,j=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";C<l&&!e.isEmpty(C);C++)if(!(e.sCount[C]-e.blkIndent>3||e.sCount[C]<0)){for(y=!1,p=0,h=j.length;p<h;p++)if(j[p](e,C,l,!0)){y=!0;break}if(y)break}for(w=(v=e.getLines(t,C,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!i(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(_=b.str,O=b.pos,k+=b.lines):(_="",O=c,k=s);O<w&&(o=v.charCodeAt(O),i(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&_)for(_="",O=c,k=s;O<w&&(o=v.charCodeAt(O),i(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(d=r(v.slice(1,m)))&&(!!a||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[d]&&(e.env.references[d]={title:_,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t,n,i){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(a=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,a=e.src.charCodeAt(++l);35===a&&l<u&&o<=6;)o++,a=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(a))&&(!!i||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,i,a,o,c,s,l,u,p,h,d=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d<n&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(s=e.bMarks[d]+e.tShift[d])<(l=e.eMarks[d])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(i=!1,a=0,o=m.length;a<o;a++)if(m[a](e,d,n,!0)){i=!0;break}if(i)break}}return!!u&&(r=e.getLines(t,d,e.blkIndent,!1).trim(),e.line=d+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=h,!0)}},function(e,t,n){"use strict";var r=n(183),i=n(93).HTML_OPEN_CLOSE_TAG_RE,a=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),i=0;i<a.length&&!a[i][0].test(s);i++);if(i===a.length)return!1;if(r)return a[i][2];if(o=t+1,!a[i][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),a[i][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,i=0,a=l.length;i<a;i++)if(l[i](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(73),i=n(18).isSpace;function a(e,t,n,r){var a,o,c,s,l,u,p,h;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",h=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(a=o.charCodeAt(s),!h){if(i(a)){u++,9===a?p+=4-p%4:p++;continue}h=!0}10!==a&&s!==l-1||(10!==a&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),h=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}a.prototype.push=function(e,t,n){var i=new r(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i},a.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},a.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},a.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),i(t));e++);return e},a.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!i(this.src.charCodeAt(--e)))return e+1;return e},a.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},a.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},a.prototype.getLines=function(e,t,n,r){var a,o,c,s,l,u,p,h=e;if(e>=t)return"";for(u=new Array(t-e),a=0;h<t;h++,a++){for(o=0,p=s=this.bMarks[h],l=h+1<t||r?this.eMarks[h]+1:this.eMarks[h];s<l&&o<n;){if(c=this.src.charCodeAt(s),i(c))9===c?o+=4-(o+this.bsCount[h])%4:o++;else{if(!(s-p<this.tShift[h]))break;o++}s++}u[a]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(72),i=[["text",n(187)],["newline",n(188)],["escape",n(189)],["backticks",n(190)],["strikethrough",n(94).tokenize],["emphasis",n(95).tokenize],["link",n(191)],["image",n(192)],["autolink",n(193)],["html_inline",n(194)],["entity",n(195)]],a=[["balance_pairs",n(196)],["strikethrough",n(94).postProcess],["emphasis",n(95).postProcess],["text_collapse",n(197)]];function o(){var e;for(this.ruler=new r,e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1]);for(this.ruler2=new r,e=0;e<a.length;e++)this.ruler2.push(a[e][0],a[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,i=this.ruler.getRules(""),a=i.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<a&&(e.level++,t=i[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),i=r.length,a=e.posMax,o=e.md.options.maxNesting;e.pos<a;){if(e.level<o)for(n=0;n<i&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=a)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var i,a,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(a=this.ruler2.getRules("")).length,i=0;i<o;i++)a[i](c)},o.prototype.State=n(198),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(18).isSpace;e.exports=function(e,t){var n,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),a++;a<i&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},function(e,t,n){"use strict";for(var r=n(18).isSpace,i=[],a=0;a<256;a++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){i[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,a=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(a))return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&0!==i[n])return t||(e.pending+=e.src[a]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),a++;a<o&&(n=e.src.charCodeAt(a),r(n));)a++;return e.pos=a,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,i,a,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(i=e.src.slice(n,s),a=o=s;-1!==(a=e.src.indexOf("`",o));){for(o=a+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-a===i.length)return t||((c=e.push("code_inline","code",0)).markup=i,c.content=e.src.slice(s,a).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=i),e.pos+=i.length,!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?l=u.pos:d=""),b=l;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(h=u.str,l=u.pos;l<f&&(a=e.src.charCodeAt(l),i(a)||10===a);l++);else h="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;d=p.href,h=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",d]],h&&n.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(18).normalizeReference,i=n(18).isSpace;e.exports=function(e,t){var n,a,o,c,s,l,u,p,h,d,m,f,b,g="",v=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<y&&40===e.src.charCodeAt(u)){for(u++;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(u>=y)return!1;for(b=u,(h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=""),b=u;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);if(h=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<y&&b!==u&&h.ok)for(d=h.str,u=h.pos;u<y&&(a=e.src.charCodeAt(u),i(a)||10===a);u++);else d="";if(u>=y||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<y&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,d=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,d&&n.push(["title",d])),e.pos=u,e.posMax=y,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,a,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(i.test(n)?(c=(a=n.match(i))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=a[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(93).HTML_TAG_RE;e.exports=function(e,t){var n,i,a,o=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=a)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(i=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+i[0].length)),e.pos+=i[0].length,!0))))}},function(e,t,n){"use strict";var r=n(88),i=n(18).has,a=n(18).isValidEntityCode,o=n(18).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=a(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&i(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,i,a=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=a[t]).close)for(n=t-r.jump-1;n>=0;){if((i=a[n]).open&&i.marker===r.marker&&i.end<0&&i.level===r.level)if(!((i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0)){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}n-=i.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)r+=i[t].nesting,i[t].level=r,"text"===i[t].type&&t+1<a&&"text"===i[t+1].type?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}},function(e,t,n){"use strict";var r=n(73),i=n(18).isWhiteSpace,a=n(18).isPunctChar,o=n(18).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var i=new r(e,t,n);return n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(i),i},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,h,d,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||a(String.fromCharCode(n)),d=o(r)||a(String.fromCharCode(r)),u=i(n),(h=i(r))?f=!1:d&&(u||p||(f=!1)),u?b=!1:p&&(h||d||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||d)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Function]"===i(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(e){var t=e.re=n(200)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push(l),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===i(n))return!function(e){return"[object RegExp]"===i(e)}(n.validate)?a(n.validate)?r.validate=n.validate:u(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(a(n.normalize)?r.normalize=n.normalize:n.normalize?u(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===i(e)}(n)?u(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var p=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+p+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function h(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function d(e,t){var n=new h(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function m(e,t){if(!(this instanceof m))return new m(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},p(this)}m.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},m.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},m.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,a,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(i=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=o)),this.__index__>=0},m.prototype.pretest=function(e){return this.re.pretest.test(e)},m.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},m.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},m.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},m.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},m.prototype.onCompile=function(){},e.exports=m},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(90).source,t.src_Cc=n(91).source,t.src_Z=n(92).source,t.src_P=n(71).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",(function(){return m})),n.d(t,"ucs2encode",(function(){return f})),n.d(t,"decode",(function(){return v})),n.d(t,"encode",(function(){return y})),n.d(t,"toASCII",(function(){return _})),n.d(t,"toUnicode",(function(){return j}));var r=n(21),i=n.n(r),a=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function h(e){throw new RangeError(l[e])}function d(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var i=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+i}function m(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),n--)}else t.push(i)}return t}var f=function(e){return String.fromCodePoint.apply(String,i()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,i=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&h("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var d=i,m=1,f=36;;f+=36){p>=r&&h("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((a-i)/m))&&h("overflow"),i+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var y=36-v;m>u(a/y)&&h("overflow"),m*=y}var j=n.length+1;c=g(i-d,j,0==d),u(i/j)>a-o&&h("overflow"),o+=u(i/j),i%=j,n.splice(i++,0,o)}return String.fromCodePoint.apply(String,n)},y=function(e){var t=[],n=(e=m(e)).length,r=128,i=0,o=72,c=!0,s=!1,l=void 0;try{for(var d,f=e[Symbol.iterator]();!(c=(d=f.next()).done);c=!0){var v=d.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var y=t.length,j=y;for(y&&t.push("-");j<n;){var _=a,k=!0,O=!1,w=void 0;try{for(var C,E=e[Symbol.iterator]();!(k=(C=E.next()).done);k=!0){var x=C.value;x>=r&&x<_&&(_=x)}}catch(B){O=!0,w=B}finally{try{k||null==E.return||E.return()}finally{if(O)throw w}}var S=j+1;_-r>u((a-i)/S)&&h("overflow"),i+=(_-r)*S,r=_;var A=!0,F=!1,P=void 0;try{for(var T,M=e[Symbol.iterator]();!(A=(T=M.next()).done);A=!0){var N=T.value;if(N<r&&++i>a&&h("overflow"),N==r){for(var z=i,D=36;;D+=36){var R=D<=o?1:D>=o+26?26:D-o;if(z<R)break;var I=z-R,L=36-R;t.push(p(b(R+I%L,0))),z=u(I/L)}t.push(p(b(z,0))),o=g(i,S,j==y),i=0,++j}}}catch(B){F=!0,P=B}finally{try{A||null==M.return||M.return()}finally{if(F)throw P}}++i,++r}return t.join("")},j=function(e){return d(e,(function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e}))},_=function(e){return d(e,(function(e){return c.test(e)?"xn--"+y(e):e}))},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:y,toASCII:_,toUnicode:j};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=o,c=Number(new Date),s=c-(n||c);a.diff=s,a.prev=n,a.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var o=t[l];e=i.call(a,o),t.splice(l,1),l--}return e})),r.formatArgs.call(a,t),(a.log||r.log).apply(a,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(70),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){"use strict";var r=n(34),i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(97),o=n(210),c=n(211),s=".",l=":",u="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function h(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function d(e,t,n,r){var a,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===i)return n(r,e,""===t?s+h(e,0):t),1;var m=0,f=""===t?s:t+l;if(Array.isArray(e))for(var b=0;b<e.length;b++)m+=d(a=e[b],f+h(a,b),n,r);else{var g=function(e){var t=e&&(u&&e[u]||e[p]);if("function"==typeof t)return t}(e);if(g){0;for(var v,y=g.call(e),j=0;!(v=y.next()).done;)m+=d(a=v.value,f+h(a,j++),n,r)}else if("object"===c){0;var _=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===_?"object with keys {"+Object.keys(e).join(", ")+"}":_,"")}}return m}var m=/\/+/g;function f(e){return(""+e).replace(m,"$&/")}var b,g,v=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},j=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function _(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function k(e,t,n){var i,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?O(p,c,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(i=p,o=s+(!p.key||t&&t.key===p.key?"":f(p.key)+"/")+n,p=r.cloneElement(i,{key:o},void 0!==i.props?i.props.children:void 0)),c.push(p))}function O(e,t,n,r,i){var a="";null!=n&&(a=f(n)+"/");var o=_.getPooled(t,a,r,i);!function(e,t,n){null==e||d(e,"",t,n)}(e,k,o),_.release(o)}_.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},b=function(e,t,n,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)},(g=_).instancePool=[],g.getPooled=b||v,g.poolSize||(g.poolSize=10),g.release=j;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,a,o,c,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,i,a,o,c,s],p=0;(l=new Error(t.replace(/%s/g,(function(){return u[p++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(97);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(74),i=n(99);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},a.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},a.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a<this.padLength;a++)r[i++]=0;return r}},function(e,t,n){"use strict";var r=n(74).rotr32;function i(e,t,n){return e&t^~e&n}function a(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?o(t,n,r):2===e?a(t,n,r):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){"use strict";var t=[],n=3988292384;function r(e){var t,r,i,a,o=-1;for(t=0,i=e.length;t<i;t+=1){for(a=255&(o^e[t]),r=0;r<8;r+=1)1==(1&a)?a=a>>>1^n:a>>>=1;o=o>>>8^a}return-1^o}function i(e,n){var r,a,o;if(void 0!==i.crc&&n&&e||(i.crc=-1,e)){for(r=i.crc,a=0,o=e.length;a<o;a+=1)r=r>>>8^t[255&(r^e[a])];return i.crc=r,-1^r}}!function(){var e,r,i;for(r=0;r<256;r+=1){for(e=r,i=0;i<8;i+=1)1&e?e=n^e>>>1:e>>>=1;t[r]=e>>>0}}(),e.exports=function(e,t){var n;e="string"==typeof e?(n=e,Array.prototype.map.call(n,(function(e){return e.charCodeAt(0)}))):e;return((t?r(e):i(e))>>>0).toString(16)},e.exports.direct=r,e.exports.table=i}()},function(e,t,n){"use strict";var r=256,i=[],a=window,o=Math.pow(r,6),c=Math.pow(2,52),s=2*c,l=r-1,u=Math.random;function p(e){var t,n=e.length,i=this,a=0,o=i.i=i.j=0,c=i.S=[];for(n||(e=[n++]);a<r;)c[a]=a++;for(a=0;a<r;a++)c[a]=c[o=l&o+e[a%n]+(t=c[a])],c[o]=t;(i.g=function(e){for(var t,n=0,a=i.i,o=i.j,c=i.S;e--;)t=c[a=l&a+1],n=n*r+c[l&(c[a]=c[o=l&o+t])+(c[o]=t)];return i.i=a,i.j=o,n})(r)}function h(e,t){var n,r=[],i=(typeof e)[0];if(t&&"o"==i)for(n in e)try{r.push(h(e[n],t-1))}catch(a){}return r.length?r:"s"==i?e:e+"\0"}function d(e,t){for(var n,r=e+"",i=0;i<r.length;)t[l&i]=l&(n^=19*t[l&i])+r.charCodeAt(i++);return f(t)}function m(e){try{return a.crypto.getRandomValues(e=new Uint8Array(r)),f(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,f(i)]}}function f(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var a=n&&n.entropy||!1,l=[],u=(d(h(a?[t,f(i)]:0 in arguments?t:m(),3),l),new p(l));return d(f(u.S),i),function(){for(var e=u.g(6),t=o,n=0;e<c;)e=(e+n)*r,t*=r,n=u.g(1);for(;e>=s;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=u},d(Math.random(),i)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(226)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var a=o,c=Number(new Date),s=c-(n||c);a.diff=s,a.prev=n,a.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var i=r.formatters[n];if("function"==typeof i){var o=t[l];e=i.call(a,o),t.splice(l,1),l--}return e})),r.formatArgs.call(a,t),(a.log||r.log).apply(a,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=i,o.extend=a,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function i(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function a(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t<i;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var a=r.instances[t];a.enabled=r.enabled(a.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(70),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",(function(){return Pt})),n.d(r,"attributes",(function(){return Mt})),n.d(r,"support",(function(){return Nt}));var i=n(17),a=n(15),o=n.n(a),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),h=n(5),d=n(2),m=n(21),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),j=n(8),_=n.n(j),k=n(9),O=n.n(k),w=n(4),C=n.n(w),E=n(10),x=n.n(E),S=n(6),A=[{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(d.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],F=Object(u.__)("Pick an image filter","jetpack");function P(e){var t=e.value,n=e.onChange;return Object(l.createElement)(d.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(d.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:F,tooltip:F,icon:Object(l.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(d.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(d.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(d.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},A.map((function(e){var i,a=e.icon,o=e.title,c=e.value;return Object(l.createElement)(d.MenuItem,{className:t===c?"is-active":void 0,icon:a,isSelected:t===c,key:c||"original",onClick:(i=c,function(){n(t===i?void 0:i),r()}),role:"menuitemcheckbox"},o)})))}})}var T=n(12),M=n.n(T),N=n(29),z=n(24),D=n(13),R=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"img",Object(l.createRef)()),s()(C()(n),"onImageClick",(function(){n.props.isSelected||n.props.onSelect()})),s()(C()(n),"onImageKeyDown",(function(e){n.img.current===document.activeElement&&n.props.isSelected&&[N.BACKSPACE,N.DELETE].includes(e.keyCode)&&n.props.onRemove()})),n}return x()(t,e),y()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,i=e.link,a=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!i&&r.link&&(c.link=r.link),!a&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,i=t.height,a=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,h=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(h){case"media":e=g;break;case"attachment":e=p}var y=Object(z.isBlobURL)(f),j=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:y?void 0:g,srcSet:y?void 0:b,tabIndex:"0",style:y?{backgroundImage:"url(".concat(f,")")}:void 0}),y&&Object(l.createElement)(d.Spinner,null));return Object(l.createElement)("figure",{className:M()("tiled-gallery__item",s()({"is-selected":c,"is-transient":y},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(d.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,j):j)}}]),t}(l.Component),I=Object(D.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(R);function L(e){var t,n=e.alt,r=e.imageFilter,i=e.height,a=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,h=e.width;if(Object(z.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:n,"data-height":i,"data-id":a,"data-link":o,"data-url":u,"data-width":h,src:p});return Object(l.createElement)("figure",{className:M()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},d):d)}var B=n(38);function q(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:M()("tiled-gallery__row",n)},t)}var U=n(56);function G(e){var t=e.height,n=e.width;return t&&n?n/t:1}var $=pe([2,1,2],5),K=he([de,de,me,de,de]),W=he([de,de,de,me,de,de,de]),Z=pe([3,1,3],5),J=he([me,de,de,me]),Y=pe([1,2,1],5),Q=he([me,de,de,de]),X=pe([1,3],3),ee=he([de,de,de,me]),te=pe([3,1],3),ne=he([be(1.6),Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2))]),re=pe([1,2],3),ie=pe([1,1,1,1,1],1),ae=pe([1,1,1,1],1),oe=pe([1,1,1],3),ce=he([Object(h.overEvery)(fe(.9),be(2)),Object(h.overEvery)(fe(.9),be(2)),be(1.6)]),se=pe([2,1],3),le=he([function(e){return e>=2}]);function ue(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&K(r)&&$(n)?[2,1,2]:r.length>15&&W(r)&&Z(n)?[3,1,3]:5!==r.length&&J(r)&&Y(n)?[1,2,1]:Q(r)&&X(n)?[1,3]:ee(r)&&te(n)?[3,1]:ne(r)&&re(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&ie(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return ae(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&oe(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:ce(r)&&se(n)?[2,1]:le(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function pe(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),(function(t){return Object(h.isEqual)(t,e)}))}}function he(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function de(e){return e>=1&&e<2}function me(e){return e<1}function fe(e){return function(t){return t>=e}}function be(e){return function(t){return t<e}}var ge=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"gallery",Object(l.createRef)()),s()(C()(n),"pendingRaf",null),s()(C()(n),"ro",null),s()(C()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e=i.value,t=e.contentRect,n=e.target,r=t.width;Object(U.a)(n).forEach((function(e){return Object(U.b)(e,r)}))},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,G)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,(function(t){var r=a<=(e+1)*n;return r&&(a+=t),r})).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):ue(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(H,{key:t},e.map((function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(q,{key:t},n)})))})))}}]),t}(l.Component),ve=n(20);function ye(e){var t=e.columns,n=e.renderedImages,r=Math.min(ve.h,t),i=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map((function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(q,{key:t},e)})))})))}var je=n(46),_e=n.n(je),ke=n(65),Oe=n.n(ke),we=n(27);function Ce(e){return["circle","square"].includes(e)}function Ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(z.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],i=e.height,a=e.width,o=t.layoutStyle,c=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)||!0===function(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}()?xe:Oe.a;if(Ce(o)&&a&&i){var s=Math.min(ve.i,a,i);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l;if(Ce(o)){var u=Math.min(600,a,i),p=Math.min(ve.i,a,i);l=Object(h.range)(u,p,300).map((function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"info"});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}else{var d=Math.min(600,a),m=Math.min(ve.i,a);l=Object(h.range)(d,m,300).map((function(e){var t=c(r,{strip:"info",width:e});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}function xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,_e()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(we.format)(i)}var Se=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,i=n.images,a=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,d=n.setImageAttributes,m=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,i.length),f=a?L:I,b=Ee(e,{layoutStyle:c}),g=b.src,v=b.srcSet;return Object(l.createElement)(f,{alt:e.alt,"aria-label":m,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:a?void 0:s(t),onSelect:a?void 0:p(t),origUrl:e.url,setAttributes:a?void 0:d(t),srcSet:v,url:g,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=Ce(o)?ye:ge,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Ae=n(117),Fe=n.n(Ae);function Pe(e,t){var n=function(e,t){var n=!0,r=!1,i=void 0;try{for(var a,o=new Fe.a(t).values()[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var c=a.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(h.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,i=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return Object(h.find)(e,"isDefault")}(e,t);return n?n.name:null}var Te=n(49),Me=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function Ne(e){return Math.min(3,e.images.length)}var ze=function(e){var t=Object(h.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(h.get)(e,["sizes","large","url"])||Object(h.get)(e,["media_details","sizes","large","source_url"])||e.url,t},De=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"state",{selectedImage:null}),s()(C()(n),"addFiles",(function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(S.mediaUpload)({allowedTypes:ve.a,filesList:e,onFileChange:function(e){var r=e.map((function(e){return ze(e)}));n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})})),s()(C()(n),"onRemoveImage",(function(e){return function(){var t=Object(h.filter)(n.props.attributes.images,(function(t,n){return e!==n})),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}})),s()(C()(n),"onSelectImage",(function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}})),s()(C()(n),"onSelectImages",(function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((function(e){return ze(e)}))})})),s()(C()(n),"setColumnsNumber",(function(e){return n.setAttributes({columns:e})})),s()(C()(n),"setImageAttributes",(function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],{},t)],f()(r.slice(e+1)))})}})),s()(C()(n),"setLinkTo",(function(e){return n.setAttributes({linkTo:e})})),s()(C()(n),"uploadFromFiles",(function(e){return n.addFiles(e.target.files)})),n}return x()(t,e),y()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,i=n.isSelected,a=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,h=r.columns,m=void 0===h?Ne(r):h,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(d.DropZone,{onFilesDrop:this.addFiles}),y=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(d.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ve.a,multiple:!0,gallery:!0,value:b.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(l.createElement)(Te.a,{label:Object(u.__)("Edit Gallery","jetpack"),onClick:t})}})),Object(l.createElement)(P,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:Qt}),className:a,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ve.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var j=Pe(ve.g,r.className);return Object(l.createElement)(l.Fragment,null,y,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(d.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(j)&&b.length>1&&Object(l.createElement)(d.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ve.h,b.length)}),Object(l.createElement)(d.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:Me}))),c,Object(l.createElement)(Se,{align:p,className:a,columns:m,imageFilter:f,images:b,layoutStyle:j,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:i?t:null,setImageAttributes:this.setImageAttributes},v,i&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(d.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),Re=Object(d.withNotices)(De);var Ie=n(26);n(227);function Le(e){var t,n=e["aria-label"],r=e.alt,i=e.height,a=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(z.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":i,"data-id":a,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},h):h)}function Be(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function qe(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Ve(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:M()("tiled-gallery__row",n)},t)}var He=n(22),Ue=n.n(He),Ge=4,$e=20,Ke=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function We(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function Ze(e,t){!function(e,t,n){var r=Ue()(t,2),i=r[0],a=r[1],o=1/i*(n-Ge*(e.childElementCount-1)-a);!function(e,t){var n=t.rawHeight,r=t.rowWidth,i=Je(e),a=i.map((function(e){return(n-Ge*(e.childElementCount-1))*Qe(e)[0]})),o=We(a,r);i.forEach((function(e,t){var r=a[t],i=o[t];!function(e,t){var n=t.colHeight,r=t.width,i=t.rawWidth,a=We(Ye(e).map((function(e){return i/Xe(e)})),n);Array.from(e.children).forEach((function(e,t){var n=a[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-Ge*(e.childElementCount-1),width:i,rawWidth:r})}))}(e,{rawHeight:o,rowWidth:n-Ge*(e.childElementCount-1)})}(e,function(e){return Je(e).map(Qe).reduce((function(e,t){var n=Ue()(e,2),r=n[0],i=n[1],a=Ue()(t,2);return[r+a[0],i+a[1]]}),[0,0])}(e),t)}function Je(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function Ye(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function Qe(e){var t=Ye(e),n=t.length,r=1/t.map(Xe).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function Xe(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function et(e){var t=e.height,n=e.width;return t&&n?n/t:1}var tt=jt([2,1,2],5),nt=_t([kt,kt,Ot,kt,kt]),rt=_t([kt,kt,kt,Ot,kt,kt,kt]),it=jt([3,1,3],5),at=_t([Ot,kt,kt,Ot]),ot=jt([1,2,1],5),ct=_t([Ot,kt,kt,kt]),st=jt([1,3],3),lt=_t([kt,kt,kt,Ot]),ut=jt([3,1],3),pt=_t([Ct(1.6),Object(h.overEvery)(wt(.9),Ct(2)),Object(h.overEvery)(wt(.9),Ct(2))]),ht=jt([1,2],3),dt=jt([1,1,1,1,1],1),mt=jt([1,1,1,1],1),ft=jt([1,1,1],3),bt=_t([Object(h.overEvery)(wt(.9),Ct(2)),Object(h.overEvery)(wt(.9),Ct(2)),Ct(1.6)]),gt=jt([2,1],3),vt=_t([function(e){return e>=2}]);function yt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isWide;return function e(n,r){if(!r.length)return n;var i;i=r.length>15&&nt(r)&&tt(n)?[2,1,2]:r.length>15&&rt(r)&&it(n)?[3,1,3]:5!==r.length&&at(r)&&ot(n)?[1,2,1]:ct(r)&&st(n)?[1,3]:lt(r)&&ut(n)?[3,1]:pt(r)&&ht(n)?[1,2]:t&&(5===r.length||10!==r.length&&r.length>6)&&dt(n)&&Object(h.sum)(Object(h.take)(r,5))<5?[1,1,1,1,1]:function(e,t){var n=Object(h.sum)(Object(h.take)(t,4));return mt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}(n,r)?[1,1,1,1]:function(e,t,n){var r=Object(h.sum)(Object(h.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ft(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}(n,r,t)?[1,1,1]:bt(r)&>(n)?[2,1]:vt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var a=n.concat([i]),o=Object(h.sum)(i);return e(a,r.slice(o))}([],e)}function jt(e,t){return function(n){return!Object(h.some)(Object(h.takeRight)(n,t),(function(t){return Object(h.isEqual)(t,e)}))}}function _t(e){return function(t){return t.length>=e.length&&Object(h.every)(Object(h.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function kt(e){return e>=1&&e<2}function Ot(e){return e<1}function wt(e){return function(t){return t>=e}}function Ct(e){return function(t){return t<e}}var Et=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(i))),s()(C()(n),"gallery",Object(l.createRef)()),s()(C()(n),"pendingRaf",null),s()(C()(n),"ro",null),s()(C()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var i,a=function(){var e,t=i.value,n=t.contentRect,r=t.target,a=n.width;(e=r,Array.from(e.querySelectorAll(".tiled-gallery__row"))).forEach((function(e){return Ze(e,a)}))},o=e[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)a()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),y()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new B.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,i=e.layoutStyle,a=e.renderedImages,o=function(e){return Object(h.map)(e,et)}(r),c="columns"===i?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(h.sum)(e)/t,r=[],i=e,a=0,o=function(e){var t=Object(h.takeWhile)(i,(function(t){var r=a<=(e+1)*n;return r&&(a+=t),r})).length;r.push(t),i=Object(h.drop)(i,t)},c=0;c<t-1;c++)o(c);return r.push(i.length),[r]}(o,n):yt(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(qe,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(Ve,{key:t},e.map((function(e,t){var n=a.slice(s,s+e);return s+=e,Object(l.createElement)(Be,{key:t},n)})))})))}}]),t}(l.Component);function xt(e){var t=e.columns,n=e.renderedImages,r=Math.min($e,t),i=n.length%r;return Object(l.createElement)(qe,null,[].concat(f()(i?[Object(h.take)(n,i)]:[]),f()(Object(h.chunk)(Object(h.drop)(n,i),r))).map((function(e,t){return Object(l.createElement)(Ve,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(Be,{key:t},e)})))})))}var St=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),y()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(z.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var i=r.split("?",1)[0],a=function(e){var t=Object(we.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?Ft:Oe.a;if(At(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return a(i,{resize:"".concat(o,",").concat(o)})}return a(i)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,i=n.linkTo,a=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Le,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:a===t,key:t,link:e.link,linkTo:i,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,i=e.columns,a=e.images,o=e.layoutStyle,c=At(o)?xt:Et,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:i,images:a,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function At(e){return["circle","square"].includes(e)}function Ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(we.parse)(e),i=(r.auth,r.hash,r.port,r.query,r.search,_e()(r,["auth","hash","port","query","search"]));return i.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(we.format)(i)}function Pt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,i=t.className,a=t.columns,o=void 0===a?function(e){return Math.min(3,e.images.length)}(t):a,c=t.linkTo;return Object(l.createElement)(St,{align:r,className:i,columns:o,images:n,layoutStyle:Pe(Ke,i),linkTo:c})}var Tt,Mt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Nt={align:["center","wide","full"],customClassName:!1,html:!1},zt=n(118),Dt=n.n(zt),Rt=n(119),It=n.n(Rt),Lt=n(120),Bt=n.n(Lt),qt=n(121),Vt=n.n(qt),Ht=n(122),Ut=n.n(Ht),Gt=n(123),$t=n.n(Gt),Kt=(Tt={},s()(Tt,ve.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Tt,ve.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Tt,ve.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Tt,ve.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Tt),Wt=ve.g.map((function(e){return o()({},e,{label:Kt[e.name]})}));function Zt(e){return Object(h.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var Jt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ve.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},Yt={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:Dt.a,width:160,height:95},{alt:"",link:"",url:It.a,width:160,height:107},{alt:"",link:"",url:Bt.a,width:304,height:203},{alt:"",link:"",url:Vt.a,width:312,height:207},{alt:"",link:"",url:Ut.a,width:152,height:101},{alt:"",link:"",url:$t.a,width:152,height:105}],linkTo:"none"},Qt=Object(l.createElement)(d.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(d.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),Xt={attributes:Jt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack")+(Object(Ie.b)()?"":" "+Object(u.__)("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:Qt,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Wt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Zt(e).length>0},transform:function(e){var t=Zt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Zt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,i=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:i})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map((function(e){var n=e.id,r=e.url,i=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:i})})):Object(p.createBlock)("core/image")}}]},edit:Re,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var i=t.align,a=t.className,o=t.columns,c=void 0===o?Ne(t):o,s=t.linkTo;return Object(l.createElement)(Se,{align:i,className:a,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Pe(ve.g,a),linkTo:s})},deprecated:[r],example:{attributes:Yt}};Object(i.a)("tiled-gallery",Xt)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",(function(){return p})),n.d(r,"refreshConnectionTestResults",(function(){return h})),n.d(r,"fetchFromAPI",(function(){return d}));var i={};n.r(i),n.d(i,"getFailedConnections",(function(){return m})),n.d(i,"getMustReauthConnections",(function(){return f}));var a=n(0),o=n(1),c=n(2),s=n(52),l=n(47),u=(n(205),n(13));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function h(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function d(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter((function(e){return!1===e.test_success}))}function f(e){return e.filter((function(e){return"must_reauth"===e.test_success})).map((function(e){return e.service_name}))}var b=n(21),g=n.n(b),v=n(106),y=n.n(v),j=n(5),_=n(30),k=n.n(_),O=n(23),w=n.n(O);function C(){return(C=k()(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.dispatch,e.prev=1,e.next=4,w()({path:"/wpcom/v2/publicize/connection-test-results"});case 4:return i=e.sent,e.abrupt("return",r(p(i)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}var E={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){return C.apply(this,arguments)}};var x,S,A,F,P,T={FETCH_FROM_API:function(e){var t=e.path;return w()({path:t})}},M=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:T,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:i});x=M,A=[y()(E)],F=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},P={getState:x.getState,dispatch:function(){return F.apply(void 0,arguments)}},S=A.map((function(e){return e(P)})),F=j.flowRight.apply(void 0,g()(S))(x.dispatch),x.dispatch=F;var N=n(44),z=n(14),D=n(7),R=n.n(D),I=n(11),L=n.n(I),B=n(8),q=n.n(B),V=n(9),H=n.n(V),U=n(4),G=n.n(U),$=n(10),K=n.n($),W=n(3),Z=n.n(W),J=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"refreshConnectionClick",(function(e){var t=e.target,r=t.href,i=t.title;e.preventDefault();var a=window.open(r,i,""),o=window.setInterval((function(){!1!==a.closed&&(window.clearInterval(o),n.props.refreshConnections())}),500)})),n}return K()(t,e),L()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter((function(e){return e.can_refresh}));return t.length?Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((function(t){return Object(a.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)}))):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter((function(e){return!e.can_refresh}));return e.length?e.map((function(e){return Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,e.test_message))})):null}},{key:"render",value:function(){return Object(a.createElement)(a.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(a.Component),Y=Object(z.compose)([Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}}))])(J),Q=n(15),X=n.n(Q),ee=n(12),te=n.n(ee),ne=n(33),re=n.n(ne),ie=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ae=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),oe=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ce=Object(a.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(c.G,null,Object(a.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),se=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(a.createElement)(c.Icon,re()({icon:ie},n));case"twitter":return Object(a.createElement)(c.Icon,re()({icon:ae},n));case"linkedin":return Object(a.createElement)(c.Icon,re()({icon:oe},n));case"tumblr":return Object(a.createElement)(c.Icon,re()({icon:ce},n))}return null},le=n(35),ue=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"maybeDisplayLinkedInNotice",(function(){return n.connectionNeedsReauth()&&Object(a.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(a.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(a.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(Object(le.a)())},Object(o.__)("Go to Sharing settings","jetpack")))})),Z()(G()(n),"connectionNeedsReauth",(function(){return Object(j.includes)(n.props.mustReauthConnections,n.props.name)})),Z()(G()(n),"onConnectionChange",(function(){var e=n.props.id;n.props.toggleConnection(e)})),n}return K()(t,e),L()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some((function(e){return e.service_name===n}))}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,i=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(a.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(a.createElement)(c.Disabled,null,u)),Object(a.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(a.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(a.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(a.createElement)(se,{serviceName:l}),Object(a.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},i)),u))}}]),t}(a.Component),pe=Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}}))(ue),he=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"settingsClick",(function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var i=window.open(t,"",""),a=window.setInterval((function(){!1!==i.closed&&(window.clearInterval(a),r())}),500)})),n}return K()(t,e),L()(t,[{key:"getButtonLink",value:function(){var e=Object(le.a)();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=te()("jetpack-publicize-add-connection-container",this.props.className);return Object(a.createElement)("div",{className:e},Object(a.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(a.Component),de=function(e){function t(){var e,n;R()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=q()(this,(e=H()(t)).call.apply(e,[this].concat(i))),Z()(G()(n),"state",{hasEditedShareMessage:!1}),Z()(G()(n),"fieldId",Object(j.uniqueId)("jetpack-publicize-message-field-")),Z()(G()(n),"onMessageChange",(function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)})),n}return K()(t,e),L()(t,[{key:"isDisabled",value:function(){return this.props.connections.every((function(e){return!e.toggleable}))}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,i=this.getShareMessage(),c=256-i.length,s=te()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(a.createElement)("div",{id:"publicize-form"},Object(a.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map((function(e){var t=e.display_name,r=e.enabled,i=e.id,o=e.service_name,c=e.toggleable;return Object(a.createElement)(pe,{disabled:!c,enabled:r,key:i,id:i,label:t,name:o,toggleConnection:n})}))),Object(a.createElement)(he,{refreshCallback:r}),t.some((function(e){return e.enabled}))&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(a.createElement)("div",{className:"jetpack-publicize-message-box"},Object(a.createElement)("textarea",{id:this.fieldId,value:i,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(a.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(a.Component),me=Object(z.compose)([Object(u.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(j.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}})),Object(u.withDispatch)((function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map((function(e){return X()({},e,{enabled:e.id===t?!e.enabled:e.enabled})}));e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}}))])(de),fe=Object(z.compose)([Object(u.withSelect)((function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("core/editor").refreshPost}}))])((function(e){var t=e.connections,n=e.refreshConnections;return Object(a.createElement)(a.Fragment,null,t&&t.some((function(e){return e.enabled}))&&Object(a.createElement)(Y,null),Object(a.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(a.createElement)(me,{refreshCallback:n}),t&&0===t.length&&Object(a.createElement)(he,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))})),be={render:function(){return Object(a.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(a.createElement)(N.a,null,Object(a.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(a.createElement)(fe,null))),Object(a.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(a.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(a.createElement)(fe,null)))}},ge=n(39);Object(ge.a)("publicize",be)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],h=function(e){var t=e.isSelected;return Object(i.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(i.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},d=n(19),m=(n(142),n(84),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),y=n.n(v),j=n(9),_=n.n(j),k=n(4),O=n.n(k),w=n(10),C=n.n(w),E=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(i.createElement)(i.Fragment,null,n&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),a&&Object(i.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},a),o&&!(c||s)&&Object(i.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(i.createElement)("div",null,[Object(i.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(i.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(i.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,a=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=i?"".concat(i,","):"",h=a?"+".concat(a,","):"",d=o?"+".concat(o,","):"";d=c?"".concat(d,"+").concat(c):d;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(h).concat(d).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some((function(e){return""!==e}))&&Object(i.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(i.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(a.__)("Open address in Google Maps","jetpack")},Object(i.createElement)(E,e)),!e.attributes.linkToGoogleMaps&&Object(i.createElement)(E,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=y()(this,(e=_()(t)).call.apply(e,[this].concat(i)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return C()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,h=t.postal,d=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,h,d].some((function(e){return""!==e})),v=l()({"jetpack-address-block":!0,"is-selected":f}),y=Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(i.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(o.PlainText,{value:n,placeholder:Object(a.__)("Street Address","jetpack"),"aria-label":Object(a.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:r,placeholder:Object(a.__)("Address Line 2","jetpack"),"aria-label":Object(a.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:s,placeholder:Object(a.__)("Address Line 3","jetpack"),"aria-label":Object(a.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:u,placeholder:Object(a.__)("City","jetpack"),"aria-label":Object(a.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:p,placeholder:Object(a.__)("State/Province/Region","jetpack"),"aria-label":Object(a.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:h,placeholder:Object(a.__)("Postal/Zip Code","jetpack"),"aria-label":Object(a.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(i.createElement)(o.PlainText,{value:d,placeholder:Object(a.__)("Country","jetpack"),"aria-label":Object(a.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),y))}}]),t}(i.Component),F={title:Object(a.__)("Address","jetpack"),description:Object(a.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(a._x)("location","block search term","jetpack"),Object(a._x)("direction","block search term","jetpack"),Object(a._x)("place","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(i.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(43),T=n.n(P),M=function(e){var t=e.attributes.email,n=e.className;return t&&Object(i.createElement)("div",{className:n},t.split(/(\s+)/).map((function(e,t){var n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&T.a.validate(n)?e===n?Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(i.createElement)(i.Fragment,null,e.slice(-(e.length-n.length)))):Object(i.createElement)(i.Fragment,{key:t},e)})))},N=function(e,t,n,r,a){var c=t.isSelected,s=t.attributes[e];return Object(i.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(i.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:a}))},z=function(e){var t=e.setAttributes;return N("email",e,Object(a.__)("Email","jetpack"),M,(function(e){return t({email:e})}))},D={title:Object(a.__)("Email Address","jetpack"),description:Object(a.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(a._x)("message","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:z,save:M,parent:["jetpack/contact-info"]};var R=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(i.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,a=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9/+/(]/.test(r[0])?(a=a.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[a.trim()?Object(i.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},a):null,Object(i.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},I=function(e){var t=e.setAttributes;return N("phone",e,Object(a.__)("Phone number","jetpack"),R,(function(e){return t({phone:e})}))},L={title:Object(a.__)("Phone Number","jetpack"),description:Object(a.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(a._x)("mobile","block search term","jetpack"),Object(a._x)("telephone","block search term","jetpack"),Object(a._x)("cell","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:I,save:R},B={title:Object(a.__)("Contact Info","jetpack"),description:Object(a.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("phone","block search term","jetpack"),Object(a._x)("address","block search term","jetpack")],icon:Object(d.a)(Object(i.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:h,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},q=[{name:"address",settings:F},{name:"email",settings:D},{name:"phone",settings:L}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(25),a=n(7),o=n.n(a),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),h=n.n(p),d=n(4),m=n.n(d),f=n(10),b=n.n(f),g=n(3),v=n.n(g),y=n(0),j=n(23),_=n.n(j),k=n(1),O=n(2),w=n(6),C=(n(146),n(21)),E=n.n(C),x=n(12),S=n.n(x),A=n(5),F=n(29),P=n(14);function T(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var i=e[r],a=i.keywords,o=void 0===a?[]:a;if("string"==typeof i.label&&(o=[].concat(E()(o),[i.label])),n.push(i),n.length===t)break}return n}var M=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"select",(function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()})),v()(m()(e),"reset",(function(){e.setState(e.constructor.getInitialState())})),v()(m()(e),"onChange",(function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var i=n?T(r):[];n&&e.setState({selectedIndex:0,filteredOptions:i,query:t})}else e.reset()})),v()(m()(e),"onKeyDown",(function(t){var n=e.state,r=n.isOpen,i=n.selectedIndex,a=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===i?a.length:i)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(i+1)%a.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(a[i]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}})),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,i=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(i===n.activePromise){var a=t.map((function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}})),o=T(a),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",a),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}}))}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,i=r.children,a=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,h=o.className,d=l.length>0,m=d?"components-autocomplete-listbox-".concat(a):null,f=d?"components-autocomplete-item-".concat(a,"-").concat(p):null;return Object(y.createElement)("div",{className:"components-autocomplete"},i({isExpanded:d,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),d&&Object(y.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(y.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,(function(t,n){return Object(y.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(a,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",h,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(y.Component),N=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(M),z=Object(k.__)("Add a marker…","jetpack"),D=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",(function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text})),v()(m()(e),"search",(function(t){var n=e.props,r=n.apiKey,i=n.onError,a="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET",a),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var a=JSON.parse(n.responseText);i(a.statusText,a.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()}))})),v()(m()(e),"onReset",(function(){e.textRef.current.value=null})),e.textRef=Object(y.createRef)(),e.containerRef=Object(y.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(y.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.containerRef.current.querySelector("input").focus()}),50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(y.createElement)("div",{ref:this.containerRef},Object(y.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(y.createElement)(N,{completer:this.autocompleter,onReset:this.onReset},(function(t){var n=t.isExpanded,r=t.listBoxId,i=t.activeId,a=t.onChange,o=t.onKeyDown;return Object(y.createElement)(O.TextControl,{placeholder:z,ref:e.textRef,onChange:a,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":i,onKeyDown:o})}))))}}]),t}(y.Component);D.defaultProps={onError:function(){}};var R=D,I=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,i=e.apiKey;return Object(y.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(y.createElement)(O.Popover,{className:"component__add-point__popover"},Object(y.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(y.createElement)(O.Dashicon,{icon:"no"})),Object(y.createElement)(R,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:i,onError:r})))}}]),t}(y.Component);I.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var L=I,B=(n(147),function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",(function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,i=r.points,a=r.onChange,o=i.slice(0);o.splice(n,1),a(o)})),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,i=r.points,a=r.onChange,o=i.slice(0);o[n][e]=t,a(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map((function(t,n){return Object(y.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(y.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(y.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(y.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(y.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))}));return Object(y.createElement)("div",{className:"component__locations"},Object(y.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(y.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,V=n(69),H=(n(148),function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,i=e.label,a=t.map((function(e,t){var i=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(y.createElement)(O.Button,{className:i,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)}));return Object(y.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(y.createElement)("label",{className:"components-base-control__label"},i),Object(y.createElement)(O.ButtonGroup,null,a))}}]),t}(y.Component));H.defaultProps={label:"",options:[],value:null,onChange:function(){}};var U=H,G=n(104),$=n.n(G),K=0,W=function(e){function t(){var e;return o()(this,t),e=u()(this,h()(t).apply(this,arguments)),v()(m()(e),"addPoint",(function(t){var n=e.props,r=n.attributes,i=n.setAttributes,a=r.points,o=a.slice(0),c=!1;a.map((function(e){e.id===t.id&&(c=!0)})),c||(o.push(t),i({points:o}),e.setState({addPointVisibility:!1}))})),v()(m()(e),"updateAlignment",(function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)})),v()(m()(e),"updateAPIKeyControl",(function(t){e.setState({apiKeyControl:t})})),v()(m()(e),"updateAPIKey",(function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")})),v()(m()(e),"removeAPIKey",(function(){e.apiCall(null,"DELETE")})),v()(m()(e),"onError",(function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)})),e.state={addPointVisibility:!1,apiState:K},e.mapRef=Object(y.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,i=this.state.apiKey,a="/wpcom/v2/service-api-keys/mapbox",o=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},(function(){_()(o).then((function(t){r.removeAllNotices(),e.setState({apiState:t.service_api_key?2:1,apiKey:t.service_api_key,apiKeyControl:t.service_api_key,apiRequestOutstanding:!1})}),(function(t){e.onError(null,t.message),e.setState({apiRequestOutstanding:!1,apiKeyControl:i})}))}))}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,a=t.attributes,o=t.noticeUI,c=t.notices,s=a.mapStyle,l=a.mapDetails,u=a.points,p=a.zoom,h=a.mapCenter,d=a.markerColor,m=a.align,f=a.preview,b=this.state,g=b.addPointVisibility,v=b.apiKey,j=b.apiKeyControl,_=b.apiState,C=b.apiRequestOutstanding,E=Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.BlockControls,null,Object(y.createElement)(w.BlockAlignmentToolbar,{value:m,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(y.createElement)(O.Toolbar,null,Object(y.createElement)(O.IconButton,{icon:i.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(y.createElement)(w.InspectorControls,null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(y.createElement)(U,{value:s,onChange:function(e){return r({mapStyle:e})},options:i.a.mapStyleOptions}),Object(y.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:l,onChange:function(e){return r({mapDetails:e})}})),Object(y.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),u.length?Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(y.createElement)(q,{points:u,onChange:function(e){r({points:e})}})):null,Object(y.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(y.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:j,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(y.createElement)(O.ButtonGroup,null,Object(y.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(y.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),x=Object(y.createElement)(O.Placeholder,{icon:i.a.icon},Object(y.createElement)(O.Spinner,null)),S=Object(y.createElement)(O.Placeholder,{icon:i.a.icon,label:Object(k.__)("Map","jetpack"),notices:c},Object(y.createElement)(y.Fragment,null,Object(y.createElement)("div",{className:"components-placeholder__instructions"},Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(y.createElement)("br",null),Object(y.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(y.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),Object(y.createElement)(O.TextControl,{className:"wp-block-jetpack-map-components-text-control-api-key",disabled:C,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:j,onChange:this.updateAPIKeyControl}),Object(y.createElement)(O.Button,{className:"wp-block-jetpack-map-components-text-control-api-key-submit",isLarge:!0,disabled:C||!j||j.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack")))),A=Object(y.createElement)(y.Fragment,null,E,Object(y.createElement)("div",{className:n},Object(y.createElement)(V.a,{ref:this.mapRef,mapStyle:s,mapDetails:l,points:u,zoom:p,mapCenter:h,markerColor:d,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:v,onSetPoints:function(e){return r({points:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},g&&Object(y.createElement)(L,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:v,onError:this.onError,tagName:"AddPoint"})))),F=Object(y.createElement)("div",null,Object(y.createElement)("img",{alt:Object(k.__)("Map Preview","jetpack"),src:$.a}));return Object(y.createElement)(y.Fragment,null,o,f&&F,!f&&_===K&&x,!f&&1===_&&S,!f&&2===_&&A)}}]),t}(y.Component),Z=Object(O.withNotices)(W),J=function(e){function t(){return o()(this,t),u()(this,h()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,i=e.points,a=e.zoom,o=e.mapCenter,c=e.markerColor,s=i.map((function(e,t){var n=e.coordinates,r=n.longitude,i="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(y.createElement)("li",{key:t},Object(y.createElement)("a",{href:i},e.title))})),l=t?"align".concat(t):null;return Object(y.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(i),"data-zoom":a,"data-map-center":JSON.stringify(o),"data-marker-color":c},i.length>0&&Object(y.createElement)("ul",null,s))}}]),t}(y.Component),Y=(n(87),n(149),i.a.name),Q={title:i.a.title,icon:i.a.icon,category:i.a.category,keywords:i.a.keywords,description:i.a.description,attributes:i.a.attributes,supports:i.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==i.a.validAlignments.indexOf(t))return{"data-align":t}},edit:Z,save:J,example:i.a.example};Object(r.a)(Y,Q)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(15),a=n.n(i),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(139),n(7)),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),j=n.n(y),_=n(10),k=n.n(_),O=n(12),w=n.n(O),C=n(43),E=n.n(C),x=n(14),S=n(42),A=n(19),F=n(40),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],T=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeSubject=n.onChangeSubject.bind(j()(n)),n.onBlurTo=n.onBlurTo.bind(j()(n)),n.onChangeTo=n.onChangeTo.bind(j()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(j()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(j()(n)),n.getToValidationError=n.getToValidationError.bind(j()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(j()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(j()(n)),n.hasEmailError=n.hasEmailError.bind(j()(n));var o=(i[0].attributes.to?i[0].attributes.to:"").split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:o&&o.length?o:null},n}return k()(t,e),m()(t,[{key:"getIntroMessage",value:function(){return Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")}},{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!E.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map((function(e){return e.email}));return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,i=r.subject,a=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:a,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(S.a,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(S.a,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:i,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"renderConfirmationMessageFields",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes,r=n.customThankyou,i=n.customThankyouMessage,a=n.customThankyouRedirect;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.SelectControl,{label:Object(c.__)("On Submission","jetpack"),value:r,options:[{label:Object(c.__)("Show a summary of submitted fields","jetpack"),value:""},{label:Object(c.__)("Show a custom text message","jetpack"),value:"message"},{label:Object(c.__)("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:function(t){return e.props.setAttributes({customThankyou:t})}}),"message"===r&&Object(o.createElement)(l.TextareaControl,{label:Object(c.__)("Message Text","jetpack"),value:i,placeholder:Object(c.__)("Thank you for your submission!","jetpack"),onChange:function(t){return e.props.setAttributes({customThankyouMessage:t})}}),"redirect"===r&&Object(o.createElement)(l.BaseControl,{label:Object(c.__)("Redirect Address","jetpack"),id:"contact-form-".concat(t,"-thankyou-url")},Object(o.createElement)(u.URLInput,{id:"contact-form-".concat(t,"-thankyou-url"),value:a,className:"jetpack-contact-form__thankyou-redirect-url",onChange:function(t){return e.props.setAttributes({customThankyouRedirect:t})}})))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email Feedback Settings","jetpack")},this.renderToAndSubjectFields()),Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Confirmation Message","jetpack")},this.renderConfirmationMessageFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"}))},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},this.getIntroMessage()),this.renderToAndSubjectFields(),Object(o.createElement)("p",{className:"jetpack-contact-form__intro-message"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isPrimary:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(F.a,this.props)))}}]),t}(o.Component),M=Object(x.compose)([x.withInstanceId])(T),N=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,i=e.isSelected,a=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),i&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:a,onChange:function(e){return t({required:e})}}),!i&&a&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var z=function(e){var t=e.isSelected,n=e.type,r=e.required,i=e.label,a=e.setAttributes,s=e.defaultValue,p=e.placeholder,h=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(N,{required:r,label:i,setAttributes:a,isSelected:t}),placeholder:p,value:p,onChange:function(e){return a({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return a({id:e})}}))))};var D=function(e){var t=e.required,n=e.label,r=e.setAttributes,i=e.isSelected,a=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(N,{required:t,label:n,setAttributes:r,isSelected:i}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:a,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},R=Object(x.withInstanceId)((function(e){var t=e.instanceId,n=e.required,r=e.label,i=e.setAttributes,a=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(N,{required:n,label:r,setAttributes:i,isSelected:a}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return i({id:e})}}))))})})),I=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(j()(n)),n.onKeyPress=n.onKeyPress.bind(j()(n)),n.onDeleteOption=n.onDeleteOption.bind(j()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),L=function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(i)))).onChangeOption=n.onChangeOption.bind(j()(n)),n.addNewOption=n.addNewOption.bind(j()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,i=t.required,a=t.label,s=t.setAttributes,p=t.isSelected,h=t.id,d=this.props.options,m=this.state.inFocus;return d.length||(d=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(N,{required:i,label:a,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},d.map((function(t,r){return Object(o.createElement)(I,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})}))),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:h,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),B=Object(x.withInstanceId)(L),q={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact form","block search term","jetpack")],category:"jetpack",supports:{html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},customThankyou:{type:"string",default:""},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:M,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},example:{attributes:{hasFormSettingsSet:!0,submitButtonText:Object(c.__)("Submit","jetpack")},innerBlocks:[{name:"jetpack/field-name",attributes:{label:Object(c.__)("Name","jetpack"),required:!0}},{name:"jetpack/field-email",attributes:{label:Object(c.__)("Email","jetpack"),required:!0}},{name:"jetpack/field-url",attributes:{label:Object(c.__)("Website","jetpack")}},{name:"jetpack/field-textarea",attributes:{label:Object(c.__)("Message","jetpack")}}]},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!!(e.has_form_settings_set||e.submit_button_text&&"Submit"!==e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},V={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},H=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},U=function(e){return function(t){return Object(o.createElement)(z,{type:e,label:H(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},G=function(e){return function(t){return Object(o.createElement)(B,{label:H(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},$=[{name:"field-text",settings:a()({},V,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:U("text")})},{name:"field-name",settings:a()({},V,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:U("text")})},{name:"field-email",settings:a()({},V,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:U("email")})},{name:"field-url",settings:a()({},V,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:U("url")})},{name:"field-date",settings:a()({},V,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:U("text")})},{name:"field-telephone",settings:a()({},V,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:U("tel")})},{name:"field-textarea",settings:a()({},V,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(D,{label:H(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:a()({},V,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(R,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:a()({},V.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:a()({},V,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:G("checkbox"),attributes:a()({},V.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:a()({},V,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:G("radio"),attributes:a()({},V.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:a()({},V,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:G("select"),attributes:a()({},V.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",q,$)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],s=n(26),l=n(7),u=n.n(l),p=n(11),h=n.n(p),d=n(8),m=n.n(d),f=n(9),b=n.n(f),g=n(4),v=n.n(g),y=n(10),j=n.n(y),_=n(3),k=n.n(_),O=n(12),w=n.n(O),C=n(43),E=n.n(C),x=n(14),S=n(13),A=n(5),F=n(45),P=n(42),T=(n(219),n(111)),M=n.n(T),N=n(112),z=n.n(N),D=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,h=void 0===p?null:p,d=e.featuredMediaTitle,m=void 0===d?null:d;return Object(i.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(i.createElement)("div",{className:"jetpack-simple-payments-product"},h&&Object(i.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(i.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(i.createElement)("img",{src:h,alt:m}))),Object(i.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(i.createElement)("div",{className:"jetpack-simple-payments-title"},Object(i.createElement)("p",null,n)),o&&Object(i.createElement)("div",{className:"jetpack-simple-payments-description"},Object(i.createElement)("p",null,o)),s&&Object(i.createElement)("div",{className:"jetpack-simple-payments-price"},Object(i.createElement)("p",null,s)),Object(i.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(i.createElement)("div",{className:"jetpack-simple-payments-items"},Object(i.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(i.createElement)("div",{className:"jetpack-simple-payments-button"},Object(i.createElement)("img",{alt:Object(a.__)("Pay with PayPal","jetpack"),src:M.a,srcSet:"".concat(z.a," 2x")}))))))},R=n(6),I=n(49),L=function(e){return function(t){return e({featuredMediaId:Object(A.get)(t,"id",0),featuredMediaUrl:Object(A.get)(t,"url",null),featuredMediaTitle:Object(A.get)(t,"title",null)})}},B=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(i.createElement)("div",null,Object(i.createElement)(i.Fragment,null,Object(i.createElement)(R.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(R.MediaUpload,{onSelect:L(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(i.createElement)(I.a,{label:Object(a.__)("Edit Image","jetpack"),onClick:t})}}),Object(i.createElement)(o.ToolbarButton,{icon:"trash",title:Object(a.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(i.createElement)("figure",null,Object(i.createElement)("img",{src:n,alt:r})))):Object(i.createElement)(R.MediaPlaceholder,{icon:"format-image",labels:{title:Object(a.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:L(c)})},q=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},V=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(F.a)(t),i=r.precision,a=r.symbol,o=e.toFixed(i);return n?"".concat(o," ").concat(Object(A.trimEnd)(a,".")):o},H=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(i))),k()(v()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),k()(v()(n),"validateAttributes",(function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),i=n.validateCurrency();return e&&t&&r&&i})),k()(v()(n),"validateCurrency",(function(){var e=n.props.attributes.currency;return c.includes(e)})),k()(v()(n),"validatePrice",(function(){var e=n.props.attributes,t=e.currency,r=e.price,i=Object(F.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(a.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(a.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):q(r)>i?0===i?(n.setState({fieldPriceError:Object(a.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(a.sprintf)(Object(a._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",i,"jetpack"),i)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(a.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),k()(v()(n),"validateEmail",(function(){var e=n.props.attributes.email;return e?E.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(a.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),k()(v()(n),"validateTitle",(function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(a.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),k()(v()(n),"handleEmailChange",(function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})})),k()(v()(n),"handleFeaturedMediaSelect",(function(e){n.props.setAttributes({featuredMediaId:Object(A.get)(e,"id",0)})})),k()(v()(n),"handleContentChange",(function(e){n.props.setAttributes({content:e})})),k()(v()(n),"handlePriceChange",(function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})})),k()(v()(n),"handleCurrencyChange",(function(e){n.props.setAttributes({currency:e})})),k()(v()(n),"handleMultipleChange",(function(e){n.props.setAttributes({multiple:!!e})})),k()(v()(n),"handleTitleChange",(function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})})),k()(v()(n),"getCurrencyList",c.map((function(e){var t=Object(F.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}}))),n}return j()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(A.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.content,a=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(A.get)(e,["content","raw"],i),currency:Object(A.get)(e,["meta","spay_currency"],a),email:Object(A.get)(e,["meta","spay_email"],o),featuredMediaId:Object(A.get)(e,["featured_media"],c),multiple:Boolean(Object(A.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(e,["meta","spay_price"],l||void 0),title:Object(A.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,i=e.featuredMediaId,a=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:i,meta:{spay_currency:n,spay_email:r,spay_multiple:a,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,i=n.email,o=Object(S.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},(function(){o("postType","jp_pay_product",e.toApi()).then((function(e){return e&&r({productId:e.id}),e})).catch((function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(a.sprintf)(Object(a.__)("%s is not a valid email address.","jetpack"),i):null,fieldPriceError:"spay_price"===n?Object(a.__)("Invalid price.","jetpack"):null})}})).finally((function(){e.setState({isSavingProduct:!1})}))}))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,h=c.setAttributes,d=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,y=s.featuredMediaTitle,j=s.multiple,_=s.price,k=s.productId,O=s.title,C=v||l&&l.source_url,E=y||l&&l.alt_text,x=k&&Object(A.isEmpty)(d);if(!p&&x)return Object(i.createElement)("div",{className:"simple-payments__loading"},Object(i.createElement)(D,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&_&&O&&!t&&!n&&!r)return Object(i.createElement)(D,{"aria-busy":"false",content:m,featuredMediaUrl:C,featuredMediaTitle:E,formattedPrice:V(_,f),multiple:j,title:O});var S=x?o.Disabled:"div";return Object(i.createElement)(S,{className:"wp-block-jetpack-simple-payments"},Object(i.createElement)(B,{featuredMediaId:g,featuredMediaUrl:C,featuredMediaTitle:E,setAttributes:h}),Object(i.createElement)("div",null,Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:w()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(a.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(a.__)("Item name","jetpack"),required:!0,type:"text",value:O}),Object(i.createElement)(P.a,{id:"".concat(u,"-title-error"),isError:!0},r),Object(i.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(a.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(a.__)("Describe your item in a few words","jetpack"),value:m}),Object(i.createElement)("div",{className:"simple-payments__price-container"},Object(i.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(a.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:w()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(a.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:V(0,f,!1),required:!0,step:"1",type:"number",value:_||""}),Object(i.createElement)(P.a,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(i.createElement)("div",{className:"simple-payments__field-multiple"},Object(i.createElement)(o.ToggleControl,{checked:Boolean(j),label:Object(a.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(i.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:w()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(a.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(a.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(i.createElement)(P.a,{id:"".concat(u,"-email-error"),isError:!0},t),Object(i.createElement)(P.a,{id:"".concat(u,"-email-help")},Object(a.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(i.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(a.__)("Create one on PayPal","jetpack")))))}}]),t}(i.Component),U=Object(S.withSelect)((function(e,t){var n=e("core"),r=n.getEntityRecord,i=n.getMedia,a=e("core/editor"),o=a.isSavingPost,c=a.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(A.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(A.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?i(u):null}})),G=Object(x.compose)(U,x.withInstanceId)(H);var $=n(113),K=n.n($),W=(n(220),Object(s.b)()||Object(s.a)()?"https://support.wordpress.com/simple-payments/":"https://jetpack.com/support/jetpack-blocks/simple-payments-block/"),Z={title:Object(a.__)("Simple Payments button","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),Object(i.createElement)("p",null,Object(a.__)("Good for collecting donations or payments for products and services.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:W},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(a._x)("shop","block search term","jetpack"),Object(a._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:G,save:function(e){var t=e.attributes.productId;return t?Object(i.createElement)(i.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},example:{attributes:{price:25,title:Object(a.__)("Jetpack t-shirt","jetpack"),content:Object(a.__)("Take flight in ultimate comfort with ths stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:K.a}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",Z)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(15),s=n.n(c),l=n(21),u=n.n(l),p=n(7),h=n.n(p),d=n(11),m=n.n(d),f=n(8),b=n.n(f),g=n(9),v=n.n(g),y=n(4),j=n.n(y),_=n(10),k=n.n(_),O=n(3),w=n.n(O),C=n(14),E=n(5),x=n(24),S=n(13),A=n(6),F=n(49),P=function(e){var t=e.allowedMediaTypes,n=e.attributes,r=n.autoplay,c=n.delay,s=n.effect,l=n.images,u=n.sizeSlug,p=e.imageSizeOptions,h=e.onChangeImageSize,d=e.onSelectImages,m=e.setAttributes,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=[{label:Object(a._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(a._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(A.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Autoplay","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Autoplay","jetpack"),help:Object(a.__)("Autoplay between slides","jetpack"),checked:r,onChange:function(e){m({autoplay:e})}}),r&&Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Delay between transitions (in seconds)","jetpack"),value:c,onChange:function(e){m({delay:e})},min:1,max:5}),r&&f&&Object(i.createElement)("span",null,Object(a.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Effects","jetpack")},Object(i.createElement)(o.SelectControl,{label:Object(a.__)("Transition effect","jetpack"),value:s,onChange:function(e){m({effect:e})},options:b})),!Object(E.isEmpty)(l)&&!Object(E.isEmpty)(p)&&Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Image Settings","jetpack")},Object(i.createElement)(o.SelectControl,{label:Object(a.__)("Image Size","jetpack"),value:u,options:p,onChange:h}))),Object(i.createElement)(A.BlockControls,null,!!l.length&&Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(A.MediaUpload,{onSelect:d,allowedTypes:t,multiple:!0,gallery:!0,value:l.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(i.createElement)(F.a,{label:Object(a.__)("Edit Slideshow","jetpack"),onClick:t})}}))))},T=n(12),M=n.n(T),N=n(38),z=n(67),D=n(36),R=function(e){function t(e){var n;return h()(this,t),n=b()(this,v()(t).call(this,e)),w()(j()(n),"pendingRequestAnimationFrame",null),w()(j()(n),"resizeObserver",null),w()(j()(n),"initializeResizeObserver",(function(e){n.clearResizeObserver(),n.resizeObserver=new N.a((function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame((function(){Object(D.d)(e),e.update()}))})),n.resizeObserver.observe(e.el)})),w()(j()(n),"clearPendingRequestAnimationFrame",(function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)})),w()(j()(n),"clearResizeObserver",(function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)})),w()(j()(n),"prefersReducedMotion",(function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches})),w()(j()(n),"buildSwiper",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(Object(z.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:D.b,imagesReady:D.d,paginationRender:D.c,transitionEnd:D.a}))})),n.slideshowRef=Object(i.createRef)(),n.btnNextRef=Object(i.createRef)(),n.btnPrevRef=Object(i.createRef)(),n.paginationRef=Object(i.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then((function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})).catch((function(){t(Object(a.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,i=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(i===e.align&&Object(E.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((function(e){n.swiperInstance=e,n.initializeResizeObserver(e)})).catch((function(){u(Object(a.__)("The Swiper library could not be loaded.","jetpack"))})))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,a=e.effect,c=e.images;return Object(i.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":a},Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(i.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},c.map((function(e){var t=e.alt,n=e.caption,r=e.id,a=e.url;return Object(i.createElement)("li",{className:M()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(a)&&"is-transient"),key:r},Object(i.createElement)("figure",null,Object(i.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:a}),Object(x.isBlobURL)(a)&&Object(i.createElement)(o.Spinner,null),n&&Object(i.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(i.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(i.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(i.Component);w()(R,"defaultProps",{effect:"slide"});var I=R,L=(n(221),["image"]),B=function(e,t){var n=Object(E.pick)(e,["alt","id","link","caption"]);return n.url=Object(E.get)(e,["sizes",t,"url"])||Object(E.get)(e,["media_details","sizes",t,"source_url"])||e.url,n},q=function(e){function t(){var e;return h()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(j()(e),"onSelectImages",(function(t){var n=e.props.attributes.sizeSlug,r=t.map((function(e){return B(e,n)}));e.setAttributes({images:r})})),w()(j()(e),"onRemoveImage",(function(t){return function(){var n=Object(E.filter)(e.props.attributes.images,(function(e,n){return t!==n}));e.setState({selectedImage:null}),e.setAttributes({images:n})}})),w()(j()(e),"addFiles",(function(t){var n=e.props.attributes.images||[],r=e.props.attributes.sizeSlug,i=e.props,a=i.lockPostSaving,o=i.unlockPostSaving,c=i.noticeOperations;a("slideshowBlockLock"),Object(A.mediaUpload)({allowedTypes:L,filesList:t,onFileChange:function(t){var i=t.map((function(e){return B(e,r)}));e.setAttributes({images:[].concat(u()(n),u()(i))}),i.every((function(e){return Object(x.isBlobURL)(e.url)}))||o("slideshowBlockLock")},onError:c.createErrorNotice})})),w()(j()(e),"uploadFromFiles",(function(t){return e.addFiles(t.target.files)})),w()(j()(e),"updateImagesSize",(function(t){var n=e.props.attributes.images,r=e.props.resizedImages,i=n.map((function(e){var n=r.find((function(t){var n=t.id;return parseInt(n,10)===parseInt(e.id,10)})),i=Object(E.get)(n,["sizes",t,"source_url"]);return s()({},e,{},i&&{url:i})}));e.setAttributes({images:i,sizeSlug:t})})),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.ids;e.sizeSlug||this.setAttributes({sizeSlug:t.length?"full":"large"})}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(E.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.noticeOperations,l=t.noticeUI,u=n.align,p=n.autoplay,h=n.delay,d=n.effect,m=n.images,f=this.getImageSizeOptions(),b=Object(i.createElement)(P,{allowedMediaTypes:L,attributes:n,imageSizeOptions:f,onChangeImageSize:this.updateImagesSize,onSelectImages:this.onSelectImages,setAttributes:function(t){return e.setAttributes(t)}});return 0===m.length?Object(i.createElement)(i.Fragment,null,b,Object(i.createElement)(A.MediaPlaceholder,{icon:Object(i.createElement)(A.BlockIcon,{icon:Q}),className:r,labels:{title:Object(a.__)("Slideshow","jetpack"),instructions:Object(a.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:L,multiple:!0,notices:l,onError:s.createErrorNotice})):Object(i.createElement)(i.Fragment,null,b,l,Object(i.createElement)(I,{align:u,autoplay:p,className:r,delay:h,effect:d,images:m,onError:s.createErrorNotice}),Object(i.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),c&&Object(i.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(i.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(a.__)("Upload an image","jetpack"))))}}]),t}(i.Component),V=Object(C.compose)(Object(S.withSelect)((function(e,t){return{imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce((function(t,n){var r=e("core").getMedia(n),i=Object(E.get)(r,["media_details","sizes"]);return[].concat(u()(t),[{id:n,sizes:i}])}),[])}})),Object(S.withDispatch)((function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}})),o.withNotices)(q),H=n(16);function U(e){return Object(E.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var G={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return U(e).length>0},transform:function(e){var t=U(e);return Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=U(e.images);return t.length>0?Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))}):Object(H.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(H.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map((function(e){var t=e.id,n=e.url,r=e.alt,i=e.caption;return Object(H.createBlock)("core/image",{id:t,url:n,alt:r,caption:i})})):Object(H.createBlock)("core/image")}}]},$=n(114),K=n.n($),W=n(115),Z=n.n(W),J=n(116),Y=n.n(J),Q=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(i.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),X={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:K.a},{alt:"",caption:"",id:23,url:Z.a},{alt:"",caption:"",id:23,url:Y.a}],effect:"slide"},ee={title:Object(a.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(a._x)("image","block search term","jetpack"),Object(a._x)("gallery","block search term","jetpack"),Object(a._x)("slider","block search term","jetpack")],description:Object(a.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:Q,edit:V,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,a=t.delay,o=t.effect,c=t.images,s=e.className;return Object(i.createElement)(I,{align:n,autoplay:r,className:s,delay:a,effect:o,images:c})},transforms:G,example:{attributes:X}};Object(r.a)("slideshow",ee)},function(e,t,n){"use strict";n.r(t);var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(15),s=n.n(c),l=n(24),u=n(16),p=n(6),h=n(60),d=n(5),m=n(30),f=n.n(m),b=n(7),g=n.n(b),v=n(11),y=n.n(v),j=n(8),_=n.n(j),k=n(9),O=n.n(k),w=n(4),C=n.n(w),E=n(10),x=n.n(E),S=n(3),A=n.n(S),F=n(0),P=n(23),T=n.n(P),M=n(2),N=n(14),z=n(13),D=n(1),R=n(12),I=n.n(R),L=function(e){var t=e.text;return Object(F.createElement)("div",{className:"wp-block-embed is-loading"},Object(F.createElement)(M.Spinner,null),Object(F.createElement)("p",null,t))},B=n(28),q=function(e,t){var n=t.autoplay,r=t.controls,i=t.loop,a=t.muted,o=t.poster,c=t.preload;if(!e)return null;var l=s()({},n&&{autoPlay:!0},{},!r&&{controls:!1},{},i&&{loop:!0},{},a&&{muted:!0,persistVolume:!1},{},o&&{posterUrl:o},{},"none"!==c&&{preloadContent:c});return Object(B.addQueryArgs)("https://videopress.com/v/".concat(e),l)},V=["image"],H=Object(N.createHigherOrderComponent)(Object(N.compose)([Object(z.withSelect)((function(e,t){var n=t.attributes,r=n.autoplay,i=n.controls,a=n.guid,o=n.loop,c=n.muted,s=n.poster,u=n.preload,p=n.src,h=e("core"),d=h.getEmbedPreview,m=h.isRequestingEmbedPreview,f=q(a,{autoplay:r,controls:i,loop:o,muted:c,poster:s,preload:u}),b=!!f&&d(f);return{isFetchingPreview:!!f&&m(f),isUploading:Object(l.isBlobURL)(p),preview:b,url:f}})),Object(z.withDispatch)((function(e){return{invalidateCachedEmbedPreview:function(t){e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}})),N.withInstanceId,function(e){return function(t){function n(){var e;return g()(this,n),e=_()(this,O()(n).apply(this,arguments)),A()(C()(e),"fallbackToCore",(function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})})),A()(C()(e),"setGuid",f()(regeneratorRuntime.mark((function t(){var n,r,i,a,o,c,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props,r=n.attributes,i=n.setAttributes,a=r.id){t.next=5;break}return i({guid:void 0}),t.abrupt("return");case 5:return t.prev=5,e.setState({isFetchingMedia:!0}),t.next=9,T()({path:"/wp/v2/media/".concat(a)});case 9:if(o=t.sent,e.setState({isFetchingMedia:!1}),c=e.props.attributes.id,a===c){t.next=14;break}return t.abrupt("return");case 14:e.setState({media:o}),(s=Object(d.get)(o,"jetpack_videopress_guid"))?i({guid:s}):e.fallbackToCore(),t.next=23;break;case 19:t.prev=19,t.t0=t.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return t.stop()}}),t,null,[[5,19]])})))),A()(C()(e),"switchToEditing",(function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),A()(C()(e),"onSelectPoster",(function(t){(0,e.props.setAttributes)({poster:t.url})})),A()(C()(e),"onRemovePoster",(function(){(0,e.props.setAttributes)({poster:""}),e.posterImageButton.current.focus()})),A()(C()(e),"toggleAttribute",(function(t){return function(n){e.props.setAttributes(A()({},t,n))}})),A()(C()(e),"getAutoplayHelp",(function(e){return e?Object(D.__)("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null})),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(F.createRef)(),e}return x()(n,t),y()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.invalidateCachedEmbedPreview,i=t.url;n.id!==e.attributes.id&&this.setGuid(),i&&i!==e.url&&r(i)}},{key:"render",value:function(){var t=this,n=this.props,r=n.attributes,i=n.className,a=n.instanceId,o=n.isFetchingPreview,c=n.isSelected,s=n.isUploading,l=n.preview,u=n.setAttributes,h=this.state,d=h.fallback,m=h.isFetchingMedia,f=r.autoplay,b=r.caption,g=r.controls,v=r.loop,y=r.muted,j=r.poster,_=r.preload,k="video-block__poster-image-description-".concat(a),O=Object(F.createElement)(F.Fragment,null,Object(F.createElement)(p.BlockControls,null,Object(F.createElement)(M.Toolbar,null,Object(F.createElement)(M.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(D.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(F.createElement)(p.InspectorControls,null,Object(F.createElement)(M.PanelBody,{title:Object(D.__)("Video Settings","jetpack")},Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Autoplay","jetpack"),onChange:this.toggleAttribute("autoplay"),checked:f,help:this.getAutoplayHelp}),Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Loop","jetpack"),onChange:this.toggleAttribute("loop"),checked:v}),Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:y}),Object(F.createElement)(M.ToggleControl,{label:Object(D.__)("Playback Controls","jetpack"),onChange:this.toggleAttribute("controls"),checked:g}),Object(F.createElement)(M.SelectControl,{label:Object(D.__)("Preload","jetpack"),value:_,onChange:function(e){return u({preload:e})},options:[{value:"auto",label:Object(D._x)("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:Object(D._x)("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:Object(D._x)("None","VideoPress preload setting","jetpack")}]}),Object(F.createElement)(p.MediaUploadCheck,null,Object(F.createElement)(M.BaseControl,{className:"editor-video-poster-control",label:Object(D.__)("Poster Image","jetpack")},Object(F.createElement)(p.MediaUpload,{title:Object(D.__)("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:V,render:function(e){var n=e.open;return Object(F.createElement)(M.Button,{isDefault:!0,onClick:n,ref:t.posterImageButton,"aria-describedby":k},j?Object(D.__)("Replace image","jetpack"):Object(D.__)("Select Poster Image","jetpack"))}}),Object(F.createElement)("p",{id:k,hidden:!0},j?Object(D.sprintf)(Object(D.__)("The current poster image url is %s","jetpack"),j):Object(D.__)("There is no poster image currently selected","jetpack")),!!j&&Object(F.createElement)(M.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(D.__)("Remove Poster Image")))))));if(s)return Object(F.createElement)(F.Fragment,null,O,Object(F.createElement)(L,{text:Object(D.__)("Uploading…","jetpack")}));if(m||o)return Object(F.createElement)(F.Fragment,null,O,Object(F.createElement)(L,{text:Object(D.__)("Generating preview…","jetpack")}));if(d||!l)return Object(F.createElement)(e,this.props);var w=l.html,C=l.scripts;return Object(F.createElement)(F.Fragment,null,O,Object(F.createElement)("figure",{className:I()(i,"wp-block-embed","is-type-video")},Object(F.createElement)(M.Disabled,null,Object(F.createElement)("div",{className:"wp-block-embed__wrapper"},Object(F.createElement)(M.SandBox,{html:w,scripts:C}))),(!p.RichText.isEmpty(b)||c)&&Object(F.createElement)(p.RichText,{tagName:"figcaption",placeholder:Object(D.__)("Write caption…","jetpack"),value:b,onChange:function(e){return u({caption:e})},inlineToolbar:!0})))}}]),n}(F.Component)}]),"withVideoPressEdit"),U=Object(N.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).autoplay,i=n.caption,a=n.controls,o=n.guid,c=n.loop,s=n.muted,l=n.poster,u=n.preload;if(!o)return e(t);var h=q(o,{autoplay:r,controls:a,loop:c,muted:s,poster:l,preload:u});return Object(F.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(F.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(h,"\n")),!p.RichText.isEmpty(i)&&Object(F.createElement)(p.RichText.Content,{tagName:"figcaption",value:i}))}}),"withVideoPressSave"),G=n(41);var $={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:function(e){var t=e.attributes,n=t.caption,r=t.guid;if(!r)return null;var i="https://videopress.com/v/".concat(r);return Object(F.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(F.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(i,"\n")),!p.RichText.isEmpty(n)&&Object(F.createElement)(p.RichText.Content,{tagName:"figcaption",value:n}))},isDeprecation:!0};Object(h.addFilter)("blocks.registerBlockType","jetpack/videopress",(function(e,t){if("core/video"!==t||e.isDeprecation)return e;var n=e.attributes,r=e.deprecated,a=e.edit,c=e.save,h=e.supports,m=e.transforms,f=Object(G.a)("videopress"),b=f.available,g=f.unavailableReason;return b||["missing_plan","missing_module"].includes(g)?s()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:s()({},m,{from:[{type:"files",isMatch:function(e){return Object(d.every)(e,(function(e){return 0===e.type.indexOf("video/")}))},priority:9,transform:function(e,t){var n=[];return e.forEach((function(e){var r=Object(u.createBlock)("core/video",{src:Object(l.createBlobURL)(e)});Object(p.mediaUpload)({filesList:[e],onFileChange:function(e){var n=o()(e,1)[0],i=n.id,a=n.url;t(r.clientId,{id:i,src:a})},allowedTypes:["video"]}),n.push(r)})),n}}]}),supports:s()({},h,{reusable:!1}),edit:H(a),save:U(c),deprecated:[].concat(i()(r||[]),[{attributes:n,isEligible:function(e){return!e.guid},save:c,supports:h,isDeprecation:!0},$])}):e}))},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=(n(138),n(81),n(33)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),h=n.n(p),d=n(8),m=n.n(d),f=n(9),b=n.n(f),g=n(4),v=n.n(g),y=n(10),j=n.n(y),_=n(3),k=n.n(_),O=n(23),w=n.n(O),C=n(12),E=n.n(C),x=n(63),S=n(6),A=n(15),F=n.n(A),P=n(5),T="09:00",M="17:00",N=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(i.createElement)(i.Fragment,{key:t},Object(i.createElement)("div",{className:"business-hours__row"},Object(i.createElement)("div",{className:E()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(i.createElement)("div",{className:E()(r.name,"business-hours__hours")},Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:T,onChange:function(e){n.setHour(e,"opening",t)}}),Object(i.createElement)(o.TextControl,{type:"time",label:Object(a.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:M,onChange:function(e){n.setHour(e,"closing",t)}})),Object(i.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(i.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(i.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(i.createElement)("div",{className:E()(r.name,"business-hours__day")}," "),Object(i.createElement)("div",{className:E()(r.name,"business-hours__hours")},Object(i.createElement)(o.IconButton,{isLink:!0,label:Object(a.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(a.__)("Add Hours","jetpack"))),Object(i.createElement)("div",{className:"business-hours__remove"}," ")))})),k()(v()(n),"setHour",(function(e,t,r){var i=n.props,a=i.day,o=i.attributes;(0,i.setAttributes)({days:o.days.map((function(n){return n.name===a.name?F()({},n,{hours:n.hours.map((function(n,i){return i===r?F()({},n,k()({},t,e)):n}))}):n}))})})),k()(v()(n),"toggleClosed",(function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map((function(t){if(t.name===r.name){var n=e?[{opening:T,closing:M}]:[];return F()({},t,{hours:n})}return t}))})})),k()(v()(n),"addInterval",(function(){var e=n.props,t=e.day,r=e.attributes,i=e.setAttributes,a=r.days;t.hours.push({opening:"",closing:""}),i({days:a.map((function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e}))})})),k()(v()(n),"removeInterval",(function(e){var t=n.props,r=t.day,i=t.attributes;(0,t.setAttributes)({days:i.days.map((function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter((function(t,n){return e!==n}))}):t}))})})),n}return j()(t,e),h()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(i.createElement)(o.ToggleControl,{label:this.isClosed()?Object(a.__)("Closed","jetpack"):Object(a.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(i.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(i.createElement)("div",{className:E()(e.name,"business-hours__day")},this.renderDayToggle()),Object(i.createElement)("div",{className:E()(e.name,"closed","business-hours__hours")}," "),Object(i.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(i.Component),z=n(22),D=n.n(z),R=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day.hours;return Object(i.createElement)("span",{key:t},Object(a.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)),r.length>1+t&&Object(i.createElement)("span",null,", "))})),n}return j()(t,e),h()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=D()(n,2),i=r[0],a=r[1],o=new Date;return!(!i||!a)&&(o.setHours(i),o.setMinutes(a),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter((function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)}));return Object(i.createElement)("div",{className:"jetpack-business-hours__item"},Object(i.createElement)("dt",{className:n.name},r.days[n.name]),Object(i.createElement)("dd",null,Object(P.isEmpty)(o)?Object(a._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval),Object(i.createElement)("br",null)))}}]),t}(i.Component),I={days:{Sun:Object(a.__)("Sunday","jetpack"),Mon:Object(a.__)("Monday","jetpack"),Tue:Object(a.__)("Tuesday","jetpack"),Wed:Object(a.__)("Wednesday","jetpack"),Thu:Object(a.__)("Thursday","jetpack"),Fri:Object(a.__)("Friday","jetpack"),Sat:Object(a.__)("Saturday","jetpack")},startOfWeek:0},L=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(i))),k()(v()(n),"state",{localization:I,hasFetched:!1}),n}return j()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:I},(function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then((function(t){e.setState({localization:t,hasFetched:!0})}),(function(){e.setState({localization:I,hasFetched:!0})}))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,h=u.hasFetched,d=p.startOfWeek,m=l.concat(l.slice(0,d)).slice(d);if(!h)return Object(i.createElement)(o.Placeholder,{icon:Object(i.createElement)(S.BlockIcon,{icon:V}),label:Object(a.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(i.createElement)("dl",{className:E()(r,"jetpack-business-hours")},m.map((function(e,t){return Object(i.createElement)(R,{key:t,day:e,localization:p,timeFormat:f})})))}return Object(i.createElement)("div",{className:E()(r,"is-edit")},m.map((function(t,n){return Object(i.createElement)(N,s()({key:n,day:t,localization:p},e.props))})))}}]),t}(i.Component),B=n(19),q=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],V=Object(B.a)(Object(i.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),H={title:Object(a.__)("Business Hours","jetpack"),description:Object(a.__)("Display opening hours for your business.","jetpack"),icon:V,category:"jetpack",supports:{html:!0},keywords:[Object(a._x)("opening hours","block search term","jetpack"),Object(a._x)("closing time","block search term","jetpack"),Object(a._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:q}},edit:function(e){return Object(i.createElement)(L,e)},save:function(){return null},example:{attributes:{days:q}}};Object(r.a)("business-hours",H)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(6),k=[{height:250,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(a.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(a.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(a.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(i.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(a.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(a.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(i.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(i.createElement)(o.Toolbar,{controls:[{icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(i.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map((function(e){var a=e.tag,c=e.name,s=e.icon;return Object(i.createElement)(o.MenuItem,{className:a===t?"is-active":void 0,icon:s,isSelected:a===t,key:a,onClick:function(){n(a),r()},role:"menuitemcheckbox"},c)})))}})}n(228);var C=n(124),E=n.n(C),x=n(125),S=n.n(x),A=n(126),F=n.n(A),P=n(127),T=n.n(P),M=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(i))),j()(b()(n),"handleHideMobileChange",(function(e){n.props.setAttributes({hideMobile:!!e})})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.isSelected,c=t.format,s=t.hideMobile,l=k.filter((function(e){return e.tag===c}))[0],u=Object(i.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:Boolean(s),label:Object(a.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange});return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(_.BlockControls,null,Object(i.createElement)(w,{value:c,onChange:function(e){return n({format:e})}})),Object(i.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(c)},Object(i.createElement)("div",{className:"jetpack-wordads__ad",style:{width:l.width,height:l.height,backgroundImage:"url( ".concat(function(e){switch(e){case"leaderboard":return S.a;case"mobile_leaderboard":return F.a;case"wideskyscraper":return T.a;default:return E.a}}(c)," )"),backgroundSize:"cover"}}),r&&u))}}]),t}(i.Component),N=Object(a.__)("Ad","jetpack"),z=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),D={title:N,description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Earn income by adding high quality ads to your post","jetpack")),Object(i.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(a.__)("Learn all about WordAds","jetpack"))),icon:z,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"jetpack",keywords:[Object(a.__)("ads","jetpack"),"WordAds",Object(a.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:M,save:function(){return null}};Object(r.a)("wordads",D)},function(e,t,n){"use strict";n.r(t);var r,i=n(17),a=n(1),o=n(0),c=n(5),s=n(6),l=n(2),u=n(29),p=function(e){var t,n=e.id,r=e.setRating,i=e.children;return Object(o.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(t=n,function(e){return e.keyCode===u.ENTER?r(t):null}),onClick:function(e){return function(){return r(e)}}(n)},i)},h=(n(206),n(96),{title:"Star Rating",description:Object(a.__)("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:function(){return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}))},keywords:[Object(a._x)("star","block search term","jetpack"),Object(a._x)("rating","block search term","jetpack"),Object(a._x)("review","block search term","jetpack")],category:"jetpack",example:{},styles:[{name:"filled",label:Object(a._x)("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:Object(a._x)("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:function(e){return function(t){var n=t.className,r=t.setAttributes,i=t.attributes,u=i.align,h=i.color,d=i.rating,m=i.maxRating,f=function(e){e===d&&Math.ceil(d)===d&&(e-=.5),r({rating:e})};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.AlignmentToolbar,{value:u,onChange:function(e){return r({align:e})}})),Object(o.createElement)("div",{className:n,style:{textAlign:u}},Object(c.range)(1,m+1).map((function(t){return Object(o.createElement)(p,{key:t,id:t,setRating:f},Object(o.createElement)("span",null,Object(o.createElement)(e,{className:d>=t-.5?null:"is-rating-unfilled",color:h})),Object(o.createElement)("span",null,Object(o.createElement)(e,{className:d>=t?null:"is-rating-unfilled",color:h})))}))),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(a.__)("Settings","jetpack")},Object(o.createElement)(l.RangeControl,{label:Object(a.__)("Highest rating","jetpack"),value:m,onChange:function(e){return r({maxRating:e})},min:2,max:10}),Object(o.createElement)(s.PanelColorSettings,{title:Object(a.__)("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:h,onChange:function(e){return r({color:e})},label:Object(a.__)("Color","jetpack")}]}))))}}((function(e){var t=function(e){return e&&e.color?e.color:"currentColor"}(e),n=function(e){return e&&e.className?e.className:""}(e);return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},Object(o.createElement)(l.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))})),save:(r="★",function(e){var t=e.className,n=e.attributes,i=n.align,a=n.rating,s=n.color;return Object(o.createElement)("figure",{className:t,style:{textAlign:i}},Object(c.range)(1,a+1).map((function(e){return Object(o.createElement)("span",{key:e,style:{color:s}},r)})))})});Object(i.a)("rating-star",h)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=(n(150),n(26)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(6),O=n(14),w=n(13),C=n(105),E=new(n.n(C).a),x=function(e){"A"===e.target.nodeName&&(window.confirm(Object(a.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(i.createElement)(i.RawHTML,{className:t,onClick:x},r.length?E.render(r):"")},A="editor",F=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"input",null),_()(g()(n),"state",{activePanel:A}),_()(g()(n),"bindInput",(function(e){n.input=e})),_()(g()(n),"updateSource",(function(e){return n.props.setAttributes({source:e})})),_()(g()(n),"handleKeyDown",(function(e){var t=n.props,r=t.attributes,i=t.removeBlock,a=r.source;8===e.keyCode&&""===a&&(i(),e.preventDefault())})),_()(g()(n),"toggleMode",(function(e){return function(){return n.setState({activePanel:e})}})),n}return y()(t,e),p()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode(A)(),!e.isSelected&&this.props.isSelected&&this.state.activePanel===A&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(i.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(i.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(i.createElement)("p",{className:"".concat(n,"__placeholder")},Object(a.__)("Write your _Markdown_ **here**…","jetpack")):Object(i.createElement)("div",{className:n},Object(i.createElement)(k.BlockControls,null,Object(i.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton(A,Object(a.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(a.__)("Preview","jetpack")))),"preview"!==c&&r?Object(i.createElement)(k.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(a.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(i.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(i.Component),P=Object(O.compose)([Object(w.withSelect)((function(e){return{currentBlockId:e("core/block-editor").getSelectedBlockClientId()}})),Object(w.withDispatch)((function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/block-editor").removeBlocks(n)}}}))])(F),T=Object(a.__)("Try Markdown","jetpack"),M=Object(a.__)("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),N=Object(c.b)()||Object(c.a)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",z={title:Object(a.__)("Markdown","jetpack"),description:Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,Object(a.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(i.createElement)(o.ExternalLink,{href:N},Object(a.__)("Support reference","jetpack"))),icon:Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(i.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(i.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(a._x)("formatting","block search term","jetpack"),Object(a._x)("syntax","block search term","jetpack"),Object(a._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:P,save:function(e){var t=e.attributes,n=e.className;return Object(i.createElement)(S,{className:n,source:t.source})},example:{attributes:{source:"## ## ".concat(T,"\n\n").concat(M)}}};Object(r.a)("markdown",z)},function(e,t,n){"use strict";n.r(t);n(32);var r=n(21),i=n.n(r),a=n(0),o=n(16),c=n(54);Object(o.setCategories)([].concat(i()(Object(o.getCategories)().filter((function(e){return"jetpack"!==e.slug}))),[{slug:"jetpack",title:"Jetpack",icon:Object(a.createElement)(c.a,null)}]));var s=n(15),l=n.n(s),u=n(30),p=n.n(u),h=n(23),d=n.n(h),m=n(13),f=n(1),b=(n(80),n(27)),g=n(35),v=n(26);function y(){var e=Object(g.a)();return void 0!==typeof window&&window.location&&e?Object(v.b)()||Object(v.a)()?"https://wordpress.com/plans/my-plan/".concat(e):"".concat(window.location.protocol,"//").concat(e.replace("::","/"),"/wp-admin/admin.php?page=jetpack#/my-plan"):null}if(p()(regeneratorRuntime.mark((function e(){var t,n,r,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===typeof window||!window.location){e.next=16;break}if(t=Object(b.parse)(window.location.href,!0),!t.query.plan_upgraded){e.next=16;break}if(n=null,e.prev=4,!Object(v.b)()){e.next=7;break}return e.abrupt("break",16);case 7:return e.next=9,d()({path:"/jetpack/v4/site"});case 9:r=e.sent,i=JSON.parse(r.data),n=i.plan.product_name;case 12:return e.prev=12,a=y(),Object(m.dispatch)("core/notices").createNotice("success",n?Object(f.sprintf)(Object(f.__)("Congratulations! Your site is now on the %s plan.","jetpack"),n):Object(f.__)("Congratulations! Your site is now on a paid plan.","jetpack"),l()({isDismissible:!0},a&&{actions:[{url:y(),label:Object(f.__)("View my plan","jetpack")}]})),e.finish(12);case 16:case"end":return e.stop()}}),e,null,[[4,,12,16]])})))(),void 0!==typeof window&&window.location){var j=Object(b.parse)(window.location.href,!0).query;j.stripe_connect_success?Object(m.dispatch)("core/notices").createNotice("success",Object(f.__)("Congrats! Your site is now connected to Stripe. You can start making money by adding your first subscription!","jetpack")):j.stripe_connect_cancelled&&Object(m.dispatch)("core/notices").createNotice("error",Object(f.__)("You cancelled connecting your site to Stripe.","jetpack"))}var _=n(51);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){var k=window.Jetpack_Editor_Initial_State.tracksUserData,O=k.userid,w=k.username;_.a.initialize(O,w,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(2),o=n(1),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(12),k=n.n(_),O=n(40),w=n(23),C=n.n(w),E=n(5),x=n(45),S=n(50),A=n(28),F=n(14),P=n(13),T=n(6),M=n(41),N=n(61),z=n.n(N),D=n(51),R=n(62),I=(n(207),function(e){var t=e.stripeConnectUrl;return Object(i.createElement)(R.a,{buttonLabel:Object(o.__)("Connect","jetpack"),icon:Object(i.createElement)(z.a,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:t,onClick:function(e){D.a.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:e})},title:Object(o.__)("Connect to Stripe to use this block on your site","jetpack"),subtitle:Object(o.__)("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}),L=0,B=1,q=2,V=0,H=1,U=2,G=function(e){function t(){var e;s()(this,t),e=h()(this,m()(t).apply(this,arguments)),j()(b()(e),"componentDidMount",(function(){e.apiCall()})),j()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),j()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};C()(t).then((function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:q}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,i=t.should_upgrade_to_access_memberships,a=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?B:q;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:i,upgradeURL:a,siteSlug:o})}),(function(t){var n=q;e.setState({connected:n,connectURL:null}),e.onError(t.message)}))})),j()(b()(e),"getCurrencyList",Z.map((function(e){var t=Object(x.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(E.trimEnd)(t,"."))}}))),j()(b()(e),"handleCurrencyChange",(function(t){return e.setState({editedProductCurrency:t})})),j()(b()(e),"handleRenewIntervalChange",(function(t){return e.setState({editedProductRenewInterval:t})})),j()(b()(e),"handlePriceChange",(function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})})),j()(b()(e),"handleTitleChange",(function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})})),j()(b()(e),"saveProduct",(function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:U});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};C()(t).then((function(t){e.setState({addingMembershipAmount:V,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)}),(function(t){e.setState({addingMembershipAmount:H}),e.onError(t.message)}))}else e.setState({editedProductTitleValid:!1})})),j()(b()(e),"renderAmount",(function(e){var t=Object(S.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)})),j()(b()(e),"renderAddMembershipAmount",(function(t){return e.state.addingMembershipAmount!==V||t?e.state.addingMembershipAmount!==U?Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"membership-button__price-container"},Object(i.createElement)(a.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(i.createElement)(a.TextControl,{label:Object(o.__)("Price","jetpack"),className:k()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(S.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(i.createElement)(a.TextControl,{className:k()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(i.createElement)("div",null,Object(i.createElement)(a.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:e.saveProduct},Object(o.__)("Add this plan","jetpack")),Object(i.createElement)(a.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:V})}},Object(o.__)("Cancel","jetpack")))):void 0:Object(i.createElement)(a.Button,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:H})}},Object(o.__)("Add a plan","jetpack"))})),j()(b()(e),"getFormattedPriceByProductId",(function(t){var n=e.state.products.filter((function(e){return parseInt(e.id)===parseInt(t)})).pop();return Object(S.a)(parseFloat(n.price),n.currency)})),j()(b()(e),"setMembershipAmount",(function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})})),j()(b()(e),"renderMembershipAmounts",(function(){return Object(i.createElement)("div",null,e.state.products.map((function(t){return Object(i.createElement)(a.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))})))})),j()(b()(e),"renderDisclaimer",(function(){return Object(i.createElement)("div",{className:"membership-button__disclaimer"},Object(i.createElement)(a.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))})),j()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=e.state,l=s.connected,u=s.products,p=n.align,h=e.getConnectUrl(),d=Object(i.createElement)(T.InspectorControls,null,Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(i.createElement)(a.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map((function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}}))})),Object(i.createElement)(a.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(i.createElement)(a.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),m=k()(r,["wp-block-button__link","components-button","is-primary","is-button","align".concat(p)]),f=Object(i.createElement)(O.a,{className:m,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(i.createElement)(i.Fragment,null,e.props.noticeUI,!e.hasUpgradeNudge&&!e.state.shouldUpgrade&&l===q&&Object(i.createElement)(I,{blockName:"recurring-payments",stripeConnectUrl:h}),!e.hasUpgradeNudge&&e.state.shouldUpgrade&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(i.createElement)("p",null,Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack")),Object(i.createElement)(a.Button,{isDefault:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),e.renderDisclaimer()))),(l===L||e.state.addingMembershipAmount===U)&&!e.props.attributes.planId&&Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),notices:c},Object(i.createElement)(a.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&l===B&&0===u.length&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(i.createElement)("p",null,Object(o.__)("To use this block, first add at least one payment plan.","jetpack")),e.renderAddMembershipAmount(!0),e.renderDisclaimer()))),!e.state.shouldUpgrade&&!e.props.attributes.planId&&e.state.addingMembershipAmount!==U&&l===B&&u.length>0&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(i.createElement)(a.Placeholder,{icon:Object(i.createElement)(T.BlockIcon,{icon:K}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(i.createElement)("p",null,Object(o.__)("To use this block, select a previously created payment plan.","jetpack")),e.renderMembershipAmounts(),Object(i.createElement)("p",null,Object(o.__)("Or a new one.","jetpack")),e.renderAddMembershipAmount(!1),e.renderDisclaimer()))),e.state.products&&d,((e.hasUpgradeNudge||!e.state.shouldUpgrade)&&l!==L||e.props.attributes.planId)&&f,e.hasUpgradeNudge&&l===q&&Object(i.createElement)("div",{className:"wp-block-jetpack-recurring-payments disclaimer-only"},e.renderDisclaimer()))})),e.state={connected:L,connectURL:null,addingMembershipAmount:V,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null;var n=Object(M.a)("recurring-payments");return e.hasUpgradeNudge=!n.available&&"missing_plan"===n.unavailableReason,e}return v()(t,e),u()(t,[{key:"getConnectUrl",value:function(){var e,t=this.props.postId,n=this.state.connectURL;if(!Object(A.isURL)(n))return null;if(!t)return n;try{var r=Object(A.getQueryArg)(n,"state");e=JSON.parse(atob(r))}catch(i){return n}return e.from_editor_post_id=t,Object(A.addQueryArgs)(n,{state:btoa(JSON.stringify(e))})}}]),t}(i.Component),$=Object(F.compose)([Object(P.withSelect)((function(e){return{postId:e("core/editor").getCurrentPostId()}})),a.withNotices])(G),K=(n(215),Object(i.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(i.createElement)(a.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(a.G,null,Object(i.createElement)(a.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),W={title:Object(o.__)("Recurring Payments button","jetpack"),icon:K,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},edit:$,save:function(){return null},supports:{html:!1,align:!0}},Z=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",W)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(23),O=n.n(k),w=n(40),C=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"state",{subscriberCountString:""}),n}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(i.createElement)("div",{className:n,role:"form"},Object(i.createElement)(c.ToggleControl,{label:Object(a.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(i.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(i.createElement)(w.a,this.props)):Object(i.createElement)("div",{className:n,role:"form"},l&&Object(i.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(i.createElement)(c.TextControl,{placeholder:s}),Object(i.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then((function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(a.sprintf)(Object(a._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(a.__)("Subscriber count unavailable","jetpack")})}))}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(i.Component);var E=n(19),x={title:Object(a.__)("Subscription Form","jetpack"),description:Object(i.createElement)("p",null,Object(a.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(E.a)(Object(i.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(a._x)("subscribe","block search term","jetpack"),Object(a._x)("join","block search term","jetpack"),Object(a._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(a.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(a.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:C,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,a=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(a,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},example:{attributes:{}},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(a.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(i.createElement)(i.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(5),O=n(6),w=n(23),C=n.n(w),E=n(28);function x(e){if(!F.test(e))return"";var t=Object(E.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}var S=/^\s*https?:\/\/pin\.it\//i,A=function(e){function t(){var e;return l()(this,t),e=d()(this,f()(t).apply(this,arguments)),_()(g()(e),"resolveRedirect",(function(){var t=e.props.attributes.url;e.fetchRequest=C()({path:"/wpcom/v2/resolve-redirect/".concat(t)}),e.fetchRequest.then((function(t){e.fetchRequest=null,e.props.setAttributes({url:t}),e.setState({resolvingRedirect:!1,editedUrl:t})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({resolvingRedirect:!1,editingUrl:!0}))}))})),_()(g()(e),"hideOverlay",(function(){e.setState({interactive:!0})})),_()(g()(e),"setUrl",(function(t){t&&t.preventDefault();var n=e.state.editedUrl;e.props.setAttributes({url:n}),e.setState({editingUrl:!1}),S.test(n)&&e.setState({resolvingRedirect:!0})})),e.state={editedUrl:e.props.attributes.url||"",editingUrl:!1,resolvingRedirect:S.test(e.props.attributes.url),interactive:!1},e}return y()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingRedirect&&this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentWillUnmount",value:function(){Object(k.invoke)(this.fetchRequest,["abort"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,s=n.url,l=this.state,u=l.editedUrl,p=l.interactive,h=l.editingUrl;if(l.resolvingRedirect)return Object(i.createElement)("div",{className:"wp-block-embed is-loading"},Object(i.createElement)(o.Spinner,null),Object(i.createElement)("p",null,Object(a.__)("Embedding…")));var d=x(s),m="<a data-pin-do='".concat(d,"' href='").concat(s,"'></a>"),f=s&&!d,b=Object(i.createElement)(O.BlockControls,null,Object(i.createElement)(o.Toolbar,null,Object(i.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(a.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})));return h||!s||f?Object(i.createElement)("div",{className:r},b,Object(i.createElement)(o.Placeholder,{label:Object(a.__)("Pinterest","jetpack"),icon:Object(i.createElement)(O.BlockIcon,{icon:T})},Object(i.createElement)("form",{onSubmit:this.setUrl},Object(i.createElement)("input",{type:"url",value:u,className:"components-placeholder__input","aria-label":Object(a.__)("Pinterest URL","jetpack"),placeholder:Object(a.__)("Enter URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(i.createElement)(o.Button,{isLarge:!0,type:"submit"},Object(a._x)("Embed","button label","jetpack")),f&&Object(i.createElement)("p",{className:"components-placeholder__error"},Object(a.__)("Sorry, this content could not be embedded.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLarge:!0,onClick:function(){return function(e,t){var n=Object(i.createElement)("a",{href:e},e);t(Object(c.createBlock)("core/paragraph",{content:Object(i.renderToString)(n)}))}(u,e.props.onReplace)}},Object(a._x)("Convert to link","button label","jetpack")))))):Object(i.createElement)("div",{className:r},b,Object(i.createElement)("div",null,Object(i.createElement)(o.SandBox,{html:m,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:this.hideOverlay}),!p&&Object(i.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(i.Component),F=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,P=Object(a.__)("Pinterest","jetpack"),T=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(o.G,null,Object(i.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),M={title:P,description:Object(a.__)("Embed a Pinterest pin, board, or user.","jetpack"),icon:T,category:"jetpack",supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:A,save:function(e){var t=e.attributes,n=e.className,r=t.url;return x(r)?Object(i.createElement)("div",{className:n},Object(i.createElement)("a",{"data-pin-do":x(r),href:r})):null},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&F.test(e.textContent)},transform:function(e){return Object(c.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://pinterest.com/anapinskywalker/"}}};Object(r.a)("pinterest",M)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(21),s=n.n(c),l=n(7),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(23),k=n.n(_),O=n(12),w=n.n(O),C=n(40),E=n(6),x=n(11),S=n.n(x),A=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),c=0;c<r;c++)a[c]=arguments[c];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(a))),j()(b()(n),"state",{interest_categories:[]}),j()(b()(n),"retrieveGroups",(function(){k()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((function(e){var t=e.interest_categories;n.setState({interest_categories:t})}))})),j()(b()(n),"render",(function(){var e=n.state.interest_categories,t=n.props,r=t.interests,a=t.onChange;return Object(i.createElement)(i.Fragment,null,e&&(e||[]).map((function(e){return e.interests.map((function(e){return Object(i.createElement)(o.CheckboxControl,{label:e.name,value:e.id,checked:r.includes(e.id),onChange:function(t){return a(e.id,t)},key:e.id})}))})))})),n}return v()(t,e),S()(t,[{key:"componentDidMount",value:function(){this.retrieveGroups()}}]),t}(i.Component),F=A;A.defaultProps={interests:[],onChange:function(){return null}};var P=0,T=1,M=2,N="processing",z="success",D="error",R=function(e){function t(){var e;return u()(this,t),e=h()(this,m()(t).apply(this,arguments)),j()(b()(e),"componentDidMount",(function(){e.apiCall()})),j()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),j()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};k()(t).then((function(t){var n=t.connect_url,r="connected"===t.code?T:M;e.setState({connected:r,connectURL:n})}),(function(t){var n=M;e.setState({connected:n,connectURL:null}),e.onError(t.message)}))})),j()(b()(e),"auditionNotification",(function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)})),j()(b()(e),"clearAudition",(function(){e.setState({audition:null})})),j()(b()(e),"updateProcessingText",(function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification(N)})),j()(b()(e),"updateSuccessText",(function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification(z)})),j()(b()(e),"updateErrorText",(function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification(D)})),j()(b()(e),"updateEmailPlaceholder",(function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()})),j()(b()(e),"labelForAuditionType",(function(t){var n=e.props.attributes,r=n.processingLabel,i=n.successLabel,a=n.errorLabel;return t===N?r:t===z?i:t===D?a:null})),j()(b()(e),"roleForAuditionType",(function(e){return e===D?"alert":"status"})),j()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,l=t.noticeUI,u=t.setAttributes,p=e.state,h=p.audition,d=p.connected,m=p.connectURL,f=n.emailPlaceholder,b=n.consentText,g=n.interests,v=n.processingLabel,y=n.successLabel,_=n.errorLabel,k=n.preview,O=n.signupFieldTag,x=n.signupFieldValue,S="wp-block-jetpack-mailchimp_",A=Object(i.createElement)(o.Placeholder,{icon:L,notices:c},Object(i.createElement)(o.Spinner,null)),N=Object(i.createElement)(o.Placeholder,{icon:L,label:Object(a.__)("Mailchimp","jetpack"),notices:c},Object(i.createElement)("div",{className:"components-placeholder__instructions"},Object(a.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack"),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:m,target:"_blank"},Object(a.__)("Set up Mailchimp form","jetpack")),Object(i.createElement)("br",null),Object(i.createElement)("br",null),Object(i.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(a.__)("Re-check Connection","jetpack")))),z=Object(i.createElement)(E.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Text Elements","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Email Placeholder","jetpack"),value:f,onChange:e.updateEmailPlaceholder})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Notifications","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Processing text","jetpack"),value:v,onChange:e.updateProcessingText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Success text","jetpack"),value:y,onChange:e.updateSuccessText}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Error text","jetpack"),value:_,onChange:e.updateErrorText})),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Mailchimp Groups","jetpack")},Object(i.createElement)(F,{interests:g,onChange:function(e,t){var n=s()(new Set([].concat(s()(g),[e]))).filter((function(n){return!(n===e&&!t)&&n}));u({interests:n})}}),Object(i.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},Object(a.__)("Learn about groups","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Signup Location Tracking","jetpack")},Object(i.createElement)(o.TextControl,{label:Object(a.__)("Signup Field Tag","jetpack"),placeholder:Object(a.__)("SIGNUP"),value:O,onChange:function(e){return u({signupFieldTag:e})}}),Object(i.createElement)(o.TextControl,{label:Object(a.__)("Signup Field Value","jetpack"),placeholder:Object(a.__)("website"),value:x,onChange:function(e){return u({signupFieldValue:e})}}),Object(i.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},Object(a.__)("Learn about signup location tracking","jetpack"))),Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Mailchimp Connection","jetpack")},Object(i.createElement)(o.ExternalLink,{href:m},Object(a.__)("Manage Connection","jetpack")))),D=w()(r,j()({},"".concat(S,"notication-audition"),h)),R=Object(i.createElement)("div",{className:D},Object(i.createElement)(o.TextControl,{"aria-label":f,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:f,title:Object(a.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(i.createElement)(C.a,e.props),Object(i.createElement)(E.RichText,{tagName:"p",placeholder:Object(a.__)("Write consent text","jetpack"),value:b,onChange:function(e){return u({consentText:e})},inlineToolbar:!0}),h&&Object(i.createElement)("div",{className:"".concat(S,"notification ").concat(S).concat(h),role:e.roleForAuditionType(h)},e.labelForAuditionType(h))),I=R;return Object(i.createElement)(i.Fragment,null,l,k&&I,!k&&d===P&&A,!k&&d===M&&N,!k&&d===T&&z,!k&&d===T&&R)})),e.state={audition:null,connected:P,connectURL:null},e.timeout=null,e}return v()(t,e),t}(i.Component),I=Object(o.withNotices)(R),L=(n(145),Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),B={title:Object(a.__)("Mailchimp","jetpack"),icon:L,description:Object(a.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(a._x)("email","block search term","jetpack"),Object(a._x)("subscription","block search term","jetpack"),Object(a._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(a.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(a.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(a.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:Object(a.__)("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:Object(a.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(a.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:I,save:function(){return null},example:{attributes:{preview:!0}}};Object(r.a)("mailchimp",B)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(19),s=n(7),l=n.n(s),u=n(11),p=n.n(u),h=n(8),d=n.n(h),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),y=n.n(v),j=n(3),_=n.n(j),k=n(6),O=n(13),w=n(12),C=n.n(w),E=n(31),x=[{value:E.b,label:Object(a.__)("Show after threshold","jetpack")},{value:E.c,label:Object(a.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=d()(this,(e=f()(t)).call.apply(e,[this].concat(i))),_()(g()(n),"state",{isThresholdValid:!0}),_()(g()(n),"setCriteria",(function(e){return n.props.setAttributes({criteria:e})})),_()(g()(n),"setThreshold",(function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})})),n}return y()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===E.b?Object(a.sprintf)(Object(a._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(a.sprintf)(Object(a._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(i.createElement)("div",{className:C()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(i.createElement)(o.Placeholder,{icon:F,label:Object(a.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(a.__)("Please enter a valid number.","jetpack"),label:Object(a.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(i.createElement)(o.RadioControl,{label:Object(a.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(i.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(i.createElement)(k.InnerBlocks,null))}}]),t}(i.Component),A=Object(O.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,i=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||i(t.clientId)}}))(S),F=(n(217),Object(c.a)(Object(i.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:E.b},threshold:{type:"number",default:E.d}},category:"jetpack",description:Object(a.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(a._x)("return","block search term","jetpack"),Object(a._x)("visitors","block search term","jetpack"),Object(a._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(a.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(i.createElement)("div",{className:t},Object(i.createElement)(k.InnerBlocks.Content,null))},example:{attributes:{criteria:E.b,threshold:E.d},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(a.__)("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(14),c=n(47),s=n(13),l=n(64),u=Object(s.withSelect)((function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),h={render:Object(o.compose)([u,p])((function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))}))},d=n(39);Object(d.a)("sharing",h)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n(1),a=n(2),o=n(14),c=n(47),s=n(13),l=n(64),u=Object(s.withSelect)((function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),h={render:Object(o.compose)([u,p])((function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(a.CheckboxControl,{label:Object(i.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))}))},d=n(39);Object(d.a)("likes",h)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(4),b=n.n(f),g=n(10),v=n.n(g),y=n(3),j=n.n(y),_=n(12),k=n.n(_),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",C=Object(a.__)("Search for a term or paste a Giphy URL","jetpack"),E=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=h()(this,(e=m()(t)).call.apply(e,[this].concat(a))),j()(b()(n),"textControlRef",Object(i.createRef)()),j()(b()(n),"state",{captionFocus:!1,results:null}),j()(b()(n),"onFormSubmit",(function(e){e.preventDefault(),n.onSubmit()})),j()(b()(n),"onSubmit",(function(){var e=n.props.attributes.searchText;n.parseSearch(e)})),j()(b()(n),"parseSearch",(function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))})),j()(b()(n),"urlForSearch",(function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")})),j()(b()(n),"urlForId",(function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))})),j()(b()(n),"splitAndLast",(function(e,t){var n=e.split(t);return n[n.length-1]})),j()(b()(n),"fetch",(function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,i=r[0];if(!i.images)return;n.setState({results:r},(function(){n.selectGiphy(i)}))}},t.send()})),j()(b()(n),"selectGiphy",(function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),i="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:i})})),j()(b()(n),"setFocus",(function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})})),j()(b()(n),"hasSearchText",(function(){var e=n.props.attributes.searchText;return e&&e.length>0})),j()(b()(n),"thumbnailClicked",(function(e){n.selectGiphy(e)})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,h=n.searchText,d=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:d},v=k()(r,"align".concat(l)),y=Object(i.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(i.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:C,placeholder:C,onChange:function(e){return s({searchText:e})},value:h}),Object(i.createElement)(o.Button,{isLarge:!0,onClick:this.onSubmit},Object(a.__)("Search","jetpack")));return Object(i.createElement)("div",{className:v},Object(i.createElement)(O.InspectorControls,null,Object(i.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(i.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(i.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(i.createElement)("figure",null,c&&y,c&&b&&b.length>1&&Object(i.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map((function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(i.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})}))),Object(i.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(i.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(i.createElement)("iframe",{src:p,title:h})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(i.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(a.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(i.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},y))}}]),t}(i.Component),x=(n(85),n(143),Object(a.__)("GIF","jetpack")),S=Object(i.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(a._x)("animated","block search term","jetpack"),Object(a._x)("giphy","block search term","jetpack"),Object(a._x)("image","block search term","jetpack")],description:Object(a.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:E,save:function(){return null},example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);var r=n(7),i=n.n(r),a=n(11),o=n.n(a),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),h=n.n(p),d=n(0),m=n(1),f=n(5),b=n(2),g=n(13),v=n(4),y=n.n(v),j=n(3),_=n.n(j),k=(n(218),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(a))),_()(y()(n),"state",{hasCopied:!1}),_()(y()(n),"onCopy",(function(){return n.setState({hasCopied:!0})})),_()(y()(n),"onFinishCopy",(function(){return n.setState({hasCopied:!1})})),_()(y()(n),"onFocus",(function(e){return e.target.select()})),n}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(d.createElement)("div",{className:"jetpack-clipboard-input"},Object(d.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(d.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(d.Component)),O=n(44),w={render:function(){return Object(d.createElement)(E,null)}},C=function(e){function t(){return i()(this,t),s()(this,u()(t).apply(this,arguments))}return h()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(d.createElement)(O.a,null,Object(d.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(d.createElement)(k,{link:e}))):null}}]),t}(d.Component),E=Object(g.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}}))(C),x=n(39);Object(x.a)("shortlinks",w)},function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(0),a=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),h=n.n(p),d=n(9),m=n.n(d),f=n(10),b=n.n(f),g=n(6),v=n(5),y=n(13),j=n(14);function _(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(a.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(i.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(a.__)("Placeholder image","jetpack")},Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(i.createElement)("title",null,Object(a.__)("Grey square","jetpack")),Object(i.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(i.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(i.createElement)("title",null,Object(a.__)("Icon for image","jetpack")),Object(i.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(i.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(a.__)("August 3, 2018","jetpack")),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(a.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(i.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(i.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(i.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(i.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(i.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(i.createElement)("div",null,Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(i.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),h()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,h=t.postLayout,d=t.postsToShow,m=[{icon:"grid-view",title:Object(a.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===h},{icon:"list-view",title:Object(a.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===h}],f=[],b=0;b<d;b++)r[b]?f.push(Object(i.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(i.createElement)(_,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(g.InspectorControls,null,Object(i.createElement)(o.PanelBody,{title:Object(a.__)("Related Posts Settings","jetpack")},Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(i.createElement)(o.ToggleControl,{label:Object(a.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(i.createElement)(o.RangeControl,{label:Object(a.__)("Number of posts","jetpack"),value:d,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(i.createElement)(g.BlockControls,null,Object(i.createElement)(o.Toolbar,{controls:m})),Object(i.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(i.createElement)("div",{className:"jp-relatedposts-i2","data-layout":h},Object(i.createElement)(O,{posts:f}))))}}]),t}(i.Component),C=Object(j.compose)(j.withInstanceId,Object(y.withSelect)((function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}})))(w),E=(n(216),{title:Object(a.__)("Related Posts","jetpack"),icon:Object(i.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(i.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(i.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(a._x)("Similar content","block search term","jetpack"),Object(a._x)("Linked","block search term","jetpack"),Object(a._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:C,save:function(){return null},example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}});Object(r.a)("related-posts",E)},,,,function(e,t,n){n(241),n(237),n(233),n(231),n(249),n(248),n(245),n(232),n(240),n(244),n(230),n(239),n(242),n(251),n(246),n(247),n(250),n(234),n(235),n(243),n(229),n(236),e.exports=n(238)}]));
\ No newline at end of file +/*! For license information please see editor.js.LICENSE */ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,i=t[0],o=t[1],c=0,s=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&s.push(a[r][0]),a[r]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(l&&l(t);s.length;)s.shift()()}var n={},r={3:0,5:0},a={3:0,5:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{16:1,17:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="rtl"===document.dir?({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".rtl.css":({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".css",o=i.p+a,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var l=(p=c[s]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(l===a||l===o))return t()}var u=document.getElementsByTagName("style");for(s=0;s<u.length;s++){var p;if((l=(p=u[s]).getAttribute("data-href"))===a||l===o)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=a,delete r[e],d.parentNode.removeChild(d),n(i)},d.href=o,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){r[e]=0})));var n=a[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,r){n=a[e]=[t,r]}));t.push(n[2]=o);var c,s=document.createElement("script");s.charset="utf-8",s.timeout=120,i.nc&&s.setAttribute("nonce",i.nc),s.src=function(e){return i.p+""+({16:"vendors~map/mapbox-gl",17:"vendors~swiper"}[e]||e)+"."+{16:"04e03ac043566852ef07",17:"23fd414831f3de8536b3"}[e]+".js"}(e);var l=new Error;c=function(t){s.onerror=s.onload=null,clearTimeout(u);var n=a[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",l.name="ChunkLoadError",l.type=r,l.request=i,n[1](l)}a[e]=void 0}};var u=setTimeout((function(){c({type:"timeout",target:s})}),12e4);s.onerror=s.onload=c,document.head.appendChild(s)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],c=o.push.bind(o);o.push=t,o=o.slice();for(var s=0;s<o.length;s++)t(o[s]);var l=c;return i(i.s=268)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(127),a=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(128);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var o=a.apply(null,r);o&&e.push(o)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){var r=n(3);function a(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(55),o=n(16),c=n(94),s=n(40),l=n(30),u=n.n(l),p=n(0),d=n(14),h=(n(143),function(e){return Object(d.createHigherOrderComponent)((function(t){return function(n){return Object(p.createElement)(t,u()({},n,{className:n.name===e?"has-warning is-interactive":""}))}}),"withHasWarningIsInteractiveClassNames")}),m=n(56),f=n.n(m),b=n(1),g=n(31),v=n(5),j=n(13),y=n(50),_=n(57),k=n(35),O=n(24),w={setPlans:function(e){return{type:"SET_PLANS",plans:e}},fetchFromAPI:function(e){return{type:"FETCH_FROM_API",url:e}}};Object(j.registerStore)("wordpress-com/plans",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_PLANS":return t.plans}return e},actions:w,selectors:{getPlan:function(e,t){return e.find((function(e){return e.product_slug===t}))}},controls:{FETCH_FROM_API:function(e){var t=e.url;return fetch(t).then((function(e){return e.json()}))}},resolvers:{getPlan:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"https://public-api.wordpress.com/rest/v1.5/plans",e.next=3,w.fetchFromAPI("https://public-api.wordpress.com/rest/v1.5/plans");case 3:return t=e.sent,e.abrupt("return",w.setPlans(t));case 5:case"end":return e.stop()}}),e)}))}});n(145);var E=Object(d.compose)([Object(j.withSelect)((function(e,t){var n=t.plan,r=e("wordpress-com/plans").getPlan(n),a=Object(v.startsWith)(n,"jetpack_")?n.substr("jetpack_".length):Object(v.get)(r,["path_slug"]),i=e("core/editor").getCurrentPostId(),o=e("core/editor").getCurrentPostType(),c=["page","post"].includes(o)?"":"edit",s=Object(O.b)()?Object(g.addQueryArgs)("/"+Object(v.compact)([c,o,Object(k.a)(),i]).join("/"),{plan_upgraded:1}):Object(g.addQueryArgs)(window.location.protocol+"//".concat(Object(k.a)().replace("::","/"),"/wp-admin/post.php"),{action:"edit",post:i,plan_upgraded:1}),l=a&&Object(g.addQueryArgs)("https://wordpress.com/checkout/".concat(Object(k.a)(),"/").concat(a),{redirect_to:s});return{trackEvent:function(e){y.a.tracks.recordEvent("jetpack_editor_block_upgrade_click",{plan:r,block:e})},planName:Object(v.get)(r,["product_name"]),upgradeUrl:l}}))])((function(e){var t=e.planName,n=e.trackEvent,r=e.upgradeUrl;return Object(p.createElement)(_.a,{buttonLabel:Object(b.__)("Upgrade","jetpack"),icon:Object(p.createElement)(f.a,{className:"jetpack-upgrade-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:r,onClick:n,title:t?Object(b.sprintf)(Object(b.__)("Upgrade to %(planName)s to use this block on your site.","jetpack"),{planName:t}):Object(b.__)("Upgrade to a paid plan to use this block on your site.","jetpack"),subtitle:Object(b.__)("You can try it out before upgrading, but only you will see it. It will be hidden from your visitors until you upgrade.","jetpack")})})),C=function(e){var t=e.requiredPlan;return Object(d.createHigherOrderComponent)((function(e){return function(n){return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(E,{plan:t,blockName:n.name}),Object(p.createElement)(e,n))}}),"wrapPaidBlock")};n.d(t,"a",(function(){return A}));var x=c.beta||[];function S(e,t){return"missing_plan"===e&&t.required_plan}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Object(s.a)(e),c=r.available,l=r.details,u=r.unavailableReason,p=S(u,l);if(!c&&!p)return!1;var d=Object(o.registerBlockType)("jetpack/".concat(e),a()({},t,{title:x.includes(e)?"".concat(t.title," (beta)"):t.title,edit:p?C({requiredPlan:p})(t.edit):t.edit,example:p?void 0:t.example}));return p&&Object(i.addFilter)("editor.BlockListBlock","jetpack/".concat(e,"-with-has-warning-is-interactive-class-names"),h("jetpack/".concat(e))),n.forEach((function(e){return Object(o.registerBlockType)("jetpack/".concat(e.name),e.settings)})),d}},function(e,t,n){var r=n(65),a=n(66),i=n(67);e.exports=function(e,t){return r(e)||a(e,t)||i()}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function a(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(c.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(81);var p=/[&<>"]/,d=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function m(e){return h[e]}var f=/[.?*+^$[\]\\(){}|-]/g;var b=n(68);t.lib={},t.lib.mdurl=n(82),t.lib.ucmicro=n(168),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=a,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(c,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,(function(e,t,n){return t||function(e,t){var n=0;return a(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=o,t.escapeHtml=function(e){return p.test(e)?e.replace(d,m):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return b.test(e)},t.escapeRE=function(e){return e.replace(f,"\\$&")},t.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},function(e,t,n){"use strict";var r=n(0),a=n(2);t.a=function(e){return Object(r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(r.createElement)(a.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),e)}},function(e,t,n){var r=n(123),a=n(124),i=n(125);e.exports=function(e){return r(e)||a(e)||i()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return p}));var r=["image"],a=4,i=20,o=2e3,c="circle",s="columns",l="rectangular",u="square",p=[{isDefault:!0,name:l},{name:c},{name:u},{name:s}]},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t,n){"use strict";function r(){return"object"==typeof window&&"string"==typeof window._currentSiteType?window._currentSiteType:null}function a(){return"simple"===r()}function i(){return"atomic"===r()}n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return i}))},function(e,t){!function(){e.exports=this.wp.blob}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(1),i={name:"map",prefix:"jetpack",title:Object(a.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(a._x)("map","block search term","jetpack"),Object(a._x)("location","block search term","jetpack"),Object(a._x)("navigation","block search term","jetpack")],description:Object(a.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(a.__)("Basic","jetpack")},{value:"black_and_white",label:Object(a.__)("Black and white","jetpack")},{value:"satellite",label:Object(a.__)("Satellite","jetpack")},{value:"terrain",label:Object(a.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t,n){"use strict";var r=n(136),a=n(138);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=j,t.resolve=function(e,t){return j(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?j(e,!1,!0).resolveObject(t):t},t.format=function(e){a.isString(e)&&(e=j(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(l),p=["%","/","?",";","#"].concat(u),d=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(139);function j(e,t,n){if(e&&a.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!a.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),c=-1!==i&&i<e.indexOf("#")?"?":"#",l=e.split(c);l[0]=l[0].replace(/\\/g,"/");var j=e=l.join(c);if(j=j.trim(),!n&&1===e.split("#").length){var y=s.exec(j);if(y)return this.path=j,this.href=j,this.pathname=y[1],y[2]?(this.search=y[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var _=o.exec(j);if(_){var k=(_=_[0]).toLowerCase();this.protocol=k,j=j.substr(_.length)}if(n||_||j.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===j.substr(0,2);!O||_&&b[_]||(j=j.substr(2),this.slashes=!0)}if(!b[_]&&(O||_&&!g[_])){for(var w,E,C=-1,x=0;x<d.length;x++){-1!==(S=j.indexOf(d[x]))&&(-1===C||S<C)&&(C=S)}-1!==(E=-1===C?j.lastIndexOf("@"):j.lastIndexOf("@",C))&&(w=j.slice(0,E),j=j.slice(E+1),this.auth=decodeURIComponent(w)),C=-1;for(x=0;x<p.length;x++){var S;-1!==(S=j.indexOf(p[x]))&&(-1===C||S<C)&&(C=S)}-1===C&&(C=j.length),this.host=j.slice(0,C),j=j.slice(C),this.parseHost(),this.hostname=this.hostname||"";var A="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!A)for(var F=this.hostname.split(/\./),P=(x=0,F.length);x<P;x++){var T=F[x];if(T&&!T.match(h)){for(var M="",N=0,R=T.length;N<R;N++)T.charCodeAt(N)>127?M+="x":M+=T[N];if(!M.match(h)){var D=F.slice(0,x),z=F.slice(x+1),I=T.match(m);I&&(D.push(I[1]),z.unshift(I[2])),z.length&&(j="/"+z.join(".")+j),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=r.toASCII(this.hostname));var L=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+L,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==j[0]&&(j="/"+j))}if(!f[k])for(x=0,P=u.length;x<P;x++){var q=u[x];if(-1!==j.indexOf(q)){var U=encodeURIComponent(q);U===q&&(U=escape(q)),j=j.split(q).join(U)}}var V=j.indexOf("#");-1!==V&&(this.hash=j.substr(V),j=j.slice(0,V));var H=j.indexOf("?");if(-1!==H?(this.search=j.substr(H),this.query=j.substr(H+1),t&&(this.query=v.parse(this.query)),j=j.slice(0,H)):t&&(this.search="",this.query={}),j&&(this.pathname=j),g[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){L=this.pathname||"";var G=this.search||"";this.path=L+G}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&a.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var c=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),c&&"?"!==c.charAt(0)&&(c="?"+c),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(c=c.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(j(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(a.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),o=0;o<r.length;o++){var c=r[o];n[c]=this[c]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var p=Object.keys(e),d=0;d<p.length;d++){var h=p[d];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var m=(e.pathname||"").split("/");m.length&&!(e.host=m.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==m[0]&&m.unshift(""),m.length<2&&m.unshift(""),n.pathname=m.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var f=n.pathname||"",v=n.search||"";n.path=f+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var j=n.pathname&&"/"===n.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=y||j||n.host&&e.pathname,k=_,O=n.pathname&&n.pathname.split("/")||[],w=(m=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(w&&(n.hostname="",n.port=null,n.host&&(""===O[0]?O[0]=n.host:O.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===m[0]?m[0]=e.host:m.unshift(e.host)),e.host=null),_=_&&(""===m[0]||""===O[0])),y)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,O=m;else if(m.length)O||(O=[]),O.pop(),O=O.concat(m),n.search=e.search,n.query=e.query;else if(!a.isNullOrUndefined(e.search)){if(w)n.hostname=n.host=O.shift(),(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift());return n.search=e.search,n.query=e.query,a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!O.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=O.slice(-1)[0],C=(n.host||e.host||O.length>1)&&("."===E||".."===E)||""===E,x=0,S=O.length;S>=0;S--)"."===(E=O[S])?O.splice(S,1):".."===E?(O.splice(S,1),x++):x&&(O.splice(S,1),x--);if(!_&&!k)for(;x--;x)O.unshift("..");!_||""===O[0]||O[0]&&"/"===O[0].charAt(0)||O.unshift(""),C&&"/"!==O.join("/").substr(-1)&&O.push("");var A,F=""===O[0]||O[0]&&"/"===O[0].charAt(0);w&&(n.hostname=n.host=F?"":O.length?O.shift():"",(A=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=A.shift(),n.host=n.hostname=A.shift()));return(_=_||n.host&&O.length)&&!F&&O.unshift(""),O.length?n.pathname=O.join("/"):(n.pathname=null,n.path=null),a.isNull(n.pathname)&&a.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t,n){"use strict";var r=n(3),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(10),m=n.n(h),f=n(0),b=n(1),g=n(12),v=n.n(g),j=n(14),y=n(2),_=n(6),k=n(5),O=window.getComputedStyle,w=Object(y.withFallbackStyles)((function(e,t){var n,r,a,i,o=t.textButtonColor,c=t.backgroundButtonColor,s=c&&c.color,l=o&&o.color;return!l&&e&&(n=e.querySelector('[contenteditable="true"]')),r=e.querySelector(".wp-block-button__link")?e.querySelector(".wp-block-button__link"):e,e&&(a=O(r).backgroundColor),n&&(i=O(n).color),{fallbackBackgroundColor:s||a,fallbackTextColor:l||i}})),E=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return m()(t,e),s()(t,[{key:"componentDidUpdate",value:function(e){if(!Object(k.isEqual)(this.props.textButtonColor,e.textButtonColor)||!Object(k.isEqual)(this.props.backgroundButtonColor,e.backgroundButtonColor)){var t=this.getButtonClasses();this.props.setAttributes({submitButtonClasses:t})}}},{key:"getButtonClasses",value:function(){var e,t=this.props,n=t.textButtonColor,r=t.backgroundButtonColor,i=Object(k.get)(n,"class"),o=Object(k.get)(r,"class");return v()("wp-block-button__link",(e={"has-text-color":n},a()(e,i,i),a()(e,"has-background",r),a()(e,o,o),e))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,a=e.setAttributes,i=e.setBackgroundButtonColor,o=e.setTextButtonColor,c=t.customBackgroundButtonColor||n,s=t.customTextButtonColor||r,l={border:"none",backgroundColor:c,color:s},u=this.getButtonClasses();return Object(f.createElement)(f.Fragment,null,Object(f.createElement)("div",{className:"wp-block-button jetpack-submit-button"},Object(f.createElement)(_.RichText,{placeholder:Object(b.__)("Add text…","jetpack"),value:t.submitButtonText,onChange:function(e){return a({submitButtonText:e})},className:u,style:l,keepPlaceholderOnFocus:!0,allowedFormats:[]})),Object(f.createElement)(_.InspectorControls,null,Object(f.createElement)(_.PanelColorSettings,{title:Object(b.__)("Button Color Settings","jetpack"),colorSettings:[{value:c,onChange:function(e){i(e),a({customBackgroundButtonColor:e})},label:Object(b.__)("Background Color","jetpack")},{value:s,onChange:function(e){o(e),a({customTextButtonColor:e})},label:Object(b.__)("Text Color","jetpack")}]}),Object(f.createElement)(_.ContrastChecker,{textColor:s,backgroundColor:c})))}}]),t}(f.Component);t.a=Object(j.compose)([Object(_.withColors)("backgroundButtonColor",{textButtonColor:"color"}),w])(E)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c}));var r="after-visits",a="before-visits",i=3,o="jp-visit-counter",c=15552e3},function(e,t){!function(){e.exports=this.React}()},function(e,t,n){"use strict";function r(){return window&&window.Jetpack_Editor_Initial_State&&window.Jetpack_Editor_Initial_State.siteFragment?window.Jetpack_Editor_Initial_State.siteFragment:null}n.d(t,"a",(function(){return r}))},function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(47),a=n(40);function i(e,t){var n=Object(a.a)(e),i=n.available;n.unavailableReason;return!!i&&Object(r.registerPlugin)("jetpack-".concat(e),t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c}));var r=n(74),a=n(5),i="wp-block-jetpack-slideshow_autoplay-paused";function o(e){c(e),s(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(i)?(e.el.classList.remove(i),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(i),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function c(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,16/9),1),a="undefined"!=typeof window?.8*window.innerHeight:600,i=Math.min(e.width/r,a),o="".concat(Math.floor(i),"px"),c="".concat(Math.floor(i/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=o,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=c,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=c}}}function s(e){Object(a.forEach)(e.slides,(function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],a=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(a.alt))}}(e)}function l(e){Object(a.forEach)(e.pagination.bullets,(function(t){t.addEventListener("click",(function(){var t=e.slides[e.realIndex];setTimeout((function(){t.focus()}),500)}))}))}},function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var a=r[n];e.call(t,a[1],a[0])}},t}())}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,a=0;function i(){n&&(n=!1,e()),r&&s()}function c(){o(i)}function s(){var e=Date.now();if(n){if(e-a<2)return;r=!0}else n=!0,r=!1,setTimeout(c,t);a=e}return s}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var a=r[n];Object.defineProperty(e,a,{value:t[a],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},d=v(0,0,0,0);function h(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function f(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=p(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var a=r[n],i=e["padding-"+a];t[a]=h(i)}return t}(r),i=a.left+a.right,o=a.top+a.bottom,c=h(r.width),s=h(r.height);if("border-box"===r.boxSizing&&(Math.round(c+i)!==t&&(c-=m(r,"left","right")+i),Math.round(s+o)!==n&&(s-=m(r,"top","bottom")+o)),!function(e){return e===p(e).document.documentElement}(e)){var l=Math.round(c+i)-t,u=Math.round(s+o)-n;1!==Math.abs(l)&&(c-=l),1!==Math.abs(u)&&(s-=u)}return v(a.left,a.top,c,s)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return a?b(e)?function(e){var t=e.getBBox();return v(0,0,t.width,t.height)}(e):f(e):d}function v(e,t,n,r){return{x:e,y:t,width:n,height:r}}var j=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,r,a,i,o,c,s,l=(r=(n=t).x,a=n.y,i=n.width,o=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(c.prototype),u(s,{x:r,y:a,width:i,height:o,top:a,right:r+i,bottom:o+a,left:r}),s);u(this,{target:e,contentRect:l})},_=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new j(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),k="undefined"!=typeof WeakMap?new WeakMap:new r,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new _(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var w=void 0!==i.ResizeObserver?i.ResizeObserver:O;t.a=w},function(e,t,n){"use strict";var r=n(15),a=n.n(r),i=n(5);function o(e){var t=Object(i.get)("object"==typeof window?window:null,["Jetpack_Editor_Initial_State"],null),n=Object(i.get)(t,["available_blocks",e,"available"],!1),r=Object(i.get)(t,["available_blocks",e,"unavailable_reason"],"unknown"),o=Object(i.get)(t,["available_blocks",e,"details"],[]);return a()({available:n},!n&&{details:o,unavailableReason:r})}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(30),a=n.n(r),i=n(46),o=n.n(i),c=n(0),s=n(12),l=n.n(s),u=n(96),p=n.n(u);n(151);t.a=function(e){var t=e.children,n=void 0===t?null:t,r=e.isError,i=void 0!==r&&r,s=o()(e,["children","isError"]),u=l()("help-message",{"help-message-is-error":i});return n&&Object(c.createElement)("div",a()({className:u},s),i&&Object(c.createElement)(p.a,{size:"24","aria-hidden":"true",role:"img",focusable:"false"}),Object(c.createElement)("span",null,n))}},,function(e,t,n){"use strict";var r=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!r.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(2),i=n(52),o=n(47),c=(n(155),n(53)),s=Object(a.createSlotFill)("JetpackPluginSidebar"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-sidebar",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.PluginSidebarMoreMenuItem,{target:"jetpack",icon:Object(r.createElement)(c.a,null)},"Jetpack"),Object(r.createElement)(i.PluginSidebar,{name:"jetpack",title:"Jetpack",icon:Object(r.createElement)(c.a,null)},e)):null}))}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r={AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}};function a(e){return r[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}},function(e,t,n){var r=n(150);e.exports=function(e,t){if(null==e)return{};var n,a,i=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){"use strict";var r=n(0),a=n(2);t.a=function(e){var t=e.label,n=e.onClick;return Object(r.createElement)(a.IconButton,{className:"components-toolbar__control",label:t,icon:"edit",onClick:n})}},function(e,t,n){"use strict";var r=n(54),a=n.n(r),i=n(102),o=n.n(i),c=n(103),s=n.n(c),l=n(63),u=n.n(l),p=n(104),d=n.n(p),h=n(77),m=n.n(h),f=n(105),b=n.n(f),g=n(72);function v(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var a=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,o=void 0===r?",":r,c=void 0===n?".":n,s="";return(s=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(a,i):""+Math.round(a)).split("."))[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,o)),(s[1]||"").length<i&&(s[1]=s[1]||"",s[1]+=new Array(i-s[1].length+1).join("0")),s.join(c)}var j=o()("i18n-calypso"),y=[function(e){return e}],_={};function k(){x.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function O(e){return Array.prototype.slice.call(e)}function w(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&k("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",O(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&k("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",O(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function E(e,t){var n="gettext";t.context&&(n="p"+n),"string"==typeof t.original&&"string"==typeof t.plural&&(n="n"+n);var r=function(e,t){switch(e){case"gettext":return[t.original];case"ngettext":return[t.original,t.plural,t.count];case"npgettext":return[t.context,t.original,t.plural,t.count];case"pgettext":return[t.context,t.original]}return[]}(n,t);return e[n].apply(e,r)}function C(e,t){for(var n=y.length-1;n>=0;n--){var r=y[n](Object.assign({},t));if(e.state.locale[r.original])return E(e.state.jed,r)}return null}function x(){if(!(this instanceof x))return new x;this.defaultLocaleSlug="en",this.state={numberFormatSettings:{},jed:void 0,locale:void 0,localeSlug:void 0,translations:d()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new g.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}x.throwErrors=!1,x.prototype.moment=m.a,x.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},x.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},x.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},x.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",a=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return v(e,n,r,a)},x.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},x.prototype.setLocale=function(e){if(e&&e[""]&&e[""]["key-hash"]){var t=e[""]["key-hash"],n=function(e,t){var n=!1===t?"":String(t);if(void 0!==_[n+e])return _[n+e];var r=b()().update(e).digest("hex");return _[n+e]=t?r.substr(0,t):r},r=function(e){return function(t){return t.context?(t.original=n(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=n(t.original,e),t}};if("sha1"===t.substr(0,4))if(4===t.length)y.push(r(!1));else{var a=t.substr(5).indexOf("-");if(a<0){var i=Number(t.substr(5));y.push(r(i))}else for(var o=Number(t.substr(5,a)),c=Number(t.substr(6+a)),s=o;s<=c;s++)y.push(r(s))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.jed=new u.a({locale_data:{messages:this.state.locale}}),m.a.locale(this.state.localeSlug),this.state.numberFormatSettings.decimal_point=E(this.state.jed,w(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=E(this.state.jed,w(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.getLocale=function(){return this.state.locale},x.prototype.getLocaleSlug=function(){return this.state.localeSlug},x.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.jed.options.locale_data.messages[t]=e[t]);this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.hasTranslation=function(){return!!C(this,w(arguments))},x.prototype.translate=function(){var e,t=w(arguments),n=!t.components;if(n){try{e=JSON.stringify(t)}catch(c){n=!1}if(e){var r=this.state.translations.get(e);if(r)return r}}var a=C(this,t);if(a||(a=E(this.state.jed,t)),t.args){var i=Array.isArray(t.args)?t.args.slice(0):[t.args];i.unshift(a);try{a=u.a.sprintf.apply(u.a,i)}catch(l){if(!window||!window.console)return;var o=this.throwErrors?"error":"warn";"string"!=typeof l?window.console[o](l):window.console[o]("i18n sprintf error:",i)}}return t.components&&(a=s()({mixedString:a,components:t.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(e){a=e(a,t)})),n&&this.state.translations.set(e,a),a},x.prototype.reRenderTranslations=function(){j("Re-rendering all translations due to external request"),this.state.translations.clear(),this.stateObserver.emit("change")},x.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},x.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var S,A,F=x,P=n(7),T=n.n(P),M=n(11),N=n.n(M),R=n(8),D=n.n(R),z=n(9),I=n.n(z),L=n(4),B=n.n(L),q=n(10),U=n.n(q),V=n(3),H=n.n(V),G=n(34),$=n.n(G),W=n(18),K=n.n(W),Z=new F,J=(Z.moment,Z.numberFormat.bind(Z)),Y=(Z.translate.bind(Z),Z.configure.bind(Z),Z.setLocale.bind(Z),Z.getLocale.bind(Z),Z.getLocaleSlug.bind(Z),Z.addTranslations.bind(Z),Z.reRenderTranslations.bind(Z),Z.registerComponentUpdateHook.bind(Z),Z.registerTranslateHook.bind(Z),Z.state,Z.stateObserver,Z.on.bind(Z),Z.off.bind(Z),Z.emit.bind(Z),A={moment:(S=Z).moment,numberFormat:S.numberFormat.bind(S),translate:S.translate.bind(S)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(Z),n(45));function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object(Y.a)(t);if(!r||isNaN(e))return null;var i=a()({},r,n),o=i.decimal,c=i.grouping,s=i.precision,l=i.symbol,u=e<0?"-":"",p=J(Math.abs(e),{decimals:s,thousandsSep:c,decPoint:o});return"".concat(u).concat(l).concat(p)}n.d(t,"a",(function(){return Q}))},function(e,t,n){"use strict";var r=n(93),a=n.n(r),i=n(5),o={i18n_default_locale_slug:"en",mc_analytics_enabled:!0,google_analytics_enabled:!1,google_analytics_key:null};var c,s,l=function(e){if(e in o)return o[e];throw new Error("config key `"+e+"` does not exist")},u=a()("dops:analytics");window._tkq=window._tkq||[],window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=+new Date;var p={initialize:function(e,t,n){p.setUser(e,t),p.setSuperProps(n),p.identifyUser()},setUser:function(e,t){s={ID:e,username:t}},setSuperProps:function(e){c=e},mc:{bumpStat:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Bumping stats %o",e)}else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Bumping stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random())},bumpStatWithPageView:function(e,t){var n=function(e,t){var n="";if("object"==typeof e){for(var r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);u("Built stats %o",e)}else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t),u('Built stat "%s" in group "%s"',t,e);return n}(e,t);l("mc_analytics_enabled")&&((new Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random())}},pageView:{record:function(e,t){p.tracks.recordPageView(e),p.ga.recordPageView(e,t)}},purchase:{record:function(e,t,n,r,a,i,o){p.ga.recordPurchase(e,t,n,r,a,i,o)}},tracks:{recordEvent:function(e,t){t=t||{},0===e.indexOf("akismet_")||0===e.indexOf("jetpack_")?(c&&(u("- Super Props: %o",c),t=Object(i.assign)(t,c)),u('Record event "%s" called with props %s',e,JSON.stringify(t)),window._tkq.push(["recordEvent",e,t])):u('- Event name must be prefixed by "akismet_" or "jetpack_"')},recordJetpackClick:function(e){var t="object"==typeof e?e:{target:e};p.tracks.recordEvent("jetpack_wpa_click",t)},recordPageView:function(e){p.tracks.recordEvent("akismet_page_view",{path:e})},setOptOut:function(e){u("Pushing setOptOut: %o",e),window._tkq.push(["setOptOut",e])}},ga:{initialized:!1,initialize:function(){var e={};p.ga.initialized||(s&&(e={userId:"u-"+s.ID}),window.ga("create",l("google_analytics_key"),"auto",e),p.ga.initialized=!0)},recordPageView:function(e,t){p.ga.initialize(),u("Recording Page View ~ [URL: "+e+"] [Title: "+t+"]"),l("google_analytics_enabled")&&(window.ga("set","page",e),window.ga("send",{hitType:"pageview",page:e,title:t}))},recordEvent:function(e,t,n,r){p.ga.initialize();var a="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(a+=" [Option Label: "+n+"]"),void 0!==r&&(a+=" [Option Value: "+r+"]"),u(a),l("google_analytics_enabled")&&window.ga("send","event",e,t,n,r)},recordPurchase:function(e,t,n,r,a,i,o){window.ga("require","ecommerce"),window.ga("ecommerce:addTransaction",{id:e,revenue:r,currency:o}),window.ga("ecommerce:addItem",{id:e,name:t,sku:n,price:a,quantity:i}),window.ga("ecommerce:send")}},identifyUser:function(){s&&window._tkq.push(["identifyUser",s.ID,s.username])},setProperties:function(e){window._tkq.push(["setProperties",e])},clearedIdentity:function(){window._tkq.push(["clearIdentity"])}};t.a=p},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(5),a=function(e,t){return Object(r.reduce)(t,(function(t,n,r){var a=e[r],i=a.type,o=a.validator,c=a.validValues,s=a.default;return t[r]="boolean"===i?!!n:o?o(n)?n:s:c?c.includes(n)?n:s:n,t}),{})}},function(e,t){!function(){e.exports=this.wp.editPost}()},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(12),o=n.n(i);t.a=function(e){var t=e.size,n=void 0===t?24:t,i=e.className;return Object(r.createElement)(a.SVG,{className:o()("jetpack-logo",i),width:n,height:n,viewBox:"0 0 32 32"},Object(r.createElement)(a.Path,{className:"jetpack-logo__icon-circle",fill:"#00be28",d:"M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z"}),Object(r.createElement)(a.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"15,19 7,19 15,3 "}),Object(r.createElement)(a.Polygon,{className:"jetpack-logo__icon-triangle",fill:"#fff",points:"17,29 17,13 25,13 "}))}},function(e,t,n){var r=n(3);e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){r(e,t,n[t])}))}return e}},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-star",c,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:a,width:a,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304"})))};var a,i=n(34),o=(a=i)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,n){"use strict";var r=n(0),a=n(2),i=n(14),o=n(13),c=n(6);n(144);t.a=Object(i.compose)([Object(o.withDispatch)((function(e,t){var n=t.blockName,r=t.href,a=t.onClick;return{autosaveAndRedirect:function(t){return regeneratorRuntime.async((function(i){for(;;)switch(i.prev=i.next){case 0:return t.preventDefault(),a(n),i.next=4,regeneratorRuntime.awrap(e("core/editor").autosave());case 4:window.top.location.href=r;case 5:case"end":return i.stop()}}))}}}))])((function(e){var t=e.autosaveAndRedirect,n=e.buttonLabel,i=e.href,o=e.icon,s=e.subtitle,l=e.title;return Object(r.createElement)(c.Warning,{actions:i&&[Object(r.createElement)(a.Button,{href:i,onClick:t,target:"_top",isDefault:!0},n)],className:"jetpack-block-nudge"},Object(r.createElement)("span",{className:"jetpack-block-nudge__info"},o,Object(r.createElement)("span",{className:"jetpack-block-nudge__text-container"},Object(r.createElement)("span",{className:"jetpack-block-nudge__title"},l),Object(r.createElement)("span",{className:"jetpack-block-nudge__message"},s))))}))},function(e,t){!function(){e.exports=this.wp.date}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(15),a=n.n(r),i=n(0),o=n(12),c=n.n(o),s=n(5),l=n(16),u=n(6),p=n(13),d=n(26),h=function(e){var t=e.attributes,n=e.styleOption,r=e.viewportWidth,o=e.blockName,c=Object(l.getBlockType)(o);return Object(i.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(i.createElement)(u.BlockPreview,{viewportWidth:r,blocks:c.example?Object(l.getBlockFromExample)(o,{attributes:a()({},c.example.attributes,{style:n.value}),innerBlocks:c.example.innerBlocks}):Object(l.createBlock)(c,t)}))},m=i.memo?Object(i.memo)(h,(function(e,t){return Object(s.isEqual)(e,t)})):h;function f(e){var t,n=e.attributes,r=e.clientId,o=e.styleOptions,s=e.onSelectStyle,l=e.activeStyle,u=e.viewportWidth;return p.useSelect&&(t=Object(p.useSelect)((function(e){return(0,e("core/block-editor").getBlock)(r)}))),Object(i.createElement)("div",{className:"block-editor-block-styles"},o.map((function(e){var r=a()({},n,{style:e.value});return Object(i.createElement)("div",{key:e.value,className:c()("block-editor-block-styles__item",{"is-active":e.value===l}),onClick:function(){s({style:e.value})},onKeyDown:function(t){d.ENTER!==t.keyCode&&d.SPACE!==t.keyCode||(t.preventDefault(),s({style:e.value}))},role:"button",tabIndex:"0","aria-label":e.label},p.useSelect&&t&&Object(i.createElement)(m,{blockName:t.name,styleOption:e,attributes:r,viewportWidth:u}),Object(i.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),a=n(1),i=n(2),o=n(47),c=n(44),s=Object(i.createSlotFill)("JetpackLikesAndSharingPanel"),l=s.Fill,u=s.Slot;Object(o.registerPlugin)("jetpack-likes-and-sharing-panel",{render:function(){return Object(r.createElement)(u,null,(function(e){return e.length?Object(r.createElement)(c.a,null,Object(r.createElement)(i.PanelBody,{title:Object(a.__)("Likes and Sharing","jetpack")},e)):null}))}})},function(e,t,n){"use strict";var r=n(233);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=a.default.parse(e,!0,!0),r="https:"===n.protocol;delete n.protocol,delete n.auth,delete n.port;var l={slashes:!0,protocol:"https:",query:{}};if(f=n.host,/^i[0-2]\.wp\.com$/.test(f))l.pathname=n.pathname,l.hostname=n.hostname;else{if(n.search)return null;var u=a.default.format(n);l.pathname=0===u.indexOf("//")?u.substring(1):u,l.hostname=(p=l.pathname,d=(0,i.default)(p),h=(0,o.default)(d),m="i"+Math.floor(3*h()),c('determined server "%s" to use with "%s"',m,p),m+".wp.com"),r&&(l.query.ssl=1)}var p,d,h,m;var f;if(t)for(var b in t)"host"!==b&&"hostname"!==b?"secure"!==b||t[b]?l.query[s[b]||b]=t[b]:l.protocol="http:":l.hostname=t[b];var g=a.default.format(l);return c("generated Photon URL: %s",g),g};var a=r(n(29)),i=r(n(234)),o=r(n(235)),c=(0,r(n(236)).default)("photon"),s={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"}},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var r=n(18),a=n.n(r),i=n(22);function o(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function c(e,t){!function(e,t,n){var r=a()(t,2),c=r[0],s=r[1],h=1/c*(n-i.b*(e.childElementCount-1)-s);!function(e,t){var n=t.rawHeight,r=t.rowWidth,a=l(e),c=a.map((function(e){return(n-i.b*(e.childElementCount-1))*p(e)[0]})),s=o(c,r);a.forEach((function(e,t){var r=c[t],a=s[t];!function(e,t){var n=t.colHeight,r=t.width,a=t.rawWidth,i=o(u(e).map((function(e){return a/d(e)})),n);Array.from(e.children).forEach((function(e,t){var n=i[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-i.b*(e.childElementCount-1),width:a,rawWidth:r})}))}(e,{rawHeight:h,rowWidth:n-i.b*(e.childElementCount-1)})}(e,function(e){return l(e).map(p).reduce((function(e,t){var n=a()(e,2),r=n[0],i=n[1],o=a()(t,2);return[r+o[0],i+o[1]]}),[0,0])}(e),t)}function s(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function l(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function u(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function p(e){var t=u(e),n=t.length,r=1/t.map(d).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function d(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}},function(e,t,n){!function(n,r){var a=Array.prototype,i=Object.prototype,o=a.slice,c=i.hasOwnProperty,s=a.forEach,l={},u={forEach:function(e,t,n){var r,a,i;if(null!==e)if(s&&e.forEach===s)e.forEach(t,n);else if(e.length===+e.length){for(r=0,a=e.length;r<a;r++)if(r in e&&t.call(n,e[r],r,e)===l)return}else for(i in e)if(c.call(e,i)&&t.call(n,e[i],i,e)===l)return},extend:function(e){return this.forEach(o.call(arguments,1),(function(t){for(var n in t)e[n]=t[n]})),e}},p=function(e){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=u.extend({},this.defaults,e),this.textdomain(this.options.domain),e.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+e.domain+"`")};function d(e){return p.PF.compile(e||"nplurals=2; plural=(n != 1);")}function h(e,t){this._key=e,this._i18n=t}p.context_delimiter=String.fromCharCode(4),u.extend(h.prototype,{onDomain:function(e){return this._domain=e,this},withContext:function(e){return this._context=e,this},ifPlural:function(e,t){return this._val=e,this._pkey=t,this},fetch:function(e){return"[object Array]"!={}.toString.call(e)&&(e=[].slice.call(arguments,0)),(e&&e.length?p.sprintf:function(e){return e})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),e)}}),u.extend(p.prototype,{translate:function(e){return new h(e,this)},textdomain:function(e){if(!e)return this._textdomain;this._textdomain=e},gettext:function(e){return this.dcnpgettext.call(this,void 0,void 0,e)},dgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},dcgettext:function(e,t){return this.dcnpgettext.call(this,e,void 0,t)},ngettext:function(e,t,n){return this.dcnpgettext.call(this,void 0,void 0,e,t,n)},dngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},dcngettext:function(e,t,n,r){return this.dcnpgettext.call(this,e,void 0,t,n,r)},pgettext:function(e,t){return this.dcnpgettext.call(this,void 0,e,t)},dpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},dcpgettext:function(e,t,n){return this.dcnpgettext.call(this,e,t,n)},npgettext:function(e,t,n,r){return this.dcnpgettext.call(this,void 0,e,t,n,r)},dnpgettext:function(e,t,n,r,a){return this.dcnpgettext.call(this,e,t,n,r,a)},dcnpgettext:function(e,t,n,r,a){var i;if(r=r||n,e=e||this._textdomain,!this.options)return(i=new p).dcnpgettext.call(i,void 0,void 0,n,r,a);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[e])throw new Error("Domain `"+e+"` was not found.");if(!this.options.locale_data[e][""])throw new Error("No locale meta information provided.");if(!n)throw new Error("No translation key found.");var o,c,s,l=t?t+p.context_delimiter+n:n,u=this.options.locale_data,h=u[e],m=(u.messages||this.defaults.locale_data.messages)[""],f=h[""].plural_forms||h[""]["Plural-Forms"]||h[""]["plural-forms"]||m.plural_forms||m["Plural-Forms"]||m["plural-forms"];if(void 0===a)s=0;else{if("number"!=typeof a&&(a=parseInt(a,10),isNaN(a)))throw new Error("The number that was passed in is not a number.");s=d(f)(a)}if(!h)throw new Error("No domain named `"+e+"` could be found.");return!(o=h[l])||s>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,e),c=[n,r],!0===this.options.debug&&console.log(c[d(f)(a)]),c[d()(a)]):(c=o[s])||(c=[n,r])[d()(a)]}});var m,f,b=function(){function e(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function t(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,r){var a,i,o,c,s,l,u,p=1,d=n.length,h="",m=[];for(i=0;i<d;i++)if("string"===(h=e(n[i])))m.push(n[i]);else if("array"===h){if((c=n[i])[2])for(a=r[p],o=0;o<c[2].length;o++){if(!a.hasOwnProperty(c[2][o]))throw b('[sprintf] property "%s" does not exist',c[2][o]);a=a[c[2][o]]}else a=c[1]?r[c[1]]:r[p++];if(/[^s]/.test(c[8])&&"number"!=e(a))throw b("[sprintf] expecting number but found %s",e(a));switch(null==a&&(a=""),c[8]){case"b":a=a.toString(2);break;case"c":a=String.fromCharCode(a);break;case"d":a=parseInt(a,10);break;case"e":a=c[7]?a.toExponential(c[7]):a.toExponential();break;case"f":a=c[7]?parseFloat(a).toFixed(c[7]):parseFloat(a);break;case"o":a=a.toString(8);break;case"s":a=(a=String(a))&&c[7]?a.substring(0,c[7]):a;break;case"u":a=Math.abs(a);break;case"x":a=a.toString(16);break;case"X":a=a.toString(16).toUpperCase()}a=/[def]/.test(c[8])&&c[3]&&a>=0?"+"+a:a,l=c[4]?"0"==c[4]?"0":c[4].charAt(1):" ",u=c[6]-String(a).length,s=c[6]?t(l,u):"",m.push(c[5]?a+s:s+a)}return m.join("")},n.cache={},n.parse=function(e){for(var t=e,n=[],r=[],a=0;t;){if(null!==(n=/^[^\x25]+/.exec(t)))r.push(n[0]);else if(null!==(n=/^\x25{2}/.exec(t)))r.push("%");else{if(null===(n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t)))throw"[sprintf] huh?";if(n[2]){a|=1;var i=[],o=n[2],c=[];if(null===(c=/^([a-z_][a-z_\d]*)/i.exec(o)))throw"[sprintf] huh?";for(i.push(c[1]);""!==(o=o.substring(c[0].length));)if(null!==(c=/^\.([a-z_][a-z_\d]*)/i.exec(o)))i.push(c[1]);else{if(null===(c=/^\[(\d+)\]/.exec(o)))throw"[sprintf] huh?";i.push(c[1])}n[2]=i}else a|=2;if(3===a)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r},n}(),g=function(e,t){return t.unshift(e),b.apply(null,t)};p.parse_plural=function(e,t){return e=e.replace(/n/g,t),p.parse_expression(e)},p.sprintf=function(e,t){return"[object Array]"=={}.toString.call(t)?g(e,[].slice.call(t)):b.apply(this,[].slice.call(arguments))},p.prototype.sprintf=function(){return p.sprintf.apply(this,arguments)},(p.PF={}).parse=function(e){var t=p.PF.extractPluralExpr(e);return p.PF.parser.parse.call(p.PF.parser,t)},p.PF.compile=function(e){var t=p.PF.parse(e);return function(e){return!0===(n=p.PF.interpreter(t)(e))?1:n||0;var n}},p.PF.interpreter=function(e){return function(t){switch(e.type){case"GROUP":return p.PF.interpreter(e.expr)(t);case"TERNARY":return p.PF.interpreter(e.expr)(t)?p.PF.interpreter(e.truthy)(t):p.PF.interpreter(e.falsey)(t);case"OR":return p.PF.interpreter(e.left)(t)||p.PF.interpreter(e.right)(t);case"AND":return p.PF.interpreter(e.left)(t)&&p.PF.interpreter(e.right)(t);case"LT":return p.PF.interpreter(e.left)(t)<p.PF.interpreter(e.right)(t);case"GT":return p.PF.interpreter(e.left)(t)>p.PF.interpreter(e.right)(t);case"LTE":return p.PF.interpreter(e.left)(t)<=p.PF.interpreter(e.right)(t);case"GTE":return p.PF.interpreter(e.left)(t)>=p.PF.interpreter(e.right)(t);case"EQ":return p.PF.interpreter(e.left)(t)==p.PF.interpreter(e.right)(t);case"NEQ":return p.PF.interpreter(e.left)(t)!=p.PF.interpreter(e.right)(t);case"MOD":return p.PF.interpreter(e.left)(t)%p.PF.interpreter(e.right)(t);case"VAR":return t;case"NUM":return e.val;default:throw new Error("Invalid Token found.")}}},p.PF.extractPluralExpr=function(e){e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(e)||(e=e.concat(";"));var t,n=/nplurals\=(\d+);/,r=e.match(n);if(!(r.length>1))throw new Error("nplurals not found in plural_forms string: "+e);if(r[1],!((t=(e=e.replace(n,"")).match(/plural\=(.*);/))&&t.length>1))throw new Error("`plural` expression not found: "+e);return t[1]},p.PF.parser=(m={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(e,t,n,r,a,i,o){var c=i.length-1;switch(a){case 1:return{type:"GROUP",expr:i[c-1]};case 2:this.$={type:"TERNARY",expr:i[c-4],truthy:i[c-2],falsey:i[c]};break;case 3:this.$={type:"OR",left:i[c-2],right:i[c]};break;case 4:this.$={type:"AND",left:i[c-2],right:i[c]};break;case 5:this.$={type:"LT",left:i[c-2],right:i[c]};break;case 6:this.$={type:"LTE",left:i[c-2],right:i[c]};break;case 7:this.$={type:"GT",left:i[c-2],right:i[c]};break;case 8:this.$={type:"GTE",left:i[c-2],right:i[c]};break;case 9:this.$={type:"NEQ",left:i[c-2],right:i[c]};break;case 10:this.$={type:"EQ",left:i[c-2],right:i[c]};break;case 11:this.$={type:"MOD",left:i[c-2],right:i[c]};break;case 12:this.$={type:"GROUP",expr:i[c-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(e)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(e,t){throw new Error(e)},parse:function(e){var t=this,n=[0],r=[null],a=[],i=this.table,o="",c=0,s=0,l=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;function p(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}a.push(u),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,h,m,f,b,g,v,j,y,_,k={};;){if(m=n[n.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==d&&(d=p()),f=i[m]&&i[m][d]),void 0===f||!f.length||!f[0]){if(!l){for(g in y=[],i[m])this.terminals_[g]&&g>2&&y.push("'"+this.terminals_[g]+"'");var O="";O=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+y.join(", ")+", got '"+this.terminals_[d]+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(O,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:y})}if(3==l){if(1==d)throw new Error(O||"Parsing halted.");s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,d=p()}for(;!(2..toString()in i[m]);){if(0==m)throw new Error(O||"Parsing halted.");_=1,n.length=n.length-2*_,r.length=r.length-_,a.length=a.length-_,m=n[n.length-1]}h=d,d=2,f=i[m=n[n.length-1]]&&i[m][2],l=3}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+d);switch(f[0]){case 1:n.push(d),r.push(this.lexer.yytext),a.push(this.lexer.yylloc),n.push(f[1]),d=null,h?(d=h,h=null):(s=this.lexer.yyleng,o=this.lexer.yytext,c=this.lexer.yylineno,u=this.lexer.yylloc,l>0&&l--);break;case 2:if(v=this.productions_[f[1]][1],k.$=r[r.length-v],k._$={first_line:a[a.length-(v||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(v||1)].first_column,last_column:a[a.length-1].last_column},void 0!==(b=this.performAction.call(k,o,s,c,this.yy,f[1],r,a)))return b;v&&(n=n.slice(0,-1*v*2),r=r.slice(0,-1*v),a=a.slice(0,-1*v)),n.push(this.productions_[f[1]][0]),r.push(k.$),a.push(k._$),j=i[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},f=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parseError)throw new Error(e);this.yy.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.match+=e,this.matched+=e,e.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),e},unput:function(e){return this._input=e+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;r<n.length;r++)if(e=this._input.match(this.rules[n[r]]))return(t=e[0].match(/\n.*/g))&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-1:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],this.performAction.call(this,this.yy,this,n[r],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},performAction:function(e,t,n,r){switch(n){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return e}(),m.lexer=f,m),e.exports&&(t=e.exports=p),t.Jed=p}()},function(e,t){var n=1e3,r=6e4,a=36e5,i=24*a;function o(e,t,n,r){var a=t>=1.5*n;return Math.round(e/n)+" "+r+(a?"s":"")}e.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*i;case"hours":case"hour":case"hrs":case"hr":case"h":return o*a;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return o(e,t,i,"day");if(t>=a)return o(e,t,a,"hour");if(t>=r)return o(e,t,r,"minute");if(t>=n)return o(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=a)return Math.round(e/a)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(r=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(s){a=!0,i=s}finally{try{r||null==c.return||c.return()}finally{if(a)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,n){"use strict";function r(){this.__rules__=[],this.__cache__=null}r.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},r.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},r.prototype.at=function(e,t,n){var r=this.__find__(e),a=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=a.alt||[],this.__cache__=null},r.prototype.before=function(e,t,n,r){var a=this.__find__(e),i=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.after=function(e,t,n,r){var a=this.__find__(e),i=r||{};if(-1===a)throw new Error("Parser rule not found: "+e);this.__rules__.splice(a+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},r.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},r.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},r.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},r.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},r.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},r.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},r.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},r.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},function(e,t,n){"use strict";var r=n(92),a=n(91);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function s(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=a,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),a=0;a<e.length;a+=2)n.push(parseInt(e[a]+e[a+1],16))}else for(var r=0,a=0;a<e.length;a++){var o=e.charCodeAt(a);o<128?n[r++]=o:o<2048?(n[r++]=o>>6|192,n[r++]=63&o|128):i(e,a)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++a)),n[r++]=o>>18|240,n[r++]=o>>12&63|128,n[r++]=o>>6&63|128,n[r++]=63&o|128):(n[r++]=o>>12|224,n[r++]=o>>6&63|128,n[r++]=63&o|128)}else for(a=0;a<e.length;a++)n[a]=0|e[a];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=o,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var a=e[r];"little"===t&&(a=o(a)),n+=s(a.toString(16))}return n},t.zero2=c,t.zero8=s,t.join32=function(e,t,n,a){var i=n-t;r(i%4==0);for(var o=new Array(i/4),c=0,s=t;c<o.length;c++,s+=4){var l;l="big"===a?e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3]:e[s+3]<<24|e[s+2]<<16|e[s+1]<<8|e[s],o[c]=l>>>0}return o},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,a=0;r<e.length;r++,a+=4){var i=e[r];"big"===t?(n[a]=i>>>24,n[a+1]=i>>>16&255,n[a+2]=i>>>8&255,n[a+3]=255&i):(n[a+3]=i>>>24,n[a+2]=i>>>16&255,n[a+1]=i>>>8&255,n[a]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,a){return e+t+n+r+a>>>0},t.sum64=function(e,t,n,r){var a=e[t],i=r+e[t+1]>>>0,o=(i<r?1:0)+n+a;e[t]=o>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,a,i,o,c){var s=0,l=t;return s+=(l=l+r>>>0)<t?1:0,s+=(l=l+i>>>0)<i?1:0,e+n+a+o+(s+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,a,i,o,c){return t+r+i+c>>>0},t.sum64_5_hi=function(e,t,n,r,a,i,o,c,s,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+i>>>0)<i?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+a+o+s+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,a,i,o,c,s,l){return t+r+i+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){"use strict";var r,a="object"==typeof Reflect?Reflect:null,i=a&&"function"==typeof a.apply?a.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var a,i,o,c;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),o=i[t]),void 0===o)o=i[t]=n,++e._eventsCount;else if("function"==typeof o?o=i[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),(a=l(e))>0&&o.length>a&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,c=s,console&&console.warn&&console.warn(c)}return e}function p(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},a=p.bind(r);return a.listener=n,r.wrapFn=a,a}function h(e,t,n){var r=e._events;if(void 0===r)return[];var a=r[t];return void 0===a?[]:"function"==typeof a?n?[a.listener||a]:[a]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(a):f(a,a.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");s=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,a=this._events;if(void 0!==a)r=r&&void 0===a.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var c=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw c.context=o,c}var s=a[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var l=s.length,u=f(s,l);for(n=0;n<l;++n)i(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return u(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return u(this,e,t,!0)},c.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,d(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,d(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,a,i,o;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(a=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){o=n[i].listener,a=i;break}if(a<0)return this;0===a?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,a),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,o||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var a,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(a=i[r])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return h(this,e,!0)},c.prototype.rawListeners=function(e){return h(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(18),a=n.n(r),i=n(5);n(135);function o(){var e,t,r,o,c,s,l,u=arguments;return regeneratorRuntime.async((function(p){for(;;)switch(p.prev=p.next){case 0:return e=u.length>0&&void 0!==u[0]?u[0]:".swiper-container",t=u.length>1&&void 0!==u[1]?u[1]:{},r=u.length>2&&void 0!==u[2]?u[2]:{},o={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(i.mapValues)(r,(function(e){return function(){e(this)}}))},p.next=6,regeneratorRuntime.awrap(Promise.all([n.e(17).then(n.t.bind(null,266,7)),n.e(17).then(n.t.bind(null,267,7))]));case 6:return c=p.sent,s=a()(c,1),l=s[0].default,p.abrupt("return",new l(e,Object(i.merge)({},o,t)));case 10:case"end":return p.stop()}}))}},function(e,t){!function(){e.exports=this.wp.escapeHtml}()},,function(e,t,n){"use strict";var r=n(18),a=n.n(r),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(4),m=n.n(h),f=n(10),b=n.n(f),g=n(3),v=n.n(g),j=n(0),y=n(1),_=n(5),k=n(2),O=(n(131),function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=u()(this,(e=d()(t)).call.apply(e,[this].concat(a))),v()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),v()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,a=e.markerColor,i=this.handleClick,o=[n.coordinates.longitude,n.coordinates.latitude],c=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(o):(c.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(c).setLngLat(o).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",i)),c.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+a+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(j.Component));O.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var w=O,E=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=u()(this,(e=d()(t)).call.apply(e,[this].concat(a))),v()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(j.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(j.Component);E.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=E;var x=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),v()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),v()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),v()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,a=n.slice(0);Object(_.assign)(a[r],t),e.props.onSetPoints(a)})),v()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),v()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,a=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,i=Math.min(.75*r,a);n.style.height=i+"px",t.resize(),e.setBoundsByMarkers()})),v()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.admin,r=t.onSetMapCenter,a=t.onSetZoom,i=t.points,o=t.zoom,c=e.state,s=c.map,l=c.activeMarker,u=c.mapboxgl,p=c.zoomControl,d=c.boundsSetProgrammatically;if(s&&(i.length&&n?s.dragPan.disable():s.dragPan.enable(),i.length&&!l)){var h=new u.LngLatBounds;if(i.forEach((function(e){h.extend([e.coordinates.longitude,e.coordinates.latitude])})),r(h.getCenter()),i.length>1){s.fitBounds(h,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0});try{s.removeControl(p)}catch(m){}}else{if(s.setCenter(h.getCenter()),d){s.setZoom(12),a(12)}else s.setZoom(parseInt(o,10));s.addControl(p),e.setState({boundsSetProgrammatically:!1})}}})),v()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),v()(m()(e),"googlePoint2Mapbox",(function(e){return e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0}})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(j.createRef)(),e.debouncedSizeMap=Object(_.debounce)(e.sizeMap,250),e}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,a=t.children,i=t.markerColor,o=this.state,c=o.map,s=o.activeMarker,l=o.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,d=this.updateActiveMarker,h=Object(_.get)(s,"props.point")||{},m=h.title,f=h.caption,b=j.Children.map(a,(function(e){if("AddPoint"===Object(_.get)(e,"props.tagName"))return e})),g=c&&l&&n.map((function(e,t){return Object(j.createElement)(w,{key:t,point:e,index:t,map:c,mapboxgl:l,markerColor:i,onClick:u})})),v=l&&Object(j.createElement)(C,{activeMarker:s,map:c,mapboxgl:l,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},s&&r&&Object(j.createElement)(j.Fragment,null,Object(j.createElement)(k.TextControl,{label:Object(y.__)("Marker Title","jetpack"),value:m,onChange:function(e){return d({title:e})}}),Object(j.createElement)(k.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(y.__)("Marker Caption","jetpack"),value:f,rows:"2",tag:"textarea",onChange:function(e){return d({caption:e})}}),Object(j.createElement)(k.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(j.createElement)(k.Dashicon,{icon:"trash",size:"15"})," ",Object(y.__)("Delete Marker","jetpack"))),s&&!r&&Object(j.createElement)(j.Fragment,null,Object(j.createElement)("h3",null,m),Object(j.createElement)("p",null,f)));return Object(j.createElement)(j.Fragment,null,Object(j.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},g),v,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,a=t.points,i=t.mapStyle,o=t.mapDetails,c=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),a!==e.points&&this.setBoundsByMarkers(),a.length!==e.points.length&&this.clearCurrentMarker(),i===e.mapStyle&&o===e.mapDetails||c.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(16).then(n.t.bind(null,306,7)),n.e(16).then(n.t.bind(null,307,7))]).then((function(n){var r=a()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,a=r.zoom,i=r.onMapLoaded,o=r.onError,c=r.admin,s=null;try{s=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(a,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void o("mapbox_error",u.message)}s.on("error",(function(e){o("mapbox_error",e.error.message)}));var l=new n.NavigationControl({showCompass:!1,showZoom:!0});s.on("zoomend",(function(){t.props.onSetZoom(s.getZoom())})),s.on("moveend",(function(){var e=t.props,n=e.onSetMapCenter;e.points.length<1&&n(s.getCenter())})),s.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:s,zoomControl:l},(function(){t.debouncedSizeMap(),s.addControl(l),c||s.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),s.resize(),i(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}}]),t}(j.Component);x.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onSetMapCenter:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=x},function(e,t){!function(){e.exports=this.moment}()},function(e,t){!function(){e.exports=this.wp.notices}()},function(e,t){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},a=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(n){return!1}})()||function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof a){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var o in e)e.hasOwnProperty(o)&&this.append(o,e[o])}},i=a.prototype;i.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},i.delete=function(e){delete this._entries[e]},i.get=function(e){return e in this._entries?this._entries[e][0]:null},i.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},i.has=function(e){return e in this._entries},i.set=function(e,t){this._entries[e]=[String(t)]},i.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var a=0;a<n.length;a++)e.call(t,n[a],r,this)}},i.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},i.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},i.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(i[Symbol.iterator]=i.entries),i.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=a}();var i=e.URLSearchParams.prototype;"function"!=typeof i.sort&&(i.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof i._fromString&&Object.defineProperty(i,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,i=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<i.length;n++)r=i[n].split("="),this.append(a(r[0]),r.length>1?a(r[1]):"")}})}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(n){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,a=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(a=document.implementation.createHTMLDocument("")).createElement("base")).href=n,a.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(p){throw new Error("URL unable to set base "+n+" due to "+p)}}var i=a.createElement("a");if(i.href=t,r&&(a.body.appendChild(i),i.href=i.href),":"===i.protocol||!/:/.test(i.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var o=new e.URLSearchParams(this.search),c=!0,s=!0,l=this;["append","delete","set"].forEach((function(e){var t=o[e];o[e]=function(){t.apply(o,arguments),c&&(s=!1,l.search=o.toString(),s=!0)}})),Object.defineProperty(this,"searchParams",{value:o,enumerable:!0});var u=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==u&&(u=this.search,s&&(c=!1,this.searchParams._fromString(this.search),c=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}catch(n){setInterval((function(){e.location.origin=t()}),100)}}}("undefined"!=typeof window?window:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},function(e,t,n){},function(e,t,n){"use strict";e.exports=n(163)},function(e,t,n){"use strict";e.exports.encode=n(164),e.exports.decode=n(165),e.exports.format=n(166),e.exports.parse=n(167)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,n){"use strict";var r="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",i=new RegExp("^(?:"+r+"|"+a+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+r+"|"+a+")");e.exports.HTML_TAG_RE=i,e.exports.HTML_OPEN_CLOSE_TAG_RE=o},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,a,i,o=e.pos,c=e.src.charCodeAt(o);if(t)return!1;if(126!==c)return!1;if(a=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(c),a<2)return!1;for(a%2&&(e.push("text","",0).content=i,a--),n=0;n<a;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:c,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,a,i,o=[],c=e.delimiters,s=e.delimiters.length;for(t=0;t<s;t++)126===(r=c[t]).marker&&-1!==r.end&&(a=c[r.end],(i=e.tokens[r.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[a.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[a.token-1].type&&"~"===e.tokens[a.token-1].content&&o.push(a.token-1));for(;o.length;){for(n=(t=o.pop())+1;n<e.tokens.length&&"s_close"===e.tokens[n].type;)n++;t!==--n&&(i=e.tokens[n],e.tokens[n]=e.tokens[t],e.tokens[t]=i)}}},function(e,t,n){"use strict";e.exports.tokenize=function(e,t){var n,r,a=e.pos,i=e.src.charCodeAt(a);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,jump:n,token:e.tokens.length-1,level:e.level,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.postProcess=function(e){var t,n,r,a,i,o,c=e.delimiters;for(t=e.delimiters.length-1;t>=0;t--)95!==(n=c[t]).marker&&42!==n.marker||-1!==n.end&&(r=c[n.end],o=t>0&&c[t-1].end===n.end+1&&c[t-1].token===n.token-1&&c[n.end+1].token===r.token+1&&c[t-1].marker===n.marker,i=String.fromCharCode(n.marker),(a=e.tokens[n.token]).type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?i+i:i,a.content="",(a=e.tokens[r.token]).type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?i+i:i,a.content="",o&&(e.tokens[c[t-1].token].content="",e.tokens[c[n.end+1].token].content="",t--))}},function(e,t,n){},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(142)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e){e.exports=JSON.parse('{"production":["business-hours","calendly","contact-form","contact-info","eventbrite","gif","likes","mailchimp","map","markdown","opentable","pinterest","publicize","rating-star","recurring-payments","related-posts","repeat-visitor","sharing","shortlinks","simple-payments","slideshow","subscriptions","tiled-gallery","videopress","wordads"],"beta":["amazon","seo"]}')},function(e,t,n){"use strict";var r=n(147),a=n(148);function i(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=a({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),a=t.shift(),i=t.length>0?t.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(a),i,r)})),Object.keys(r).sort().reduce((function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(n):e[t]=n,e}),Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[i(t,e),"[",r,"]"].join(""):[i(t,e),"[",i(r,e),"]=",i(n,e)].join("")};case"bracket":return function(t,n){return null===n?i(t,e):[i(t,e),"[]=",i(n,e)].join("")};default:return function(t,n){return null===n?i(t,e):[i(t,e),"=",i(n,e)].join("")}}}(t=a({encode:!0,strict:!0,arrayFormat:"none"},t));return e?Object.keys(e).sort().map((function(r){var a=e[r];if(void 0===a)return"";if(null===a)return i(r,t);if(Array.isArray(a)){var o=[];return a.slice().forEach((function(e){void 0!==e&&o.push(n(r,e,o.length))})),o.join("&")}return i(r,t)+"="+i(a,t)})).filter((function(e){return e.length>0})).join("&"):""}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.size,a=void 0===n?24:n,i=e.onClick,c=(e.icon,e.className),s=function(e,t){var n={};for(var r in e)0<=t.indexOf(r)||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["size","onClick","icon","className"]),l=["gridicon","gridicons-notice-outline",c,(t=a,!(0!=t%18)&&"needs-offset"),!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",r({className:l,height:a,width:a,onClick:i},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var a,i=n(34),o=(a=i)&&a.__esModule?a:{default:a};e.exports=t.default},function(e,t,n){e.exports=n.p+"images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png"},function(e,t,n){e.exports=n.p+"images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png"},function(e,t,n){e.exports=n.p+"images/map-preview-1744c8f7587de6d8857dbbe7d7cf5cb8.jpg"},function(e,t,n){"use strict";e.exports=n(162)},function(e,t,n){"use strict";e.exports=function(e){var t,n={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(n,e),(t=function(e){return function(t){return function(r){var a,i,o=n[r.type],c=t(r);if(o)for(a=0;a<o.length;a++)(i=o[a](r,e))&&e.dispatch(i);return c}}}).effects=n,t}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(219)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=c(n(34)),i=c(n(220)),o=c(n(223));function c(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,o,c,u,p,d,h,m,f=[],b={};for(d=0;d<e.length;d++)if("string"!==(p=e[d]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],c=d;break}f.push(t[p.value])}else f.push(p.value);return n&&(u=function(e,t){var n,r,a=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+a.value+"`")}(c,e),h=l(e.slice(c+1,u),t),o=a.default.cloneElement(n,{},h),f.push(o),u<e.length-1&&(m=l(e.slice(u+1),t),f=f.concat(m))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,i.default)(b))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,o.default)(t);try{return l(i,n)}catch(c){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+c.message+"`");return t}}},function(e,t,n){var r=n(72),a=n(91);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,a(i,r.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(71),a=n(224),i=n(225),o=r.rotl32,c=r.sum32,s=r.sum32_5,l=i.ft_1,u=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,u),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=o(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var a=this.h[0],i=this.h[1],u=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var m=~~(r/20),f=s(o(a,5),l(m,i,u,d),h,n[r],p[m]);h=d,d=u,u=o(i,30),i=a,a=f}this.h[0]=c(this.h[0],a),this.h[1]=c(this.h[1],i),this.h[2]=c(this.h[2],u),this.h[3]=c(this.h[3],d),this.h[4]=c(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){e.exports=n.p+"images/paypal-button-1e53882e702881f8dfd958c141e65383.png"},function(e,t,n){e.exports=n.p+"images/paypal-button-2x-fe4d34770a47484f401cecbb892f8456.png"},function(e,t,n){e.exports=n.p+"images/simple-payments_example-1-f3666e40d28c564ecf04f814e9a9f236.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-1-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-2-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/slideshow_example-3-75cfaba94fc18a9c4b2bc164bd070c08.jpg"},function(e,t){!function(){e.exports=this.wp.tokenList}()},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-1-e124e79c7cd0291640efe8f28aa9a6cd.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-2-ee687d7366c359324b23a9681fb2cf92.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-3-4d22ce5ab8c84b87d307458fa7975fea.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-4-2c82eb59aaea53932f5e718e17284db7.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-5-3fafa6df43363f274a371ed90dbce254.jpg"},function(e,t,n){e.exports=n.p+"images/tiled-gallery_example-6-797246061ba8a7039b660584e9dc8946.jpg"},function(e,t,n){e.exports=n.p+"images/example_300x250-212e56e8c2ac91bdcbbd742cd7591e17.png"},function(e,t,n){e.exports=n.p+"images/example_728x90-a5e5ae2b8f307e343aea049530c1742d.png"},function(e,t,n){e.exports=n.p+"images/example_320x50-a1b9b09ff673b75f41d0b32162387f89.png"},function(e,t,n){e.exports=n.p+"images/example_160x600-a12cea65e6d4ce4b6f41d8c4f3184ded.png"},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(e){var r;!function(a){t&&t.nodeType,e&&e.nodeType;var i="object"==typeof window&&window;i.global!==i&&i.window!==i&&i.self;var o,c=2147483647,s=/^xn--/,l=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d=Math.floor,h=String.fromCharCode;function m(e){throw RangeError(p[e])}function f(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function b(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+f((e=e.replace(u,".")).split("."),t).join(".")}function g(e){for(var t,n,r=[],a=0,i=e.length;a<i;)(t=e.charCodeAt(a++))>=55296&&t<=56319&&a<i?56320==(64512&(n=e.charCodeAt(a++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),a--):r.push(t);return r}function v(e){return f(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function y(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;r+=36)e=d(e/35);return d(r+36*e/(e+38))}function _(e){var t,n,r,a,i,o,s,l,u,p,h,f=[],b=e.length,g=0,j=128,_=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),f.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<b;){for(i=g,o=1,s=36;a>=b&&m("invalid-input"),((l=(h=e.charCodeAt(a++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:36)>=36||l>d((c-g)/o))&&m("overflow"),g+=l*o,!(l<(u=s<=_?1:s>=_+26?26:s-_));s+=36)o>d(c/(p=36-u))&&m("overflow"),o*=p;_=y(g-i,t=f.length+1,0==i),d(g/t)>c-j&&m("overflow"),j+=d(g/t),g%=t,f.splice(g++,0,j)}return v(f)}function k(e){var t,n,r,a,i,o,s,l,u,p,f,b,v,_,k,O=[];for(b=(e=g(e)).length,t=128,n=0,i=72,o=0;o<b;++o)(f=e[o])<128&&O.push(h(f));for(r=a=O.length,a&&O.push("-");r<b;){for(s=c,o=0;o<b;++o)(f=e[o])>=t&&f<s&&(s=f);for(s-t>d((c-n)/(v=r+1))&&m("overflow"),n+=(s-t)*v,t=s,o=0;o<b;++o)if((f=e[o])<t&&++n>c&&m("overflow"),f==t){for(l=n,u=36;!(l<(p=u<=i?1:u>=i+26?26:u-i));u+=36)k=l-p,_=36-p,O.push(h(j(p+k%_,0))),l=d(k/_);O.push(h(j(l,0))),i=y(n,v,r==a),n=0,++r}++n,++t}return O.join("")}o={version:"1.3.2",ucs2:{decode:g,encode:v},decode:_,encode:k,toASCII:function(e){return b(e,(function(e){return l.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return b(e,(function(e){return s.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()}).call(this,n(137)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(140),t.encode=t.stringify=n(141)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var s=e.length;c>0&&s>c&&(s=c);for(var l=0;l<s;++l){var u,p,d,h,m=e[l].replace(o,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),p=m.substr(f+1)):(u=m,p=""),d=decodeURIComponent(u),h=decodeURIComponent(p),r(i,d)?Array.isArray(i[d])?i[d].push(h):i[d]=[i[d],h]:i[d]=h}return i}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(a){var i=encodeURIComponent(r(a))+n;return Array.isArray(e[a])?e[a].map((function(e){return i+encodeURIComponent(r(e))})).join(t):i+encodeURIComponent(r(e[a]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""}},function(e,t,n){var r=n(21);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return a.colors[Math.abs(t)%a.colors.length]}function a(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var o=r,c=Number(new Date),s=c-(n||c);o.diff=s,o.prev=n,o.curr=c,n=c,t[0]=a.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var r=a.formatters[n];if("function"==typeof r){var i=t[l];e=r.call(o,i),t.splice(l,1),l--}return e})),a.formatArgs.call(o,t);var u=o.log||a.log;u.apply(o,t)}}return r.namespace=e,r.enabled=a.enabled(e),r.useColors=a.useColors(),r.color=t(e),r.destroy=i,r.extend=o,"function"==typeof a.init&&a.init(r),a.instances.push(r),r}function i(){var e=a.instances.indexOf(this);return-1!==e&&(a.instances.splice(e,1),!0)}function o(e,t){var n=a(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function c(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return a.debug=a,a.default=a,a.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},a.disable=function(){var e=[].concat(r(a.names.map(c)),r(a.skips.map(c).map((function(e){return"-"+e})))).join(",");return a.enable(""),e},a.enable=function(e){var t;a.save(e),a.names=[],a.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?a.skips.push(new RegExp("^"+e.substr(1)+"$")):a.names.push(new RegExp("^"+e+"$")));for(t=0;t<a.instances.length;t++){var i=a.instances[t];i.enabled=a.enabled(i.namespace)}},a.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=a.skips.length;t<n;t++)if(a.skips[t].test(e))return!1;for(t=0,n=a.names.length;t<n;t++)if(a.names[t].test(e))return!0;return!1},a.humanize=n(64),Object.keys(e).forEach((function(t){a[t]=e[t]})),a.instances=[],a.names=[],a.skips=[],a.formatters={},a.selectColor=t,a.enable(a.load()),a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,c,s=o(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))a.call(n,u)&&(s[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)i.call(n,c[p])&&(s[c[p]]=n[c[p]])}}return s}},function(e,t,n){},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(19),a=n(170),i=n(174),o=n(175),c=n(183),s=n(197),l=n(210),u=n(82),p=n(212),d={default:n(213),zero:n(214),commonmark:n(215)},h=/^(vbscript|javascript|file|data):/,m=/^data:image\/(gif|png|jpeg|webp);/;function f(e){var t=e.trim().toLowerCase();return!h.test(t)||!!m.test(t)}var b=["http:","https:","mailto:"];function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||b.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}return u.decode(u.format(t))}function j(e,t){if(!(this instanceof j))return new j(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new c,this.core=new o,this.renderer=new i,this.linkify=new l,this.validateLink=f,this.normalizeLink=g,this.normalizeLinkText=v,this.utils=r,this.helpers=r.assign({},a),this.options={},this.configure(e),t&&this.set(t)}j.prototype.set=function(e){return r.assign(this.options,e),this},j.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=d[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)})),this},j.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.enable(e,!0))}),this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},j.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){n=n.concat(this[t].ruler.disable(e,!0))}),this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter((function(e){return n.indexOf(e)<0}));if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},j.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},j.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},j.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},j.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},j.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=j},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,n){"use strict";var r={};function a(e,t,n){var i,o,c,s,l,u="";for("string"!=typeof t&&(n=t,t=a.defaultChars),void 0===n&&(n=!0),l=function(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?a.push(n):a.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)a[e.charCodeAt(t)]=e[t];return a}(t),i=0,o=e.length;i<o;i++)if(c=e.charCodeAt(i),n&&37===c&&i+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(c<128)u+=l[c];else if(c>=55296&&c<=57343){if(c>=55296&&c<=56319&&i+1<o&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}a.defaultChars=";/?:@&=+$,-_.!~*'()#",a.componentChars="-_.!~*'()",e.exports=a},function(e,t,n){"use strict";var r={};function a(e,t){var n;return"string"!=typeof t&&(t=a.defaultChars),n=function(e){var t,n,a=r[e];if(a)return a;for(a=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),a.push(n);for(t=0;t<e.length;t++)a[n=e.charCodeAt(t)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return a}(t),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,r,a,i,o,c,s,l="";for(t=0,r=e.length;t<r;t+=3)(a=parseInt(e.slice(t+1,t+3),16))<128?l+=n[a]:192==(224&a)&&t+3<r&&128==(192&(i=parseInt(e.slice(t+4,t+6),16)))?(l+=(s=a<<6&1984|63&i)<128?"��":String.fromCharCode(s),t+=3):224==(240&a)&&t+6<r&&(i=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),128==(192&i)&&128==(192&o))?(l+=(s=a<<12&61440|i<<6&4032|63&o)<2048||s>=55296&&s<=57343?"���":String.fromCharCode(s),t+=6):240==(248&a)&&t+9<r&&(i=parseInt(e.slice(t+4,t+6),16),o=parseInt(e.slice(t+7,t+9),16),c=parseInt(e.slice(t+10,t+12),16),128==(192&i)&&128==(192&o)&&128==(192&c))?((s=a<<18&1835008|i<<12&258048|o<<6&4032|63&c)<65536||s>1114111?l+="����":(s-=65536,l+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9):l+="�";return l}))}a.defaultChars=";/?:@&=+$,#",a.componentChars="",e.exports=a},function(e,t,n){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var a=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(c),l=["%","/","?",";","#"].concat(s),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,c,s,f=e;if(f=f.trim(),!t&&1===e.split("#").length){var b=o.exec(f);if(b)return this.pathname=b[1],b[2]&&(this.search=b[2]),this}var g=a.exec(f);if(g&&(i=(g=g[0]).toLowerCase(),this.protocol=g,f=f.substr(g.length)),(t||g||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(s="//"===f.substr(0,2))||g&&h[g]||(f=f.substr(2),this.slashes=!0)),!h[g]&&(s||g&&!m[g])){var v,j,y=-1;for(n=0;n<u.length;n++)-1!==(c=f.indexOf(u[n]))&&(-1===y||c<y)&&(y=c);for(-1!==(j=-1===y?f.lastIndexOf("@"):f.lastIndexOf("@",y))&&(v=f.slice(0,j),f=f.slice(j+1),this.auth=v),y=-1,n=0;n<l.length;n++)-1!==(c=f.indexOf(l[n]))&&(-1===y||c<y)&&(y=c);-1===y&&(y=f.length),":"===f[y-1]&&y--;var _=f.slice(0,y);f=f.slice(y),this.parseHost(_),this.hostname=this.hostname||"";var k="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!k){var O=this.hostname.split(/\./);for(n=0,r=O.length;n<r;n++){var w=O[n];if(w&&!w.match(p)){for(var E="",C=0,x=w.length;C<x;C++)w.charCodeAt(C)>127?E+="x":E+=w[C];if(!E.match(p)){var S=O.slice(0,n),A=O.slice(n+1),F=w.match(d);F&&(S.push(F[1]),A.unshift(F[2])),A.length&&(f=A.join(".")+f),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),k&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var P=f.indexOf("#");-1!==P&&(this.hash=f.substr(P),f=f.slice(0,P));var T=f.indexOf("?");return-1!==T&&(this.search=f.substr(T),f=f.slice(0,T)),f&&(this.pathname=f),m[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=i.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},function(e,t,n){"use strict";t.Any=n(83),t.Cc=n(84),t.Cf=n(169),t.P=n(68),t.Z=n(85)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,n){"use strict";t.parseLinkLabel=n(171),t.parseLinkDestination=n(172),t.parseLinkTitle=n(173)},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i,o,c=-1,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--r){a=!0;break}if(o=e.pos,e.md.inline.skipToken(e),91===i)if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}return a&&(c=e.pos),e.pos=l,c}},function(e,t,n){"use strict";var r=n(19).isSpace,a=n(19).unescapeAll;e.exports=function(e,t,n){var i,o,c=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(i=e.charCodeAt(t))||r(i))return s;if(62===i)return s.pos=t+1,s.str=a(e.slice(c+1,t)),s.ok=!0,s;92===i&&t+1<n?t+=2:t++}return s}for(o=0;t<n&&32!==(i=e.charCodeAt(t))&&!(i<32||127===i);)if(92===i&&t+1<n)t+=2;else{if(40===i&&o++,41===i){if(0===o)break;o--}t++}return c===t?s:0!==o?s:(s.str=a(e.slice(c,t)),s.lines=0,s.pos=t,s.ok=!0,s)}},function(e,t,n){"use strict";var r=n(19).unescapeAll;e.exports=function(e,t,n){var a,i,o=0,c=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n)return s;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t<n;){if((a=e.charCodeAt(t))===i)return s.pos=t+1,s.lines=o,s.str=r(e.slice(c+1,t)),s.ok=!0,s;10===a?o++:92===a&&t+1<n&&(t++,10===e.charCodeAt(t)&&o++),t++}return s}},function(e,t,n){"use strict";var r=n(19).assign,a=n(19).unescapeAll,i=n(19).escapeHtml,o={};function c(){this.rules=r({},o)}o.code_inline=function(e,t,n,r,a){var o=e[t];return"<code"+a.renderAttrs(o)+">"+i(e[t].content)+"</code>"},o.code_block=function(e,t,n,r,a){var o=e[t];return"<pre"+a.renderAttrs(o)+"><code>"+i(e[t].content)+"</code></pre>\n"},o.fence=function(e,t,n,r,o){var c,s,l,u,p=e[t],d=p.info?a(p.info).trim():"",h="";return d&&(h=d.split(/\s+/g)[0]),0===(c=n.highlight&&n.highlight(p.content,h)||i(p.content)).indexOf("<pre")?c+"\n":d?(s=p.attrIndex("class"),l=p.attrs?p.attrs.slice():[],s<0?l.push(["class",n.langPrefix+h]):l[s][1]+=" "+n.langPrefix+h,u={attrs:l},"<pre><code"+o.renderAttrs(u)+">"+c+"</code></pre>\n"):"<pre><code"+o.renderAttrs(p)+">"+c+"</code></pre>\n"},o.image=function(e,t,n,r,a){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=a.renderInlineAsText(i.children,n,r),a.renderToken(e,t,n)},o.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},o.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},o.text=function(e,t){return i(e[t].content)},o.html_block=function(e,t){return e[t].content},o.html_inline=function(e,t){return e[t].content},c.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},c.prototype.renderToken=function(e,t,n){var r,a="",i=!1,o=e[t];return o.hidden?"":(o.block&&-1!==o.nesting&&t&&e[t-1].hidden&&(a+="\n"),a+=(-1===o.nesting?"</":"<")+o.tag,a+=this.renderAttrs(o),0===o.nesting&&n.xhtmlOut&&(a+=" /"),o.block&&(i=!0,1===o.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?i=!1:-1===r.nesting&&r.tag===o.tag&&(i=!1))),a+=i?">\n":">")},c.prototype.renderInline=function(e,t,n){for(var r,a="",i=this.rules,o=0,c=e.length;o<c;o++)void 0!==i[r=e[o].type]?a+=i[r](e,o,t,n,this):a+=this.renderToken(e,o,t);return a},c.prototype.renderInlineAsText=function(e,t,n){for(var r="",a=0,i=e.length;a<i;a++)"text"===e[a].type?r+=e[a].content:"image"===e[a].type&&(r+=this.renderInlineAsText(e[a].children,t,n));return r},c.prototype.render=function(e,t,n){var r,a,i,o="",c=this.rules;for(r=0,a=e.length;r<a;r++)"inline"===(i=e[r].type)?o+=this.renderInline(e[r].children,t,n):void 0!==c[i]?o+=c[e[r].type](e,r,t,n,this):o+=this.renderToken(e,r,t,n);return o},e.exports=c},function(e,t,n){"use strict";var r=n(69),a=[["normalize",n(176)],["block",n(177)],["inline",n(178)],["linkify",n(179)],["replacements",n(180)],["smartquotes",n(181)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(182),e.exports=i},function(e,t,n){"use strict";var r=/\r[\n\u0085]?|[\u2424\u2028\u0085]/g,a=/\u0000/g;e.exports=function(e){var t;t=(t=e.src.replace(r,"\n")).replace(a,"�"),e.src=t}},function(e,t,n){"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,a=e.tokens;for(n=0,r=a.length;n<r;n++)"inline"===(t=a[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(e,t,n){"use strict";var r=n(19).arrayReplaceAt;function a(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_=e.tokens;if(e.md.options.linkify)for(n=0,i=_.length;n<i;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(f=0,t=(o=_[n].children).length-1;t>=0;t--)if("link_close"!==(s=o[t]).type){if("html_inline"===s.type&&(y=s.content,/^<a[>\s]/i.test(y)&&f>0&&f--,a(s.content)&&f++),!(f>0)&&"text"===s.type&&e.md.linkify.test(s.content)){for(p=s.content,j=e.md.linkify.match(p),l=[],m=s.level,h=0,u=0;u<j.length;u++)b=j[u].url,g=e.md.normalizeLink(b),e.md.validateLink(g)&&(v=j[u].text,v=j[u].schema?"mailto:"!==j[u].schema||/^mailto:/i.test(v)?e.md.normalizeLinkText(v):e.md.normalizeLinkText("mailto:"+v).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+v).replace(/^http:\/\//,""),(d=j[u].index)>h&&((c=new e.Token("text","",0)).content=p.slice(h,d),c.level=m,l.push(c)),(c=new e.Token("link_open","a",1)).attrs=[["href",g]],c.level=m++,c.markup="linkify",c.info="auto",l.push(c),(c=new e.Token("text","",0)).content=v,c.level=m,l.push(c),(c=new e.Token("link_close","a",-1)).level=--m,c.markup="linkify",c.info="auto",l.push(c),h=j[u].lastIndex);h<p.length&&((c=new e.Token("text","",0)).content=p.slice(h),c.level=m,l.push(c)),_[n].children=o=r(o,t,l)}}else for(t--;o[t].level!==s.level&&"link_open"!==o[t].type;)t--}},function(e,t,n){"use strict";var r=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,a=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/gi,o={c:"©",r:"®",p:"§",tm:"™"};function c(e,t){return o[t.toLowerCase()]}function s(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||r||(n.content=n.content.replace(i,c)),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}function l(e){var t,n,a=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||a||r.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&a--,"link_close"===n.type&&"auto"===n.info&&a++}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(a.test(e.tokens[t].content)&&s(e.tokens[t].children),r.test(e.tokens[t].content)&&l(e.tokens[t].children))}},function(e,t,n){"use strict";var r=n(19).isWhiteSpace,a=n(19).isPunctChar,i=n(19).isMdAsciiPunct,o=/['"]/,c=/['"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function l(e,t){var n,o,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E,C,x;for(E=[],n=0;n<e.length;n++){for(o=e[n],h=e[n].level,O=E.length-1;O>=0&&!(E[O].level<=h);O--);if(E.length=O+1,"text"===o.type){p=0,d=(l=o.content).length;e:for(;p<d&&(c.lastIndex=p,u=c.exec(l));){if(_=k=!0,p=u.index+1,w="'"===u[0],f=32,u.index-1>=0)f=l.charCodeAt(u.index-1);else for(O=n-1;O>=0&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O--)if("text"===e[O].type){f=e[O].content.charCodeAt(e[O].content.length-1);break}if(b=32,p<d)b=l.charCodeAt(p);else for(O=n+1;O<e.length&&("softbreak"!==e[O].type&&"hardbreak"!==e[O].type);O++)if("text"===e[O].type){b=e[O].content.charCodeAt(0);break}if(g=i(f)||a(String.fromCharCode(f)),v=i(b)||a(String.fromCharCode(b)),j=r(f),(y=r(b))?_=!1:v&&(j||g||(_=!1)),j?k=!1:g&&(y||v||(k=!1)),34===b&&'"'===u[0]&&f>=48&&f<=57&&(k=_=!1),_&&k&&(_=!1,k=v),_||k){if(k)for(O=E.length-1;O>=0&&(m=E[O],!(E[O].level<h));O--)if(m.single===w&&E[O].level===h){m=E[O],w?(C=t.md.options.quotes[2],x=t.md.options.quotes[3]):(C=t.md.options.quotes[0],x=t.md.options.quotes[1]),o.content=s(o.content,u.index,x),e[m.token].content=s(e[m.token].content,m.pos,C),p+=x.length-1,m.token===n&&(p+=C.length-1),d=(l=o.content).length,E.length=O;continue e}_?E.push({token:n,pos:u.index,single:w,level:h}):k&&w&&(o.content=s(o.content,u.index,"’"))}else w&&(o.content=s(o.content,u.index,"’"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&o.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},function(e,t,n){"use strict";var r=n(70);function a(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}a.prototype.Token=r,e.exports=a},function(e,t,n){"use strict";var r=n(69),a=[["table",n(184),["paragraph","reference"]],["code",n(185)],["fence",n(186),["paragraph","reference","blockquote","list"]],["blockquote",n(187),["paragraph","reference","blockquote","list"]],["hr",n(188),["paragraph","reference","blockquote","list"]],["list",n(189),["paragraph","reference","blockquote"]],["reference",n(190)],["heading",n(191),["paragraph","reference","blockquote"]],["lheading",n(192)],["html_block",n(193),["paragraph","reference","blockquote"]],["paragraph",n(195)]];function i(){this.ruler=new r;for(var e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1],{alt:(a[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,a=this.ruler.getRules(""),i=a.length,o=t,c=!1,s=e.md.options.maxNesting;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n))&&!(e.sCount[o]<e.blkIndent);){if(e.level>=s){e.line=n;break}for(r=0;r<i&&!a[r](e,o,n,!1);r++);e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),(o=e.line)<n&&e.isEmpty(o)&&(c=!0,o++,e.line=o)}},i.prototype.parse=function(e,t,n,r){var a;e&&(a=new this.State(e,t,n,r),this.tokenize(a,a.line,a.lineMax))},i.prototype.State=n(196),e.exports=i},function(e,t,n){"use strict";var r=n(19).isSpace;function a(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,a=e.length,i=0,o=0,c=!1,s=0;for(t=e.charCodeAt(r);r<a;)96===t?c?(c=!1,s=r):i%2==0&&(c=!0,s=r):124!==t||i%2!=0||c||(n.push(e.substring(o,r)),o=r+1),92===t?i++:i=0,++r===a&&c&&(c=!1,r=s+1),t=e.charCodeAt(r);return n.push(e.substring(o)),n}e.exports=function(e,t,n,o){var c,s,l,u,p,d,h,m,f,b,g,v;if(t+2>n)return!1;if(p=t+1,e.sCount[p]<e.blkIndent)return!1;if(e.sCount[p]-e.blkIndent>=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(c=e.src.charCodeAt(l++))&&45!==c&&58!==c)return!1;for(;l<e.eMarks[p];){if(124!==(c=e.src.charCodeAt(l))&&45!==c&&58!==c&&!r(c))return!1;l++}for(d=(s=a(e,t+1)).split("|"),f=[],u=0;u<d.length;u++){if(!(b=d[u].trim())){if(0===u||u===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;58===b.charCodeAt(b.length-1)?f.push(58===b.charCodeAt(0)?"center":"right"):58===b.charCodeAt(0)?f.push("left"):f.push("")}if(-1===(s=a(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((h=(d=i(s.replace(/^\||\|$/g,""))).length)>f.length)return!1;if(o)return!0;for((m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<d.length;u++)(m=e.push("th_open","th",1)).map=[t,t+1],f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=d[u].trim(),m.map=[t,t+1],m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),(m=e.push("tbody_open","tbody",1)).map=v=[t+2,0],p=t+2;p<n&&!(e.sCount[p]<e.blkIndent)&&-1!==(s=a(e,p).trim()).indexOf("|")&&!(e.sCount[p]-e.blkIndent>=4);p++){for(d=i(s.replace(/^\||\|$/g,"")),m=e.push("tr_open","tr",1),u=0;u<h;u++)m=e.push("td_open","td",1),f[u]&&(m.attrs=[["style","text-align:"+f[u]]]),(m=e.push("inline","",0)).content=d[u]?d[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return m=e.push("tbody_close","tbody",-1),m=e.push("table_close","table",-1),g[1]=v[1]=p,e.line=p,!0}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(a=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;a=++r}return e.line=a,(i=e.push("code_block","code",0)).content=e.getLines(t,a,4+e.blkIndent,!0),i.map=[t,e.line],!0}},function(e,t,n){"use strict";e.exports=function(e,t,n,r){var a,i,o,c,s,l,u,p=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(a=e.src.charCodeAt(d))&&96!==a)return!1;if(s=d,(i=(d=e.skipChars(d,a))-s)<3)return!1;if(u=e.src.slice(s,d),(o=e.src.slice(d,h)).indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;for(c=t;!(++c>=n)&&!((d=s=e.bMarks[c]+e.tShift[c])<(h=e.eMarks[c])&&e.sCount[c]<e.blkIndent);)if(e.src.charCodeAt(d)===a&&!(e.sCount[c]-e.blkIndent>=4||(d=e.skipChars(d,a))-s<i||(d=e.skipSpaces(d))<h)){p=!0;break}return i=e.sCount[t],e.line=c+(p?1:0),(l=e.push("fence","code",0)).info=o,l.content=e.getLines(t+1,c,i,!0),l.markup=u,l.map=[t,e.line],!0}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E=e.lineMax,C=e.bMarks[t]+e.tShift[t],x=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(C++))return!1;if(a)return!0;for(s=h=e.sCount[t]+C-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(C)?(C++,s++,h++,i=!1,y=!0):9===e.src.charCodeAt(C)?(y=!0,(e.bsCount[t]+h)%4==3?(C++,s++,h++,i=!1):i=!0):y=!1,m=[e.bMarks[t]],e.bMarks[t]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?h+=4-(h+e.bsCount[t]+(i?1:0))%4:h++,C++;for(f=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(y?1:0),u=C>=x,v=[e.sCount[t]],e.sCount[t]=h-s,j=[e.tShift[t]],e.tShift[t]=C-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",w=!1,d=t+1;d<n&&(e.sCount[d]<e.blkIndent&&(w=!0),!((C=e.bMarks[d]+e.tShift[d])>=(x=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(C++)||w){if(u)break;for(_=!1,c=0,l=k.length;c<l;c++)if(k[c](e,d,n,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(m.push(e.bMarks[d]),f.push(e.bsCount[d]),j.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}m.push(e.bMarks[d]),f.push(e.bsCount[d]),j.push(e.tShift[d]),v.push(e.sCount[d]),e.sCount[d]=-1}else{for(s=h=e.sCount[d]+C-(e.bMarks[d]+e.tShift[d]),32===e.src.charCodeAt(C)?(C++,s++,h++,i=!1,y=!0):9===e.src.charCodeAt(C)?(y=!0,(e.bsCount[d]+h)%4==3?(C++,s++,h++,i=!1):i=!0):y=!1,m.push(e.bMarks[d]),e.bMarks[d]=C;C<x&&(o=e.src.charCodeAt(C),r(o));)9===o?h+=4-(h+e.bsCount[d]+(i?1:0))%4:h++,C++;u=C>=x,f.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(y?1:0),v.push(e.sCount[d]),e.sCount[d]=h-s,j.push(e.tShift[d]),e.tShift[d]=C-e.bMarks[d]}for(b=e.blkIndent,e.blkIndent=0,(O=e.push("blockquote_open","blockquote",1)).markup=">",O.map=p=[t,0],e.md.block.tokenize(e,t,d),(O=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=g,p[1]=e.line,c=0;c<j.length;c++)e.bMarks[c+t]=m[c],e.tShift[c+t]=j[c],e.sCount[c+t]=v[c],e.bsCount[c+t]=f[c];return e.blkIndent=b,!0}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(o=1;l<u;){if((c=e.src.charCodeAt(l++))!==i&&!r(c))return!1;c===i&&o++}return!(o<3)&&(!!a||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(o+1).join(String.fromCharCode(i)),!0))}},function(e,t,n){"use strict";var r=n(19).isSpace;function a(e,t){var n,a,i,o;return a=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(a++))&&45!==n&&43!==n?-1:a<i&&(o=e.src.charCodeAt(a),!r(o))?-1:a}function i(e,t){var n,a=e.bMarks[t]+e.tShift[t],i=a,o=e.eMarks[t];if(i+1>=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-a>=10)return-1}return i<o&&(n=e.src.charCodeAt(i),!r(n))?-1:i}e.exports=function(e,t,n,r){var o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k,O,w,E,C,x,S,A,F,P,T,M,N=!1,R=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(r&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(N=!0),(S=i(e,t))>=0){if(d=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(F,S-F-1)),N&&1!==v)return!1}else{if(!((S=a(e,t))>=0))return!1;d=!1}if(N&&e.skipSpaces(S)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(S-1),r)return!0;for(b=e.tokens.length,d?(M=e.push("ordered_list_open","ol",1),1!==v&&(M.attrs=[["start",v]])):M=e.push("bullet_list_open","ul",1),M.map=f=[t,0],M.markup=String.fromCharCode(g),y=t,A=!1,T=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";y<n;){for(x=S,j=e.eMarks[y],p=_=e.sCount[y]+S-(e.bMarks[t]+e.tShift[t]);x<j;){if(9===(o=e.src.charCodeAt(x)))_+=4-(_+e.bsCount[y])%4;else{if(32!==o)break;_++}x++}if((u=(c=x)>=j?1:_-p)>4&&(u=1),l=p+u,(M=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),M.map=h=[t,0],k=e.blkIndent,C=e.tight,E=e.tShift[t],O=e.sCount[t],e.blkIndent=l,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=_,c>=j&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!A||(R=!1),A=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=E,e.sCount[t]=O,e.tight=C,(M=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),y=t=e.line,h[1]=y,c=e.bMarks[t],y>=n)break;if(e.sCount[y]<e.blkIndent)break;for(P=!1,s=0,m=T.length;s<m;s++)if(T[s](e,y,n,!0)){P=!0;break}if(P)break;if(d){if((S=i(e,y))<0)break}else if((S=a(e,y))<0)break;if(g!==e.src.charCodeAt(S-1))break}return(M=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),f[1]=y,e.line=y,e.parentType=w,R&&function(e,t){var n,r,a=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===a&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,b),!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t,n,i){var o,c,s,l,u,p,d,h,m,f,b,g,v,j,y,_,k=0,O=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],E=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(O))return!1;for(;++O<w;)if(93===e.src.charCodeAt(O)&&92!==e.src.charCodeAt(O-1)){if(O+1===w)return!1;if(58!==e.src.charCodeAt(O+1))return!1;break}for(l=e.lineMax,y=e.md.block.ruler.getRules("reference"),f=e.parentType,e.parentType="reference";E<l&&!e.isEmpty(E);E++)if(!(e.sCount[E]-e.blkIndent>3||e.sCount[E]<0)){for(j=!1,p=0,d=y.length;p<d;p++)if(y[p](e,E,l,!0)){j=!0;break}if(j)break}for(w=(v=e.getLines(t,E,e.blkIndent,!1).trim()).length,O=1;O<w;O++){if(91===(o=v.charCodeAt(O)))return!1;if(93===o){m=O;break}10===o?k++:92===o&&++O<w&&10===v.charCodeAt(O)&&k++}if(m<0||58!==v.charCodeAt(m+1))return!1;for(O=m+2;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!a(o))break;if(!(b=e.md.helpers.parseLinkDestination(v,O,w)).ok)return!1;if(u=e.md.normalizeLink(b.str),!e.md.validateLink(u))return!1;for(c=O=b.pos,s=k+=b.lines,g=O;O<w;O++)if(10===(o=v.charCodeAt(O)))k++;else if(!a(o))break;for(b=e.md.helpers.parseLinkTitle(v,O,w),O<w&&g!==O&&b.ok?(_=b.str,O=b.pos,k+=b.lines):(_="",O=c,k=s);O<w&&(o=v.charCodeAt(O),a(o));)O++;if(O<w&&10!==v.charCodeAt(O)&&_)for(_="",O=c,k=s;O<w&&(o=v.charCodeAt(O),a(o));)O++;return!(O<w&&10!==v.charCodeAt(O))&&(!!(h=r(v.slice(1,m)))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[h]&&(e.env.references[h]={title:_,href:u}),e.parentType=f,e.line=t+k+1,!0)))}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t,n,a){var i,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(o=1,i=e.src.charCodeAt(++l);35===i&&l<u&&o<=6;)o++,i=e.src.charCodeAt(++l);return!(o>6||l<u&&!r(i))&&(!!a||(u=e.skipSpacesBack(u,l),(c=e.skipCharsBack(u,35,l))>l&&r(e.src.charCodeAt(c-1))&&(u=c),e.line=t+1,(s=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(l,u).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o),!0))}},function(e,t,n){"use strict";e.exports=function(e,t,n){var r,a,i,o,c,s,l,u,p,d,h=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";h<n&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(s=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(s))||61===p)&&(s=e.skipChars(s,p),(s=e.skipSpaces(s))>=l)){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(a=!1,i=0,o=m.length;i<o;i++)if(m[i](e,h,n,!0)){a=!0;break}if(a)break}}return!!u&&(r=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(c=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),c.map=[t,e.line],(c=e.push("inline","",0)).content=r,c.map=[t,e.line-1],c.children=[],(c=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(e,t,n){"use strict";var r=n(194),a=n(86).HTML_OPEN_CLOSE_TAG_RE,i=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var a,o,c,s,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(s=e.src.slice(l,u),a=0;a<i.length&&!i[a][0].test(s);a++);if(a===i.length)return!1;if(r)return i[a][2];if(o=t+1,!i[a][1].test(s))for(;o<n&&!(e.sCount[o]<e.blkIndent);o++)if(l=e.bMarks[o]+e.tShift[o],u=e.eMarks[o],s=e.src.slice(l,u),i[a][1].test(s)){0!==s.length&&o++;break}return e.line=o,(c=e.push("html_block","",0)).map=[t,o],c.content=e.getLines(t,o,e.blkIndent,!0),!0}},function(e,t,n){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,a,i,o,c,s=t+1,l=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(c=e.parentType,e.parentType="paragraph";s<u&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)){for(r=!1,a=0,i=l.length;a<i;a++)if(l[a](e,s,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(o=e.push("paragraph_open","p",1)).map=[t,e.line],(o=e.push("inline","",0)).content=n,o.map=[t,e.line],o.children=[],o=e.push("paragraph_close","p",-1),e.parentType=c,!0}},function(e,t,n){"use strict";var r=n(70),a=n(19).isSpace;function i(e,t,n,r){var i,o,c,s,l,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,c=s=u=p=0,l=(o=this.src).length;s<l;s++){if(i=o.charCodeAt(s),!d){if(a(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&s!==l-1||(10!==i&&s++,this.bMarks.push(c),this.eMarks.push(s),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,c=s+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var a=new r(e,t,n);return a.block=!0,n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.tokens.push(a),a},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),a(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!a(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,o,c,s,l,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(o=0,p=s=this.bMarks[d],l=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];s<l&&o<n;){if(c=this.src.charCodeAt(s),a(c))9===c?o+=4-(o+this.bsCount[d])%4:o++;else{if(!(s-p<this.tShift[d]))break;o++}s++}u[i]=o>n?new Array(o-n+1).join(" ")+this.src.slice(s,l):this.src.slice(s,l)}return u.join("")},i.prototype.Token=r,e.exports=i},function(e,t,n){"use strict";var r=n(69),a=[["text",n(198)],["newline",n(199)],["escape",n(200)],["backticks",n(201)],["strikethrough",n(87).tokenize],["emphasis",n(88).tokenize],["link",n(202)],["image",n(203)],["autolink",n(204)],["html_inline",n(205)],["entity",n(206)]],i=[["balance_pairs",n(207)],["strikethrough",n(87).postProcess],["emphasis",n(88).postProcess],["text_collapse",n(208)]];function o(){var e;for(this.ruler=new r,e=0;e<a.length;e++)this.ruler.push(a[e][0],a[e][1]);for(this.ruler2=new r,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}o.prototype.skipToken=function(e){var t,n,r=e.pos,a=this.ruler.getRules(""),i=a.length,o=e.md.options.maxNesting,c=e.cache;if(void 0===c[r]){if(e.level<o)for(n=0;n<i&&(e.level++,t=a[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,c[r]=e.pos}else e.pos=c[r]},o.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),a=r.length,i=e.posMax,o=e.md.options.maxNesting;e.pos<i;){if(e.level<o)for(n=0;n<a&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},o.prototype.parse=function(e,t,n,r){var a,i,o,c=new this.State(e,t,n,r);for(this.tokenize(c),o=(i=this.ruler2.getRules("")).length,a=0;a<o;a++)i[a](c)},o.prototype.State=n(209),e.exports=o},function(e,t,n){"use strict";function r(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!r(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},function(e,t,n){"use strict";var r=n(19).isSpace;e.exports=function(e,t){var n,a,i=e.pos;if(10!==e.src.charCodeAt(i))return!1;for(n=e.pending.length-1,a=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),i++;i<a&&r(e.src.charCodeAt(i));)i++;return e.pos=i,!0}},function(e,t,n){"use strict";for(var r=n(19).isSpace,a=[],i=0;i<256;i++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){a[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<o){if((n=e.src.charCodeAt(i))<256&&0!==a[n])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),i++;i<o&&(n=e.src.charCodeAt(i),r(n));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e,t){var n,r,a,i,o,c,s=e.pos;if(96!==e.src.charCodeAt(s))return!1;for(n=s,s++,r=e.posMax;s<r&&96===e.src.charCodeAt(s);)s++;for(a=e.src.slice(n,s),i=o=s;-1!==(i=e.src.indexOf("`",o));){for(o=i+1;o<r&&96===e.src.charCodeAt(o);)o++;if(o-i===a.length)return t||((c=e.push("code_inline","code",0)).markup=a,c.content=e.src.slice(s,i).replace(/[ \n]+/g," ").trim()),e.pos=o,!0}return t||(e.pending+=a),e.pos+=a.length,!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t){var n,i,o,c,s,l,u,p,d,h="",m=e.pos,f=e.posMax,b=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(s=e.pos+1,(c=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=c+1)<f&&40===e.src.charCodeAt(l)){for(g=!1,l++;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);if(l>=f)return!1;for(b=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?l=u.pos:h=""),b=l;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<f&&b!==l&&u.ok)for(d=u.str,l=u.pos;l<f&&(i=e.src.charCodeAt(l),a(i)||10===i);l++);else d="";(l>=f||41!==e.src.charCodeAt(l))&&(g=!0),l++}if(g){if(void 0===e.env.references)return!1;if(l<f&&91===e.src.charCodeAt(l)?(b=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(b,l++):l=c+1):l=c+1,o||(o=e.src.slice(s,c)),!(p=e.env.references[r(o)]))return e.pos=m,!1;h=p.href,d=p.title}return t||(e.pos=s,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=f,!0}},function(e,t,n){"use strict";var r=n(19).normalizeReference,a=n(19).isSpace;e.exports=function(e,t){var n,i,o,c,s,l,u,p,d,h,m,f,b,g="",v=e.pos,j=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=s+1)<j&&40===e.src.charCodeAt(u)){for(u++;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);if(u>=j)return!1;for(b=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(g=e.md.normalizeLink(d.str),e.md.validateLink(g)?u=d.pos:g=""),b=u;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<j&&b!==u&&d.ok)for(h=d.str,u=d.pos;u<j&&(i=e.src.charCodeAt(u),a(i)||10===i);u++);else h="";if(u>=j||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if(void 0===e.env.references)return!1;if(u<j&&91===e.src.charCodeAt(u)?(b=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?c=e.src.slice(b,u++):u=s+1):u=s+1,c||(c=e.src.slice(l,s)),!(p=e.env.references[r(c)]))return e.pos=v,!1;g=p.href,h=p.title}return t||(o=e.src.slice(l,s),e.md.inline.parse(o,e.md,e.env,f=[]),(m=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],m.children=f,m.content=o,h&&n.push(["title",h])),e.pos=u,e.posMax=j,!0}},function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,a=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(e,t){var n,i,o,c,s,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(!((n=e.src.slice(u)).indexOf(">")<0)&&(a.test(n)?(c=(i=n.match(a))[0].slice(1,-1),s=e.md.normalizeLink(c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=i[0].length,!0)):!!r.test(n)&&(c=(o=n.match(r))[0].slice(1,-1),s=e.md.normalizeLink("mailto:"+c),!!e.md.validateLink(s)&&(t||((l=e.push("link_open","a",1)).attrs=[["href",s]],l.markup="autolink",l.info="auto",(l=e.push("text","",0)).content=e.md.normalizeLinkText(c),(l=e.push("link_close","a",-1)).markup="autolink",l.info="auto"),e.pos+=o[0].length,!0))))}},function(e,t,n){"use strict";var r=n(86).HTML_TAG_RE;e.exports=function(e,t){var n,a,i,o=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=i)&&(!(33!==(n=e.src.charCodeAt(o+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(a=e.src.slice(o).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+a[0].length)),e.pos+=a[0].length,!0))))}},function(e,t,n){"use strict";var r=n(81),a=n(19).has,i=n(19).isValidEntityCode,o=n(19).fromCodePoint,c=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,l,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(l=e.src.slice(u).match(c))return t||(n="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),e.pending+=i(n)?o(n):o(65533)),e.pos+=l[0].length,!0}else if((l=e.src.slice(u).match(s))&&a(r,l[1]))return t||(e.pending+=r[l[1]]),e.pos+=l[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r,a,i=e.delimiters,o=e.delimiters.length;for(t=0;t<o;t++)if((r=i[t]).close)for(n=t-r.jump-1;n>=0;){if((a=i[n]).open&&a.marker===r.marker&&a.end<0&&a.level===r.level)if(!((a.close||r.open)&&void 0!==a.length&&void 0!==r.length&&(a.length+r.length)%3==0)){r.jump=t-n,r.open=!1,a.end=t,a.jump=0;break}n-=a.jump+1}}},function(e,t,n){"use strict";e.exports=function(e){var t,n,r=0,a=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)r+=a[t].nesting,a[t].level=r,"text"===a[t].type&&t+1<i&&"text"===a[t+1].type?a[t+1].content=a[t].content+a[t+1].content:(t!==n&&(a[n]=a[t]),n++);t!==n&&(a.length=n)}},function(e,t,n){"use strict";var r=n(70),a=n(19).isWhiteSpace,i=n(19).isPunctChar,o=n(19).isMdAsciiPunct;function c(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[]}c.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},c.prototype.push=function(e,t,n){this.pending&&this.pushPending();var a=new r(e,t,n);return n<0&&this.level--,a.level=this.level,n>0&&this.level++,this.pendingLevel=this.level,this.tokens.push(a),a},c.prototype.scanDelims=function(e,t){var n,r,c,s,l,u,p,d,h,m=e,f=!0,b=!0,g=this.posMax,v=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;m<g&&this.src.charCodeAt(m)===v;)m++;return c=m-e,r=m<g?this.src.charCodeAt(m):32,p=o(n)||i(String.fromCharCode(n)),h=o(r)||i(String.fromCharCode(r)),u=a(n),(d=a(r))?f=!1:h&&(u||p||(f=!1)),u?b=!1:p&&(d||h||(b=!1)),t?(s=f,l=b):(s=f&&(!b||p),l=b&&(!f||h)),{can_open:s,can_close:l,length:c}},c.prototype.Token=r,e.exports=c},function(e,t,n){"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function a(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===a(e)}function o(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var s={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(e){var t=e.re=n(211)(e.__opts__),r=e.__tlds__.slice();function c(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(c(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(c(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(c(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(c(t.tpl_host_fuzzy_test),"i");var s=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var n=e.__schemas__[t];if(null!==n){var r={validate:null,link:null};if(e.__compiled__[t]=r,"[object Object]"===a(n))return!function(e){return"[object RegExp]"===a(e)}(n.validate)?i(n.validate)?r.validate=n.validate:l(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?l(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===a(e)}(n)?l(t,n):s.push(t)}})),s.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(o).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,a=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=a,this.text=a,this.url=a}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||c.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},c,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,a,i,o,c,s;if(this.re.schema_test.test(e))for((c=this.re.schema_search).lastIndex=0;null!==(t=c.exec(e));)if(a=this.testSchemaAt(e,t[2],c.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+a;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,o=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&o>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=o)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,n){return e!==n[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},function(e,t,n){"use strict";e.exports=function(e){var t={};t.src_Any=n(83).source,t.src_Cc=n(84).source,t.src_Z=n(85).source,t.src_P=n(68).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(e,t,n){"use strict";n.r(t),n.d(t,"ucs2decode",(function(){return m})),n.d(t,"ucs2encode",(function(){return f})),n.d(t,"decode",(function(){return v})),n.d(t,"encode",(function(){return j})),n.d(t,"toASCII",(function(){return _})),n.d(t,"toUnicode",(function(){return y}));var r=n(21),a=n.n(r),i=2147483647,o=/^xn--/,c=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,p=String.fromCharCode;function d(e){throw new RangeError(l[e])}function h(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);var a=function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+a}function m(e){for(var t=[],n=0,r=e.length;n<r;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&a)<<10)+(1023&i)+65536):(t.push(a),n--)}else t.push(a)}return t}var f=function(e){return String.fromCodePoint.apply(String,a()(e))},b=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;r+=36)e=u(e/35);return u(r+36*e/(e+38))},v=function(e){var t,n=[],r=e.length,a=0,o=128,c=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&d("not-basic"),n.push(e.charCodeAt(l));for(var p=s>0?s+1:0;p<r;){for(var h=a,m=1,f=36;;f+=36){p>=r&&d("invalid-input");var b=(t=e.charCodeAt(p++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36;(b>=36||b>u((i-a)/m))&&d("overflow"),a+=b*m;var v=f<=c?1:f>=c+26?26:f-c;if(b<v)break;var j=36-v;m>u(i/j)&&d("overflow"),m*=j}var y=n.length+1;c=g(a-h,y,0==h),u(a/y)>i-o&&d("overflow"),o+=u(a/y),a%=y,n.splice(a++,0,o)}return String.fromCodePoint.apply(String,n)},j=function(e){var t=[],n=(e=m(e)).length,r=128,a=0,o=72,c=!0,s=!1,l=void 0;try{for(var h,f=e[Symbol.iterator]();!(c=(h=f.next()).done);c=!0){var v=h.value;v<128&&t.push(p(v))}}catch(B){s=!0,l=B}finally{try{c||null==f.return||f.return()}finally{if(s)throw l}}var j=t.length,y=j;for(j&&t.push("-");y<n;){var _=i,k=!0,O=!1,w=void 0;try{for(var E,C=e[Symbol.iterator]();!(k=(E=C.next()).done);k=!0){var x=E.value;x>=r&&x<_&&(_=x)}}catch(B){O=!0,w=B}finally{try{k||null==C.return||C.return()}finally{if(O)throw w}}var S=y+1;_-r>u((i-a)/S)&&d("overflow"),a+=(_-r)*S,r=_;var A=!0,F=!1,P=void 0;try{for(var T,M=e[Symbol.iterator]();!(A=(T=M.next()).done);A=!0){var N=T.value;if(N<r&&++a>i&&d("overflow"),N==r){for(var R=a,D=36;;D+=36){var z=D<=o?1:D>=o+26?26:D-o;if(R<z)break;var I=R-z,L=36-z;t.push(p(b(z+I%L,0))),R=u(I/L)}t.push(p(b(R,0))),o=g(a,S,y==j),a=0,++y}}}catch(B){F=!0,P=B}finally{try{A||null==M.return||M.return()}finally{if(F)throw P}}++a,++r}return t.join("")},y=function(e){return h(e,(function(e){return o.test(e)?v(e.slice(4).toLowerCase()):e}))},_=function(e){return h(e,(function(e){return c.test(e)?"xn--"+j(e):e}))},k={version:"2.1.0",ucs2:{decode:m,encode:f},decode:v,encode:j,toASCII:_,toUnicode:y};t.default=k},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,n){"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=o,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var a=r.formatters[n];if("function"==typeof a){var o=t[l];e=a.call(i,o),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=a,o.extend=i,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function a(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(t=0;t<a;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(64),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){"use strict";var r=n(34),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(90),o=n(221),c=n(222),s="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function u(e,t,n,r){var i,c=typeof e;if("undefined"!==c&&"boolean"!==c||(e=null),null===e||"string"===c||"number"===c||"object"===c&&e.$$typeof===a)return n(r,e,""===t?"."+l(e,0):t),1;var p=0,d=""===t?".":t+":";if(Array.isArray(e))for(var h=0;h<e.length;h++)p+=u(i=e[h],d+l(i,h),n,r);else{var m=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(m){0;for(var f,b=m.call(e),g=0;!(f=b.next()).done;)p+=u(i=f.value,d+l(i,g++),n,r)}else if("object"===c){0;var v=""+e;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return p}var p=/\/+/g;function d(e){return(""+e).replace(p,"$&/")}var h,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function j(e,t,n){var a,o,c=e.result,s=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?y(p,c,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(a=p,o=s+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),c.push(p))}function y(e,t,n,r,a){var i="";null!=n&&(i=d(n)+"/");var o=v.getPooled(t,i,r,a);!function(e,t,n){null==e||u(e,"",t,n)}(e,j,o),v.release(o)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=v).instancePool=[],m.getPooled=h||f,m.poolSize||(m.poolSize=10),m.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return c(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return c(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)y(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,i,o,c){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 l=[n,r,a,i,o,c],u=0;(s=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var r=n(90);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(71),a=n(92);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var a=0;a<e.length;a+=this._delta32)this._update(e,a,a+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var a=1;a<n;a++)r[a]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[a++]=0;r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=e>>>24&255,r[a++]=e>>>16&255,r[a++]=e>>>8&255,r[a++]=255&e}else for(r[a++]=255&e,r[a++]=e>>>8&255,r[a++]=e>>>16&255,r[a++]=e>>>24&255,r[a++]=0,r[a++]=0,r[a++]=0,r[a++]=0,i=8;i<this.padLength;i++)r[a++]=0;return r}},function(e,t,n){"use strict";var r=n(71).rotr32;function a(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function o(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?a(t,n,r):1===e||3===e?o(t,n,r):2===e?i(t,n,r):void 0},t.ch32=a,t.maj32=i,t.p32=o,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){!function(){"use strict";var t=[];function n(e){var t,n,r,a,i=-1;for(t=0,r=e.length;t<r;t+=1){for(a=255&(i^e[t]),n=0;n<8;n+=1)1==(1&a)?a=a>>>1^3988292384:a>>>=1;i=i>>>8^a}return-1^i}function r(e,n){var a,i,o;if(void 0!==r.crc&&n&&e||(r.crc=-1,e)){for(a=r.crc,i=0,o=e.length;i<o;i+=1)a=a>>>8^t[255&(a^e[i])];return r.crc=a,-1^a}}!function(){var e,n,r;for(n=0;n<256;n+=1){for(e=n,r=0;r<8;r+=1)1&e?e=3988292384^e>>>1:e>>>=1;t[n]=e>>>0}}(),e.exports=function(e,t){var a;e="string"==typeof e?(a=e,Array.prototype.map.call(a,(function(e){return e.charCodeAt(0)}))):e;return((t?n(e):r(e))>>>0).toString(16)},e.exports.direct=n,e.exports.table=r}()},function(e,t,n){"use strict";var r=[],a=window,i=Math.pow(256,6),o=Math.pow(2,52),c=2*o,s=Math.random;function l(e){var t,n=e.length,r=this,a=0,i=r.i=r.j=0,o=r.S=[];for(n||(e=[n++]);a<256;)o[a]=a++;for(a=0;a<256;a++)o[a]=o[i=255&i+e[a%n]+(t=o[a])],o[i]=t;(r.g=function(e){for(var t,n=0,a=r.i,i=r.j,o=r.S;e--;)t=o[a=255&a+1],n=256*n+o[255&(o[a]=o[i=255&i+t])+(o[i]=t)];return r.i=a,r.j=i,n})(256)}function u(e,t){var n,r=[],a=(typeof e)[0];if(t&&"o"==a)for(n in e)try{r.push(u(e[n],t-1))}catch(i){}return r.length?r:"s"==a?e:e+"\0"}function p(e,t){for(var n,r=e+"",a=0;a<r.length;)t[255&a]=255&(n^=19*t[255&a])+r.charCodeAt(a++);return h(t)}function d(e){try{return a.crypto.getRandomValues(e=new Uint8Array(256)),h(e)}catch(t){return[+new Date,a,a.navigator&&a.navigator.plugins,a.screen,h(r)]}}function h(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,n){if(n&&!0===n.global)return n.global=!1,Math.random=e.exports(t,n),n.global=!0,Math.random;var a=n&&n.entropy||!1,s=[],m=(p(u(a?[t,h(r)]:0 in arguments?t:d(),3),s),new l(s));return p(h(m.S),r),function(){for(var e=m.g(6),t=i,n=0;e<o;)e=256*(e+n),t*=256,n=m.g(1);for(;e>=c;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=s},p(Math.random(),r)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(237)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function o(){if(o.enabled){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];var i=o,c=Number(new Date),s=c-(n||c);i.diff=s,i.prev=n,i.curr=c,n=c,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var l=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;l++;var a=r.formatters[n];if("function"==typeof a){var o=t[l];e=a.call(i,o),t.splice(l,1),l--}return e})),r.formatArgs.call(i,t);var u=i.log||r.log;u.apply(i,t)}}return o.namespace=e,o.enabled=r.enabled(e),o.useColors=r.useColors(),o.color=t(e),o.destroy=a,o.extend=i,"function"==typeof r.init&&r.init(o),r.instances.push(o),o}function a(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){return r(this.namespace+(void 0===t?":":t)+e)}return r.debug=r,r.default=r,r.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},r.disable=function(){r.enable("")},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(t=0;t<a;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n(64),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"save",(function(){return Nt})),n.d(r,"attributes",(function(){return Dt})),n.d(r,"support",(function(){return zt}));var a=n(17),i=n(15),o=n.n(i),c=n(3),s=n.n(c),l=n(0),u=n(1),p=n(16),d=n(5),h=n(2),m=n(21),f=n.n(m),b=n(7),g=n.n(b),v=n(11),j=n.n(v),y=n(8),_=n.n(y),k=n(9),O=n.n(k),w=n(4),E=n.n(w),C=n(10),x=n.n(C),S=n(6),A=n(28),F=[{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Original","image style","jetpack"),value:void 0},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Black and White","image style","jetpack"),value:"black-and-white"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V7c0-1.11-.9-2-2-2h-4v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),title:Object(u._x)("Sepia","image style","jetpack"),value:"sepia"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V7c0-1.11-.9-2-2-2h-4v2h4v2h-2v2h2v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:"1977",value:"1977"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),title:Object(u._x)("Clarendon","image style","jetpack"),value:"clarendon"},{icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0z"}),Object(l.createElement)(h.Path,{d:"M21 1H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm14 8v-2c0-1.11-.9-2-2-2h-2V7h4V5h-6v6h4v2h-4v2h4c1.1 0 2-.89 2-2z"})),title:Object(u._x)("Gingham","image style","jetpack"),value:"gingham"}],P=Object(u.__)("Pick an image filter","jetpack");function T(e){var t=e.value,n=e.onChange;return Object(l.createElement)(h.Dropdown,{position:"bottom right",className:"editor-block-switcher",contentClassName:"editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(h.Toolbar,{controls:[{onClick:t,extraProps:{"aria-haspopup":"true","aria-expanded":n},title:P,tooltip:P,icon:Object(l.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(l.createElement)(h.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(l.createElement)(h.Path,{d:"M19 10v9H4.98V5h9V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-9h-2zm-2.94-2.06L17 10l.94-2.06L20 7l-2.06-.94L17 4l-.94 2.06L14 7zM12 8l-1.25 2.75L8 12l2.75 1.25L12 16l1.25-2.75L16 12l-2.75-1.25z"}))}]})},renderContent:function(e){var r=e.onClose;return Object(l.createElement)(h.NavigableMenu,{className:"tiled-gallery__filter-picker-menu"},F.map((function(e){var a,i=e.icon,o=e.title,c=e.value;return Object(l.createElement)(h.MenuItem,{className:t===c?"is-active":void 0,icon:i,isSelected:t===c,key:c||"original",onClick:(a=c,function(){n(t===a?void 0:a),r()}),role:"menuitemcheckbox"},o)})))}})}var M=n(12),N=n.n(M),R=n(26),D=n(25),z=n(13),I=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"img",Object(l.createRef)()),s()(E()(n),"onImageClick",(function(){n.props.isSelected||n.props.onSelect()})),s()(E()(n),"onImageKeyDown",(function(e){n.img.current===document.activeElement&&n.props.isSelected&&[R.BACKSPACE,R.DELETE].includes(e.keyCode)&&n.props.onRemove()})),n}return x()(t,e),j()(t,[{key:"componentDidUpdate",value:function(){var e=this.props,t=e.alt,n=e.height,r=e.image,a=e.link,i=e.url,o=e.width;if(r){var c={};!t&&r.alt_text&&(c.alt=r.alt_text),!n&&r.media_details&&r.media_details.height&&(c.height=+r.media_details.height),!a&&r.link&&(c.link=r.link),!i&&r.source_url&&(c.url=r.source_url),!o&&r.media_details&&r.media_details.width&&(c.width=+r.media_details.width),Object.keys(c).length&&this.props.setAttributes(c)}}},{key:"render",value:function(){var e,t=this.props,n=t["aria-label"],r=t.alt,a=t.height,i=t.id,o=t.imageFilter,c=t.isSelected,p=t.link,d=t.linkTo,m=t.onRemove,f=t.origUrl,b=t.srcSet,g=t.url,v=t.width;switch(d){case"media":e=g;break;case"attachment":e=p}var j=Object(D.isBlobURL)(f),y=Object(l.createElement)(l.Fragment,null,Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":a,"data-id":i,"data-link":p,"data-url":f,"data-width":v,onClick:this.onImageClick,onKeyDown:this.onImageKeyDown,ref:this.img,src:j?void 0:g,srcSet:j?void 0:b,tabIndex:"0",style:j?{backgroundImage:"url(".concat(f,")")}:void 0}),j&&Object(l.createElement)(h.Spinner,null));return Object(l.createElement)("figure",{className:N()("tiled-gallery__item",s()({"is-selected":c,"is-transient":j},"filter__".concat(o),!!o))},c&&Object(l.createElement)("div",{className:"tiled-gallery__item__inline-menu"},Object(l.createElement)(h.IconButton,{icon:"no-alt",onClick:m,className:"tiled-gallery__item__remove",label:Object(u.__)("Remove Image","jetpack")})),e?Object(l.createElement)("a",null,y):y)}}]),t}(l.Component),L=Object(z.withSelect)((function(e,t){var n=e("core").getMedia,r=t.id;return{image:r?n(r):null}}))(I);function B(e){var t,n=e.alt,r=e.imageFilter,a=e.height,i=e.id,o=e.link,c=e.linkTo,u=e.origUrl,p=e.url,d=e.width;if(Object(D.isBlobURL)(u))return null;switch(c){case"media":t=p;break;case"attachment":t=o}var h=Object(l.createElement)("img",{alt:n,"data-height":a,"data-id":i,"data-link":o,"data-url":u,"data-width":d,src:p});return Object(l.createElement)("figure",{className:N()("tiled-gallery__item",s()({},"filter__".concat(r),!!r))},t?Object(l.createElement)("a",{href:t},h):h)}var q=n(39);function U(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function V(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function H(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:N()("tiled-gallery__row",n)},t)}var G=n(62);function $(e){var t=e.height,n=e.width;return t&&n?n/t:1}var W=he([2,1,2],5),K=me([fe,fe,be,fe,fe]),Z=me([fe,fe,fe,be,fe,fe,fe]),J=he([3,1,3],5),Y=me([be,fe,fe,be]),Q=he([1,2,1],5),X=me([be,fe,fe,fe]),ee=he([1,3],3),te=me([fe,fe,fe,be]),ne=he([3,1],3),re=me([ve(1.6),Object(d.overEvery)(ge(.9),ve(2)),Object(d.overEvery)(ge(.9),ve(2))]),ae=he([1,2],3),ie=he([1,1,1,1,1],1),oe=he([1,1,1,1],1),ce=he([1,1,1],3),se=me([Object(d.overEvery)(ge(.9),ve(2)),Object(d.overEvery)(ge(.9),ve(2)),ve(1.6)]),le=he([2,1],3),ue=me([function(e){return e>=2}]);function pe(e,t,n){var r=Object(d.sum)(Object(d.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&&ce(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}function de(e,t){var n=Object(d.sum)(Object(d.take)(t,4));return oe(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function he(e,t){return function(n){return!Object(d.some)(Object(d.takeRight)(n,t),(function(t){return Object(d.isEqual)(t,e)}))}}function me(e){return function(t){return t.length>=e.length&&Object(d.every)(Object(d.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function fe(e){return e>=1&&e<2}function be(e){return e<1}function ge(e){return function(t){return t>=e}}function ve(e){return function(t){return t<e}}var je=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var a,i=function(){var e=a.value,t=e.contentRect,n=e.target,r=t.width;Object(G.a)(n).forEach((function(e){return Object(G.b)(e,r)}))},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)i()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),j()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,a=e.layoutStyle,i=e.renderedImages,o=function(e){return Object(d.map)(e,$)}(r),c="columns"===a?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(d.sum)(e)/t,r=[],a=e,i=0,o=function(e){var t=Object(d.takeWhile)(a,(function(t){var r=i<=(e+1)*n;return r&&(i+=t),r})).length;r.push(t),a=Object(d.drop)(a,t)},c=0;c<t-1;c++)o(c);return r.push(a.length),[r]}(o,n):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isWide,r=function e(t,r){if(!r.length)return t;var a;a=r.length>15&&K(r)&&W(t)?[2,1,2]:r.length>15&&Z(r)&&J(t)?[3,1,3]:5!==r.length&&Y(r)&&Q(t)?[1,2,1]:X(r)&&ee(t)?[1,3]:te(r)&&ne(t)?[3,1]:re(r)&&ae(t)?[1,2]:n&&(5===r.length||10!==r.length&&r.length>6)&&ie(t)&&Object(d.sum)(Object(d.take)(r,5))<5?[1,1,1,1,1]:de(t,r)?[1,1,1,1]:pe(t,r,n)?[1,1,1]:se(r)&&le(t)?[2,1]:ue(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var i=t.concat([a]),o=Object(d.sum)(a);return e(i,r.slice(o))};return r([],e)}(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(V,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(H,{key:t},e.map((function(e,t){var n=i.slice(s,s+e);return s+=e,Object(l.createElement)(U,{key:t},n)})))})))}}]),t}(l.Component),ye=n(22);function _e(e){var t=e.columns,n=e.renderedImages,r=Math.min(ye.h,t),a=n.length%r;return Object(l.createElement)(V,null,[].concat(f()(a?[Object(d.take)(n,a)]:[]),f()(Object(d.chunk)(Object(d.drop)(n,a),r))).map((function(e,t){return Object(l.createElement)(H,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(U,{key:t},e)})))})))}var ke=n(46),Oe=n.n(ke),we=n(61),Ee=n.n(we),Ce=n(29);function xe(e){return["circle","square"].includes(e)}function Se(){if("undefined"!=typeof jetpack_plan&&"vip"===jetpack_plan.data)return!0}function Ae(e){var t=Object(Ce.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(Ce.parse)(e),a=(r.auth,r.hash,r.port,r.query,r.search,Oe()(r,["auth","hash","port","query","search"]));return a.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(Ce.format)(a)}var Pe=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),j()(t,[{key:"renderImage",value:function(e,t){var n=this.props,r=n.imageFilter,a=n.images,i=n.isSave,o=n.linkTo,c=n.layoutStyle,s=n.onRemoveImage,p=n.onSelectImage,h=n.selectedImage,m=n.setImageAttributes,f=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,a.length),b=i?B:L,g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.height||!e.url||!e.width)return{};if(Object(D.isBlobURL)(e.url)||/^https?:\/\/localhost/.test(e.url)||/^https?:\/\/.*\.local\//.test(e.url))return{src:e.url};var n,r=e.url.split("?",1)[0],a=e.height,i=e.width,o=t.layoutStyle,c=Ae(r)||!0===Se()?Fe:Ee.a;if(xe(o)&&i&&a){var s=Math.min(ye.i,i,a);n=c(r,{resize:"".concat(s,",").concat(s)})}else n=c(r);var l,u=300,p=600;if(xe(o)){var h=Math.min(p,i,a),m=Math.min(ye.i,i,a);l=Object(d.range)(h,m,u).map((function(e){var t=c(r,{resize:"".concat(e,",").concat(e),strip:"info"});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}else{var f=Math.min(p,i),b=Math.min(ye.i,i);l=Object(d.range)(f,b,u).map((function(e){var t=c(r,{strip:"info",width:e});return t?"".concat(t," ").concat(e,"w"):null})).filter(Boolean).join(",")}return Object.assign({src:n},l&&{srcSet:l})}(e,{layoutStyle:c}),v=g.src,j=g.srcSet;return Object(l.createElement)(b,{alt:e.alt,"aria-label":f,height:e.height,id:e.id,imageFilter:r,isSelected:h===t,key:t,link:e.link,linkTo:o,onRemove:i?void 0:s(t),onSelect:i?void 0:p(t),origUrl:e.url,setAttributes:i?void 0:m(t),srcSet:j,url:v,width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,a=e.columns,i=e.images,o=e.layoutStyle,c=xe(o)?_e:je,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:a,images:i,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component),Te=n(112),Me=n.n(Te);function Ne(e,t){var n=function(e,t){var n=!0,r=!1,a=void 0;try{for(var i,o=new Me.a(t).values()[Symbol.iterator]();!(n=(i=o.next()).done);n=!0){var c=i.value;if(-1!==c.indexOf("is-style-")){var s=c.substring(9),l=Object(d.find)(e,{name:s});if(l)return l}}}catch(u){r=!0,a=u}finally{try{n||null==o.return||o.return()}finally{if(r)throw a}}return Object(d.find)(e,"isDefault")}(e,t);return n?n.name:null}var Re=n(48),De=[{value:"attachment",label:Object(u.__)("Attachment Page","jetpack")},{value:"media",label:Object(u.__)("Media File","jetpack")},{value:"none",label:Object(u.__)("None","jetpack")}];function ze(e){return Math.min(3,e.images.length)}var Ie=function(e){var t=Object(d.pick)(e,[["alt"],["id"],["link"]]);return t.url=Object(d.get)(e,["sizes","large","url"])||Object(d.get)(e,["media_details","sizes","large","source_url"])||e.url,t},Le=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"state",{selectedImage:null}),s()(E()(n),"addFiles",(function(e){var t=n.props.attributes.images||[],r=n.props.noticeOperations;Object(A.mediaUpload)({allowedTypes:ye.a,filesList:e,onFileChange:function(e){var r=e.map((function(e){return Ie(e)}));n.setAttributes({images:t.concat(r)})},onError:r.createErrorNotice})})),s()(E()(n),"onRemoveImage",(function(e){return function(){var t=Object(d.filter)(n.props.attributes.images,(function(t,n){return e!==n})),r=n.props.attributes.columns;n.setState({selectedImage:null}),n.setAttributes({images:t,columns:r?Math.min(t.length,r):r})}})),s()(E()(n),"onSelectImage",(function(e){return function(){n.state.selectedImage!==e&&n.setState({selectedImage:e})}})),s()(E()(n),"onSelectImages",(function(e){var t=n.props.attributes.columns;n.setAttributes({columns:t?Math.min(e.length,t):t,images:e.map((function(e){return Ie(e)}))})})),s()(E()(n),"setColumnsNumber",(function(e){return n.setAttributes({columns:e})})),s()(E()(n),"setImageAttributes",(function(e){return function(t){var r=n.props.attributes.images;r[e]&&n.setAttributes({images:[].concat(f()(r.slice(0,e)),[o()({},r[e],{},t)],f()(r.slice(e+1)))})}})),s()(E()(n),"setLinkTo",(function(e){return n.setAttributes({linkTo:e})})),s()(E()(n),"uploadFromFiles",(function(e){return n.addFiles(e.target.files)})),n}return x()(t,e),j()(t,[{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"render",value:function(){var e=this,t=this.state.selectedImage,n=this.props,r=n.attributes,a=n.isSelected,i=n.className,o=n.noticeOperations,c=n.noticeUI,s=n.setAttributes,p=r.align,d=r.columns,m=void 0===d?ze(r):d,f=r.imageFilter,b=r.images,g=r.linkTo,v=Object(l.createElement)(h.DropZone,{onFilesDrop:this.addFiles}),j=Object(l.createElement)(S.BlockControls,null,!!b.length&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(h.Toolbar,null,Object(l.createElement)(S.MediaUpload,{onSelect:this.onSelectImages,allowedTypes:ye.a,multiple:!0,gallery:!0,value:b.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(l.createElement)(Re.a,{label:Object(u.__)("Edit Gallery","jetpack"),onClick:t})}})),Object(l.createElement)(T,{value:f,onChange:function(t){s({imageFilter:t}),e.setState({selectedImage:null})}})));if(0===b.length)return Object(l.createElement)(l.Fragment,null,j,Object(l.createElement)(S.MediaPlaceholder,{icon:Object(l.createElement)(S.BlockIcon,{icon:tn}),className:i,labels:{title:Object(u.__)("Tiled Gallery","jetpack"),name:Object(u.__)("images","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:ye.a,multiple:!0,notices:c,onError:o.createErrorNotice}));var y=Ne(ye.g,r.className);return Object(l.createElement)(l.Fragment,null,j,Object(l.createElement)(S.InspectorControls,null,Object(l.createElement)(h.PanelBody,{title:Object(u.__)("Tiled Gallery settings","jetpack")},["columns","circle","square"].includes(y)&&b.length>1&&Object(l.createElement)(h.RangeControl,{label:Object(u.__)("Columns","jetpack"),value:m,onChange:this.setColumnsNumber,min:1,max:Math.min(ye.h,b.length)}),Object(l.createElement)(h.SelectControl,{label:Object(u.__)("Link To","jetpack"),value:g,onChange:this.setLinkTo,options:De}))),c,Object(l.createElement)(Pe,{align:p,className:i,columns:m,imageFilter:f,images:b,layoutStyle:y,linkTo:g,onRemoveImage:this.onRemoveImage,onSelectImage:this.onSelectImage,selectedImage:a?t:null,setImageAttributes:this.setImageAttributes},v,a&&Object(l.createElement)("div",{className:"tiled-gallery__add-item"},Object(l.createElement)(h.FormFileUpload,{multiple:!0,isLarge:!0,className:"tiled-gallery__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(u.__)("Upload an image","jetpack")))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isSelected||null===t.selectedImage?null:{selectedImage:null}}}]),t}(l.Component),Be=Object(h.withNotices)(Le);var qe=n(24);n(238);function Ue(e){var t,n=e["aria-label"],r=e.alt,a=e.height,i=e.id,o=e.link,c=e.linkTo,s=e.origUrl,u=e.url,p=e.width;if(Object(D.isBlobURL)(s))return null;switch(c){case"media":t=u;break;case"attachment":t=o}var d=Object(l.createElement)("img",{alt:r,"aria-label":n,"data-height":a,"data-id":i,"data-link":o,"data-url":s,"data-width":p,src:u});return Object(l.createElement)("figure",{className:"tiled-gallery__item"},t?Object(l.createElement)("a",{href:t},d):d)}function Ve(e){var t=e.children;return Object(l.createElement)("div",{className:"tiled-gallery__col"},t)}function He(e){var t=e.children,n=e.galleryRef;return Object(l.createElement)("div",{className:"tiled-gallery__gallery",ref:n},t)}function Ge(e){var t=e.children,n=e.className;return Object(l.createElement)("div",{className:N()("tiled-gallery__row",n)},t)}var $e=n(18),We=n.n($e),Ke=[{isDefault:!0,name:"rectangular"},{name:"circle"},{name:"square"},{name:"columns"}];function Ze(e,t){var n=(t-e.reduce((function(e,t){return e+t}),0))/e.length;return e.map((function(e){return e+n}))}function Je(e,t){!function(e,t,n){var r=We()(t,2),a=r[0],i=r[1],o=1/a*(n-4*(e.childElementCount-1)-i);!function(e,t){var n=t.rawHeight,r=t.rowWidth,a=Qe(e),i=a.map((function(e){return(n-4*(e.childElementCount-1))*et(e)[0]})),o=Ze(i,r);a.forEach((function(e,t){var r=i[t],a=o[t];!function(e,t){var n=t.colHeight,r=t.width,a=t.rawWidth,i=Ze(Xe(e).map((function(e){return a/tt(e)})),n);Array.from(e.children).forEach((function(e,t){var n=i[t];e.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(e,{colHeight:n-4*(e.childElementCount-1),width:a,rawWidth:r})}))}(e,{rawHeight:o,rowWidth:n-4*(e.childElementCount-1)})}(e,function(e){return Qe(e).map(et).reduce((function(e,t){var n=We()(e,2),r=n[0],a=n[1],i=We()(t,2);return[r+i[0],a+i[1]]}),[0,0])}(e),t)}function Ye(e){return Array.from(e.querySelectorAll(".tiled-gallery__row"))}function Qe(e){return Array.from(e.querySelectorAll(".tiled-gallery__col"))}function Xe(e){return Array.from(e.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function et(e){var t=Xe(e),n=t.length,r=1/t.map(tt).reduce((function(e,t){return e+1/t}),0);return[r,r*n||1]}function tt(e){var t=parseInt(e.dataset.width,10),n=parseInt(e.dataset.height,10);return t&&!Number.isNaN(t)&&n&&!Number.isNaN(n)?t/n:1}function nt(e){var t=e.height,n=e.width;return t&&n?n/t:1}var rt=Ot([2,1,2],5),at=wt([Et,Et,Ct,Et,Et]),it=wt([Et,Et,Et,Ct,Et,Et,Et]),ot=Ot([3,1,3],5),ct=wt([Ct,Et,Et,Ct]),st=Ot([1,2,1],5),lt=wt([Ct,Et,Et,Et]),ut=Ot([1,3],3),pt=wt([Et,Et,Et,Ct]),dt=Ot([3,1],3),ht=wt([St(1.6),Object(d.overEvery)(xt(.9),St(2)),Object(d.overEvery)(xt(.9),St(2))]),mt=Ot([1,2],3),ft=Ot([1,1,1,1,1],1),bt=Ot([1,1,1,1],1),gt=Ot([1,1,1],3),vt=wt([Object(d.overEvery)(xt(.9),St(2)),Object(d.overEvery)(xt(.9),St(2)),St(1.6)]),jt=Ot([2,1],3),yt=wt([function(e){return e>=2}]);function _t(e,t,n){var r=Object(d.sum)(Object(d.take)(t,3));return t.length>=3&&4!==t.length&&6!==t.length&>(e)&&(r<2.5||r<5&&t.length>=3&&t[0]===t[2]||n)}function kt(e,t){var n=Object(d.sum)(Object(d.take)(t,4));return bt(e)&&n<3.5&&t.length>5||n<7&&4===t.length}function Ot(e,t){return function(n){return!Object(d.some)(Object(d.takeRight)(n,t),(function(t){return Object(d.isEqual)(t,e)}))}}function wt(e){return function(t){return t.length>=e.length&&Object(d.every)(Object(d.zipWith)(e,t.slice(0,e.length),(function(e,t){return e(t)})))}}function Et(e){return e>=1&&e<2}function Ct(e){return e<1}function xt(e){return function(t){return t>=e}}function St(e){return function(t){return t<e}}var At=function(e){function t(){var e,n;g()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=_()(this,(e=O()(t)).call.apply(e,[this].concat(a))),s()(E()(n),"gallery",Object(l.createRef)()),s()(E()(n),"pendingRaf",null),s()(E()(n),"ro",null),s()(E()(n),"handleGalleryResize",(function(e){n.pendingRaf&&(cancelAnimationFrame(n.pendingRaf),n.pendingRaf=null),n.pendingRaf=requestAnimationFrame((function(){var t=!0,n=!1,r=void 0;try{for(var a,i=function(){var e=a.value,t=e.contentRect,n=e.target,r=t.width;Ye(n).forEach((function(e){return Je(e,r)}))},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)i()}catch(c){n=!0,r=c}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}))})),n}return x()(t,e),j()(t,[{key:"componentDidMount",value:function(){this.observeResize()}},{key:"componentWillUnmount",value:function(){this.unobserveResize()}},{key:"componentDidUpdate",value:function(e){e.images!==this.props.images||e.align!==this.props.align?this.triggerResize():"columns"===this.props.layoutStyle&&e.columns!==this.props.columns&&this.triggerResize()}},{key:"triggerResize",value:function(){this.gallery.current&&this.handleGalleryResize([{target:this.gallery.current,contentRect:{width:this.gallery.current.clientWidth}}])}},{key:"observeResize",value:function(){this.triggerResize(),this.ro=new q.a(this.handleGalleryResize),this.gallery.current&&this.ro.observe(this.gallery.current)}},{key:"unobserveResize",value:function(){this.ro&&(this.ro.disconnect(),this.ro=null),this.pendingRaf&&(cancelAnimationFrame(this.pendingRaf),this.pendingRaf=null)}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.columns,r=e.images,a=e.layoutStyle,i=e.renderedImages,o=function(e){return Object(d.map)(e,nt)}(r),c="columns"===a?function(e,t){if(e.length<=t)return[Array(e.length).fill(1)];for(var n=Object(d.sum)(e)/t,r=[],a=e,i=0,o=function(e){var t=Object(d.takeWhile)(a,(function(t){var r=i<=(e+1)*n;return r&&(i+=t),r})).length;r.push(t),a=Object(d.drop)(a,t)},c=0;c<t-1;c++)o(c);return r.push(a.length),[r]}(o,n):function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isWide,r=function e(t,r){if(!r.length)return t;var a;a=r.length>15&&at(r)&&rt(t)?[2,1,2]:r.length>15&&it(r)&&ot(t)?[3,1,3]:5!==r.length&&ct(r)&&st(t)?[1,2,1]:lt(r)&&ut(t)?[1,3]:pt(r)&&dt(t)?[3,1]:ht(r)&&mt(t)?[1,2]:n&&(5===r.length||10!==r.length&&r.length>6)&&ft(t)&&Object(d.sum)(Object(d.take)(r,5))<5?[1,1,1,1,1]:kt(t,r)?[1,1,1,1]:_t(t,r,n)?[1,1,1]:vt(r)&&jt(t)?[2,1]:yt(r)?[1]:r.length>3?[1,1]:Array(r.length).fill(1);var i=t.concat([a]),o=Object(d.sum)(a);return e(i,r.slice(o))};return r([],e)}(o,{isWide:["full","wide"].includes(t)}),s=0;return Object(l.createElement)(He,{galleryRef:this.gallery},c.map((function(e,t){return Object(l.createElement)(Ge,{key:t},e.map((function(e,t){var n=i.slice(s,s+e);return s+=e,Object(l.createElement)(Ve,{key:t},n)})))})))}}]),t}(l.Component);function Ft(e){var t=e.columns,n=e.renderedImages,r=Math.min(20,t),a=n.length%r;return Object(l.createElement)(He,null,[].concat(f()(a?[Object(d.take)(n,a)]:[]),f()(Object(d.chunk)(Object(d.drop)(n,a),r))).map((function(e,t){return Object(l.createElement)(Ge,{key:t,className:"columns-".concat(e.length)},e.map((function(e,t){return Object(l.createElement)(Ve,{key:t},e)})))})))}var Pt=function(e){function t(){return g()(this,t),_()(this,O()(t).apply(this,arguments))}return x()(t,e),j()(t,[{key:"photonize",value:function(e){var t=e.height,n=e.width,r=e.url;if(r){if(Object(D.isBlobURL)(r)||/^https?:\/\/localhost/.test(r))return r;var a=r.split("?",1)[0],i=function(e){var t=Object(Ce.parse)(e).host;return/\.files\.wordpress\.com$/.test(t)}(r)?Mt:Ee.a;if(Tt(this.props.layoutStyle)&&n&&t){var o=Math.min(2e3,n,t);return i(a,{resize:"".concat(o,",").concat(o)})}return i(a)}}},{key:"renderImage",value:function(e,t){var n=this.props,r=n.images,a=n.linkTo,i=n.selectedImage,o=Object(u.sprintf)(Object(u.__)("image %1$d of %2$d in gallery","jetpack"),t+1,r.length);return Object(l.createElement)(Ue,{alt:e.alt,"aria-label":o,height:e.height,id:e.id,origUrl:e.url,isSelected:i===t,key:t,link:e.link,linkTo:a,url:this.photonize(e),width:e.width})}},{key:"render",value:function(){var e=this.props,t=e.align,n=e.children,r=e.className,a=e.columns,i=e.images,o=e.layoutStyle,c=Tt(o)?Ft:At,s=this.props.images.map(this.renderImage,this);return Object(l.createElement)("div",{className:r},Object(l.createElement)(c,{align:t,columns:a,images:i,layoutStyle:o,renderedImages:s}),n)}}]),t}(l.Component);function Tt(e){return["circle","square"].includes(e)}function Mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={width:"w",height:"h",letterboxing:"lb",removeLetterboxing:"ulb"},r=Object(Ce.parse)(e),a=(r.auth,r.hash,r.port,r.query,r.search,Oe()(r,["auth","hash","port","query","search"]));return a.query=Object.keys(t).reduce((function(e,r){return Object.assign(e,s()({},n.hasOwnProperty(r)?n[r]:r,t[r]))}),{}),Object(Ce.format)(a)}function Nt(e){var t=e.attributes,n=t.images;if(!n.length)return null;var r=t.align,a=t.className,i=t.columns,o=void 0===i?function(e){return Math.min(3,e.images.length)}(t):i,c=t.linkTo;return Object(l.createElement)(Pt,{align:r,className:a,columns:o,images:n,layoutStyle:Ne(Ke,a),linkTo:c})}var Rt,Dt={align:{default:"center",type:"string"},className:{default:"is-style-".concat("rectangular"),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},caption:{selector:"figcaption",source:"html",type:"string"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},zt={align:["center","wide","full"],customClassName:!1,html:!1},It=n(113),Lt=n.n(It),Bt=n(114),qt=n.n(Bt),Ut=n(115),Vt=n.n(Ut),Ht=n(116),Gt=n.n(Ht),$t=n(117),Wt=n.n($t),Kt=n(118),Zt=n.n(Kt),Jt=(Rt={},s()(Rt,ye.e,Object(u._x)("Tiled mosaic","Tiled gallery layout","jetpack")),s()(Rt,ye.c,Object(u._x)("Circles","Tiled gallery layout","jetpack")),s()(Rt,ye.d,Object(u._x)("Tiled columns","Tiled gallery layout","jetpack")),s()(Rt,ye.f,Object(u._x)("Square tiles","Tiled gallery layout","jetpack")),Rt),Yt=ye.g.map((function(e){return o()({},e,{label:Jt[e.name]})}));function Qt(e){return Object(d.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var Xt={align:{default:"center",type:"string"},className:{default:"is-style-".concat(ye.e),type:"string"},columns:{type:"number"},ids:{default:[],type:"array"},imageFilter:{type:"string"},images:{type:"array",default:[],source:"query",selector:".tiled-gallery__item",query:{alt:{attribute:"alt",default:"",selector:"img",source:"attribute"},height:{attribute:"data-height",selector:"img",source:"attribute",type:"number"},id:{attribute:"data-id",selector:"img",source:"attribute"},link:{attribute:"data-link",selector:"img",source:"attribute"},url:{attribute:"data-url",selector:"img",source:"attribute"},width:{attribute:"data-width",selector:"img",source:"attribute",type:"number"}}},linkTo:{default:"none",type:"string"}},en={align:"center",className:"is-style-rectangular",images:[{alt:"",link:"",url:Lt.a,width:160,height:95},{alt:"",link:"",url:qt.a,width:160,height:107},{alt:"",link:"",url:Vt.a,width:304,height:203},{alt:"",link:"",url:Gt.a,width:312,height:207},{alt:"",link:"",url:Wt.a,width:152,height:101},{alt:"",link:"",url:Zt.a,width:152,height:105}],linkTo:"none"},tn=Object(l.createElement)(h.SVG,{viewBox:"0 0 24 24",width:24,height:24},Object(l.createElement)(h.Path,{fill:"currentColor",d:"M19 5v2h-4V5h4M9 5v6H5V5h4m10 8v6h-4v-6h4M9 17v2H5v-2h4M21 3h-8v6h8V3zM11 3H3v10h8V3zm10 8h-8v10h8V11zm-10 4H3v6h8v-6z"})),nn={attributes:Xt,category:"jetpack",description:Object(u.__)("Display multiple images in an elegantly organized tiled layout.","jetpack")+(Object(qe.b)()?"":" "+Object(u.__)("Serves images using Jetpack's fast global network of servers.","jetpack")),icon:tn,keywords:[Object(u._x)("images","block search term","jetpack"),Object(u._x)("photos","block search term","jetpack"),Object(u._x)("pictures","block search term","jetpack")],styles:Yt,supports:{align:["center","wide","full"],customClassName:!1,html:!1},title:Object(u.__)("Tiled Gallery","jetpack"),transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return Qt(e).length>0},transform:function(e){var t=Qt(e);return Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/slideshow"],transform:function(e){var t=Qt(e.images);return t.length>0?Object(p.createBlock)("jetpack/".concat("tiled-gallery"),{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt}})),ids:t.map((function(e){return e.id}))}):Object(p.createBlock)("jetpack/".concat("tiled-gallery"))}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids,r=e.columns,a=e.linkTo;return Object(p.createBlock)("core/gallery",{images:t,ids:n,columns:r,imageCrop:!0,linkTo:a})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.align,n=e.images;return n.length>0?n.map((function(e){var n=e.id,r=e.url,a=e.alt;return Object(p.createBlock)("core/image",{align:t,id:n,url:r,alt:a})})):Object(p.createBlock)("core/image")}}]},edit:Be,save:function(e){var t=e.attributes,n=t.imageFilter,r=t.images;if(!r.length)return null;var a=t.align,i=t.className,o=t.columns,c=void 0===o?ze(t):o,s=t.linkTo;return Object(l.createElement)(Pe,{align:a,className:i,columns:c,imageFilter:n,images:r,isSave:!0,layoutStyle:Ne(ye.g,i),linkTo:s})},deprecated:[r],example:{attributes:en}};Object(a.a)("tiled-gallery",nn)},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"setConnectionTestResults",(function(){return p})),n.d(r,"refreshConnectionTestResults",(function(){return d})),n.d(r,"fetchFromAPI",(function(){return h}));var a={};n.r(a),n.d(a,"getFailedConnections",(function(){return m})),n.d(a,"getMustReauthConnections",(function(){return f}));var i=n(0),o=n(1),c=n(2),s=n(52),l=n(28),u=(n(216),n(13));function p(e){return{type:"SET_CONNECTION_TEST_RESULTS",results:e}}function d(){return{type:"REFRESH_CONNECTION_TEST_RESULTS"}}function h(e){return{type:"FETCH_FROM_API",path:e}}function m(e){return e.filter((function(e){return!1===e.test_success}))}function f(e){return e.filter((function(e){return"must_reauth"===e.test_success})).map((function(e){return e.service_name}))}var b=n(21),g=n.n(b),v=n(101),j=n.n(v),y=n(5),_=n(23),k=n.n(_);var O={REFRESH_CONNECTION_TEST_RESULTS:function(e,t){var n,r;return regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.dispatch,e.prev=1,e.next=4,regeneratorRuntime.awrap(k()({path:"/wpcom/v2/publicize/connection-test-results"}));case 4:return r=e.sent,e.abrupt("return",n(p(r)));case 8:e.prev=8,e.t0=e.catch(1);case 10:case"end":return e.stop()}}),null,null,[[1,8]])}};var w,E,C,x,S,A={FETCH_FROM_API:function(e){var t=e.path;return k()({path:t})}},F=Object(u.registerStore)("jetpack/publicize",{actions:r,controls:A,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_CONNECTION_TEST_RESULTS":return t.results;case"REFRESH_CONNECTION_TEST_RESULTS":return[]}return e},selectors:a});w=F,C=[j()(O)],x=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},S={getState:w.getState,dispatch:function(){return x.apply(void 0,arguments)}},E=C.map((function(e){return e(S)})),x=y.flowRight.apply(void 0,g()(E))(w.dispatch),w.dispatch=x;var P=n(44),T=n(14),M=n(7),N=n.n(M),R=n(11),D=n.n(R),z=n(8),I=n.n(z),L=n(9),B=n.n(L),q=n(4),U=n.n(q),V=n(10),H=n.n(V),G=n(3),$=n.n(G),W=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"refreshConnectionClick",(function(e){var t=e.target,r=t.href,a=t.title;e.preventDefault();var i=window.open(r,a,""),o=window.setInterval((function(){!1!==i.closed&&(window.clearInterval(o),n.props.refreshConnections())}),500)})),n}return H()(t,e),D()(t,[{key:"componentDidMount",value:function(){this.props.refreshConnections()}},{key:"renderRefreshableConnections",value:function(){var e=this,t=this.props.failedConnections.filter((function(e){return e.can_refresh}));return t.length?Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,Object(o.__)("Before you hit Publish, please refresh the following connection(s) to make sure we can Publicize your post:","jetpack")),t.map((function(t){return Object(i.createElement)(c.Button,{href:t.refresh_url,isSmall:!0,key:t.id,onClick:e.refreshConnectionClick,title:t.refresh_text},t.refresh_text)}))):null}},{key:"renderNonRefreshableConnections",value:function(){var e=this.props.failedConnections.filter((function(e){return!e.can_refresh}));return e.length?e.map((function(e){return Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,e.test_message))})):null}},{key:"render",value:function(){return Object(i.createElement)(i.Fragment,null,this.renderRefreshableConnections(),this.renderNonRefreshableConnections())}}]),t}(i.Component),K=Object(T.compose)([Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections()}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("jetpack/publicize").refreshConnectionTestResults}}))])(W),Z=n(15),J=n.n(Z),Y=n(12),Q=n.n(Y),X=n(30),ee=n.n(X),te=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M20.007 3H3.993C3.445 3 3 3.445 3 3.993v16.013c0 .55.445.994.993.994h8.62v-6.97H10.27V11.31h2.346V9.31c0-2.325 1.42-3.59 3.494-3.59.993 0 1.847.073 2.096.106v2.43h-1.438c-1.128 0-1.346.537-1.346 1.324v1.734h2.69l-.35 2.717h-2.34V21h4.587c.548 0 .993-.445.993-.993V3.993c0-.548-.445-.993-.993-.993z"}))),ne=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M22.23 5.924c-.736.326-1.527.547-2.357.646.847-.508 1.498-1.312 1.804-2.27-.793.47-1.67.812-2.606.996C18.325 4.498 17.258 4 16.078 4c-2.266 0-4.103 1.837-4.103 4.103 0 .322.036.635.106.935-3.41-.17-6.433-1.804-8.457-4.287-.353.607-.556 1.312-.556 2.064 0 1.424.724 2.68 1.825 3.415-.673-.022-1.305-.207-1.86-.514v.052c0 1.988 1.415 3.647 3.293 4.023-.344.095-.707.145-1.08.145-.265 0-.522-.026-.773-.074.522 1.63 2.038 2.817 3.833 2.85-1.404 1.1-3.174 1.757-5.096 1.757-.332 0-.66-.02-.98-.057 1.816 1.164 3.973 1.843 6.29 1.843 7.547 0 11.675-6.252 11.675-11.675 0-.178-.004-.355-.012-.53.802-.578 1.497-1.3 2.047-2.124z"}))),re=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M19.7 3H4.3C3.582 3 3 3.582 3 4.3v15.4c0 .718.582 1.3 1.3 1.3h15.4c.718 0 1.3-.582 1.3-1.3V4.3c0-.718-.582-1.3-1.3-1.3zM8.34 18.338H5.666v-8.59H8.34v8.59zM7.003 8.574c-.857 0-1.55-.694-1.55-1.548 0-.855.692-1.548 1.55-1.548.854 0 1.547.694 1.547 1.548 0 .855-.692 1.548-1.546 1.548zm11.335 9.764h-2.67V14.16c0-.995-.017-2.277-1.387-2.277-1.39 0-1.6 1.086-1.6 2.206v4.248h-2.668v-8.59h2.56v1.174h.036c.357-.675 1.228-1.387 2.527-1.387 2.703 0 3.203 1.78 3.203 4.092v4.71z"}))),ae=Object(i.createElement)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(i.createElement)(c.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(i.createElement)(c.G,null,Object(i.createElement)(c.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zm-5.57 14.265c-2.445.042-3.37-1.742-3.37-2.998V10.6H8.922V9.15c1.703-.615 2.113-2.15 2.21-3.026.006-.06.053-.084.08-.084h1.645V8.9h2.246v1.7H12.85v3.495c.008.476.182 1.13 1.08 1.107.3-.008.698-.094.907-.194l.54 1.6c-.205.297-1.12.642-1.946.657z"}))),ie=function(e){var t=e.serviceName,n={className:"jetpack-publicize-gutenberg-social-icon is-".concat(t),size:24};switch(t){case"facebook":return Object(i.createElement)(c.Icon,ee()({icon:te},n));case"twitter":return Object(i.createElement)(c.Icon,ee()({icon:ne},n));case"linkedin":return Object(i.createElement)(c.Icon,ee()({icon:re},n));case"tumblr":return Object(i.createElement)(c.Icon,ee()({icon:ae},n))}return null},oe=n(35),ce=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"maybeDisplayLinkedInNotice",(function(){return n.connectionNeedsReauth()&&Object(i.createElement)(c.Notice,{className:"jetpack-publicize-notice",isDismissible:!1,status:"error"},Object(i.createElement)("p",null,Object(o.__)("Your LinkedIn connection needs to be reauthenticated to continue working – head to Sharing to take care of it.","jetpack")),Object(i.createElement)(c.ExternalLink,{href:"https://wordpress.com/marketing/connections/".concat(Object(oe.a)())},Object(o.__)("Go to Sharing settings","jetpack")))})),$()(U()(n),"connectionNeedsReauth",(function(){return Object(y.includes)(n.props.mustReauthConnections,n.props.name)})),$()(U()(n),"onConnectionChange",(function(){var e=n.props.id;n.props.toggleConnection(e)})),n}return H()(t,e),D()(t,[{key:"connectionIsFailing",value:function(){var e=this.props,t=e.failedConnections,n=e.name;return t.some((function(e){return e.service_name===n}))}},{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.enabled,r=e.id,a=e.label,o=e.name,s="connection-"+o+"-"+r,l=o.replace("_","-"),u=Object(i.createElement)(c.FormToggle,{id:s,className:"jetpack-publicize-connection-toggle",checked:n,onChange:this.onConnectionChange});return(t||this.connectionIsFailing()||this.connectionNeedsReauth())&&(u=Object(i.createElement)(c.Disabled,null,u)),Object(i.createElement)("li",null,this.maybeDisplayLinkedInNotice(),Object(i.createElement)("div",{className:"publicize-jetpack-connection-container"},Object(i.createElement)("label",{htmlFor:s,className:"jetpack-publicize-connection-label"},Object(i.createElement)(ie,{serviceName:l}),Object(i.createElement)("span",{className:"jetpack-publicize-connection-label-copy"},a)),u))}}]),t}(i.Component),se=Object(u.withSelect)((function(e){return{failedConnections:e("jetpack/publicize").getFailedConnections(),mustReauthConnections:e("jetpack/publicize").getMustReauthConnections()}}))(ce),le=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"settingsClick",(function(e){var t=n.getButtonLink(),r=n.props.refreshCallback;e.preventDefault();var a=window.open(t,"",""),i=window.setInterval((function(){!1!==a.closed&&(window.clearInterval(i),r())}),500)})),n}return H()(t,e),D()(t,[{key:"getButtonLink",value:function(){var e=Object(oe.a)();return e?"https://wordpress.com/marketing/connections/".concat(e):"options-general.php?page=sharing&publicize_popup=true"}},{key:"render",value:function(){var e=Q()("jetpack-publicize-add-connection-container",this.props.className);return Object(i.createElement)("div",{className:e},Object(i.createElement)(c.ExternalLink,{onClick:this.settingsClick},Object(o.__)("Connect an account","jetpack")))}}]),t}(i.Component),ue=function(e){function t(){var e,n;N()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=I()(this,(e=B()(t)).call.apply(e,[this].concat(a))),$()(U()(n),"state",{hasEditedShareMessage:!1}),$()(U()(n),"fieldId",Object(y.uniqueId)("jetpack-publicize-message-field-")),$()(U()(n),"onMessageChange",(function(e){var t=n.props.messageChange;n.setState({hasEditedShareMessage:!0}),t(e)})),n}return H()(t,e),D()(t,[{key:"isDisabled",value:function(){return this.props.connections.every((function(e){return!e.toggleable}))}},{key:"getShareMessage",value:function(){var e=this.props,t=e.shareMessage,n=e.defaultShareMessage;return this.state.hasEditedShareMessage||""!==t?t:n}},{key:"render",value:function(){var e=this.props,t=e.connections,n=e.toggleConnection,r=e.refreshCallback,a=this.getShareMessage(),c=256-a.length,s=Q()("jetpack-publicize-character-count",{"wpas-twitter-length-limit":c<=0});return Object(i.createElement)("div",{id:"publicize-form"},Object(i.createElement)("ul",{className:"jetpack-publicize__connections-list"},t.map((function(e){var t=e.display_name,r=e.enabled,a=e.id,o=e.service_name,c=e.toggleable;return Object(i.createElement)(se,{disabled:!c,enabled:r,key:a,id:a,label:t,name:o,toggleConnection:n})}))),Object(i.createElement)(le,{refreshCallback:r}),t.some((function(e){return e.enabled}))&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)("label",{className:"jetpack-publicize-message-note",htmlFor:this.fieldId},Object(o.__)("Customize your message","jetpack")),Object(i.createElement)("div",{className:"jetpack-publicize-message-box"},Object(i.createElement)("textarea",{id:this.fieldId,value:a,onChange:this.onMessageChange,disabled:this.isDisabled(),maxLength:256,placeholder:Object(o.__)("Write a message for your audience here. If you leave this blank, we'll use the post title as the message.","jetpack"),rows:4}),Object(i.createElement)("div",{className:s},Object(o.sprintf)(Object(o._n)("%d character remaining","%d characters remaining",c,"jetpack"),c)))))}}]),t}(i.Component),pe=Object(T.compose)([Object(u.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute("meta"),n=e("core/editor").getEditedPostAttribute("title"),r=Object(y.get)(t,["jetpack_publicize_message"],"");return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections"),defaultShareMessage:n.substr(0,256),shareMessage:r.substr(0,256)}})),Object(u.withDispatch)((function(e,t){var n=t.connections;return{toggleConnection:function(t){var r=n.map((function(e){return J()({},e,{enabled:e.id===t?!e.enabled:e.enabled})}));e("core/editor").editPost({jetpack_publicize_connections:r})},messageChange:function(t){e("core/editor").editPost({meta:{jetpack_publicize_message:t.target.value}})}}}))])(ue),de=Object(T.compose)([Object(u.withSelect)((function(e){return{connections:e("core/editor").getEditedPostAttribute("jetpack_publicize_connections")}})),Object(u.withDispatch)((function(e){return{refreshConnections:e("core/editor").refreshPost}}))])((function(e){var t=e.connections,n=e.refreshConnections;return Object(i.createElement)(i.Fragment,null,t&&t.some((function(e){return e.enabled}))&&Object(i.createElement)(K,null),Object(i.createElement)("div",null,Object(o.__)("Connect and select the accounts where you'd like to share your post.","jetpack")),t&&t.length>0&&Object(i.createElement)(pe,{refreshCallback:n}),t&&0===t.length&&Object(i.createElement)(le,{className:"jetpack-publicize-add-connection-wrapper",refreshCallback:n}))})),he={render:function(){return Object(i.createElement)(l.PostTypeSupportCheck,{supportKeys:"publicize"},Object(i.createElement)(P.a,null,Object(i.createElement)(c.PanelBody,{title:Object(o.__)("Share this post","jetpack")},Object(i.createElement)(de,null))),Object(i.createElement)(s.PluginPrePublishPanel,{initialOpen:!0,id:"publicize-title",title:Object(i.createElement)("span",{id:"publicize-defaults",key:"publicize-title-span"},Object(o.__)("Share this post","jetpack"))},Object(i.createElement)(de,null)))}},me=n(37);Object(me.a)("publicize",he)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(6),c=n(2),s=n(12),l=n.n(s),u=["jetpack/markdown","jetpack/address","jetpack/email","jetpack/phone","jetpack/map","jetpack/business-hours","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/html","core/separator","core/spacer","core/subhead","core/video"],p=[["jetpack/email"],["jetpack/phone"],["jetpack/address"]],d=function(e){var t=e.isSelected;return Object(a.createElement)("div",{className:l()({"jetpack-contact-info-block":!0,"is-selected":t})},Object(a.createElement)(o.InnerBlocks,{allowedBlocks:u,templateLock:!1,template:p}))},h=n(20),m=(n(152),n(129),n(7)),f=n.n(m),b=n(11),g=n.n(b),v=n(8),j=n.n(v),y=n(9),_=n.n(y),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,i=t.addressLine3,o=t.city,c=t.region,s=t.postal,l=t.country;return Object(a.createElement)(a.Fragment,null,n&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address1"},n),r&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address2"},r),i&&Object(a.createElement)("div",{className:"jetpack-address__address jetpack-address__address3"},i),o&&!(c||s)&&Object(a.createElement)("div",{className:"jetpack-address__city"},o),o&&(c||s)&&Object(a.createElement)("div",null,[Object(a.createElement)("span",{className:"jetpack-address__city"},o),", ",Object(a.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(a.createElement)("span",{className:"jetpack-address__postal"},s)]),!o&&(c||s)&&Object(a.createElement)("div",null,[Object(a.createElement)("span",{className:"jetpack-address__region"},c)," ",Object(a.createElement)("span",{className:"jetpack-address__postal"},s)]),l&&Object(a.createElement)("div",{className:"jetpack-address__country"},l))},x=function(e){var t=e.attributes,n=t.address,r=t.addressLine2,a=t.addressLine3,i=t.city,o=t.region,c=t.postal,s=t.country,l=n?"".concat(n,","):"",u=r?"".concat(r,","):"",p=a?"".concat(a,","):"",d=i?"+".concat(i,","):"",h=o?"+".concat(o,","):"";h=c?"".concat(h,"+").concat(c):h;var m=s?"+".concat(s):"";return"https://www.google.com/maps/search/".concat(l).concat(u).concat(p).concat(d).concat(h).concat(m).replace(" ","+")},S=function(e){return[(t=e.attributes).address,t.addressLine2,t.addressLine3,t.city,t.region,t.postal,t.country].some((function(e){return""!==e}))&&Object(a.createElement)("div",{className:e.className},e.attributes.linkToGoogleMaps&&Object(a.createElement)("a",{href:x(e),target:"_blank",rel:"noopener noreferrer",title:Object(i.__)("Open address in Google Maps","jetpack")},Object(a.createElement)(C,e)),!e.attributes.linkToGoogleMaps&&Object(a.createElement)(C,e));var t},A=function(e){function t(){var e,n;f()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=j()(this,(e=_()(t)).call.apply(e,[this].concat(a)))).preventEnterKey=n.preventEnterKey.bind(O()(n)),n}return E()(t,e),g()(t,[{key:"preventEnterKey",value:function(e){"Enter"!==e.key||e.preventDefault()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.address,r=t.addressLine2,s=t.addressLine3,u=t.city,p=t.region,d=t.postal,h=t.country,m=t.linkToGoogleMaps,f=e.isSelected,b=e.setAttributes,g=[n,r,s,u,p,d,h].some((function(e){return""!==e})),v=l()({"jetpack-address-block":!0,"is-selected":f}),j=Object(a.createElement)(c.ToggleControl,{label:Object(i.__)("Link address to Google Maps","jetpack"),checked:m,onChange:function(e){return b({linkToGoogleMaps:e})}});return Object(a.createElement)("div",{className:v},!f&&g&&S(this.props),(f||!g)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(o.PlainText,{value:n,placeholder:Object(i.__)("Street Address","jetpack"),"aria-label":Object(i.__)("Street Address","jetpack"),onChange:function(e){return b({address:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:r,placeholder:Object(i.__)("Address Line 2","jetpack"),"aria-label":Object(i.__)("Address Line 2","jetpack"),onChange:function(e){return b({addressLine2:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:s,placeholder:Object(i.__)("Address Line 3","jetpack"),"aria-label":Object(i.__)("Address Line 3","jetpack"),onChange:function(e){return b({addressLine3:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:u,placeholder:Object(i.__)("City","jetpack"),"aria-label":Object(i.__)("City","jetpack"),onChange:function(e){return b({city:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:p,placeholder:Object(i.__)("State/Province/Region","jetpack"),"aria-label":Object(i.__)("State/Province/Region","jetpack"),onChange:function(e){return b({region:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:d,placeholder:Object(i.__)("Postal/Zip Code","jetpack"),"aria-label":Object(i.__)("Postal/Zip Code","jetpack"),onChange:function(e){return b({postal:e})},onKeyDown:this.preventEnterKey}),Object(a.createElement)(o.PlainText,{value:h,placeholder:Object(i.__)("Country","jetpack"),"aria-label":Object(i.__)("Country","jetpack"),onChange:function(e){return b({country:e})},onKeyDown:this.preventEnterKey}),j))}}]),t}(a.Component),F={title:Object(i.__)("Address","jetpack"),description:Object(i.__)("Lets you add a physical address with Schema markup.","jetpack"),keywords:[Object(i._x)("location","block search term","jetpack"),Object(i._x)("direction","block search term","jetpack"),Object(i._x)("place","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(a.Fragment,null,Object(a.createElement)(c.Path,{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"}),Object(a.createElement)(c.Circle,{cx:"12",cy:"9",r:"2.5"}))),category:"jetpack",attributes:{address:{type:"string",default:""},addressLine2:{type:"string",default:""},addressLine3:{type:"string",default:""},city:{type:"string",default:""},region:{type:"string",default:""},postal:{type:"string",default:""},country:{type:"string",default:""},linkToGoogleMaps:{type:"boolean",default:!1}},parent:["jetpack/contact-info"],edit:A,save:S},P=n(43),T=n.n(P),M=function(e){var t=e.attributes.email,n=e.className;return t&&Object(a.createElement)("div",{className:n},t.split(/(\s+)/).map((function(e,t){var n=e.replace(/([.,/#!$%^&*;:{}=\-_`~()\][])+$/g,"");return e.indexOf("@")&&T.a.validate(n)?e===n?Object(a.createElement)("a",{href:"mailto:".concat(e),key:t},e):Object(a.createElement)(a.Fragment,{key:t},Object(a.createElement)("a",{href:"mailto:".concat(e),key:t},n),Object(a.createElement)(a.Fragment,null,e.slice(-(e.length-n.length)))):Object(a.createElement)(a.Fragment,{key:t},e)})))},N=function(e,t,n,r,i){var c=t.isSelected,s=t.attributes[e];return Object(a.createElement)("div",{className:"jetpack-".concat(e,c?"-block is-selected":"-block")},!c&&""!==s&&r(t),(c||""===s)&&Object(a.createElement)(o.PlainText,{value:s,placeholder:n,"aria-label":n,onChange:i}))},R=function(e){var t=e.setAttributes;return N("email",e,Object(i.__)("Email","jetpack"),M,(function(e){return t({email:e})}))},D={title:Object(i.__)("Email Address","jetpack"),description:Object(i.__)("Lets you add an email address with an automatically generated click-to-email link.","jetpack"),keywords:["e-mail","email",Object(i._x)("message","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),category:"jetpack",attributes:{email:{type:"string",default:""}},edit:R,save:M,parent:["jetpack/contact-info"]};var z=function(e){var t=e.attributes.phone,n=e.className;return t&&Object(a.createElement)("div",{className:n},function(e){var t=e.match(/\d+\.\d+|\d+\b|\d+(?=\w)/g);if(!t)return e;var n=e.indexOf(t[0]),r=n?e.substring(n-1):e,i=n?e.substring(0,n):"",o=r.replace(/\D/g,"");return/[0-9/+/(]/.test(r[0])?(i=i.slice(0,-1),"+"===r[0]&&(o="+"+o)):r=r.substring(1),[i.trim()?Object(a.createElement)("span",{key:"phonePrefix",className:"phone-prefix"},i):null,Object(a.createElement)("a",{key:"phoneNumber",href:"tel:".concat(o)},r)]}(t))},I=function(e){var t=e.setAttributes;return N("phone",e,Object(i.__)("Phone number","jetpack"),z,(function(e){return t({phone:e})}))},L={title:Object(i.__)("Phone Number","jetpack"),description:Object(i.__)("Lets you add a phone number with an automatically generated click-to-call link.","jetpack"),keywords:[Object(i._x)("mobile","block search term","jetpack"),Object(i._x)("telephone","block search term","jetpack"),Object(i._x)("cell","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),category:"jetpack",attributes:{phone:{type:"string",default:""}},parent:["jetpack/contact-info"],edit:I,save:z},B={title:Object(i.__)("Contact Info","jetpack"),description:Object(i.__)("Lets you add an email address, phone number, and physical address with improved markup for better SEO results.","jetpack"),keywords:[Object(i._x)("email","block search term","jetpack"),Object(i._x)("phone","block search term","jetpack"),Object(i._x)("address","block search term","jetpack")],icon:Object(h.a)(Object(a.createElement)(c.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 9c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3zm0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm6 10H6v-1.53c0-2.5 3.97-3.58 6-3.58s6 1.08 6 3.58V18zm-9.69-2h7.38c-.69-.56-2.38-1.12-3.69-1.12s-3.01.56-3.69 1.12z"})),category:"jetpack",supports:{align:["wide","full"],html:!1},attributes:{},edit:d,save:function(e){var t=e.className;return Object(a.createElement)("div",{className:t},Object(a.createElement)(o.InnerBlocks.Content,null))},example:{attributes:{},innerBlocks:[{name:"jetpack/email",attributes:{email:"hello@yourjetpack.blog"}},{name:"jetpack/phone",attributes:{phone:"123-456-7890"}},{name:"jetpack/address",attributes:{address:"987 Photon Drive",city:"Speedyville",region:"CA",postal:"12345",country:"USA"}}]}},q=[{name:"address",settings:F},{name:"email",settings:D},{name:"phone",settings:L}];Object(r.a)("contact-info",B,q)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(27),i=n(7),o=n.n(i),c=n(11),s=n.n(c),l=n(8),u=n.n(l),p=n(9),d=n.n(p),h=n(4),m=n.n(h),f=n(10),b=n.n(f),g=n(3),v=n.n(g),j=n(0),y=n(23),_=n.n(y),k=n(1),O=n(2),w=n(6),E=(n(157),n(21)),C=n.n(E),x=n(12),S=n.n(x),A=n(5),F=n(26),P=n(14);function T(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[],r=0;r<e.length;r++){var a=e[r],i=a.keywords,o=void 0===i?[]:i;if("string"==typeof a.label&&(o=[].concat(C()(o),[a.label])),n.push(a),n.length===t)break}return n}var M=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"select",(function(t){(e.props.completer.getOptionCompletion||{})(t),e.reset()})),v()(m()(e),"reset",(function(){e.setState(e.constructor.getInitialState())})),v()(m()(e),"onChange",(function(t){var n=e.props.completer,r=e.state.options;if(t){n&&(n.isDebounced?e.debouncedLoadOptions(n,t):e.loadOptions(n,t));var a=n?T(r):[];n&&e.setState({selectedIndex:0,filteredOptions:a,query:t})}else e.reset()})),v()(m()(e),"onKeyDown",(function(t){var n=e.state,r=n.isOpen,a=n.selectedIndex,i=n.filteredOptions;if(r){var o;switch(t.keyCode){case F.UP:o=(0===a?i.length:a)-1,e.setState({selectedIndex:o});break;case F.DOWN:o=(a+1)%i.length,e.setState({selectedIndex:o});break;case F.ENTER:e.select(i[a]);break;case F.LEFT:case F.RIGHT:case F.ESCAPE:return void e.reset();default:return}t.preventDefault(),t.stopPropagation()}})),e.debouncedLoadOptions=Object(A.debounce)(e.loadOptions,250),e.state=e.constructor.getInitialState(),e}return b()(t,e),s()(t,null,[{key:"getInitialState",value:function(){return{selectedIndex:0,query:void 0,filteredOptions:[],isOpen:!1}}}]),s()(t,[{key:"componentWillUnmount",value:function(){this.debouncedLoadOptions.cancel()}},{key:"handleFocusOutside",value:function(){this.reset()}},{key:"loadOptions",value:function(e,t){var n=this,r=e.options,a=this.activePromise=Promise.resolve("function"==typeof r?r(t):r).then((function(t){var r;if(a===n.activePromise){var i=t.map((function(t,n){return{key:"".concat(n),value:t,label:e.getOptionLabel(t),keywords:e.getOptionKeywords?e.getOptionKeywords(t):[]}})),o=T(i),c=o.length===n.state.filteredOptions.length?n.state.selectedIndex:0;n.setState((r={},v()(r,"options",i),v()(r,"filteredOptions",o),v()(r,"selectedIndex",c),v()(r,"isOpen",o.length>0),r)),n.announce(o)}}))}},{key:"announce",value:function(e){var t=this.props.debouncedSpeak;t&&(e.length?t(Object(k.sprintf)(Object(k._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",e.length,"jetpack","jetpack"),e.length),"assertive"):t(Object(k.__)("No results.","jetpack"),"assertive"))}},{key:"render",value:function(){var e=this,t=this.onChange,n=this.onKeyDown,r=this.props,a=r.children,i=r.instanceId,o=r.completer,c=this.state,s=c.selectedIndex,l=c.filteredOptions,u=(l[s]||{}).key,p=void 0===u?"":u,d=o.className,h=l.length>0,m=h?"components-autocomplete-listbox-".concat(i):null,f=h?"components-autocomplete-item-".concat(i,"-").concat(p):null;return Object(j.createElement)("div",{className:"components-autocomplete"},a({isExpanded:h,listBoxId:m,activeId:f,onChange:t,onKeyDown:n}),h&&Object(j.createElement)(O.Popover,{focusOnMount:!1,onClose:this.reset,position:"top center",className:"components-autocomplete__popover",noArrow:!0},Object(j.createElement)("div",{id:m,role:"listbox",className:"components-autocomplete__results"},Object(A.map)(l,(function(t,n){return Object(j.createElement)(O.Button,{key:t.key,id:"components-autocomplete-item-".concat(i,"-").concat(t.key),role:"option","aria-selected":n===s,disabled:t.isDisabled,className:S()("components-autocomplete__result",d,{"is-selected":n===s}),onClick:function(){return e.select(t)}},t.label)})))))}}]),t}(j.Component),N=Object(P.compose)([O.withSpokenMessages,P.withInstanceId,O.withFocusOutside])(M),R=Object(k.__)("Add a marker…","jetpack"),D=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"getOptionCompletion",(function(t){var n=t.value,r={placeTitle:n.text,title:n.text,caption:n.place_name,id:n.id,coordinates:{longitude:n.geometry.coordinates[0],latitude:n.geometry.coordinates[1]}};return e.props.onAddPoint(r),n.text})),v()(m()(e),"search",(function(t){var n=e.props,r=n.apiKey,a=n.onError,i="https://api.mapbox.com/geocoding/v5/mapbox.places/"+encodeURI(t)+".json?access_token="+r;return new Promise((function(e,t){var n=new XMLHttpRequest;n.open("GET",i),n.onload=function(){if(200===n.status){var r=JSON.parse(n.responseText);e(r.features)}else{var i=JSON.parse(n.responseText);a(i.statusText,i.responseJSON.message),t(new Error("Mapbox Places Error"))}},n.send()}))})),v()(m()(e),"onReset",(function(){e.textRef.current.value=null})),e.textRef=Object(j.createRef)(),e.containerRef=Object(j.createRef)(),e.state={isEmpty:!0},e.autocompleter={name:"placeSearch",options:e.search,isDebounced:!0,getOptionLabel:function(e){return Object(j.createElement)("span",null,e.place_name)},getOptionKeywords:function(e){return[e.place_name]},getOptionCompletion:e.getOptionCompletion},e}return b()(t,e),s()(t,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.containerRef.current.querySelector("input").focus()}),50)}},{key:"render",value:function(){var e=this,t=this.props.label;return Object(j.createElement)("div",{ref:this.containerRef},Object(j.createElement)(O.BaseControl,{label:t,className:"components-location-search"},Object(j.createElement)(N,{completer:this.autocompleter,onReset:this.onReset},(function(t){var n=t.isExpanded,r=t.listBoxId,a=t.activeId,i=t.onChange,o=t.onKeyDown;return Object(j.createElement)(O.TextControl,{placeholder:R,ref:e.textRef,onChange:i,"aria-expanded":n,"aria-owns":r,"aria-activedescendant":a,onKeyDown:o})}))))}}]),t}(j.Component);D.defaultProps={onError:function(){}};var z=D,I=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.onClose,n=e.onAddPoint,r=e.onError,a=e.apiKey;return Object(j.createElement)(O.Button,{className:"component__add-point"},Object(k.__)("Add marker","jetpack"),Object(j.createElement)(O.Popover,{className:"component__add-point__popover"},Object(j.createElement)(O.Button,{className:"component__add-point__close",onClick:t},Object(j.createElement)(O.Dashicon,{icon:"no"})),Object(j.createElement)(z,{onAddPoint:n,label:Object(k.__)("Add a location","jetpack"),apiKey:a,onError:r})))}}]),t}(j.Component);I.defaultProps={onAddPoint:function(){},onClose:function(){},onError:function(){}};var L=I,B=(n(158),function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"onDeletePoint",(function(t){var n=parseInt(t.target.getAttribute("data-id")),r=e.props,a=r.points,i=r.onChange,o=a.slice(0);o.splice(n,1),i(o)})),e.state={selectedCell:null},e}return b()(t,e),s()(t,[{key:"setMarkerField",value:function(e,t,n){var r=this.props,a=r.points,i=r.onChange,o=a.slice(0);o[n][e]=t,i(o)}},{key:"render",value:function(){var e=this,t=this.props.points.map((function(t,n){return Object(j.createElement)(O.PanelBody,{title:t.placeTitle,key:t.id,initialOpen:!1},Object(j.createElement)(O.TextControl,{label:"Marker Title",value:t.title,onChange:function(t){return e.setMarkerField("title",t,n)}}),Object(j.createElement)(O.TextareaControl,{label:"Marker Caption",value:t.caption,rows:"3",onChange:function(t){return e.setMarkerField("caption",t,n)}}),Object(j.createElement)(O.Button,{"data-id":n,onClick:e.onDeletePoint,className:"component__locations__delete-btn"},Object(j.createElement)(O.Dashicon,{icon:"trash",size:"15"})," Delete Marker"))}));return Object(j.createElement)("div",{className:"component__locations"},Object(j.createElement)(O.Panel,{className:"component__locations__panel"},t))}}]),t}(j.Component));B.defaultProps={points:Object.freeze([]),onChange:function(){}};var q=B,U=n(76),V=(n(159),function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=e.value,r=e.onChange,a=e.label,i=t.map((function(e,t){var a=S()("component__map-theme-picker__button","is-theme-"+e.value,e.value===n?"is-selected":"");return Object(j.createElement)(O.Button,{className:a,title:e.label,key:t,onClick:function(){return r(e.value)}},e.label)}));return Object(j.createElement)("div",{className:"component__map-theme-picker components-base-control"},Object(j.createElement)("label",{className:"components-base-control__label"},a),Object(j.createElement)(O.ButtonGroup,null,i))}}]),t}(j.Component));V.defaultProps={label:"",options:[],value:null,onChange:function(){}};var H=V,G=n(99),$=n.n(G),W=function(e){function t(){var e;return o()(this,t),e=u()(this,d()(t).apply(this,arguments)),v()(m()(e),"addPoint",(function(t){var n=e.props,r=n.attributes,a=n.setAttributes,i=r.points,o=i.slice(0),c=!1;i.map((function(e){e.id===t.id&&(c=!0)})),c||(o.push(t),a({points:o}),e.setState({addPointVisibility:!1}))})),v()(m()(e),"updateAlignment",(function(t){e.props.setAttributes({align:t}),setTimeout(e.mapRef.current.sizeMap,0)})),v()(m()(e),"updateAPIKeyControl",(function(t){e.setState({apiKeyControl:t.target.value})})),v()(m()(e),"updateAPIKey",(function(){var t=e.props.noticeOperations,n=e.state.apiKeyControl;t.removeAllNotices(),n&&e.apiCall(n,"POST")})),v()(m()(e),"removeAPIKey",(function(){e.apiCall(null,"DELETE")})),v()(m()(e),"onError",(function(t,n){var r=e.props.noticeOperations;r.removeAllNotices(),r.createErrorNotice(n)})),e.state={addPointVisibility:!1,apiState:0},e.mapRef=Object(j.createRef)(),e}return b()(t,e),s()(t,[{key:"apiCall",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=this.props.noticeOperations,a="/wpcom/v2/service-api-keys/mapbox",i=t?{path:a,method:n,data:{service_api_key:t}}:{path:a,method:n};this.setState({apiRequestOutstanding:!0},(function(){_()(i).then((function(t){var n=t.service_api_key,a=t.service_api_key_source;r.removeAllNotices();var i=n?2:1,o="wpcom"===a?"":n;e.setState({apiState:i,apiKey:n,apiKeyControl:o,apiKeySource:a,apiRequestOutstanding:!1})}),(function(t){var n=t.message;e.onError(null,n),e.setState({apiState:1,apiRequestOutstanding:!1})}))}))}},{key:"componentDidMount",value:function(){this.apiCall()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.setAttributes,i=t.attributes,o=t.noticeUI,c=t.notices,s=t.isSelected,l=i.mapStyle,u=i.mapDetails,p=i.points,d=i.zoom,h=i.mapCenter,m=i.markerColor,f=i.align,b=i.preview,g=this.state,v=g.addPointVisibility,y=g.apiKey,_=g.apiKeyControl,E=g.apiKeySource,C=g.apiState,x=g.apiRequestOutstanding,S=Object(j.createElement)(j.Fragment,null,Object(j.createElement)(w.BlockControls,null,Object(j.createElement)(w.BlockAlignmentToolbar,{value:f,onChange:this.updateAlignment,controls:["center","wide","full"]}),Object(j.createElement)(O.Toolbar,null,Object(j.createElement)(O.IconButton,{icon:a.a.markerIcon,label:"Add a marker",onClick:function(){return e.setState({addPointVisibility:!0})}}))),Object(j.createElement)(w.InspectorControls,null,Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Map Theme","jetpack")},Object(j.createElement)(H,{value:l,onChange:function(e){return r({mapStyle:e})},options:a.a.mapStyleOptions}),Object(j.createElement)(O.ToggleControl,{label:Object(k.__)("Show street names","jetpack"),checked:u,onChange:function(e){return r({mapDetails:e})}})),Object(j.createElement)(w.PanelColorSettings,{title:Object(k.__)("Colors","jetpack"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return r({markerColor:e})},label:"Marker Color"}]}),p.length?Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Markers","jetpack"),initialOpen:!1},Object(j.createElement)(q,{points:p,onChange:function(e){r({points:e})}})):null,"wpcom"!==E&&Object(j.createElement)(O.PanelBody,{title:Object(k.__)("Mapbox Access Token","jetpack"),initialOpen:!1},Object(j.createElement)(O.TextControl,{label:Object(k.__)("Mapbox Access Token","jetpack"),value:_,onChange:function(t){return e.setState({apiKeyControl:t})}}),Object(j.createElement)(O.ButtonGroup,null,Object(j.createElement)(O.Button,{type:"button",onClick:this.updateAPIKey,isDefault:!0},Object(k.__)("Update Token","jetpack")),Object(j.createElement)(O.Button,{type:"button",onClick:this.removeAPIKey,isDefault:!0},Object(k.__)("Remove Token","jetpack")))))),A=Object(j.createElement)(O.Placeholder,{icon:a.a.icon},Object(j.createElement)(O.Spinner,null)),F=Object(j.createElement)(j.Fragment,null,Object(k.__)("To use the map block, you need an Access Token.","jetpack"),Object(j.createElement)("br",null),Object(j.createElement)(O.ExternalLink,{href:"https://www.mapbox.com"},Object(k.__)("Create an account or log in to Mapbox.","jetpack")),Object(j.createElement)("br",null),Object(k.__)("Locate and copy the default access token. Then, paste it into the field below.","jetpack")),P=Object(j.createElement)(O.Placeholder,{icon:a.a.icon,label:Object(k.__)("Map","jetpack"),notices:c,instructions:F},Object(j.createElement)(j.Fragment,null,Object(j.createElement)("form",null,Object(j.createElement)("input",{type:"text",className:"components-placeholder__input",disabled:x,placeholder:Object(k.__)("Paste Token Here","jetpack"),value:_,onChange:this.updateAPIKeyControl}),Object(j.createElement)(O.Button,{isLarge:!0,isSecondary:!0,disabled:x||!_||_.length<1,onClick:this.updateAPIKey},Object(k.__)("Set Token","jetpack"))))),T=Object(j.createElement)(j.Fragment,null,S,Object(j.createElement)("div",{className:n},Object(j.createElement)(U.a,{ref:this.mapRef,mapStyle:l,mapDetails:u,points:p,zoom:d,mapCenter:h,markerColor:m,onSetZoom:function(e){r({zoom:e})},admin:!0,apiKey:y,onSetPoints:function(e){return r({points:e})},onSetMapCenter:function(e){return r({mapCenter:e})},onMapLoaded:function(){return e.setState({addPointVisibility:!0})},onMarkerClick:function(){return e.setState({addPointVisibility:!1})},onError:this.onError},s&&v&&Object(j.createElement)(L,{onAddPoint:this.addPoint,onClose:function(){return e.setState({addPointVisibility:!1})},apiKey:y,onError:this.onError,tagName:"AddPoint"})))),M=Object(j.createElement)("div",null,Object(j.createElement)("img",{alt:Object(k.__)("Map Preview","jetpack"),src:$.a}));return Object(j.createElement)(j.Fragment,null,o,b&&M,!b&&0===C&&A,!b&&1===C&&P,!b&&2===C&&T)}}]),t}(j.Component),K=Object(O.withNotices)(W),Z=function(e){function t(){return o()(this,t),u()(this,d()(t).apply(this,arguments))}return b()(t,e),s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.mapStyle,r=e.mapDetails,a=e.points,i=e.zoom,o=e.mapCenter,c=e.markerColor,s=a.map((function(e,t){var n=e.coordinates,r=n.longitude,a="https://www.google.com/maps/search/?api=1&query="+n.latitude+","+r;return Object(j.createElement)("li",{key:t},Object(j.createElement)("a",{href:a},e.title))})),l=t?"align".concat(t):null;return Object(j.createElement)("div",{className:l,"data-map-style":n,"data-map-details":r,"data-points":JSON.stringify(a),"data-zoom":i,"data-map-center":JSON.stringify(o),"data-marker-color":c},a.length>0&&Object(j.createElement)("ul",null,s))}}]),t}(j.Component),J=(n(132),n(160),a.a.name),Y={title:a.a.title,icon:a.a.icon,category:a.a.category,keywords:a.a.keywords,description:a.a.description,attributes:a.a.attributes,supports:a.a.supports,getEditWrapperProps:function(e){var t=e.align;if(-1!==a.a.validAlignments.indexOf(t))return{"data-align":t}},edit:K,save:Z,example:a.a.example};Object(r.a)(J,Y)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(15),i=n.n(a),o=n(0),c=n(1),s=n(16),l=n(2),u=n(6),p=(n(149),n(7)),d=n.n(p),h=n(11),m=n.n(h),f=n(8),b=n.n(f),g=n(9),v=n.n(g),j=n(4),y=n.n(j),_=n(10),k=n.n(_),O=n(12),w=n.n(O),E=n(43),C=n.n(E),x=n(14),S=n(41),A=n(20),F=n(32),P=["jetpack/markdown","core/paragraph","core/image","core/heading","core/gallery","core/list","core/quote","core/shortcode","core/audio","core/code","core/cover","core/file","core/html","core/separator","core/spacer","core/subhead","core/table","core/verse","core/video"],T=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeSubject=n.onChangeSubject.bind(y()(n)),n.onBlurTo=n.onBlurTo.bind(y()(n)),n.onChangeTo=n.onChangeTo.bind(y()(n)),n.onChangeSubmit=n.onChangeSubmit.bind(y()(n)),n.onFormSettingsSet=n.onFormSettingsSet.bind(y()(n)),n.getToValidationError=n.getToValidationError.bind(y()(n)),n.renderToAndSubjectFields=n.renderToAndSubjectFields.bind(y()(n)),n.preventEnterSubmittion=n.preventEnterSubmittion.bind(y()(n)),n.hasEmailError=n.hasEmailError.bind(y()(n));var o=a[0].attributes.to?a[0].attributes.to:"",c=o.split(",").map(n.getToValidationError).filter(Boolean);return n.state={toError:c&&c.length?c:null},n}return k()(t,e),m()(t,[{key:"getEmailHelpMessage",value:function(){return Object(c.__)("You can enter multiple email addresses separated by commas.","jetpack")}},{key:"onChangeSubject",value:function(e){this.props.setAttributes({subject:e})}},{key:"getToValidationError",value:function(e){return 0!==(e=e.trim()).length&&(!C.a.validate(e)&&{email:e})}},{key:"onBlurTo",value:function(e){var t=e.target.value.split(",").map(this.getToValidationError).filter(Boolean);t&&t.length&&this.setState({toError:t})}},{key:"onChangeTo",value:function(e){if(0===e.trim().length)return this.setState({toError:null}),void this.props.setAttributes({to:e});this.setState({toError:null}),this.props.setAttributes({to:e})}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}},{key:"onFormSettingsSet",value:function(e){e.preventDefault(),this.state.toError||this.props.setAttributes({hasFormSettingsSet:"yes"})}},{key:"getfieldEmailError",value:function(e){if(e){if(1===e.length)return e[0]&&e[0].email?Object(c.sprintf)(Object(c.__)("%s is not a valid email address.","jetpack"),e[0].email):e[0];if(2===e.length)return Object(c.sprintf)(Object(c.__)("%s and %s are not a valid email address.","jetpack"),e[0].email,e[1].email);var t=e.map((function(e){return e.email}));return Object(c.sprintf)(Object(c.__)("%s are not a valid email address.","jetpack"),t.join(", "))}return null}},{key:"preventEnterSubmittion",value:function(e){"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}},{key:"renderToAndSubjectFields",value:function(){var e=this.state.toError,t=this.props,n=t.instanceId,r=t.attributes,a=r.subject,i=r.to;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.TextControl,{"aria-describedby":"contact-form-".concat(n,"-email-").concat(this.hasEmailError()?"error":"help"),label:Object(c.__)("Email address","jetpack"),placeholder:Object(c.__)("name@example.com","jetpack"),onKeyDown:this.preventEnterSubmittion,value:i,onBlur:this.onBlurTo,onChange:this.onChangeTo}),Object(o.createElement)(S.a,{isError:!0,id:"contact-form-".concat(n,"-email-error")},this.getfieldEmailError(e)),Object(o.createElement)(S.a,{id:"contact-form-".concat(n,"-email-help")},this.getEmailHelpMessage()),Object(o.createElement)(l.TextControl,{label:Object(c.__)("Email subject line","jetpack"),value:a,placeholder:Object(c.__)("Let's work together","jetpack"),onChange:this.onChangeSubject}))}},{key:"renderConfirmationMessageFields",value:function(){var e=this,t=this.props.instanceId,n=this.props.attributes,r=n.customThankyou,a=n.customThankyouMessage,i=n.customThankyouRedirect;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.SelectControl,{label:Object(c.__)("On Submission","jetpack"),value:r,options:[{label:Object(c.__)("Show a summary of submitted fields","jetpack"),value:""},{label:Object(c.__)("Show a custom text message","jetpack"),value:"message"},{label:Object(c.__)("Redirect to another webpage","jetpack"),value:"redirect"}],onChange:function(t){return e.props.setAttributes({customThankyou:t})}}),"message"===r&&Object(o.createElement)(l.TextareaControl,{label:Object(c.__)("Message Text","jetpack"),value:a,placeholder:Object(c.__)("Thank you for your submission!","jetpack"),onChange:function(t){return e.props.setAttributes({customThankyouMessage:t})}}),"redirect"===r&&Object(o.createElement)(l.BaseControl,{label:Object(c.__)("Redirect Address","jetpack"),id:"contact-form-".concat(t,"-thankyou-url")},Object(o.createElement)(u.URLInput,{id:"contact-form-".concat(t,"-thankyou-url"),value:i,className:"jetpack-contact-form__thankyou-redirect-url",onChange:function(t){return e.props.setAttributes({customThankyouRedirect:t})}})))}},{key:"hasEmailError",value:function(){var e=this.state.toError;return e&&e.length>0}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.attributes.hasFormSettingsSet,r=w()(t,"jetpack-contact-form",{"has-intro":!n});return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Email Feedback Settings","jetpack")},this.renderToAndSubjectFields()),Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Confirmation Message","jetpack")},this.renderConfirmationMessageFields())),Object(o.createElement)("div",{className:r},!n&&Object(o.createElement)(l.Placeholder,{label:Object(c.__)("Form","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),instructions:Object(c.__)("You’ll receive an email notification each time someone fills out the form. Where should it go, and what should the subject line be?","jetpack")},Object(o.createElement)("form",{onSubmit:this.onFormSettingsSet},this.renderToAndSubjectFields(),Object(o.createElement)("div",{class:"components-placeholder__instructions"},Object(c.__)("(If you leave these blank, notifications will go to the author with the post or page title as the subject line.)","jetpack")),Object(o.createElement)("div",{className:"jetpack-contact-form__create"},Object(o.createElement)(l.Button,{isDefault:!0,type:"submit",disabled:this.hasEmailError()},Object(c.__)("Add form","jetpack"))))),n&&Object(o.createElement)(u.InnerBlocks,{allowedBlocks:P,templateLock:!1,template:[["jetpack/field-name",{required:!0}],["jetpack/field-email",{required:!0}],["jetpack/field-url",{}],["jetpack/field-textarea",{}]]}),n&&Object(o.createElement)(F.a,this.props)))}}]),t}(o.Component),M=Object(x.compose)([x.withInstanceId])(T),N=function(e){var t=e.setAttributes,n=e.label,r=e.resetFocus,a=e.isSelected,i=e.required;return Object(o.createElement)("div",{className:"jetpack-field-label"},Object(o.createElement)(u.PlainText,{value:n,className:"jetpack-field-label__input",onChange:function(e){r&&r(),t({label:e})},placeholder:Object(c.__)("Write label…","jetpack")}),a&&Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Required","jetpack"),className:"jetpack-field-label__required",checked:i,onChange:function(e){return t({required:e})}}),!a&&i&&Object(o.createElement)("span",{className:"required"},Object(c.__)("(required)","jetpack")))};var R=function(e){var t=e.isSelected,n=e.type,r=e.required,a=e.label,i=e.setAttributes,s=e.defaultValue,p=e.placeholder,d=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:w()("jetpack-field",{"is-selected":t})},Object(o.createElement)(l.TextControl,{type:n,label:Object(o.createElement)(N,{required:r,label:a,setAttributes:i,isSelected:t}),placeholder:p,value:p,onChange:function(e){return i({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:s,onChange:function(e){return i({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:d,onChange:function(e){return i({id:e})}}))))};var D=function(e){var t=e.required,n=e.label,r=e.setAttributes,a=e.isSelected,i=e.defaultValue,s=e.placeholder,p=e.id;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"jetpack-field"},Object(o.createElement)(l.TextareaControl,{label:Object(o.createElement)(N,{required:t,label:n,setAttributes:r,isSelected:a}),placeholder:s,value:s,onChange:function(e){return r({placeholder:e})},title:Object(c.__)("Set the placeholder text","jetpack")})),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("Default Value","jetpack"),value:i,onChange:function(e){return r({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return r({id:e})}}))))},z=Object(x.withInstanceId)((function(e){var t=e.instanceId,n=e.required,r=e.label,a=e.setAttributes,i=e.isSelected,s=e.defaultValue,p=e.id;return Object(o.createElement)(l.BaseControl,{id:"jetpack-field-checkbox-".concat(t),className:"jetpack-field jetpack-field-checkbox",label:Object(o.createElement)(o.Fragment,null,Object(o.createElement)("input",{className:"jetpack-field-checkbox__checkbox",type:"checkbox",disabled:!0,checked:s}),Object(o.createElement)(N,{required:n,label:r,setAttributes:a,isSelected:i}),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.ToggleControl,{label:Object(c.__)("Default Checked State","jetpack"),checked:s,onChange:function(e){return a({defaultValue:e})}}),Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:p,onChange:function(e){return a({id:e})}}))))})})),I=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.onKeyPress=n.onKeyPress.bind(y()(n)),n.onDeleteOption=n.onDeleteOption.bind(y()(n)),n.textInput=Object(o.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"componentDidUpdate",value:function(){this.props.isInFocus&&this.textInput.current.focus()}},{key:"onChangeOption",value:function(e){this.props.onChangeOption(this.props.index,e.target.value)}},{key:"onKeyPress",value:function(e){return"Enter"===e.key?(this.props.onAddOption(this.props.index),void e.preventDefault()):"Backspace"===e.key&&""===e.target.value?(this.props.onChangeOption(this.props.index),void e.preventDefault()):void 0}},{key:"onDeleteOption",value:function(){this.props.onChangeOption(this.props.index)}},{key:"render",value:function(){var e=this.props,t=e.isSelected,n=e.option,r=e.type;return Object(o.createElement)("li",{className:"jetpack-option"},r&&"select"!==r&&Object(o.createElement)("input",{className:"jetpack-option__type",type:r,disabled:!0}),Object(o.createElement)("input",{type:"text",className:"jetpack-option__input",value:n,placeholder:Object(c.__)("Write option…","jetpack"),onChange:this.onChangeOption,onKeyDown:this.onKeyPress,ref:this.textInput}),t&&Object(o.createElement)(l.IconButton,{className:"jetpack-option__remove",icon:"trash",label:Object(c.__)("Remove option","jetpack"),onClick:this.onDeleteOption}))}}]),t}(o.Component),L=function(e){function t(){var e,n;d()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return(n=b()(this,(e=v()(t)).call.apply(e,[this].concat(a)))).onChangeOption=n.onChangeOption.bind(y()(n)),n.addNewOption=n.addNewOption.bind(y()(n)),n.state={inFocus:null},n}return k()(t,e),m()(t,[{key:"onChangeOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.props.options.slice(0);null===t?(n.splice(e,1),e>0&&this.setState({inFocus:e-1})):(n.splice(e,1,t),this.setState({inFocus:e})),this.props.setAttributes({options:n})}},{key:"addNewOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.props.options.slice(0),n=0;"object"==typeof e?(t.push(""),n=t.length-1):(t.splice(e+1,0,""),n=e+1),this.setState({inFocus:n}),this.props.setAttributes({options:t})}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.instanceId,a=t.required,i=t.label,s=t.setAttributes,p=t.isSelected,d=t.id,h=this.props.options,m=this.state.inFocus;return h.length||(h=[""],m=0),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.BaseControl,{id:"jetpack-field-multiple-".concat(r),className:"jetpack-field jetpack-field-multiple",label:Object(o.createElement)(N,{required:a,label:i,setAttributes:s,isSelected:p,resetFocus:function(){return e.setState({inFocus:null})}})},Object(o.createElement)("ol",{className:"jetpack-field-multiple__list",id:"jetpack-field-multiple-".concat(r)},h.map((function(t,r){return Object(o.createElement)(I,{type:n,key:r,option:t,index:r,onChangeOption:e.onChangeOption,onAddOption:e.addNewOption,isInFocus:r===m&&p,isSelected:p})}))),p&&Object(o.createElement)(l.IconButton,{className:"jetpack-field-multiple__add-option",icon:"insert",label:Object(c.__)("Insert option","jetpack"),onClick:this.addNewOption},Object(c.__)("Add option","jetpack"))),Object(o.createElement)(u.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(c.__)("Field Settings","jetpack")},Object(o.createElement)(l.TextControl,{label:Object(c.__)("ID","jetpack"),value:d,onChange:function(e){return s({id:e})}}))))}}]),t}(o.Component),B=Object(x.withInstanceId)(L),q={title:Object(c.__)("Form","jetpack"),description:Object(c.__)("A simple way to get feedback from folks visiting your site.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M13 7.5h5v2h-5zm0 7h5v2h-5zM19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM11 6H6v5h5V6zm-1 4H7V7h3v3zm1 3H6v5h5v-5zm-1 4H7v-3h3v3z"})),keywords:[Object(c._x)("email","block search term","jetpack"),Object(c._x)("feedback","block search term","jetpack"),Object(c._x)("contact form","block search term","jetpack")],category:"jetpack",supports:{html:!1},attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submitButtonText:{type:"string",default:Object(c.__)("Submit","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"},hasFormSettingsSet:{type:"string",default:null},customThankyou:{type:"string",default:""},customThankyouMessage:{type:"string",default:""},customThankyouRedirect:{type:"string",default:""},has_form_settings_set:{type:"string",default:null},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")}},edit:M,save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)},example:{attributes:{hasFormSettingsSet:!0,submitButtonText:Object(c.__)("Submit","jetpack")},innerBlocks:[{name:"jetpack/field-name",attributes:{label:Object(c.__)("Name","jetpack"),required:!0}},{name:"jetpack/field-email",attributes:{label:Object(c.__)("Email","jetpack"),required:!0}},{name:"jetpack/field-url",attributes:{label:Object(c.__)("Website","jetpack")}},{name:"jetpack/field-textarea",attributes:{label:Object(c.__)("Message","jetpack")}}]},deprecated:[{attributes:{subject:{type:"string",default:""},to:{type:"string",default:""},submit_button_text:{type:"string",default:Object(c.__)("Submit","jetpack")},has_form_settings_set:{type:"string",default:null}},migrate:function(e){return{submitButtonText:e.submit_button_text,hasFormSettingsSet:e.has_form_settings_set,to:e.to,subject:e.subject}},isEligible:function(e){return!!(e.has_form_settings_set||e.submit_button_text&&"Submit"!==e.submit_button_text)},save:function(){return Object(o.createElement)(u.InnerBlocks.Content,null)}}]},U={category:"jetpack",parent:["jetpack/contact-form"],supports:{reusable:!1,html:!1},attributes:{label:{type:"string",default:null},required:{type:"boolean",default:!1},options:{type:"array",default:[]},defaultValue:{type:"string",default:""},placeholder:{type:"string",default:""},id:{type:"string",default:""}},transforms:{to:[{type:"block",blocks:["jetpack/field-text"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-text",e)}},{type:"block",blocks:["jetpack/field-name"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-name",e)}},{type:"block",blocks:["jetpack/field-email"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-email",e)}},{type:"block",blocks:["jetpack/field-url"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-url",e)}},{type:"block",blocks:["jetpack/field-date"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-date",e)}},{type:"block",blocks:["jetpack/field-telephone"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-telephone",e)}},{type:"block",blocks:["jetpack/field-textarea"],isMatch:function(e){return!e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-textarea",e)}},{type:"block",blocks:["jetpack/field-checkbox-multiple"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-checkbox-multiple",e)}},{type:"block",blocks:["jetpack/field-radio"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-radio",e)}},{type:"block",blocks:["jetpack/field-select"],isMatch:function(e){return 1<=e.options.length},transform:function(e){return Object(s.createBlock)("jetpack/field-select",e)}}]},save:function(){return null}},V=function(e){var t=e.attributes,n=e.name;return null===t.label?Object(s.getBlockType)(n).title:t.label},H=function(e){return function(t){return Object(o.createElement)(R,{type:e,label:V(t),required:t.attributes.required,setAttributes:t.setAttributes,isSelected:t.isSelected,defaultValue:t.attributes.defaultValue,placeholder:t.attributes.placeholder,id:t.attributes.id})}},G=function(e){return function(t){return Object(o.createElement)(B,{label:V(t),required:t.attributes.required,options:t.attributes.options,setAttributes:t.setAttributes,type:e,isSelected:t.isSelected,id:t.attributes.id})}},$=[{name:"field-text",settings:i()({},U,{title:Object(c.__)("Text","jetpack"),description:Object(c.__)("When you need just a small amount of text, add a text input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),edit:H("text")})},{name:"field-name",settings:i()({},U,{title:Object(c.__)("Name","jetpack"),description:Object(c.__)("Introductions are important. Add an input for folks to add their name.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M12 6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0 10c2.7 0 5.8 1.29 6 2H6c.23-.72 3.31-2 6-2m0-12C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 10c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"})),edit:H("text")})},{name:"field-email",settings:i()({},U,{title:Object(c.__)("Email","jetpack"),keywords:[Object(c.__)("e-mail","jetpack"),Object(c.__)("mail","jetpack"),"email"],description:Object(c.__)("Want to reply to folks? Add an email address input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"})),edit:H("email")})},{name:"field-url",settings:i()({},U,{title:Object(c.__)("Website","jetpack"),keywords:["url",Object(c.__)("internet page","jetpack"),"link"],description:Object(c.__)("Add an address input for a website.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"})),edit:H("url")})},{name:"field-date",settings:i()({},U,{title:Object(c.__)("Date Picker","jetpack"),keywords:[Object(c.__)("Calendar","jetpack"),Object(c.__)("day month year","block search term","jetpack")],description:Object(c.__)("The best way to set a date. Add a date picker.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z"})),edit:H("text")})},{name:"field-telephone",settings:i()({},U,{title:Object(c.__)("Telephone","jetpack"),keywords:[Object(c.__)("Phone","jetpack"),Object(c.__)("Cellular phone","jetpack"),Object(c.__)("Mobile","jetpack")],description:Object(c.__)("Add a phone number input.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"})),edit:H("tel")})},{name:"field-textarea",settings:i()({},U,{title:Object(c.__)("Message","jetpack"),keywords:[Object(c.__)("Textarea","jetpack"),"textarea",Object(c.__)("Multiline text","jetpack")],description:Object(c.__)("Let folks speak their mind. This text box is great for longer responses.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M21 11.01L3 11v2h18zM3 16h12v2H3zM21 6H3v2.01L21 8z"})),edit:function(e){return Object(o.createElement)(D,{label:V(e),required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,placeholder:e.attributes.placeholder,id:e.attributes.id})}})},{name:"field-checkbox",settings:i()({},U,{title:Object(c.__)("Checkbox","jetpack"),keywords:[Object(c.__)("Confirm","jetpack"),Object(c.__)("Accept","jetpack")],description:Object(c.__)("Add a single checkbox.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"})),edit:function(e){return Object(o.createElement)(z,{label:e.attributes.label,required:e.attributes.required,setAttributes:e.setAttributes,isSelected:e.isSelected,defaultValue:e.attributes.defaultValue,id:e.attributes.id})},attributes:i()({},U.attributes,{label:{type:"string",default:""}})})},{name:"field-checkbox-multiple",settings:i()({},U,{title:Object(c.__)("Checkbox Group","jetpack"),keywords:[Object(c.__)("Choose Multiple","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("People love options. Add several checkbox items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"})),edit:G("checkbox"),attributes:i()({},U.attributes,{label:{type:"string",default:"Choose several"}})})},{name:"field-radio",settings:i()({},U,{title:Object(c.__)("Radio","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Select","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Inspired by radios, only one radio item can be selected at a time. Add several radio button items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.Path,{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(o.createElement)(l.Circle,{cx:"12",cy:"12",r:"5"}))),edit:G("radio"),attributes:i()({},U.attributes,{label:{type:"string",default:"Choose one"}})})},{name:"field-select",settings:i()({},U,{title:Object(c.__)("Select","jetpack"),keywords:[Object(c.__)("Choose","jetpack"),Object(c.__)("Dropdown","jetpack"),Object(c.__)("Option","jetpack")],description:Object(c.__)("Compact, but powerful. Add a select box with several items.","jetpack"),icon:Object(A.a)(Object(o.createElement)(l.Path,{d:"M3 17h18v2H3zm16-5v1H5v-1h14m2-2H3v5h18v-5zM3 6h18v2H3z"})),edit:G("select"),attributes:i()({},U.attributes,{label:{type:"string",default:"Select one"}})})}];Object(r.a)("contact-form",q,$)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=["USD","EUR","AUD","BRL","CAD","CZK","DKK","HKD","HUF","ILS","JPY","MYR","MXN","TWD","NZD","NOK","PHP","PLN","GBP","RUB","SGD","SEK","CHF","THB"],s=n(24),l=n(7),u=n.n(l),p=n(11),d=n.n(p),h=n(8),m=n.n(h),f=n(9),b=n.n(f),g=n(4),v=n.n(g),j=n(10),y=n.n(j),_=n(3),k=n.n(_),O=n(12),w=n.n(O),E=n(43),C=n.n(E),x=n(14),S=n(13),A=n(5),F=n(45),P=n(41),T=(n(230),n(106)),M=n.n(T),N=n(107),R=n.n(N),D=function(e){var t=e.title,n=void 0===t?"":t,r=e.content,o=void 0===r?"":r,c=e.formattedPrice,s=void 0===c?"":c,l=e.multiple,u=void 0!==l&&l,p=e.featuredMediaUrl,d=void 0===p?null:p,h=e.featuredMediaTitle,m=void 0===h?null:h;return Object(a.createElement)("div",{className:"jetpack-simple-payments-wrapper"},Object(a.createElement)("div",{className:"jetpack-simple-payments-product"},d&&Object(a.createElement)("div",{className:"jetpack-simple-payments-product-image"},Object(a.createElement)("figure",{className:"jetpack-simple-payments-image"},Object(a.createElement)("img",{src:d,alt:m}))),Object(a.createElement)("div",{className:"jetpack-simple-payments-details"},n&&Object(a.createElement)("div",{className:"jetpack-simple-payments-title"},Object(a.createElement)("p",null,n)),o&&Object(a.createElement)("div",{className:"jetpack-simple-payments-description"},Object(a.createElement)("p",null,o)),s&&Object(a.createElement)("div",{className:"jetpack-simple-payments-price"},Object(a.createElement)("p",null,s)),Object(a.createElement)("div",{className:"jetpack-simple-payments-purchase-box"},u&&Object(a.createElement)("div",{className:"jetpack-simple-payments-items"},Object(a.createElement)("input",{className:"jetpack-simple-payments-items-number",readOnly:!0,type:"number",value:"1"})),Object(a.createElement)("div",{className:"jetpack-simple-payments-button"},Object(a.createElement)("img",{alt:Object(i.__)("Pay with PayPal","jetpack"),src:M.a,srcSet:"".concat(R.a," 2x")}))))))},z=n(6),I=n(48),L=function(e){return function(t){return e({featuredMediaId:Object(A.get)(t,"id",0),featuredMediaUrl:Object(A.get)(t,"url",null),featuredMediaTitle:Object(A.get)(t,"title",null)})}},B=function(e){var t=e.featuredMediaId,n=e.featuredMediaUrl,r=e.featuredMediaTitle,c=e.setAttributes;return t?Object(a.createElement)("div",null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(z.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(z.MediaUpload,{onSelect:L(c),allowedTypes:["image"],value:t,render:function(e){var t=e.open;return Object(a.createElement)(I.a,{label:Object(i.__)("Edit Image","jetpack"),onClick:t})}}),Object(a.createElement)(o.ToolbarButton,{icon:"trash",title:Object(i.__)("Remove Image","jetpack"),onClick:function(){return c({featuredMediaId:null,featuredMediaUrl:null,featuredMediaTitle:null})}}))),Object(a.createElement)("figure",null,Object(a.createElement)("img",{src:n,alt:r})))):Object(a.createElement)(z.MediaPlaceholder,{icon:"format-image",labels:{title:Object(i.__)("Product Image","jetpack")},accept:"image/*",allowedTypes:["image"],onSelect:L(c)})},q=function(e){var t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0},U=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=Object(F.a)(t),a=r.precision,i=r.symbol,o=e.toFixed(a);return n?"".concat(o," ").concat(Object(A.trimEnd)(i,".")):o},V=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(a))),k()(v()(n),"state",{fieldEmailError:null,fieldPriceError:null,fieldTitleError:null,isSavingProduct:!1}),k()(v()(n),"shouldInjectPaymentAttributes",!!n.props.attributes.productId),k()(v()(n),"validateAttributes",(function(){var e=n.validatePrice(),t=n.validateTitle(),r=n.validateEmail(),a=n.validateCurrency();return e&&t&&r&&a})),k()(v()(n),"validateCurrency",(function(){var e=n.props.attributes.currency;return c.includes(e)})),k()(v()(n),"validatePrice",(function(){var e=n.props.attributes,t=e.currency,r=e.price,a=Object(F.a)(t).precision;return r&&0!==parseFloat(r)?Number.isNaN(parseFloat(r))?(n.setState({fieldPriceError:Object(i.__)("Invalid price","jetpack")}),!1):parseFloat(r)<0?(n.setState({fieldPriceError:Object(i.__)("Your price is negative — enter a positive number so people can pay the right amount.","jetpack")}),!1):q(r)>a?0===a?(n.setState({fieldPriceError:Object(i.__)("We know every penny counts, but prices in this currency can’t contain decimal values.","jetpack")}),!1):(n.setState({fieldPriceError:Object(i.sprintf)(Object(i._n)("The price cannot have more than %d decimal place.","The price cannot have more than %d decimal places.",a,"jetpack"),a)}),!1):(n.state.fieldPriceError&&n.setState({fieldPriceError:null}),!0):(n.setState({fieldPriceError:Object(i.__)("If you’re selling something, you need a price tag. Add yours here.","jetpack")}),!1)})),k()(v()(n),"validateEmail",(function(){var e=n.props.attributes.email;return e?C.a.validate(e)?(n.state.fieldEmailError&&n.setState({fieldEmailError:null}),!0):(n.setState({fieldEmailError:Object(i.sprintf)(Object(i.__)("%s is not a valid email address.","jetpack"),e)}),!1):(n.setState({fieldEmailError:Object(i.__)("We want to make sure payments reach you, so please add an email address.","jetpack")}),!1)})),k()(v()(n),"validateTitle",(function(){return n.props.attributes.title?(n.state.fieldTitleError&&n.setState({fieldTitleError:null}),!0):(n.setState({fieldTitleError:Object(i.__)("Please add a brief title so that people know what they’re paying for.","jetpack")}),!1)})),k()(v()(n),"handleEmailChange",(function(e){n.props.setAttributes({email:e}),n.setState({fieldEmailError:null})})),k()(v()(n),"handleFeaturedMediaSelect",(function(e){n.props.setAttributes({featuredMediaId:Object(A.get)(e,"id",0)})})),k()(v()(n),"handleContentChange",(function(e){n.props.setAttributes({content:e})})),k()(v()(n),"handlePriceChange",(function(e){e=parseFloat(e),isNaN(e)?n.props.setAttributes({price:void 0}):n.props.setAttributes({price:e}),n.setState({fieldPriceError:null})})),k()(v()(n),"handleCurrencyChange",(function(e){n.props.setAttributes({currency:e})})),k()(v()(n),"handleMultipleChange",(function(e){n.props.setAttributes({multiple:!!e})})),k()(v()(n),"handleTitleChange",(function(e){n.props.setAttributes({title:e}),n.setState({fieldTitleError:null})})),k()(v()(n),"getCurrencyList",c.map((function(e){var t=Object(F.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(A.trimEnd)(t,"."))}}))),n}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){this.injectPaymentAttributes();var e=this.props,t=e.attributes,n=e.hasPublishAction;!t.productId&&n&&this.saveProduct()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.hasPublishAction,r=t.isSelected;Object(A.isEqual)(e.simplePayment,this.props.simplePayment)||this.injectPaymentAttributes(),!e.isSaving&&this.props.isSaving&&n&&this.validateAttributes()?this.saveProduct():e.isSelected&&!r&&this.validateAttributes()}},{key:"injectPaymentAttributes",value:function(){var e=this.props.simplePayment;if(this.shouldInjectPaymentAttributes&&!Object(A.isEmpty)(e)){var t=this.props,n=t.attributes,r=t.setAttributes,a=n.content,i=n.currency,o=n.email,c=n.featuredMediaId,s=n.multiple,l=n.price,u=n.title;r({content:Object(A.get)(e,["content","raw"],a),currency:Object(A.get)(e,["meta","spay_currency"],i),email:Object(A.get)(e,["meta","spay_email"],o),featuredMediaId:Object(A.get)(e,["featured_media"],c),multiple:Boolean(Object(A.get)(e,["meta","spay_multiple"],Boolean(s))),price:Object(A.get)(e,["meta","spay_price"],l||void 0),title:Object(A.get)(e,["title","raw"],u)}),this.shouldInjectPaymentAttributes=!this.shouldInjectPaymentAttributes}}},{key:"toApi",value:function(){var e=this.props.attributes,t=e.content,n=e.currency,r=e.email,a=e.featuredMediaId,i=e.multiple,o=e.price,c=e.productId;return{id:c,content:t,featured_media:a,meta:{spay_currency:n,spay_email:r,spay_multiple:i,spay_price:o},status:c?"publish":"draft",title:e.title}}},{key:"saveProduct",value:function(){var e=this;if(!this.state.isSavingProduct){var t=this.props,n=t.attributes,r=t.setAttributes,a=n.email,o=Object(S.dispatch)("core").saveEntityRecord;this.setState({isSavingProduct:!0},(function(){o("postType","jp_pay_product",e.toApi()).then((function(e){return e&&r({productId:e.id}),e})).catch((function(t){if(t&&t.data){var n=t.data.key;e.setState({fieldEmailError:"spay_email"===n?Object(i.sprintf)(Object(i.__)("%s is not a valid email address.","jetpack"),a):null,fieldPriceError:"spay_price"===n?Object(i.__)("Invalid price.","jetpack"):null})}})).finally((function(){e.setState({isSavingProduct:!1})}))}))}}},{key:"render",value:function(){var e=this.state,t=e.fieldEmailError,n=e.fieldPriceError,r=e.fieldTitleError,c=this.props,s=c.attributes,l=c.featuredMedia,u=c.instanceId,p=c.isSelected,d=c.setAttributes,h=c.simplePayment,m=s.content,f=s.currency,b=s.email,g=s.featuredMediaId,v=s.featuredMediaUrl,j=s.featuredMediaTitle,y=s.multiple,_=s.price,k=s.productId,O=s.title,E=v||l&&l.source_url,C=j||l&&l.alt_text,x=k&&Object(A.isEmpty)(h);if(!p&&x)return Object(a.createElement)("div",{className:"simple-payments__loading"},Object(a.createElement)(D,{"aria-busy":"true",content:"█████",formattedPrice:"█████",title:"█████"}));if(!p&&b&&_&&O&&!t&&!n&&!r)return Object(a.createElement)(D,{"aria-busy":"false",content:m,featuredMediaUrl:E,featuredMediaTitle:C,formattedPrice:U(_,f),multiple:y,title:O});var S=x?o.Disabled:"div";return Object(a.createElement)(S,{className:"wp-block-jetpack-simple-payments"},Object(a.createElement)(B,{featuredMediaId:g,featuredMediaUrl:E,featuredMediaTitle:C,setAttributes:d}),Object(a.createElement)("div",null,Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-title-error"),className:w()("simple-payments__field","simple-payments__field-title",{"simple-payments__field-has-error":r}),label:Object(i.__)("Item name","jetpack"),onChange:this.handleTitleChange,placeholder:Object(i.__)("Item name","jetpack"),required:!0,type:"text",value:O}),Object(a.createElement)(P.a,{id:"".concat(u,"-title-error"),isError:!0},r),Object(a.createElement)(o.TextareaControl,{className:"simple-payments__field simple-payments__field-content",label:Object(i.__)("Describe your item in a few words","jetpack"),onChange:this.handleContentChange,placeholder:Object(i.__)("Describe your item in a few words","jetpack"),value:m}),Object(a.createElement)("div",{className:"simple-payments__price-container"},Object(a.createElement)(o.SelectControl,{className:"simple-payments__field simple-payments__field-currency",label:Object(i.__)("Currency","jetpack"),onChange:this.handleCurrencyChange,options:this.getCurrencyList,value:f}),Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-price-error"),className:w()("simple-payments__field","simple-payments__field-price",{"simple-payments__field-has-error":n}),label:Object(i.__)("Price","jetpack"),onChange:this.handlePriceChange,placeholder:U(0,f,!1),required:!0,step:"1",type:"number",value:_||""}),Object(a.createElement)(P.a,{id:"".concat(u,"-price-error"),isError:!0},n)),Object(a.createElement)("div",{className:"simple-payments__field-multiple"},Object(a.createElement)(o.ToggleControl,{checked:Boolean(y),label:Object(i.__)("Allow people to buy more than one item at a time","jetpack"),onChange:this.handleMultipleChange})),Object(a.createElement)(o.TextControl,{"aria-describedby":"".concat(u,"-email-").concat(t?"error":"help"),className:w()("simple-payments__field","simple-payments__field-email",{"simple-payments__field-has-error":t}),label:Object(i.__)("Email","jetpack"),onChange:this.handleEmailChange,placeholder:Object(i.__)("Email","jetpack"),required:!0,type:"email",value:b}),Object(a.createElement)(P.a,{id:"".concat(u,"-email-error"),isError:!0},t),Object(a.createElement)(P.a,{id:"".concat(u,"-email-help")},Object(i.__)("Enter the email address associated with your PayPal account. Don’t have an account?","jetpack")+" ",Object(a.createElement)(o.ExternalLink,{href:"https://www.paypal.com/"},Object(i.__)("Create one on PayPal","jetpack")))))}}]),t}(a.Component),H=Object(S.withSelect)((function(e,t){var n=e("core"),r=n.getEntityRecord,a=n.getMedia,i=e("core/editor"),o=i.isSavingPost,c=i.getCurrentPost,s=t.attributes,l=s.productId,u=s.featuredMediaId,p=l?Object(A.pick)(r("postType","jp_pay_product",l),[["content"],["meta","spay_currency"],["meta","spay_email"],["meta","spay_multiple"],["meta","spay_price"],["title","raw"],["featured_media"]]):void 0;return{hasPublishAction:!!Object(A.get)(c(),["_links","wp:action-publish"]),isSaving:!!o(),simplePayment:p,featuredMedia:u?a(u):null}})),G=Object(x.compose)(H,x.withInstanceId)(V);var $=n(108),W=n.n($),K=(n(231),Object(s.b)()||Object(s.a)()?"https://support.wordpress.com/simple-payments/":"https://jetpack.com/support/jetpack-blocks/simple-payments-block/"),Z={title:Object(i.__)("Simple Payments button","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Lets you add credit and debit card payment buttons with minimal setup.","jetpack")),Object(a.createElement)("p",null,Object(i.__)("Good for collecting donations or payments for products and services.","jetpack")),Object(a.createElement)(o.ExternalLink,{href:K},Object(i.__)("Support reference","jetpack"))),icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"})),category:"jetpack",keywords:[Object(i._x)("shop","block search term","jetpack"),Object(i._x)("sell","block search term","jetpack"),"PayPal"],attributes:{currency:{type:"string",default:"USD"},content:{type:"string",default:""},email:{type:"string",default:""},featuredMediaId:{type:"number",default:0},featuredMediaUrl:{type:"string",default:null},featuredMediaTitle:{type:"string",default:null},multiple:{type:"boolean",default:!1},price:{type:"number"},productId:{type:"number"},title:{type:"string",default:""}},transforms:{from:[{type:"shortcode",tag:"simple-payment",attributes:{productId:{type:"number",shortcode:function(e){var t=e.named.id;if(t){var n=parseInt(t,10);return n||void 0}}}}}]},edit:G,save:function(e){var t=e.attributes.productId;return t?Object(a.createElement)(a.RawHTML,null,'[simple-payment id="'.concat(t,'"]')):null},example:{attributes:{price:25,title:Object(i.__)("Jetpack t-shirt","jetpack"),content:Object(i.__)("Take flight in ultimate comfort with ths stylish t-shirt featuring the Jetpack logo.","jetpack"),email:"jetpack@jetpack.com",featuredMediaUrl:W.a}},supports:{className:!1,customClassName:!1,html:!1,reusable:!1}};Object(r.a)("simple-payments",Z)},function(e,t,n){"use strict";n.r(t);var r=n(21),a=n.n(r),i=n(18),o=n.n(i),c=n(15),s=n.n(c),l=n(25),u=n(16),p=n(28),d=n(55),h=n(5),m=n(7),f=n.n(m),b=n(11),g=n.n(b),v=n(8),j=n.n(v),y=n(9),_=n.n(y),k=n(4),O=n.n(k),w=n(10),E=n.n(w),C=n(3),x=n.n(C),S=n(0),A=n(23),F=n.n(A),P=n(2),T=n(14),M=n(13),N=n(6),R=n(1),D=n(12),z=n.n(D),I=function(e){var t=e.text;return Object(S.createElement)("div",{className:"wp-block-embed is-loading"},Object(S.createElement)(P.Spinner,null),Object(S.createElement)("p",null,t))},L=n(31),B=function(e,t){var n=t.autoplay,r=t.controls,a=t.loop,i=t.muted,o=t.poster,c=t.preload;if(!e)return null;var l=s()({},n&&{autoPlay:!0},{},!r&&{controls:!1},{},a&&{loop:!0},{},i&&{muted:!0,persistVolume:!1},{},o&&{posterUrl:o},{},"none"!==c&&{preloadContent:c});return Object(L.addQueryArgs)("https://videopress.com/v/".concat(e),l)},q=["image"],U=Object(T.createHigherOrderComponent)(Object(T.compose)([Object(M.withSelect)((function(e,t){var n=t.attributes,r=n.autoplay,a=n.controls,i=n.guid,o=n.loop,c=n.muted,s=n.poster,u=n.preload,p=n.src,d=e("core"),h=d.getEmbedPreview,m=d.isRequestingEmbedPreview,f=B(i,{autoplay:r,controls:a,loop:o,muted:c,poster:s,preload:u}),b=!!f&&h(f);return{isFetchingPreview:!!f&&m(f),isUploading:Object(l.isBlobURL)(p),preview:b,url:f}})),Object(M.withDispatch)((function(e){return{invalidateCachedEmbedPreview:function(t){e("core/data").invalidateResolution("core","getEmbedPreview",[t])}}})),T.withInstanceId,function(e){return function(t){function n(){var e;return f()(this,n),e=j()(this,_()(n).apply(this,arguments)),x()(O()(e),"fallbackToCore",(function(){e.props.setAttributes({guid:void 0}),e.setState({fallback:!0})})),x()(O()(e),"setGuid",(function(){var t,n,r,a,i,o,c;return regeneratorRuntime.async((function(s){for(;;)switch(s.prev=s.next){case 0:if(t=e.props,n=t.attributes,r=t.setAttributes,a=n.id){s.next=5;break}return r({guid:void 0}),s.abrupt("return");case 5:return s.prev=5,e.setState({isFetchingMedia:!0}),s.next=9,regeneratorRuntime.awrap(F()({path:"/wp/v2/media/".concat(a)}));case 9:if(i=s.sent,e.setState({isFetchingMedia:!1}),o=e.props.attributes.id,a===o){s.next=14;break}return s.abrupt("return");case 14:e.setState({media:i}),(c=Object(h.get)(i,"jetpack_videopress_guid"))?r({guid:c}):e.fallbackToCore(),s.next=23;break;case 19:s.prev=19,s.t0=s.catch(5),e.setState({isFetchingMedia:!1}),e.fallbackToCore();case 23:case"end":return s.stop()}}),null,null,[[5,19]])})),x()(O()(e),"switchToEditing",(function(){e.props.setAttributes({id:void 0,guid:void 0,src:void 0})})),x()(O()(e),"onSelectPoster",(function(t){(0,e.props.setAttributes)({poster:t.url})})),x()(O()(e),"onRemovePoster",(function(){(0,e.props.setAttributes)({poster:""}),e.posterImageButton.current.focus()})),x()(O()(e),"toggleAttribute",(function(t){return function(n){e.props.setAttributes(x()({},t,n))}})),x()(O()(e),"getAutoplayHelp",(function(e){return e?Object(R.__)("Note: Autoplaying videos may cause usability issues for some visitors.","jetpack"):null})),e.state={media:null,isFetchingMedia:!1,fallback:!1},e.posterImageButton=Object(S.createRef)(),e}return E()(n,t),g()(n,[{key:"componentDidMount",value:function(){this.props.attributes.guid||this.setGuid()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.attributes,r=t.invalidateCachedEmbedPreview,a=t.url;n.id!==e.attributes.id&&this.setGuid(),a&&a!==e.url&&r(a)}},{key:"render",value:function(){var t=this,n=this.props,r=n.attributes,a=n.className,i=n.instanceId,o=n.isFetchingPreview,c=n.isSelected,s=n.isUploading,l=n.preview,u=n.setAttributes,p=this.state,d=p.fallback,h=p.isFetchingMedia,m=r.autoplay,f=r.caption,b=r.controls,g=r.loop,v=r.muted,j=r.poster,y=r.preload,_="video-block__poster-image-description-".concat(i),k=Object(S.createElement)(S.Fragment,null,Object(S.createElement)(N.BlockControls,null,Object(S.createElement)(P.Toolbar,null,Object(S.createElement)(P.IconButton,{className:"components-icon-button components-toolbar__control",label:Object(R.__)("Edit video","jetpack"),onClick:this.switchToEditing,icon:"edit"}))),Object(S.createElement)(N.InspectorControls,null,Object(S.createElement)(P.PanelBody,{title:Object(R.__)("Video Settings","jetpack")},Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Autoplay","jetpack"),onChange:this.toggleAttribute("autoplay"),checked:m,help:this.getAutoplayHelp}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Loop","jetpack"),onChange:this.toggleAttribute("loop"),checked:g}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Muted","jetpack"),onChange:this.toggleAttribute("muted"),checked:v}),Object(S.createElement)(P.ToggleControl,{label:Object(R.__)("Playback Controls","jetpack"),onChange:this.toggleAttribute("controls"),checked:b}),Object(S.createElement)(P.SelectControl,{label:Object(R.__)("Preload","jetpack"),value:y,onChange:function(e){return u({preload:e})},options:[{value:"auto",label:Object(R._x)("Auto","VideoPress preload setting","jetpack")},{value:"metadata",label:Object(R._x)("Metadata","VideoPress preload setting","jetpack")},{value:"none",label:Object(R._x)("None","VideoPress preload setting","jetpack")}]}),Object(S.createElement)(N.MediaUploadCheck,null,Object(S.createElement)(P.BaseControl,{className:"editor-video-poster-control",label:Object(R.__)("Poster Image","jetpack")},Object(S.createElement)(N.MediaUpload,{title:Object(R.__)("Select Poster Image","jetpack"),onSelect:this.onSelectPoster,allowedTypes:q,render:function(e){var n=e.open;return Object(S.createElement)(P.Button,{isDefault:!0,onClick:n,ref:t.posterImageButton,"aria-describedby":_},j?Object(R.__)("Replace image","jetpack"):Object(R.__)("Select Poster Image","jetpack"))}}),Object(S.createElement)("p",{id:_,hidden:!0},j?Object(R.sprintf)(Object(R.__)("The current poster image url is %s","jetpack"),j):Object(R.__)("There is no poster image currently selected","jetpack")),!!j&&Object(S.createElement)(P.Button,{onClick:this.onRemovePoster,isLink:!0,isDestructive:!0},Object(R.__)("Remove Poster Image")))))));if(s)return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)(I,{text:Object(R.__)("Uploading…","jetpack")}));if(h||o)return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)(I,{text:Object(R.__)("Generating preview…","jetpack")}));if(d||!l)return Object(S.createElement)(e,this.props);var O=l.html,w=l.scripts;return Object(S.createElement)(S.Fragment,null,k,Object(S.createElement)("figure",{className:z()(a,"wp-block-embed","is-type-video")},Object(S.createElement)(P.Disabled,null,Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},Object(S.createElement)(P.SandBox,{html:O,scripts:w}))),(!N.RichText.isEmpty(f)||c)&&Object(S.createElement)(N.RichText,{tagName:"figcaption",placeholder:Object(R.__)("Write caption…","jetpack"),value:f,onChange:function(e){return u({caption:e})},inlineToolbar:!0})))}}]),n}(S.Component)}]),"withVideoPressEdit"),V=Object(T.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes,r=(n=void 0===n?{}:n).autoplay,a=n.caption,i=n.controls,o=n.guid,c=n.loop,s=n.muted,l=n.poster,u=n.preload;if(!o)return e(t);var p=B(o,{autoplay:r,controls:i,loop:c,muted:s,poster:l,preload:u});return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(p,"\n")),!N.RichText.isEmpty(a)&&Object(S.createElement)(N.RichText.Content,{tagName:"figcaption",value:a}))}}),"withVideoPressSave"),H=n(40);var G={attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},support:{reusable:!1},save:function(e){var t=e.attributes,n=t.caption,r=t.guid;if(!r)return null;var a="https://videopress.com/v/".concat(r);return Object(S.createElement)("figure",{className:"wp-block-embed is-type-video is-provider-videopress"},Object(S.createElement)("div",{className:"wp-block-embed__wrapper"},"\n".concat(a,"\n")),!N.RichText.isEmpty(n)&&Object(S.createElement)(N.RichText.Content,{tagName:"figcaption",value:n}))},isDeprecation:!0};Object(d.addFilter)("blocks.registerBlockType","jetpack/videopress",(function(e,t){if("core/video"!==t||e.isDeprecation)return e;var n=e.attributes,r=e.deprecated,i=e.edit,c=e.save,d=e.supports,m=e.transforms,f=Object(H.a)("videopress"),b=f.available,g=f.unavailableReason;return b||["missing_plan","missing_module"].includes(g)?s()({},e,{attributes:{autoplay:{type:"boolean"},caption:{type:"string",source:"html",selector:"figcaption"},controls:{type:"boolean",default:!0},guid:{type:"string"},id:{type:"number"},loop:{type:"boolean"},muted:{type:"boolean"},playsInline:{type:"boolean"},poster:{type:"string"},preload:{type:"string",default:"metadata"},src:{type:"string"}},transforms:s()({},m,{from:[{type:"files",isMatch:function(e){return Object(h.every)(e,(function(e){return 0===e.type.indexOf("video/")}))},priority:9,transform:function(e,t){var n=[];return e.forEach((function(e){var r=Object(u.createBlock)("core/video",{src:Object(l.createBlobURL)(e)});Object(p.mediaUpload)({filesList:[e],onFileChange:function(e){var n=o()(e,1)[0],a=n.id,i=n.url;t(r.clientId,{id:a,src:i})},allowedTypes:["video"]}),n.push(r)})),n}}]}),supports:s()({},d,{reusable:!1}),edit:U(i),save:V(c),deprecated:[].concat(a()(r||[]),[{attributes:n,isEligible:function(e){return!e.guid},save:c,supports:d,isDeprecation:!0},G])}):e}))},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(15),s=n.n(c),l=n(21),u=n.n(l),p=n(7),d=n.n(p),h=n(11),m=n.n(h),f=n(8),b=n.n(f),g=n(9),v=n.n(g),j=n(4),y=n.n(j),_=n(10),k=n.n(_),O=n(3),w=n.n(O),E=n(14),C=n(5),x=n(25),S=n(13),A=n(6),F=n(28),P=n(48),T=function(e){var t=e.allowedMediaTypes,n=e.attributes,r=n.autoplay,c=n.delay,s=n.effect,l=n.images,u=n.sizeSlug,p=e.imageSizeOptions,d=e.onChangeImageSize,h=e.onSelectImages,m=e.setAttributes,f="undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,b=[{label:Object(i._x)("Slide","Slideshow transition effect","jetpack"),value:"slide"},{label:Object(i._x)("Fade","Slideshow transition effect","jetpack"),value:"fade"}];return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(A.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Autoplay","jetpack")},Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Autoplay","jetpack"),help:Object(i.__)("Autoplay between slides","jetpack"),checked:r,onChange:function(e){m({autoplay:e})}}),r&&Object(a.createElement)(o.RangeControl,{label:Object(i.__)("Delay between transitions (in seconds)","jetpack"),value:c,onChange:function(e){m({delay:e})},min:1,max:5}),r&&f&&Object(a.createElement)("span",null,Object(i.__)("The Reduce Motion accessibility option is selected, therefore autoplay will be disabled in this browser.","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Effects","jetpack")},Object(a.createElement)(o.SelectControl,{label:Object(i.__)("Transition effect","jetpack"),value:s,onChange:function(e){m({effect:e})},options:b})),!Object(C.isEmpty)(l)&&!Object(C.isEmpty)(p)&&Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Image Settings","jetpack")},Object(a.createElement)(o.SelectControl,{label:Object(i.__)("Image Size","jetpack"),value:u,options:p,onChange:d}))),Object(a.createElement)(A.BlockControls,null,!!l.length&&Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(A.MediaUpload,{onSelect:h,allowedTypes:t,multiple:!0,gallery:!0,value:l.map((function(e){return e.id})),render:function(e){var t=e.open;return Object(a.createElement)(P.a,{label:Object(i.__)("Edit Slideshow","jetpack"),onClick:t})}}))))},M=n(12),N=n.n(M),R=n(39),D=n(73),z=n(38),I=function(e){function t(e){var n;return d()(this,t),n=b()(this,v()(t).call(this,e)),w()(y()(n),"pendingRequestAnimationFrame",null),w()(y()(n),"resizeObserver",null),w()(y()(n),"initializeResizeObserver",(function(e){n.clearResizeObserver(),n.resizeObserver=new R.a((function(){n.clearPendingRequestAnimationFrame(),n.pendingRequestAnimationFrame=requestAnimationFrame((function(){Object(z.d)(e),e.update()}))})),n.resizeObserver.observe(e.el)})),w()(y()(n),"clearPendingRequestAnimationFrame",(function(){n.pendingRequestAnimationFrame&&(cancelAnimationFrame(n.pendingRequestAnimationFrame),n.pendingRequestAnimationFrame=null)})),w()(y()(n),"clearResizeObserver",(function(){n.resizeObserver&&(n.resizeObserver.disconnect(),n.resizeObserver=null)})),w()(y()(n),"prefersReducedMotion",(function(){return"undefined"!=typeof window&&window.matchMedia("(prefers-reduced-motion: reduce)").matches})),w()(y()(n),"buildSwiper",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return(Object(D.a)(n.slideshowRef.current,{autoplay:!(!n.props.autoplay||n.prefersReducedMotion())&&{delay:1e3*n.props.delay,disableOnInteraction:!1},effect:n.props.effect,loop:!0,initialSlide:e,navigation:{nextEl:n.btnNextRef.current,prevEl:n.btnPrevRef.current},pagination:{clickable:!0,el:n.paginationRef.current,type:"bullets"}},{init:z.b,imagesReady:z.d,paginationRender:z.c,transitionEnd:z.a}))})),n.slideshowRef=Object(a.createRef)(),n.btnNextRef=Object(a.createRef)(),n.btnPrevRef=Object(a.createRef)(),n.paginationRef=Object(a.createRef)(),n}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.onError;this.buildSwiper().then((function(t){e.swiperInstance=t,e.initializeResizeObserver(t)})).catch((function(){t(Object(i.__)("The Swiper library could not be loaded.","jetpack"))}))}},{key:"componentWillUnmount",value:function(){this.clearResizeObserver(),this.clearPendingRequestAnimationFrame()}},{key:"componentDidUpdate",value:function(e){var t,n=this,r=this.props,a=r.align,o=r.autoplay,c=r.delay,s=r.effect,l=r.images,u=r.onError;(a===e.align&&Object(C.isEqual)(l,e.images)||this.swiperInstance&&this.swiperInstance.update(),s!==e.effect||o!==e.autoplay||c!==e.delay||l!==e.images)&&(t=this.swiperIndex?l.length===e.images.length?this.swiperInstance.realIndex:e.images.length:0,this.swiperInstance&&this.swiperInstance.destroy(!0,!0),this.buildSwiper(t).then((function(e){n.swiperInstance=e,n.initializeResizeObserver(e)})).catch((function(){u(Object(i.__)("The Swiper library could not be loaded.","jetpack"))})))}},{key:"render",value:function(){var e=this.props,t=e.autoplay,n=e.className,r=e.delay,i=e.effect,c=e.images;return Object(a.createElement)("div",{className:n,"data-autoplay":t||null,"data-delay":t?r:null,"data-effect":i},Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow_container swiper-container",ref:this.slideshowRef},Object(a.createElement)("ul",{className:"wp-block-jetpack-slideshow_swiper-wrapper swiper-wrapper"},c.map((function(e){var t=e.alt,n=e.caption,r=e.id,i=e.url;return Object(a.createElement)("li",{className:N()("wp-block-jetpack-slideshow_slide","swiper-slide",Object(x.isBlobURL)(i)&&"is-transient"),key:r},Object(a.createElement)("figure",null,Object(a.createElement)("img",{alt:t,className:"wp-block-jetpack-slideshow_image wp-image-".concat(r),"data-id":r,src:i}),Object(x.isBlobURL)(i)&&Object(a.createElement)(o.Spinner,null),n&&Object(a.createElement)(A.RichText.Content,{className:"wp-block-jetpack-slideshow_caption gallery-caption",tagName:"figcaption",value:n})))}))),Object(a.createElement)("a",{className:"wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white",ref:this.btnPrevRef,role:"button"}),Object(a.createElement)("a",{className:"wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white",ref:this.btnNextRef,role:"button"}),Object(a.createElement)("a",{"aria-label":"Pause Slideshow",className:"wp-block-jetpack-slideshow_button-pause",role:"button"}),Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white",ref:this.paginationRef})))}}]),t}(a.Component);w()(I,"defaultProps",{effect:"slide"});var L=I,B=(n(232),["image"]),q=function(e,t){var n=Object(C.pick)(e,["alt","id","link","caption"]);return n.url=Object(C.get)(e,["sizes",t,"url"])||Object(C.get)(e,["media_details","sizes",t,"source_url"])||e.url,n},U=function(e){function t(){var e;return d()(this,t),e=b()(this,v()(t).apply(this,arguments)),w()(y()(e),"onSelectImages",(function(t){var n=e.props.attributes.sizeSlug,r=t.map((function(e){return q(e,n)}));e.setAttributes({images:r})})),w()(y()(e),"onRemoveImage",(function(t){return function(){var n=Object(C.filter)(e.props.attributes.images,(function(e,n){return t!==n}));e.setState({selectedImage:null}),e.setAttributes({images:n})}})),w()(y()(e),"addFiles",(function(t){var n=e.props.attributes.images||[],r=e.props.attributes.sizeSlug,a=e.props,i=a.lockPostSaving,o=a.unlockPostSaving,c=a.noticeOperations;i("slideshowBlockLock"),Object(F.mediaUpload)({allowedTypes:B,filesList:t,onFileChange:function(t){var a=t.map((function(e){return q(e,r)}));e.setAttributes({images:[].concat(u()(n),u()(a))}),a.every((function(e){return Object(x.isBlobURL)(e.url)}))||o("slideshowBlockLock")},onError:c.createErrorNotice})})),w()(y()(e),"uploadFromFiles",(function(t){return e.addFiles(t.target.files)})),w()(y()(e),"updateImagesSize",(function(t){var n=e.props.attributes.images,r=e.props.resizedImages,a=n.map((function(e){var n=r.find((function(t){var n=t.id;return parseInt(n,10)===parseInt(e.id,10)})),a=Object(C.get)(n,["sizes",t,"source_url"]);return s()({},e,{},a&&{url:a})}));e.setAttributes({images:a,sizeSlug:t})})),e.state={selectedImage:null},e}return k()(t,e),m()(t,[{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.ids;e.sizeSlug||this.setAttributes({sizeSlug:t.length?"full":"large"})}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=s()({},e,{ids:e.images.map((function(e){var t=e.id;return parseInt(t,10)}))})),this.props.setAttributes(e)}},{key:"getImageSizeOptions",value:function(){var e=this.props.imageSizes;return Object(C.map)(e,(function(e){var t=e.name;return{value:e.slug,label:t}}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.noticeOperations,l=t.noticeUI,u=n.align,p=n.autoplay,d=n.delay,h=n.effect,m=n.images,f=this.getImageSizeOptions(),b=Object(a.createElement)(T,{allowedMediaTypes:B,attributes:n,imageSizeOptions:f,onChangeImageSize:this.updateImagesSize,onSelectImages:this.onSelectImages,setAttributes:function(t){return e.setAttributes(t)}});return 0===m.length?Object(a.createElement)(a.Fragment,null,b,Object(a.createElement)(A.MediaPlaceholder,{icon:Object(a.createElement)(A.BlockIcon,{icon:X}),className:r,labels:{title:Object(i.__)("Slideshow","jetpack"),instructions:Object(i.__)("Drag images, upload new ones or select files from your library.","jetpack")},onSelect:this.onSelectImages,accept:"image/*",allowedTypes:B,multiple:!0,notices:l,onError:s.createErrorNotice})):Object(a.createElement)(a.Fragment,null,b,l,Object(a.createElement)(L,{align:u,autoplay:p,className:r,delay:d,effect:h,images:m,onError:s.createErrorNotice}),Object(a.createElement)(o.DropZone,{onFilesDrop:this.addFiles}),c&&Object(a.createElement)("div",{className:"wp-block-jetpack-slideshow__add-item"},Object(a.createElement)(o.FormFileUpload,{multiple:!0,isLarge:!0,className:"wp-block-jetpack-slideshow__add-item-button",onChange:this.uploadFromFiles,accept:"image/*",icon:"insert"},Object(i.__)("Upload an image","jetpack"))))}}]),t}(a.Component),V=Object(E.compose)(Object(S.withSelect)((function(e,t){return{imageSizes:e("core/editor").getEditorSettings().imageSizes,resizedImages:t.attributes.ids.reduce((function(t,n){var r=e("core").getMedia(n),a=Object(C.get)(r,["media_details","sizes"]);return[].concat(u()(t),[{id:n,sizes:a}])}),[])}})),Object(S.withDispatch)((function(e){var t=e("core/editor");return{lockPostSaving:t.lockPostSaving,unlockPostSaving:t.unlockPostSaving}})),o.withNotices)(U),H=n(16);function G(e){return Object(C.filter)(e,(function(e){var t=e.id,n=e.url;return t&&n}))}var $={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],isMatch:function(e){return G(e).length>0},transform:function(e){var t=G(e);return Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))})}},{type:"block",blocks:["core/gallery","jetpack/tiled-gallery"],transform:function(e){var t=G(e.images);return t.length>0?Object(H.createBlock)("jetpack/slideshow",{images:t.map((function(e){return{alt:e.alt,caption:e.caption,id:e.id,url:e.url}})),ids:t.map((function(e){return e.id}))}):Object(H.createBlock)("jetpack/slideshow")}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.ids;return Object(H.createBlock)("core/gallery",{images:t,ids:n})}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images;return t.length>0?t.map((function(e){var t=e.id,n=e.url,r=e.alt,a=e.caption;return Object(H.createBlock)("core/image",{id:t,url:n,alt:r,caption:a})})):Object(H.createBlock)("core/image")}}]},W=n(109),K=n.n(W),Z=n(110),J=n.n(Z),Y=n(111),Q=n.n(Y),X=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{d:"M0 0h24v24H0z",fill:"none"}),Object(a.createElement)(o.Path,{d:"M10 8v8l5-4-5-4zm9-5H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"})),ee={align:"center",autoplay:!0,ids:[22,23],images:[{alt:"",caption:"",id:22,url:K.a},{alt:"",caption:"",id:23,url:J.a},{alt:"",caption:"",id:23,url:Q.a}],effect:"slide"},te={title:Object(i.__)("Slideshow","jetpack"),category:"jetpack",keywords:[Object(i._x)("image","block search term","jetpack"),Object(i._x)("gallery","block search term","jetpack"),Object(i._x)("slider","block search term","jetpack")],description:Object(i.__)("Add an interactive slideshow.","jetpack"),attributes:{align:{default:"center",type:"string"},autoplay:{type:"boolean",default:!1},delay:{type:"number",default:3},ids:{default:[],type:"array"},images:{type:"array",default:[],source:"query",selector:".swiper-slide",query:{alt:{source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},id:{source:"attribute",selector:"img",attribute:"data-id"},url:{source:"attribute",selector:"img",attribute:"src"}}},effect:{type:"string",default:"slide"},sizeSlug:{type:"string"}},supports:{align:["center","wide","full"],html:!1},icon:X,edit:V,save:function(e){var t=e.attributes,n=t.align,r=t.autoplay,i=t.delay,o=t.effect,c=t.images,s=e.className;return Object(a.createElement)(L,{align:n,autoplay:r,className:s,delay:i,effect:o,images:c})},transforms:$,example:{attributes:ee}};Object(r.a)("slideshow",te)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(13),c=n(5),s=function(e){return e.map((function(e){return e.value}))},l=[{value:"en-US",label:"English"},{value:"fr-CA",label:"Français"},{value:"de-DE",label:"Deutsch"},{value:"es-MX",label:"Español"},{value:"ja-JP",label:"日本語"},{value:"nl-NL",label:"Nederlands"},{value:"it-IT",label:"Italiano"}],u=s(l),p=function(e){return Object(c.compact)([{value:"standard",label:Object(i.__)("Standard (224 x 301 pixels)","jetpack")},{value:"tall",label:Object(i.__)("Tall (288 x 490 pixels)","jetpack")},{value:"wide",label:Object(i.__)("Wide (840 x 150 pixels)","jetpack")},(!e||1===e.length)&&{value:"button",label:Object(i.__)("Button (210 x 113 pixels)","jetpack")}])},d=function(e){return s(p(e))},h=Object(o.select)("core/block-editor").getSettings().siteLocale,m=!Object(c.isEmpty)(h)&&u.includes(h)?h:"en-US",f={rid:{default:[],type:"array"},style:{default:"standard",type:"string",validValues:d()},iframe:{default:!0,type:"boolean"},domain:{default:"com",type:"string"},lang:{default:m,type:"string",validValues:u},newtab:{default:!1,type:"boolean"}},b=n(3),g=n.n(b),v=n(18),j=n.n(v),y=(n(79),n(12)),_=n.n(y),k=n(6),O=n(2),w=(n(89),Object(a.createElement)(O.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 16",fill:"none",height:"16",width:"22"},Object(a.createElement)(O.Path,{fill:"#555d66",d:"m1.997 5.982c-.39457-.00039-.7804.11622-1.108699.33511-.328295.21888-.584312.5302-.735674.89459-.15136174.36439-.1912714.76548-.1146819 1.15254.0765899.38707.2662379.74274.5449639 1.02202.278726.27929.634011.46965 1.020921.54702.38692.07732.78809.03826 1.15278-.11238.36469-.15063.67652-.40602.89606-.73387.21954-.32786.33693-.71345.33733-1.10803v-.002c.001-1.1-.89-1.994-1.992-1.995zm12.006 3.988c-.3946.0004-.7805-.11625-1.1088-.33517-.3283-.21893-.5843-.53031-.7357-.89476-.1513-.36444-.1912-.76558-.1145-1.15268s.2664-.74276.5453-1.022c.2788-.27925.6342-.46953 1.0211-.54679.387-.07725.7882-.038 1.1529.11278.3647.15079.6764.40634.8959.73432.2194.32799.3366.71369.3368 1.1083v.003c.0003.52814-.2092 1.03477-.5824 1.4085s-.8795.58397-1.4076.5845zm0-9.96999843c-1.5777-.0009886-3.1203.46588743-4.43262 1.34158843-1.31236.8757-2.33558 2.1209-2.94025 3.57813-.60467 1.45722-.76365 3.06103-.45683 4.60861.30683 1.54757 1.06567 2.96947 2.18058 4.08577 1.1149 1.1163 2.53582 1.8769 4.08302 2.1856 1.5472.3088 3.1512.1518 4.6091-.451 1.458-.6028 2.7045-1.6245 3.5819-2.9358.8773-1.3112 1.3461-2.8532 1.3471-4.4309v-.005c.0008-2.11466-.8384-4.14304-2.3331-5.63899-1.4946-1.495952-3.5222-2.3369478-5.6369-2.33800843z"}))),E=n(24),C=n(30),x=n.n(C);var S=/<script type=\'text\/javascript\' src=\'\/\/www.opentable\.(\w{2,3}\.)?\w+\/widget\/reservation\/loader\?[^']+\'><\/script>/;function A(e){var t=Object(a.useState)(""),n=j()(t,2),r=n[0],o=n[1],s=function(e,t){var n=Object(a.useState)([]),r=j()(n,2),i=r[0],o=r[1],s=Object(a.useCallback)(Object(c.throttle)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fetch("https://www.opentable.com/widget/reservation/restaurant-search?pageSize="+t+"&query="+encodeURIComponent(e)).then((function(e){return e.json()})).then((function(e){return o(Object(c.unionBy)(i,e.items,"rid"))}))}),500),[i]);return Object(a.useEffect)((function(){Object(c.isEmpty)(e)||e.startsWith("<script")||s(e)}),[e]),i}(r,20),l=Object(a.useState)(e.rids||[]),u=j()(l,2),p=u[0],d=u[1],h=/^(\d+)$|\(\#(\d+)\)$/,m=s.filter((function(e){return p.indexOf(e.rid.toString())})).map((function(e){return e.name+" (#".concat(e.rid,")")})),f=Object(a.createElement)(O.FormTokenField,x()({value:p,suggestions:m,onInputChange:o,maxSuggestions:20,label:Object(i._n)("Restaurant","Restaurants",p.length,"jetpack")},e,{onChange:function(t){var n=t.map((function(e){var t=h.exec(e);return t[1]||t[2]}));d(n),e.onChange&&e.onChange(n)}}));return Object(a.createElement)("div",{className:"wp-block-jetpack-opentable-restaurant-picker"},e.onSubmit?Object(a.createElement)("form",{onSubmit:function(t){t.preventDefault(),e.onSubmit(Object(c.isEmpty)(p)&&S.test(r)?r:p)}},f,Object(a.createElement)(O.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i.__)("Embed","jetpack"))):f)}var F=n(59),P=n(51);n(133);var T={title:Object(i.__)("OpenTable","jetpack"),description:Object(i.__)("Allow visitors to book a reservation with OpenTable","jetpack"),icon:w,category:"jetpack",keywords:[Object(i.__)("opentable","jetpack"),Object(i.__)("reservation","jetpack"),Object(i.__)("restaurant","jetpack")],supports:{align:!0,html:!1},edit:function(e){var t,n=e.attributes,r=e.setAttributes,o=e.className,s=e.clientId,h=Object(P.a)(f,n);Object(c.isEqual)(h,n)||r(h);var m,b,v,y,C,x=n.align,S=n.rid,T=n.style,M=n.iframe,N=n.domain,R=n.lang,D=n.newtab,z=Object(a.useState)(),I=j()(z,2),L=I[0],B=I[1],q=function(){return B(Object(a.createElement)(a.Fragment,null,Object(a.createElement)("strong",null,Object(i.__)("We ran into an issue","jetpack")),Object(a.createElement)("br",null),Object(i.__)("Please ensure this embed matches the one from your OpenTable account","jetpack")))},U=p(S),V=d(S),H=function(e){return S.length>1?["multi","button"!==e?e:"standard"]:["button"===e?"button":"standard","button"===e?"standard":e]},G=Object(a.createElement)(k.BlockControls,null,!Object(c.isEmpty)(S)&&Object(a.createElement)(O.Toolbar,{popoverProps:{className:"is-opentable"},isCollapsed:!0,icon:"admin-appearance",label:Object(i.__)("Style","jetpack"),controls:U.map((function(e){return{title:e.label,isActive:e.value===T,onClick:function(){return t=e.value,r({style:t}),"wide"===T&&"wide"===x&&r({align:""}),void("wide"===t&&r({align:"wide"}));var t}}}))})),$=function(e){Array.isArray(e)?r({rid:e,style:e.length>1&&"button"===T?"standard":T}):function(e){if(e){var t=e.match(/< *script[^>]*src *= *["']?([^"']*)/i);if(t&&t[1]){var n="";if((n=0===t[1].indexOf("http")?new URL(t[1]):new URL("http:"+t[1])).search){var a=new URLSearchParams(n.search),i=a.get("theme");"button"===a.get("type")&&(i=a.get("type"));var o={rid:a.getAll("rid"),iframe:Boolean(a.get("iframe")),domain:a.get("domain"),lang:a.get("lang"),newtab:Boolean(a.get("newtab")),style:i},c=Object(P.a)(f,o);r(c)}else q()}else q()}else q()}(e)},W=Object(E.b)()||Object(E.a)()?"https://en.support.wordpress.com/wordpress-editor/blocks/opentable-block/":"https://jetpack.com/support/jetpack-blocks/opentable-block/",K=Object(a.createElement)(O.Placeholder,{label:Object(i.__)("OpenTable Reservation","jetpack"),icon:Object(a.createElement)(k.BlockIcon,{icon:w}),instructions:Object(i.__)("Enter your restaurant name, or paste an OpenTable Reservation Widget embed code.","jetpack"),notices:L&&Object(a.createElement)(O.Notice,{status:"error",isDismissible:!1},L)},Object(a.createElement)(A,{rids:S,onSubmit:$}),Object(a.createElement)("div",{className:"".concat(o,"-placeholder-links")},Object(a.createElement)(O.ExternalLink,{href:"https://restaurant.opentable.com/get-started/"},Object(i.__)("Sign up for OpenTable","jetpack")),Object(a.createElement)(O.ExternalLink,{href:W},Object(i.__)("Learn more","jetpack")))),Z=_()(o,(t={},g()(t,"".concat(o,"-theme-").concat(T),!Object(c.isEmpty)(S)&&V.includes(T)),g()(t,"is-multi","multi"===H(T)[0]),t));return Object(a.createElement)("div",{className:Z},!Object(c.isEmpty)(S)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.InspectorAdvancedControls,null,Object(a.createElement)(O.ToggleControl,{label:Object(i.__)("Load the widget in an iFrame (Recommended)","jetpack"),checked:M,onChange:function(){return r({iframe:!M})},className:"is-opentable"})),Object(a.createElement)(k.InspectorControls,null,Object(a.createElement)(O.PanelBody,{title:Object(i.__)("Styles","jetpack")},Object(a.createElement)(F.a,{clientId:s,styleOptions:U,onSelectStyle:r,activeStyle:T,attributes:n,viewportWidth:150})),Object(a.createElement)(O.PanelBody,{title:Object(i.__)("Settings","jetpack")},Object(a.createElement)(A,{rids:S,onChange:$}),Object(a.createElement)(O.SelectControl,{label:Object(i.__)("Language","jetpack"),value:R,onChange:function(e){return r({lang:e})},options:l}),Object(a.createElement)(O.ToggleControl,{label:Object(i.__)("Open in a new window","jetpack"),checked:D,onChange:function(){return r({newtab:!D})}})))),G),Object(c.isEmpty)(S)?K:(b=H(m||T),v=j()(b,2),y=v[0],C=v[1],Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"".concat(o,"-overlay")}),Object(a.createElement)("iframe",{title:Object(i.sprintf)(Object(i.__)("Open Table Preview %s","jetpack"),s),scrolling:"no",src:"https://www.opentable.com/widget/reservation/canvas?rid=".concat(Object(c.join)(S,"%2C"),"&type=").concat(y,"&theme=").concat(C,"&overlay=false&domain=").concat(N,"&lang=").concat(R&&u.includes(R)?R:"en-US","&newtab=").concat(D,"&disablega=true")}))))},save:function(e){var t=e.attributes.rid;return Object(a.createElement)(a.Fragment,null,t.map((function(e){return Object(a.createElement)("a",{href:"https://www.opentable.com/restref/client/?rid=".concat(e)},"https://www.opentable.com/restref/client/?rid=".concat(e))})))},attributes:f,example:{attributes:{rid:["1"],style:"standard",iframe:!0,domain:"com",lang:"en-US",newtab:!1}}};Object(r.a)("opentable",T)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(12),O=n.n(k),w=n(6),E=n(13),C=n(28),x=n(23),S=n.n(x),A=n(26);function F(e){if(!e)return null;var t=e.match(/(\d+)\/?(?:\?[^\/]*)?\s*$/);return t&&t[1]?parseInt(t[1],10):null}var P=n(24),T=n(14),M=window.getComputedStyle,N=Object(o.withFallbackStyles)((function(e,t){var n=t.textColor,r=t.backgroundColor,a=r&&r.color,i=n&&n.color,o=!i&&e?e.querySelector('[contenteditable="true"]'):null;return{fallbackBackgroundColor:a||!e?void 0:M(e).backgroundColor,fallbackTextColor:i||!o?void 0:M(o).color}}));function R(e){var t=e.borderRadius,n=void 0===t?"":t,r=e.setAttributes,c=Object(a.useCallback)((function(e){r({borderRadius:e})}),[r]);return Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Border Settings","jetpack")},Object(a.createElement)(o.RangeControl,{value:n,label:Object(i.__)("Border Radius","jetpack"),min:0,max:50,initialPosition:5,allowReset:!0,onChange:c}))}var D=function(e){function t(){var e;return l()(this,t),(e=h()(this,f()(t).apply(this,arguments))).nodeRef=null,e.bindRef=e.bindRef.bind(g()(e)),e}return j()(t,e),p()(t,[{key:"bindRef",value:function(e){e&&(this.nodeRef=e)}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.backgroundColor,o=t.textColor,c=t.setBackgroundColor,s=t.setTextColor,l=t.fallbackBackgroundColor,u=t.fallbackTextColor,p=t.setAttributes,d=t.className,h=n.borderRadius,m=n.placeholder,f=n.text,b=n.title;return Object(a.createElement)("div",{className:O()(d,"wp-block-button is-modal-button"),title:b,ref:this.bindRef},Object(a.createElement)(w.RichText,{placeholder:m||Object(i.__)("Add text…","jetpack"),value:f,keepPlaceholderOnFocus:!0,onChange:function(e){return p({text:e})},withoutInteractiveFormatting:!0,className:O()("wp-block-button__link",(e={"has-background":r.color},_()(e,r.class,r.class),_()(e,"has-text-color",o.color),_()(e,o.class,o.class),_()(e,"no-border-radius",0===h),e)),style:{backgroundColor:r.color,color:o.color,borderRadius:h?h+"px":void 0}}),Object(a.createElement)(w.InspectorControls,null,Object(a.createElement)(w.PanelColorSettings,{title:Object(i.__)("Color Settings","jetpack"),colorSettings:[{value:r.color,onChange:c,label:Object(i.__)("Background Color","jetpack")},{value:o.color,onChange:s,label:Object(i.__)("Text Color","jetpack")}]},Object(a.createElement)(w.ContrastChecker,{isLargeText:!1,textColor:o.color,backgroundColor:r.color,fallbackBackgroundColor:l,fallbackTextColor:u})),Object(a.createElement)(R,{borderRadius:h,setAttributes:p})))}}]),t}(a.Component),z=Object(T.compose)([Object(w.withColors)("backgroundColor",{textColor:"color"}),N])(D),I=n(97),L=n.n(I),B=n(98),q=n.n(B),U=(n(153),[{name:"fill",label:Object(i.__)("Fill","jetpack"),isDefault:!0},{name:"outline",label:Object(i.__)("Outline","jetpack")}]),V=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{editedUrl:n.props.attributes.url||"",editingUrl:!1,resolvingUrl:n.props.attributes.url&&!n.props.attributes.eventId,resolvedStatusCode:null}),_()(g()(n),"resolveUrl",(function(){var e=n.props.attributes.url;n.setState({resolvedStatusCode:null}),n.fetchRequest=S()({path:"/wpcom/v2/resolve-redirect/".concat(e)}),n.fetchRequest.then((function(t){n.fetchRequest=null;var r=t.url||e,a=t.status?parseInt(t.status,10):null;n.props.setAttributes({eventId:F(r),url:r}),n.setState({resolvingUrl:!1,resolvedStatusCode:a,editedUrl:r})}),(function(e){"abort"!==e.statusText&&(n.fetchRequest=null,n.setState({resolvingUrl:!1,editingUrl:!0}))}))})),_()(g()(n),"setUrl",(function(e){e&&e.preventDefault();var t=n.state.editedUrl;t&&(n.props.setAttributes({eventId:F(t),url:t}),n.setState({editingUrl:!1,resolvingUrl:!0}))})),_()(g()(n),"cannotEmbed",(function(){var e=n.props.attributes.url,t=n.state.resolvedStatusCode;return e&&!G.test(e)||t&&t>=400})),_()(g()(n),"setEmbedType",(function(e){(0,n.props.setAttributes)({useModal:"modal"===e})})),n}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingUrl&&this.resolveUrl()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingUrl&&this.state.resolvingUrl&&this.resolveUrl()}},{key:"renderLoading",value:function(){return Object(a.createElement)("div",{className:"wp-block-embed is-loading"},Object(a.createElement)(o.Spinner,null),Object(a.createElement)("p",null,Object(i.__)("Embedding…","jetpack")))}},{key:"renderInspectorControls",value:function(){var e=this.props.attributes.useModal,t=[{value:"inline",isActive:!e,label:Object(i.__)("In-page Embed","jetpack"),preview:Object(a.createElement)("div",{className:"block-editor-block-preview__container"},Object(a.createElement)("img",{src:L.a,alt:Object(i.__)("In page Eventbrite checkout example","jetpack")}))},{value:"modal",isActive:e,label:Object(i.__)(" Button & Modal","jetpack"),preview:Object(a.createElement)("div",{className:"block-editor-block-preview__container"},Object(a.createElement)("img",{src:q.a,alt:Object(i.__)("Modal Eventbrite checkout example","jetpack")}))}];return Object(a.createElement)(C.InspectorControls,null,Object(a.createElement)(o.PanelBody,{className:"jetpack-eventbrite-block__embed-type-controls",title:Object(i._x)("Embed Type","option for how the embed displays on a page, e.g. inline or as a modal","jetpack")},Object(a.createElement)("div",{className:"block-editor-block-styles"},t.map(this.renderEmbedTypeItem.bind(this)))))}},{key:"renderEmbedTypeItem",value:function(e){var t=this,n=e.label,r=e.isActive,i=e.value,o=e.preview;return Object(a.createElement)("div",{key:i,className:O()("block-editor-block-styles__item",{"is-active":r}),onClick:function(){return t.setEmbedType(i)},onKeyDown:function(e){A.ENTER!==e.keyCode&&A.SPACE!==e.keyCode||e.preventDefault()},role:"button",tabIndex:"0","aria-label":n},Object(a.createElement)("div",{className:"block-editor-block-styles__item-preview"},o),Object(a.createElement)("div",{className:"block-editor-block-styles__item-label"},n))}},{key:"renderBlockControls",value:function(){var e=this;return Object(a.createElement)(w.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(i.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})))}},{key:"renderEditEmbed",value:function(){var e=this,t=this.props.className,n=this.state.editedUrl,r=Object(P.b)()||Object(P.a)()?"http://support.wordpress.com/wordpress-editor/blocks/eventbrite-block/":"https://jetpack.com/support/jetpack-blocks/eventbrite-block/";return Object(a.createElement)("div",{className:t},Object(a.createElement)(o.Placeholder,{label:Object(i.__)("Eventbrite Checkout","jetpack"),instructions:Object(i.__)("Paste a link to an Eventbrite event to embed ticket checkout.","jetpack"),icon:Object(a.createElement)(w.BlockIcon,{icon:K})},Object(a.createElement)("form",{onSubmit:this.setUrl},Object(a.createElement)("input",{type:"url",value:n,className:"components-placeholder__input","aria-label":Object(i.__)("Eventbrite URL","jetpack"),placeholder:Object(i.__)("Enter an event URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(a.createElement)(o.Button,{isLarge:!0,isDefault:!0,isSecondary:!0,type:"submit"},Object(i._x)("Embed","submit button label","jetpack")),this.cannotEmbed()&&Object(a.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Sorry, this content could not be embedded.","jetpack"),Object(a.createElement)("br",null),Object(a.createElement)(o.Button,{isLarge:!0,onClick:function(){return t=n,r=e.props.onReplace,i=Object(a.createElement)("a",{href:t},t),void r(Object(c.createBlock)("core/paragraph",{content:Object(a.renderToString)(i)}));var t,r,i}},Object(i._x)("Convert block to link","button label","jetpack")))),Object(a.createElement)("div",{className:"components-placeholder__learn-more"},Object(a.createElement)(o.ExternalLink,{href:r},Object(i.__)("Learn more about Eventbrite embeds","jetpack")))))}},{key:"renderInlinePreview",value:function(){var e=this.props.className,t=this.props.attributes.eventId;if(t){var n="eventbrite-widget-".concat(t),r="\n\t\t\t<script src=\"https://www.eventbrite.com/static/widgets/eb_widgets.js\"><\/script>\n\t\t\t<style>\n\t\t\t\t/* Prevent scrollbar on the embed preview */\n\t\t\t\tbody {\n\t\t\t\t\toverflow: hidden;\n\t\t\t\t}\n\t\t\t\t/* Eventbrite embeds have a CSS height transition on loading, which causes <Sandbox>\n\t\t\t\tto not recognise the resizing. We need to disable that transition. */\n\t\t\t\t* {\n\t\t\t\t\ttransition: none !important;\n\t\t\t\t}\n\t\t\t</style>\n\t\t\t<script>\n\t\t\t\twindow.EBWidgets.createWidget({\n\t\t\t\t\twidgetType: 'checkout',\n\t\t\t\t\teventId: ".concat(t,",\n\t\t\t\t\tiframeContainerId: '").concat(n,"',\n\t\t\t\t});\n\t\t\t<\/script>\n\t\t\t<div id=\"").concat(n,'"></div>\n\t\t');return Object(a.createElement)("div",{className:e},Object(a.createElement)(o.SandBox,{html:r}),Object(a.createElement)("div",{className:"block-library-embed__interactive-overlay"}))}}},{key:"render",value:function(){var e,t=this.props,n=t.attributes,r=t.addModalButtonStyles,i=t.removeModalButtonStyles,o=n.url,c=n.useModal,s=this.state,l=s.editingUrl;return s.resolvingUrl?(i(),e=this.renderLoading()):l||!o||this.cannotEmbed()?(i(),e=this.renderEditEmbed()):(c?r():i(),e=Object(a.createElement)(a.Fragment,null,this.renderBlockControls(),c?Object(a.createElement)(z,this.props):this.renderInlinePreview())),Object(a.createElement)(a.Fragment,null,this.renderInspectorControls(),e)}}]),t}(a.Component),H=Object(E.withDispatch)((function(e,t,n){var r=t.name,a=(0,(0,n.select)("core/blocks").getBlockStyles)(r);return{addModalButtonStyles:function(){a.length<1&&e("core/blocks").addBlockStyles(r,U)},removeModalButtonStyles:function(){a.length>0&&e("core/blocks").removeBlockStyles(r,U.map((function(e){return e.name})))}}}))(V);var G=/^\s*https?:\/\/(?:www\.)?(?:eventbrite\.[a-z.]+)\/e\/[^\/]*?(\d+)\/?(?:\?[^\/]*)?\s*$/i,$=/^\s*https?:\/\/(?:.+\.)?(?:eventbrite\.[a-z.]+)\/?(?:\?[^\/]*)?\s*$/i,W=Object(i.__)("Eventbrite Checkout","jetpack"),K={src:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,{id:"eventbrite-icon"},Object(a.createElement)(o.Path,{d:"M18.041,3.931L5.959,3C4.325,3,3,4.325,3,5.959v12.083C3,19.675,4.325,21,5.959,21l12.083-0.931C19.699,19.983,21,18.744,21,17.11V6.89C21,5.256,19.741,4.027,18.041,3.931zM16.933,8.17c-0.082,0.215-0.192,0.432-0.378,0.551c-0.188,0.122-0.489,0.132-0.799,0.132c-1.521,0-3.062-0.048-4.607-0.048c-0.152,0.708-0.304,1.416-0.451,2.128c0.932-0.004,1.873,0.005,2.81,0.005c0.726,0,1.462-0.069,1.586,0.525c0.04,0.189-0.001,0.426-0.052,0.615c-0.105,0.38-0.258,0.676-0.625,0.783c-0.185,0.054-0.408,0.058-0.646,0.058c-1.145,0-2.345,0.017-3.493,0.02c-0.169,0.772-0.328,1.553-0.489,2.333c1.57-0.005,3.067-0.041,4.633-0.058c0.627-0.007,1.085,0.194,1.009,0.85c-0.031,0.262-0.098,0.497-0.211,0.725c-0.102,0.208-0.248,0.376-0.488,0.452c-0.237,0.075-0.541,0.064-0.862,0.078c-0.304,0.014-0.614,0.008-0.924,0.016c-0.309,0.009-0.619,0.022-0.919,0.022c-1.253,0-2.429,0.08-3.683,0.073c-0.603-0.004-1.014-0.249-1.124-0.757c-0.059-0.273-0.018-0.58,0.036-0.841c0.541-2.592,1.083-5.176,1.629-7.763c0.056-0.265,0.114-0.511,0.225-0.714C9.279,7.051,9.534,6.834,9.9,6.735c0.368-0.099,0.883-0.047,1.344-0.047c0.305,0,0.612,0.008,0.914,0.016c0.925,0.026,1.817,0.03,2.747,0.053c0.304,0.007,0.615,0.016,0.915,0.016c0.621,0,1.17,0.073,1.245,0.614C17.104,7.675,17.014,7.954,16.933,8.17z"}))),foreground:"#555d66"},Z={title:W,description:Object(i.__)("Embed Eventbrite event details and ticket checkout.","jetpack"),icon:K,category:"jetpack",keywords:[Object(i.__)("events","jetpack"),Object(i.__)("tickets","jetpack")],supports:{html:!1},attributes:{url:{type:"string"},eventId:{type:"number"},useModal:{type:"boolean"},text:{type:"string",default:Object(i._x)("Register","verb: e.g. register for an event.","jetpack")},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},borderRadius:{type:"number"}},edit:H,save:function(e){var t=e.attributes,n=t.eventId,r=t.useModal,i=t.url;if(n)return r?function(e){var t,n=e.backgroundColor,r=e.borderRadius,i=e.customBackgroundColor,o=e.customTextColor,c=e.eventId,s=e.text,l=e.textColor,u=e.url,p=Object(w.getColorClassName)("color",l),d=Object(w.getColorClassName)("background-color",n),h=O()("wp-block-button__link",(t={"has-text-color":l||o},_()(t,p,p),_()(t,"has-background",n||i),_()(t,d,d),_()(t,"no-border-radius",0===r),t)),m={backgroundColor:d?void 0:i,color:p?void 0:o,borderRadius:r?r+"px":void 0};return Object(a.createElement)("div",{className:"wp-block-button"},Object(a.createElement)(w.RichText.Content,{className:h,href:u,id:"eventbrite-widget-".concat(c),rel:"noopener noreferrer",role:"button",style:m,tagName:"a",target:"_blank",value:s}))}(t):i&&Object(a.createElement)("a",{className:"eventbrite__direct-link",href:i},i)},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&(G.test(e.textContent)||$.test(e.textContent))},transform:function(e){return Object(c.createBlock)("jetpack/eventbrite",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://www.eventbrite.com/e/test-event-tickets-123456789",eventId:123456789,useModal:!0}}};Object(r.a)("eventbrite",Z)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(16),c=/^#?[A-Fa-f0-9]{6}$/,s=function(e){return c.test(e)},l={backgroundColor:{type:"string",default:"ffffff",validator:s},submitButtonText:{type:"string",default:Object(i.__)("Schedule time with me","jetpack")},submitButtonTextColor:{type:"string"},submitButtonBackgroundColor:{type:"string"},submitButtonClasses:{type:"string"},hideEventTypeDetails:{type:"boolean",default:!1},primaryColor:{type:"string",default:"00A2FF",validator:s},textColor:{type:"string",default:"4D5055",validator:s},style:{type:"string",default:"inline",validValues:["inline","link"]},url:{type:"string",validator:function(e){return!e||e.startsWith("https://calendly.com/")}},backgroundButtonColor:{type:"string"},textButtonColor:{type:"string"},customBackgroundButtonColor:{type:"string",validator:s},customTextButtonColor:{type:"string",validator:s}},u=n(18),p=n.n(u),d=(n(79),n(5)),h=n(95),m=n.n(h),f=n(6),b=n(2),g=(n(80),Object(a.createElement)(b.SVG,{height:"24",viewBox:"0 0 23 24",width:"23",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(b.G,{fill:"none",fillRule:"evenodd"},Object(a.createElement)(b.Rect,{height:"20.956522",rx:"3",stroke:"#656a74",strokeWidth:"2",width:"20.956522",x:"1",y:"2.043478"}),Object(a.createElement)(b.Rect,{fill:"#656a74",height:"4.869565",rx:"1",width:"2",x:"6.565217"}),Object(a.createElement)(b.Rect,{fill:"#656a74",height:"4.869565",rx:"1",width:"2",x:"14.652174"}),Object(a.createElement)(b.Path,{d:"m14.6086957 10.0869565c-.6956522-.57971012-1.6231885-.8695652-2.7826087-.8695652-1.7391305 0-3.47826091 1.5652174-3.47826091 3.6521739s1.73913041 3.6521739 3.47826091 3.6521739c1.1594202 0 2.0869565-.3478261 2.7826087-1.0434782",stroke:"#656a74"})))),v=n(51),j=n(32),y=/(^|\/\/)(calendly\.com[^"']*)/i,_=function(e){if(e){var t=function(e){var t=e.match(y);if(t)return"https://"+t[2]}(e);if(t){var n=function(e){var t={},n=new URL(e);if(t.url=n.origin+n.pathname,!n.search)return t;var r=new URLSearchParams(n.search),a=r.get("background_color"),i=r.get("primary_color"),o=r.get("text_color"),c=/^[A-Za-z0-9]{6}$/;return r.get("hide_event_type_details")&&(t.hideEventTypeDetails=r.get("hide_event_type_details")),a&&a.match(c)&&(t.backgroundColor=a),i&&i.match(c)&&(t.primaryColor=i),o&&o.match(c)&&(t.textColor=o),t}(t),r=function(e){return e.indexOf("data-url")>0?"inline":e.indexOf("initPopupWidget")>0||e.indexOf("initBadgeWidget")>0?"link":void 0}(e);r&&(n.style=r);var a=function(e){var t=e.match(/false;"\>([^<]+)\<\//);return t?t[1]:(t=e.match(/text: '([^']*?)'/))?t[1]:void 0}(e);a&&(n.submitButtonText=a);var i=function(e){var t=e.match(/textColor: '([^']*?)'/);if(t)return t[1]}(e);i&&(n.customTextButtonColor=i);var o=function(e){var t=e.match(/color: '([^']*?)'/);if(t)return t[1]}(e);return o&&(n.customBackgroundButtonColor=o),n}}},k=n(59);var O={title:Object(i.__)("Calendly","jetpack"),description:Object(i.__)("Embed a calendar for customers to schedule appointments","jetpack"),icon:g,category:"jetpack",keywords:[Object(i.__)("calendar","jetpack"),Object(i.__)("schedule","jetpack"),Object(i.__)("appointments","jetpack")],supports:{align:!0,alignWide:!1,html:!1},edit:function(e){var t=e.attributes,n=e.className,r=e.clientId,o=e.setAttributes,c=Object(v.a)(l,t);Object(d.isEqual)(c,t)||o(c);var s,u,h=c.backgroundColor,y=c.submitButtonText,O=c.hideEventTypeDetails,w=c.primaryColor,E=c.textColor,C=c.style,x=c.url,S=Object(a.useState)(""),A=p()(S,2),F=A[0],P=A[1],T=Object(a.useState)(),M=p()(T,2),N=M[0],R=M[1],D=function(){return R(Object(a.createElement)(a.Fragment,null,Object(i.__)("Your calendar couldn't be embedded. Please double check your URL or code.","jetpack")))},z=function(e){if(e){e.preventDefault();var t=_(F);if(t){var n=Object(v.a)(l,t);o(n)}else D()}else D()},I=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("form",{onSubmit:z},Object(a.createElement)("input",{type:"text",id:"embedCode",onChange:function(e){return P(e.target.value)},placeholder:Object(i.__)("Calendly web address or embed code…","jetpack"),value:F,className:"components-placeholder__input"}),Object(a.createElement)("div",null,Object(a.createElement)(b.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")))),Object(a.createElement)("div",{className:"".concat(n,"-learn-more")},Object(a.createElement)(b.ExternalLink,{href:"https://help.calendly.com/hc/en-us/articles/223147027-Embed-options-overview"},Object(i.__)("Need help finding your embed code?","jetpack")))),L=Object(a.createElement)(b.Placeholder,{label:Object(i.__)("Calendly","jetpack"),instructions:Object(i.__)("Enter your Calendly web address or embed code below.","jetpack"),icon:Object(a.createElement)(f.BlockIcon,{icon:g}),notices:N&&Object(a.createElement)(b.Notice,{status:"error",isDismissible:!1},N)},I),B=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:"".concat(n,"-overlay")}),Object(a.createElement)("iframe",{src:(s=m.a.stringify({embed_domain:"wordpress.com",embed_type:"Inline",hide_event_type_details:O?1:0,background_color:h,primary_color:w,text_color:E}),"".concat(x,"?").concat(s)),width:"100%",height:"100%",frameBorder:"0","data-origwidth":"100%","data-origheight":"100%",style:{minWidth:"320px",height:"630px",width:"100%"},title:"Calendly"})),q=Object(a.createElement)(j.a,{submitButtonText:y,attributes:t,setAttributes:o}),U=Object(a.createElement)(a.Fragment,null,Object(a.createElement)("a",{style:{alignSelf:"flex-start",border:"none"},className:"wp-block-button__link"},y)),V=[{value:"inline",label:Object(i.__)("Inline","jetpack")},{value:"link",label:Object(i.__)("Link","jetpack")}],H=Object(a.createElement)(f.BlockControls,null,x&&Object(a.createElement)(b.Toolbar,{isCollapsed:!0,icon:"admin-appearance",label:Object(i.__)("Style","jetpack"),controls:V.map((function(e){return{title:e.label,isActive:e.value===C,onClick:function(){return o({style:e.value})}}})),popoverProps:{className:"is-calendly"}})),G=Object(a.createElement)(f.InspectorControls,null,x&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(b.PanelBody,{title:Object(i.__)("Styles","jetpack")},Object(a.createElement)(k.a,{clientId:r,styleOptions:V,onSelectStyle:o,activeStyle:C,attributes:t,viewportWidth:500}))),Object(a.createElement)(b.PanelBody,{title:Object(i.__)("Calendar Settings","jetpack"),initialOpen:!1},Object(a.createElement)("form",{onSubmit:z,className:"".concat(n,"-embed-form-sidebar")},Object(a.createElement)("input",{type:"text",id:"embedCode",onChange:function(e){return P(e.target.value)},placeholder:Object(i.__)("Calendly web address or embed code…","jetpack"),value:F,className:"components-placeholder__input"}),Object(a.createElement)("div",null,Object(a.createElement)(b.Button,{isSecondary:!0,isLarge:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")))),Object(a.createElement)(b.ToggleControl,{label:Object(i.__)("Hide Event Type Details","jetpack"),checked:O,onChange:function(){return o({hideEventTypeDetails:!O})}})),x&&Object(a.createElement)(b.Notice,{className:"".concat(n,"-color-notice"),isDismissible:!1},Object(a.createElement)(b.ExternalLink,{href:"https://help.calendly.com/hc/en-us/community/posts/360033166114-Embed-Widget-Color-Customization-Available-Now-"},Object(i.__)("Follow these instructions to change the colors in this block.","jetpack"))));return Object(a.createElement)("div",{className:n},G,H,x?"inline"===C?B:u?U:q:L)},save:function(e){var t=e.attributes.url;return Object(a.createElement)("a",{href:t},t)},attributes:l,example:{attributes:{submitButtonText:Object(i.__)("Schedule time with me","jetpack"),hideEventTypeDetails:!1,style:"inline",url:"https://calendly.com/wordpresscom/jetpack-block-example"}},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&y.test(e.textContent)},transform:function(e){var t=_(e.textContent);return Object(o.createBlock)("jetpack/calendly",t)}}]}};Object(r.a)("calendly",O)},function(e,t,n){"use strict";n.r(t);var r,a=n(17),i=n(1),o=n(0),c=n(5),s=n(6),l=n(2),u=n(26),p=function(e){var t,n=e.id,r=e.setRating,a=e.children;return Object(o.createElement)("span",{className:"jetpack-ratings-button",tabIndex:0,role:"button",onKeyDown:(t=n,function(e){return e.keyCode===u.ENTER?r(t):null}),onClick:function(e){return function(){return r(e)}}(n)},a)},d=(n(217),n(134),{title:Object(i.__)("Star Rating","jetpack"),description:Object(i.__)("Rate movies, books, songs, recipes — anything you can put a number on.","jetpack"),icon:function(){return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)(l.Path,{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}))},keywords:[Object(i._x)("star","block search term","jetpack"),Object(i._x)("rating","block search term","jetpack"),Object(i._x)("review","block search term","jetpack")],category:"jetpack",example:{},styles:[{name:"filled",label:Object(i._x)("Filled","block style","jetpack"),isDefault:!0},{name:"outlined",label:Object(i._x)("Outlined","block style","jetpack")}],attributes:{rating:{type:"number",default:1},maxRating:{type:"number",default:5},color:{type:"string"},align:{type:"string",default:"left"}},edit:function(e){return function(t){var n=t.className,r=t.setAttributes,a=t.attributes,u=a.align,d=a.color,h=a.rating,m=a.maxRating,f=function(e){e===h&&Math.ceil(h)===h&&(e-=.5),r({rating:e})};return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.BlockControls,null,Object(o.createElement)(s.AlignmentToolbar,{value:u,onChange:function(e){return r({align:e})}})),Object(o.createElement)("div",{className:n,style:{textAlign:u}},Object(c.range)(1,m+1).map((function(t){return Object(o.createElement)(p,{key:t,id:t,setRating:f},Object(o.createElement)("span",null,Object(o.createElement)(e,{className:h>=t-.5?null:"is-rating-unfilled",color:d})),Object(o.createElement)("span",null,Object(o.createElement)(e,{className:h>=t?null:"is-rating-unfilled",color:d})))}))),Object(o.createElement)(s.InspectorControls,null,Object(o.createElement)(l.PanelBody,{title:Object(i.__)("Settings","jetpack")},Object(o.createElement)(l.RangeControl,{label:Object(i.__)("Highest rating","jetpack"),value:m,onChange:function(e){return r({maxRating:e})},min:2,max:10}),Object(o.createElement)(s.PanelColorSettings,{title:Object(i.__)("Color Settings","jetpack"),initialOpen:!0,colorSettings:[{value:d,onChange:function(e){return r({color:e})},label:Object(i.__)("Color","jetpack")}]}))))}}((function(e){var t=function(e){return e&&e.color?e.color:"currentColor"}(e),n=function(e){return e&&e.className?e.className:""}(e);return Object(o.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",color:t},Object(o.createElement)(l.Path,{className:n,fill:t,stroke:t,d:"M12,17.3l6.2,3.7l-1.6-7L22,9.2l-7.2-0.6L12,2L9.2,8.6L2,9.2L7.5,14l-1.6,7L12,17.3z"}))})),save:(r="★",function(e){var t=e.className,n=e.attributes,a=n.align,i=n.rating,s=n.color;return Object(o.createElement)("figure",{className:t,style:{textAlign:a}},Object(c.range)(1,i+1).map((function(e){return Object(o.createElement)("span",{key:e,style:{color:s}},r)})))})});Object(a.a)("rating-star",d)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=(n(161),n(24)),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(6),O=n(14),w=n(13),E=n(100),C=new(n.n(E).a),x=function(e){"A"===e.target.nodeName&&(window.confirm(Object(i.__)("Are you sure you wish to leave this page?","jetpack"))||e.preventDefault())},S=function(e){var t=e.className,n=e.source,r=void 0===n?"":n;return Object(a.createElement)(a.RawHTML,{className:t,onClick:x},r.length?C.render(r):"")},A=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"input",null),_()(g()(n),"state",{activePanel:"editor"}),_()(g()(n),"bindInput",(function(e){n.input=e})),_()(g()(n),"updateSource",(function(e){return n.props.setAttributes({source:e})})),_()(g()(n),"handleKeyDown",(function(e){var t=n.props,r=t.attributes,a=t.removeBlock,i=r.source;8===e.keyCode&&""===i&&(a(),e.preventDefault())})),_()(g()(n),"toggleMode",(function(e){return function(){return n.setState({activePanel:e})}})),n}return j()(t,e),p()(t,[{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&"preview"===this.state.activePanel&&this.toggleMode("editor")(),!e.isSelected&&this.props.isSelected&&"editor"===this.state.activePanel&&this.input&&this.input.focus()}},{key:"isEmpty",value:function(){var e=this.props.attributes.source;return!e||""===e.trim()}},{key:"renderToolbarButton",value:function(e,t){var n=this.state.activePanel;return Object(a.createElement)("button",{className:"components-tab-button ".concat(n===e?"is-active":""),onClick:this.toggleMode(e)},Object(a.createElement)("span",null,t))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=t.source,c=this.state.activePanel;return!r&&this.isEmpty()?Object(a.createElement)("p",{className:"".concat(n,"__placeholder")},Object(i.__)("Write your _Markdown_ **here**…","jetpack")):Object(a.createElement)("div",{className:n},Object(a.createElement)(k.BlockControls,null,Object(a.createElement)("div",{className:"components-toolbar"},this.renderToolbarButton("editor",Object(i.__)("Markdown","jetpack")),this.renderToolbarButton("preview",Object(i.__)("Preview","jetpack")))),"preview"!==c&&r?Object(a.createElement)(k.PlainText,{className:"".concat(n,"__editor"),onChange:this.updateSource,onKeyDown:this.handleKeyDown,"aria-label":Object(i.__)("Markdown","jetpack"),innerRef:this.bindInput,value:o}):Object(a.createElement)(S,{className:"".concat(n,"__preview"),source:o}))}}]),t}(a.Component),F=Object(O.compose)([Object(w.withSelect)((function(e){return{currentBlockId:e("core/block-editor").getSelectedBlockClientId()}})),Object(w.withDispatch)((function(e,t){var n=t.currentBlockId;return{removeBlock:function(){return e("core/block-editor").removeBlocks(n)}}}))])(A),P=Object(i.__)("Try Markdown","jetpack"),T=Object(i.__)("Markdown is a text formatting syntax that is converted into HTML. You can _emphasize_ text or **make it strong** with just a few characters.","jetpack"),M=Object(c.b)()||Object(c.a)()?"https://en.support.wordpress.com/markdown-quick-reference/":"https://jetpack.com/support/jetpack-blocks/markdown-block/",N={title:Object(i.__)("Markdown","jetpack"),description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Use regular characters and punctuation to style text, links, and lists.","jetpack")),Object(a.createElement)(o.ExternalLink,{href:M},Object(i.__)("Support reference","jetpack"))),icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 128"},Object(a.createElement)(o.Rect,{width:"198",height:"118",x:"5",y:"5",ry:"10",stroke:"currentColor",strokeWidth:"10",fill:"none"}),Object(a.createElement)(o.Path,{d:"M30 98v-68h20l20 25 20-25h20v68h-20v-39l-20 25-20-25v39zM155 98l-30-33h20v-35h20v35h20z"})),category:"jetpack",keywords:[Object(i._x)("formatting","block search term","jetpack"),Object(i._x)("syntax","block search term","jetpack"),Object(i._x)("markup","block search term","jetpack")],attributes:{source:{type:"string"}},supports:{html:!1},edit:F,save:function(e){var t=e.attributes,n=e.className;return Object(a.createElement)(S,{className:n,source:t.source})},example:{attributes:{source:"## ## ".concat(P,"\n\n").concat(T)}}};Object(r.a)("markdown",N)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(6),k=[{height:250,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-7-2h2V7h-4v2h2z"})),name:Object(i.__)("Rectangle 300x250","jetpack"),tag:"mrec",width:300,editorPadding:30},{height:90,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4h-4v-2h2c1.1 0 2-.89 2-2V9c0-1.11-.9-2-2-2H9v2h4v2h-2c-1.1 0-2 .89-2 2v4h6v-2z"})),name:Object(i.__)("Leaderboard 728x90","jetpack"),tag:"leaderboard",width:728,editorPadding:60},{height:50,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-4-4v-1.5c0-.83-.67-1.5-1.5-1.5.83 0 1.5-.67 1.5-1.5V9c0-1.11-.9-2-2-2H9v2h4v2h-2v2h2v2H9v2h4c1.1 0 2-.89 2-2z"})),name:Object(i.__)("Mobile Leaderboard 320x50","jetpack"),tag:"mobile_leaderboard",width:320,editorPadding:100},{height:600,icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M.04 0h24v24h-24V0z"}),Object(a.createElement)(o.Path,{d:"M19.04 3h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16h-14V5h14v14zm-6-2h2V7h-2v4h-2V7h-2v6h4z"})),name:Object(i.__)("Wide Skyscraper 160x600","jetpack"),tag:"wideskyscraper",width:160,editorPadding:30}],O=Object(i.__)("Pick an ad format","jetpack");function w(e){var t=e.value,n=e.onChange;return Object(a.createElement)(o.Dropdown,{position:"bottom right",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(a.createElement)(o.Toolbar,{controls:[{icon:Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M1 9h2V7H1v2zm0 4h2v-2H1v2zm0-8h2V3c-1.1 0-2 .9-2 2zm8 16h2v-2H9v2zm-8-4h2v-2H1v2zm2 4v-2H1c0 1.1.9 2 2 2zM21 3h-8v6h10V5c0-1.1-.9-2-2-2zm0 14h2v-2h-2v2zM9 5h2V3H9v2zM5 21h2v-2H5v2zM5 5h2V3H5v2zm16 16c1.1 0 2-.9 2-2h-2v2zm0-8h2v-2h-2v2zm-8 8h2v-2h-2v2zm4 0h2v-2h-2v2z"})),title:O,onClick:t,extraProps:{"aria-expanded":n},className:"wp-block-jetpack-wordads__format-picker-icon"}]})},renderContent:function(e){var r=e.onClose;return Object(a.createElement)(o.NavigableMenu,{className:"wp-block-jetpack-wordads__format-picker"},k.map((function(e){var i=e.tag,c=e.name,s=e.icon;return Object(a.createElement)(o.MenuItem,{className:i===t?"is-active":void 0,icon:s,isSelected:i===t,key:i,onClick:function(){n(i),r()},role:"menuitemcheckbox"},c)})))}})}n(239);var E=n(119),C=n.n(E),x=n(120),S=n.n(x),A=n(121),F=n.n(A),P=n(122),T=n.n(P),M=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(a))),y()(b()(n),"handleHideMobileChange",(function(e){n.props.setAttributes({hideMobile:!!e})})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,r=e.isSelected,c=t.format,s=t.hideMobile,l=k.filter((function(e){return e.tag===c}))[0],u=Object(a.createElement)(o.ToggleControl,{className:"jetpack-wordads__mobile-visibility",checked:Boolean(s),label:Object(i.__)("Hide ad on mobile views","jetpack"),onChange:this.handleHideMobileChange});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(_.BlockControls,null,Object(a.createElement)(w,{value:c,onChange:function(e){return n({format:e})}})),Object(a.createElement)("div",{className:"wp-block-jetpack-wordads jetpack-wordads-".concat(c)},Object(a.createElement)("div",{className:"jetpack-wordads__ad",style:{width:l.width,height:l.height,backgroundImage:"url( ".concat(function(e){switch(e){case"leaderboard":return S.a;case"mobile_leaderboard":return F.a;case"wideskyscraper":return T.a;default:return C.a}}(c)," )"),backgroundSize:"cover"}}),r&&u))}}]),t}(a.Component),N=Object(i.__)("Ad","jetpack"),R=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{fill:"currentColor",d:"M12,8H4A2,2 0 0,0 2,10V14A2,2 0 0,0 4,16H5V20A1,1 0 0,0 6,21H8A1,1 0 0,0 9,20V16H12L17,20V4L12,8M15,15.6L13,14H4V10H13L15,8.4V15.6M21.5,12C21.5,13.71 20.54,15.26 19,16V8C20.53,8.75 21.5,10.3 21.5,12Z"})),D={title:N,description:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.__)("Earn income by adding high quality ads to your post","jetpack")),Object(a.createElement)(o.ExternalLink,{href:"https://wordads.co/"},Object(i.__)("Learn all about WordAds","jetpack"))),icon:R,attributes:{align:{type:"string",default:"center"},format:{type:"string",default:"mrec"},hideMobile:{type:"boolean",default:!1}},example:{attributes:{}},category:"jetpack",keywords:[Object(i.__)("ads","jetpack"),"WordAds",Object(i.__)("Advertisement","jetpack")],supports:{align:["left","center","right"],alignWide:!1,className:!1,customClassName:!1,html:!1,reusable:!1},edit:M,save:function(){return null}};Object(r.a)("wordads",D)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=(n(146),n(126),n(30)),s=n.n(c),l=n(7),u=n.n(l),p=n(11),d=n.n(p),h=n(8),m=n.n(h),f=n(9),b=n.n(f),g=n(4),v=n.n(g),j=n(10),y=n.n(j),_=n(3),k=n.n(_),O=n(23),w=n.n(O),E=n(12),C=n.n(E),x=n(58),S=n(6),A=n(15),F=n.n(A),P=n(5),T=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,c=new Array(r),s=0;s<r;s++)c[s]=arguments[s];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(c))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day,c=e.opening,s=e.closing;return Object(a.createElement)(a.Fragment,{key:t},Object(a.createElement)("div",{className:"business-hours__row"},Object(a.createElement)("div",{className:C()(r.name,"business-hours__day")},0===t&&n.renderDayToggle()),Object(a.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(a.createElement)(o.TextControl,{type:"time",label:Object(i.__)("Opening","jetpack"),value:c,className:"business-hours__open",placeholder:"09:00",onChange:function(e){n.setHour(e,"opening",t)}}),Object(a.createElement)(o.TextControl,{type:"time",label:Object(i.__)("Closing","jetpack"),value:s,className:"business-hours__close",placeholder:"17:00",onChange:function(e){n.setHour(e,"closing",t)}})),Object(a.createElement)("div",{className:"business-hours__remove"},r.hours.length>1&&Object(a.createElement)(o.IconButton,{isSmall:!0,isLink:!0,icon:"trash",onClick:function(){n.removeInterval(t)}}))),t===r.hours.length-1&&Object(a.createElement)("div",{className:"business-hours__row business-hours-row__add"},Object(a.createElement)("div",{className:C()(r.name,"business-hours__day")}," "),Object(a.createElement)("div",{className:C()(r.name,"business-hours__hours")},Object(a.createElement)(o.IconButton,{isLink:!0,label:Object(i.__)("Add Hours","jetpack"),onClick:n.addInterval},Object(i.__)("Add Hours","jetpack"))),Object(a.createElement)("div",{className:"business-hours__remove"}," ")))})),k()(v()(n),"setHour",(function(e,t,r){var a=n.props,i=a.day,o=a.attributes;(0,a.setAttributes)({days:o.days.map((function(n){return n.name===i.name?F()({},n,{hours:n.hours.map((function(n,a){return a===r?F()({},n,k()({},t,e)):n}))}):n}))})})),k()(v()(n),"toggleClosed",(function(e){var t=n.props,r=t.day,a=t.attributes;(0,t.setAttributes)({days:a.days.map((function(t){if(t.name===r.name){var n=e?[{opening:"09:00",closing:"17:00"}]:[];return F()({},t,{hours:n})}return t}))})})),k()(v()(n),"addInterval",(function(){var e=n.props,t=e.day,r=e.attributes,a=e.setAttributes,i=r.days;t.hours.push({opening:"",closing:""}),a({days:i.map((function(e){return e.name===t.name?F()({},e,{hours:t.hours}):e}))})})),k()(v()(n),"removeInterval",(function(e){var t=n.props,r=t.day,a=t.attributes;(0,t.setAttributes)({days:a.days.map((function(t){return r.name===t.name?F()({},t,{hours:t.hours.filter((function(t,n){return e!==n}))}):t}))})})),n}return y()(t,e),d()(t,[{key:"isClosed",value:function(){var e=this.props.day;return Object(P.isEmpty)(e.hours)}},{key:"renderDayToggle",value:function(){var e=this.props,t=e.day,n=e.localization;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("span",{className:"business-hours__day-name"},n.days[t.name]),Object(a.createElement)(o.ToggleControl,{label:this.isClosed()?Object(i.__)("Closed","jetpack"):Object(i.__)("Open","jetpack"),checked:!this.isClosed(),onChange:this.toggleClosed}))}},{key:"renderClosed",value:function(){var e=this.props.day;return Object(a.createElement)("div",{className:"business-hours__row business-hours-row__closed"},Object(a.createElement)("div",{className:C()(e.name,"business-hours__day")},this.renderDayToggle()),Object(a.createElement)("div",{className:C()(e.name,"closed","business-hours__hours")}," "),Object(a.createElement)("div",{className:"business-hours__remove"}," "))}},{key:"render",value:function(){var e=this.props.day;return this.isClosed()?this.renderClosed():e.hours.map(this.renderInterval)}}]),t}(a.Component),M=n(18),N=n.n(M),R=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,o=new Array(r),c=0;c<r;c++)o[c]=arguments[c];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(o))),k()(v()(n),"renderInterval",(function(e,t){var r=n.props.day.hours;return Object(a.createElement)("span",{key:t},Object(i.sprintf)("%s - %s",n.formatTime(e.opening),n.formatTime(e.closing)),r.length>1+t&&Object(a.createElement)("span",null,", "))})),n}return y()(t,e),d()(t,[{key:"formatTime",value:function(e){var t=this.props.timeFormat,n=e.split(":"),r=N()(n,2),a=r[0],i=r[1],o=new Date;return!(!a||!i)&&(o.setHours(a),o.setMinutes(i),Object(x.date)(t,o))}},{key:"render",value:function(){var e=this,t=this.props,n=t.day,r=t.localization,o=n.hours.filter((function(t){return e.formatTime(t.opening)&&e.formatTime(t.closing)}));return Object(a.createElement)("div",{className:"jetpack-business-hours__item"},Object(a.createElement)("dt",{className:n.name},r.days[n.name]),Object(a.createElement)("dd",null,Object(P.isEmpty)(o)?Object(i._x)("Closed","business is closed on a full day","jetpack"):o.map(this.renderInterval),Object(a.createElement)("br",null)))}}]),t}(a.Component),D={days:{Sun:Object(i.__)("Sunday","jetpack"),Mon:Object(i.__)("Monday","jetpack"),Tue:Object(i.__)("Tuesday","jetpack"),Wed:Object(i.__)("Wednesday","jetpack"),Thu:Object(i.__)("Thursday","jetpack"),Fri:Object(i.__)("Friday","jetpack"),Sat:Object(i.__)("Saturday","jetpack")},startOfWeek:0},z=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=m()(this,(e=b()(t)).call.apply(e,[this].concat(a))),k()(v()(n),"state",{localization:D,hasFetched:!1}),n}return y()(t,e),d()(t,[{key:"componentDidMount",value:function(){this.apiFetch()}},{key:"apiFetch",value:function(){var e=this;this.setState({data:D},(function(){w()({path:"/wpcom/v2/business-hours/localized-week"}).then((function(t){e.setState({localization:t,hasFetched:!0})}),(function(){e.setState({localization:D,hasFetched:!0})}))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,l=n.days,u=this.state,p=u.localization,d=u.hasFetched,h=p.startOfWeek,m=l.concat(l.slice(0,h)).slice(h);if(!d)return Object(a.createElement)(o.Placeholder,{icon:Object(a.createElement)(S.BlockIcon,{icon:B}),label:Object(i.__)("Loading business hours","jetpack")});if(!c){var f=Object(x.__experimentalGetSettings)().formats.time;return Object(a.createElement)("dl",{className:C()(r,"jetpack-business-hours")},m.map((function(e,t){return Object(a.createElement)(R,{key:t,day:e,localization:p,timeFormat:f})})))}return Object(a.createElement)("div",{className:C()(r,"is-edit")},m.map((function(t,n){return Object(a.createElement)(T,s()({key:n,day:t,localization:p},e.props))})))}}]),t}(a.Component),I=n(20),L=[{name:"Sun",hours:[]},{name:"Mon",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Tue",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Wed",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Thu",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Fri",hours:[{opening:"09:00",closing:"17:00"}]},{name:"Sat",hours:[]}],B=Object(I.a)(Object(a.createElement)(o.Path,{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"})),q={title:Object(i.__)("Business Hours","jetpack"),description:Object(i.__)("Display opening hours for your business.","jetpack"),icon:B,category:"jetpack",supports:{html:!0},keywords:[Object(i._x)("opening hours","block search term","jetpack"),Object(i._x)("closing time","block search term","jetpack"),Object(i._x)("schedule","block search term","jetpack")],attributes:{days:{type:"array",default:L}},edit:function(e){return Object(a.createElement)(z,e)},save:function(){return null},example:{attributes:{days:L}}};Object(r.a)("business-hours",q)},function(e,t,n){"use strict";n.r(t);n(36);var r=n(21),a=n.n(r),i=n(0),o=n(16),c=n(53);Object(o.setCategories)([].concat(a()(Object(o.getCategories)().filter((function(e){return"jetpack"!==e.slug}))),[{slug:"jetpack",title:"Jetpack",icon:Object(i.createElement)(c.a,null)}]));var s,l,u,p,d=n(15),h=n.n(d),m=n(23),f=n.n(m),b=n(13),g=n(1),v=(n(78),n(29)),j=n(35),y=n(24);function _(){var e=Object(j.a)();return void 0!==typeof window&&window.location&&e?Object(y.b)()||Object(y.a)()?"https://wordpress.com/plans/my-plan/".concat(e):"".concat(window.location.protocol,"//").concat(e.replace("::","/"),"/wp-admin/admin.php?page=jetpack#/my-plan"):null}if(regeneratorRuntime.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===typeof window||!window.location){e.next=16;break}if(!Object(v.parse)(window.location.href,!0).query.plan_upgraded){e.next=16;break}if(s=null,e.prev=4,!Object(y.b)()){e.next=7;break}return e.abrupt("break",16);case 7:return e.next=9,regeneratorRuntime.awrap(f()({path:"/jetpack/v4/site"}));case 9:l=e.sent,u=JSON.parse(l.data),s=u.plan.product_name;case 12:return e.prev=12,p=_(),Object(b.dispatch)("core/notices").createNotice("success",s?Object(g.sprintf)(Object(g.__)("Congratulations! Your site is now on the %s plan.","jetpack"),s):Object(g.__)("Congratulations! Your site is now on a paid plan.","jetpack"),h()({isDismissible:!0},p&&{actions:[{url:_(),label:Object(g.__)("View my plan","jetpack")}]})),e.finish(12);case 16:case"end":return e.stop()}}),null,null,[[4,,12,16]]),void 0!==typeof window&&window.location){var k=Object(v.parse)(window.location.href,!0).query;k.stripe_connect_success?Object(b.dispatch)("core/notices").createNotice("success",Object(g.__)("Congrats! Your site is now connected to Stripe. You can start making money by adding your first subscription!","jetpack")):k.stripe_connect_cancelled&&Object(b.dispatch)("core/notices").createNotice("error",Object(g.__)("You cancelled connecting your site to Stripe.","jetpack"))}var O=n(50);if("object"==typeof window&&"object"==typeof window.Jetpack_Editor_Initial_State&&"object"==typeof window.Jetpack_Editor_Initial_State.tracksUserData&&void 0!==window.Jetpack_Editor_Initial_State.wpcomBlogId){var w=window.Jetpack_Editor_Initial_State.tracksUserData,E=w.userid,C=w.username;O.a.initialize(E,C,{blog_id:window.Jetpack_Editor_Initial_State.wpcomBlogId})}},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(16),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(5),O=n(6),w=n(23),E=n.n(w),C=n(31);function x(e){if(!F.test(e))return"";var t=Object(C.getPath)(e);return t?t.startsWith("pin/")?"embedPin":t.match(/^([^/]+)\/?$/)?"embedUser":t.match(/^([^/]+)\/([^/]+)\/?$/)?"embedBoard":"":""}var S=/^\s*https?:\/\/pin\.it\//i,A=function(e){function t(){var e;return l()(this,t),e=h()(this,f()(t).apply(this,arguments)),_()(g()(e),"resolveRedirect",(function(){var t=e.props.attributes.url;e.fetchRequest=E()({path:"/wpcom/v2/resolve-redirect/".concat(t)}),e.fetchRequest.then((function(t){e.fetchRequest=null,e.props.setAttributes({url:t.url}),e.setState({resolvingRedirect:!1,editedUrl:t.url})}),(function(t){"abort"!==t.statusText&&(e.fetchRequest=null,e.setState({resolvingRedirect:!1,editingUrl:!0}))}))})),_()(g()(e),"hideOverlay",(function(){e.setState({interactive:!0})})),_()(g()(e),"setUrl",(function(t){t&&t.preventDefault();var n=e.state.editedUrl;e.props.setAttributes({url:n}),e.setState({editingUrl:!1}),S.test(n)&&e.setState({resolvingRedirect:!0})})),e.state={editedUrl:e.props.attributes.url||"",editingUrl:!1,resolvingRedirect:S.test(e.props.attributes.url),interactive:!1},e}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentDidUpdate",value:function(e,t){!t.resolvingRedirect&&this.state.resolvingRedirect&&this.resolveRedirect()}},{key:"componentWillUnmount",value:function(){Object(k.invoke)(this.fetchRequest,["abort"])}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,s=n.url,l=this.state,u=l.editedUrl,p=l.interactive,d=l.editingUrl;if(l.resolvingRedirect)return Object(a.createElement)("div",{className:"wp-block-embed is-loading"},Object(a.createElement)(o.Spinner,null),Object(a.createElement)("p",null,Object(i.__)("Embedding…")));var h=x(s),m="<a data-pin-do='".concat(h,"' href='").concat(s,"'></a>"),f=s&&!h,b=Object(a.createElement)(O.BlockControls,null,Object(a.createElement)(o.Toolbar,null,Object(a.createElement)(o.IconButton,{className:"components-toolbar__control",label:Object(i.__)("Edit URL","jetpack"),icon:"edit",onClick:function(){return e.setState({editingUrl:!0})}})));return d||!s||f?Object(a.createElement)("div",{className:r},b,Object(a.createElement)(o.Placeholder,{label:Object(i.__)("Pinterest","jetpack"),icon:Object(a.createElement)(O.BlockIcon,{icon:T})},Object(a.createElement)("form",{onSubmit:this.setUrl},Object(a.createElement)("input",{type:"url",value:u,className:"components-placeholder__input","aria-label":Object(i.__)("Pinterest URL","jetpack"),placeholder:Object(i.__)("Enter URL to embed here…","jetpack"),onChange:function(t){return e.setState({editedUrl:t.target.value})}}),Object(a.createElement)(o.Button,{isLarge:!0,isSecondary:!0,type:"submit"},Object(i._x)("Embed","button label","jetpack")),f&&Object(a.createElement)("p",{className:"components-placeholder__error"},Object(i.__)("Sorry, this content could not be embedded.","jetpack"),Object(a.createElement)("br",null),Object(a.createElement)(o.Button,{isLarge:!0,onClick:function(){return function(e,t){var n=Object(a.createElement)("a",{href:e},e);t(Object(c.createBlock)("core/paragraph",{content:Object(a.renderToString)(n)}))}(u,e.props.onReplace)}},Object(i._x)("Convert block to link","button label","jetpack")))))):Object(a.createElement)("div",{className:r},b,Object(a.createElement)("div",null,Object(a.createElement)(o.SandBox,{html:m,scripts:["https://assets.pinterest.com/js/pinit.js"],onFocus:this.hideOverlay}),!p&&Object(a.createElement)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(a.Component),F=/^\s*https?:\/\/(?:www\.)?(?:[a-z]{2}\.)?(?:pinterest\.[a-z.]+|pin\.it)\/([^/]+)(\/[^/]+)?/i,P=Object(i.__)("Pinterest","jetpack"),T=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(o.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(o.G,null,Object(a.createElement)(o.Path,{d:"M12,2C6.477,2,2,6.477,2,12c0,4.236,2.636,7.855,6.356,9.312c-0.087-0.791-0.166-2.005,0.035-2.869c0.182-0.78,1.173-4.971,1.173-4.971s-0.299-0.599-0.299-1.484c0-1.39,0.806-2.429,1.809-2.429c0.853,0,1.265,0.641,1.265,1.409c0,0.858-0.546,2.141-0.828,3.329c-0.236,0.996,0.499,1.807,1.481,1.807c1.777,0,3.144-1.874,3.144-4.579c0-2.394-1.72-4.068-4.177-4.068c-2.845,0-4.515,2.134-4.515,4.34c0,0.859,0.331,1.781,0.744,2.282c0.082,0.099,0.094,0.186,0.069,0.287C8.18,14.682,8.011,15.361,7.978,15.5c-0.044,0.183-0.145,0.222-0.334,0.134c-1.249-0.581-2.03-2.407-2.03-3.874c0-3.154,2.292-6.051,6.607-6.051c3.469,0,6.165,2.472,6.165,5.775c0,3.446-2.173,6.22-5.189,6.22c-1.013,0-1.966-0.526-2.292-1.148c0,0-0.501,1.909-0.623,2.377c-0.226,0.869-0.835,1.957-1.243,2.622C9.975,21.844,10.969,22,12,22c5.523,0,10-4.477,10-10C22,6.477,17.523,2,12,2z"}))),M={title:P,description:Object(i.__)("Embed a Pinterest pin, board, or user.","jetpack"),icon:T,category:"jetpack",supports:{align:!1,html:!1},attributes:{url:{type:"string"}},edit:A,save:function(e){var t=e.attributes,n=e.className,r=t.url;return x(r)?Object(a.createElement)("div",{className:n},Object(a.createElement)("a",{"data-pin-do":x(r),href:r})):null},transforms:{from:[{type:"raw",isMatch:function(e){return"P"===e.nodeName&&F.test(e.textContent)},transform:function(e){return Object(c.createBlock)("jetpack/pinterest",{url:e.textContent.trim()})}}]},example:{attributes:{url:"https://pinterest.com/anapinskywalker/"}}};Object(r.a)("pinterest",M)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(20),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(6),O=n(13),w=n(12),E=n.n(w),C=n(33),x=[{value:C.b,label:Object(i.__)("Show after threshold","jetpack")},{value:C.c,label:Object(i.__)("Show before threshold","jetpack")}],S=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{isThresholdValid:!0}),_()(g()(n),"setCriteria",(function(e){return n.props.setAttributes({criteria:e})})),_()(g()(n),"setThreshold",(function(e){if(/^\d+$/.test(e)&&+e>0)return n.props.setAttributes({threshold:+e}),void n.setState({isThresholdValid:!0});n.setState({isThresholdValid:!1})})),n}return j()(t,e),p()(t,[{key:"getNoticeLabel",value:function(){return this.props.attributes.criteria===C.b?Object(i.sprintf)(Object(i._n)("This block will only appear to people who have visited this page more than once.","This block will only appear to people who have visited this page more than %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold):Object(i.sprintf)(Object(i._n)("This block will only appear to people who are visiting this page for the first time.","This block will only appear to people who have visited this page at most %d times.",+this.props.attributes.threshold,"jetpack"),this.props.attributes.threshold)}},{key:"render",value:function(){return Object(a.createElement)("div",{className:E()(this.props.className,{"wp-block-jetpack-repeat-visitor--is-unselected":!this.props.isSelected})},Object(a.createElement)(o.Placeholder,{icon:F,label:Object(i.__)("Repeat Visitor","jetpack"),className:"wp-block-jetpack-repeat-visitor-placeholder"},Object(a.createElement)(o.TextControl,{className:"wp-block-jetpack-repeat-visitor-threshold",defaultValue:this.props.attributes.threshold,help:this.state.isThresholdValid?"":Object(i.__)("Please enter a valid number.","jetpack"),label:Object(i.__)("Visit count threshold","jetpack"),min:"1",onChange:this.setThreshold,pattern:"[0-9]",type:"number"}),Object(a.createElement)(o.RadioControl,{label:Object(i.__)("Visibility","jetpack"),selected:this.props.attributes.criteria,options:x,onChange:this.setCriteria})),Object(a.createElement)(o.Notice,{status:"info",isDismissible:!1},this.getNoticeLabel()),Object(a.createElement)(k.InnerBlocks,null))}}]),t}(a.Component),A=Object(O.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,a=n.hasSelectedInnerBlock;return{isSelected:r(t.clientId)||a(t.clientId)}}))(S),F=(n(228),Object(c.a)(Object(a.createElement)(o.Path,{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}))),P={attributes:{criteria:{type:"string",default:C.b},threshold:{type:"number",default:C.d}},category:"jetpack",description:Object(i.__)("Control block visibility based on how often a visitor has viewed the page.","jetpack"),icon:F,keywords:[Object(i._x)("return","block search term","jetpack"),Object(i._x)("visitors","block search term","jetpack"),Object(i._x)("visibility","block search term","jetpack")],supports:{html:!1},title:Object(i.__)("Repeat Visitor","jetpack"),edit:A,save:function(e){var t=e.className;return Object(a.createElement)("div",{className:t},Object(a.createElement)(k.InnerBlocks.Content,null))},example:{attributes:{criteria:C.b,threshold:C.d},innerBlocks:[{name:"core/paragraph",attributes:{content:Object(i.__)("This block will only appear to a visitor who visited the page three or more times.","jetpack")}}]}};Object(r.a)("repeat-visitor",P)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(21),s=n.n(c),l=n(7),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(23),k=n.n(_),O=n(12),w=n.n(O),E=n(32),C=n(6),x=n(11),S=n.n(x),A=function(e){function t(){var e,n;u()(this,t);for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(i))),y()(b()(n),"state",{interest_categories:[]}),y()(b()(n),"retrieveGroups",(function(){k()({method:"GET",path:"/wpcom/v2/mailchimp/groups"}).then((function(e){var t=e.interest_categories;n.setState({interest_categories:t})}))})),y()(b()(n),"render",(function(){var e=n.state.interest_categories,t=n.props,r=t.interests,i=t.onChange;return Object(a.createElement)(a.Fragment,null,e&&(e||[]).map((function(e){return e.interests.map((function(e){return Object(a.createElement)(o.CheckboxControl,{label:e.name,value:e.id,checked:r.includes(e.id),onChange:function(t){return i(e.id,t)},key:e.id})}))})))})),n}return v()(t,e),S()(t,[{key:"componentDidMount",value:function(){this.retrieveGroups()}}]),t}(a.Component),F=A;A.defaultProps={interests:[],onChange:function(){return null}};var P=function(e){function t(){var e;return u()(this,t),e=d()(this,m()(t).apply(this,arguments)),y()(b()(e),"componentDidMount",(function(){e.apiCall()})),y()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),y()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/mailchimp",method:"GET"};k()(t).then((function(t){var n=t.connect_url,r="connected"===t.code?1:2;e.setState({connected:r,connectURL:n})}),(function(t){e.setState({connected:2,connectURL:null}),e.onError(t.message)}))})),y()(b()(e),"auditionNotification",(function(t){e.setState({audition:t}),e.timeout&&clearTimeout(e.timeout),e.timeout=setTimeout(e.clearAudition,3e3)})),y()(b()(e),"clearAudition",(function(){e.setState({audition:null})})),y()(b()(e),"updateProcessingText",(function(t){(0,e.props.setAttributes)({processingLabel:t}),e.auditionNotification("processing")})),y()(b()(e),"updateSuccessText",(function(t){(0,e.props.setAttributes)({successLabel:t}),e.auditionNotification("success")})),y()(b()(e),"updateErrorText",(function(t){(0,e.props.setAttributes)({errorLabel:t}),e.auditionNotification("error")})),y()(b()(e),"updateEmailPlaceholder",(function(t){(0,e.props.setAttributes)({emailPlaceholder:t}),e.clearAudition()})),y()(b()(e),"labelForAuditionType",(function(t){var n=e.props.attributes,r=n.processingLabel,a=n.successLabel,i=n.errorLabel;return"processing"===t?r:"success"===t?a:"error"===t?i:null})),y()(b()(e),"roleForAuditionType",(function(e){return"error"===e?"alert":"status"})),y()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,l=t.noticeUI,u=t.setAttributes,p=e.state,d=p.audition,h=p.connected,m=p.connectURL,f=n.emailPlaceholder,b=n.consentText,g=n.interests,v=n.processingLabel,j=n.successLabel,_=n.errorLabel,k=n.preview,O=n.signupFieldTag,x=n.signupFieldValue,S="wp-block-jetpack-mailchimp_",A=Object(a.createElement)(o.Placeholder,{icon:M,notices:c},Object(a.createElement)(o.Spinner,null)),P=Object(a.createElement)(o.Placeholder,{className:"wp-block-jetpack-mailchimp",icon:M,label:Object(i.__)("Mailchimp","jetpack"),notices:c,instructions:Object(i.__)("You need to connect your Mailchimp account and choose a list in order to start collecting Email subscribers.","jetpack")},Object(a.createElement)("div",null,Object(a.createElement)(o.Button,{isDefault:!0,isLarge:!0,href:m,target:"_blank"},Object(i.__)("Set up Mailchimp form","jetpack"))),Object(a.createElement)(o.Button,{isLink:!0,onClick:e.apiCall},Object(i.__)("Re-check Connection","jetpack"))),T=Object(a.createElement)(C.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Text Elements","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Email Placeholder","jetpack"),value:f,onChange:e.updateEmailPlaceholder})),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Notifications","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Processing text","jetpack"),value:v,onChange:e.updateProcessingText}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Success text","jetpack"),value:j,onChange:e.updateSuccessText}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Error text","jetpack"),value:_,onChange:e.updateErrorText})),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Mailchimp Groups","jetpack")},Object(a.createElement)(F,{interests:g,onChange:function(e,t){var n=s()(new Set([].concat(s()(g),[e]))).filter((function(n){return!(n===e&&!t)&&n}));u({interests:n})}}),Object(a.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/send-groups-audience/"},Object(i.__)("Learn about groups","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Signup Location Tracking","jetpack")},Object(a.createElement)(o.TextControl,{label:Object(i.__)("Signup Field Tag","jetpack"),placeholder:Object(i.__)("SIGNUP"),value:O,onChange:function(e){return u({signupFieldTag:e})}}),Object(a.createElement)(o.TextControl,{label:Object(i.__)("Signup Field Value","jetpack"),placeholder:Object(i.__)("website"),value:x,onChange:function(e){return u({signupFieldValue:e})}}),Object(a.createElement)(o.ExternalLink,{href:"https://mailchimp.com/help/determine-webpage-signup-location/"},Object(i.__)("Learn about signup location tracking","jetpack"))),Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Mailchimp Connection","jetpack")},Object(a.createElement)(o.ExternalLink,{href:m},Object(i.__)("Manage Connection","jetpack")))),N=w()(r,y()({},"".concat(S,"notication-audition"),d)),R=Object(a.createElement)("div",{className:N},Object(a.createElement)(o.TextControl,{"aria-label":f,className:"wp-block-jetpack-mailchimp_text-input",disabled:!0,onChange:function(){return!1},placeholder:f,title:Object(i.__)("You can edit the email placeholder in the sidebar.","jetpack"),type:"email"}),Object(a.createElement)(E.a,e.props),Object(a.createElement)(C.RichText,{tagName:"p",placeholder:Object(i.__)("Write consent text","jetpack"),value:b,onChange:function(e){return u({consentText:e})},inlineToolbar:!0}),d&&Object(a.createElement)("div",{className:"".concat(S,"notification ").concat(S).concat(d),role:e.roleForAuditionType(d)},e.labelForAuditionType(d))),D=R;return Object(a.createElement)(a.Fragment,null,l,k&&D,!k&&0===h&&A,!k&&2===h&&P,!k&&1===h&&T,!k&&1===h&&R)})),e.state={audition:null,connected:0,connectURL:null},e.timeout=null,e}return v()(t,e),t}(a.Component),T=Object(o.withNotices)(P),M=(n(156),Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"}))),N={title:Object(i.__)("Mailchimp","jetpack"),icon:M,description:Object(i.__)("A form enabling readers to join a Mailchimp list.","jetpack"),category:"jetpack",keywords:[Object(i._x)("email","block search term","jetpack"),Object(i._x)("subscription","block search term","jetpack"),Object(i._x)("newsletter","block search term","jetpack")],attributes:{emailPlaceholder:{type:"string",default:Object(i.__)("Enter your email","jetpack")},submitButtonText:{type:"string",default:Object(i.__)("Join my email list","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},consentText:{type:"string",default:Object(i.__)("By clicking submit, you agree to share your email address with the site owner and Mailchimp to receive marketing, updates, and other emails from the site owner. Use the unsubscribe link in those emails to opt out at any time.","jetpack")},interests:{type:"array",default:[]},processingLabel:{type:"string",default:Object(i.__)("Processing…","jetpack")},signupFieldTag:{type:"string"},signupFieldValue:{type:"string"},successLabel:{type:"string",default:Object(i.__)("Success! You're on the list.","jetpack")},errorLabel:{type:"string",default:Object(i.__)("Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.","jetpack")},preview:{type:"boolean",default:!1}},edit:T,save:function(){return null},example:{attributes:{preview:!0}}};Object(r.a)("mailchimp",N)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(2),o=n(1),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(12),k=n.n(_),O=n(32),w=n(23),E=n.n(w),C=n(5),x=n(45),S=n(49),A=n(31),F=n(14),P=n(13),T=n(6),M=n(40),N=n(56),R=n.n(N),D=n(50),z=n(57),I=(n(218),function(e){var t=e.stripeConnectUrl;return Object(a.createElement)(z.a,{buttonLabel:Object(o.__)("Connect","jetpack"),icon:Object(a.createElement)(R.a,{className:"jetpack-stripe-nudge__icon",size:18,"aria-hidden":"true",role:"img",focusable:"false"}),href:t,onClick:function(e){D.a.tracks.recordEvent("jetpack_editor_block_stripe_connect_click",{block:e})},title:Object(o.__)("Connect to Stripe to use this block on your site","jetpack"),subtitle:Object(o.__)("This block will be hidden from your visitors until you connect to Stripe.","jetpack")})}),L=function(e){function t(){var e;s()(this,t),e=d()(this,m()(t).apply(this,arguments)),y()(b()(e),"componentDidMount",(function(){e.apiCall()})),y()(b()(e),"onError",(function(t){var n=e.props.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)})),y()(b()(e),"apiCall",(function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};E()(t).then((function(t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return e.setState({connected:null,connectURL:2}),void e.onError(Object.values(t.errors)[0][0]);var n=t.connect_url,r=t.products,a=t.should_upgrade_to_access_memberships,i=t.upgrade_url,o=t.site_slug,c=t.connected_account_id?1:2;e.setState({connected:c,connectURL:n,products:r,shouldUpgrade:a,upgradeURL:i,siteSlug:o})}),(function(t){e.setState({connected:2,connectURL:null}),e.onError(t.message)}))})),y()(b()(e),"getCurrencyList",V.map((function(e){var t=Object(x.a)(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(C.trimEnd)(t,"."))}}))),y()(b()(e),"handleCurrencyChange",(function(t){return e.setState({editedProductCurrency:t})})),y()(b()(e),"handleRenewIntervalChange",(function(t){return e.setState({editedProductRenewInterval:t})})),y()(b()(e),"handlePriceChange",(function(t){t=parseFloat(t),e.setState({editedProductPrice:t,editedProductPriceValid:!isNaN(t)&&t>=5})})),y()(b()(e),"handleTitleChange",(function(t){return e.setState({editedProductTitle:t,editedProductTitleValid:t.length>0})})),y()(b()(e),"saveProduct",(function(){if(e.state.editedProductTitle&&0!==e.state.editedProductTitle.length)if(!e.state.editedProductPrice||isNaN(e.state.editedProductPrice)||e.state.editedProductPrice<5)e.setState({editedProductPriceValid:!1});else{e.setState({addingMembershipAmount:2});var t={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:e.state.editedProductCurrency,price:e.state.editedProductPrice,title:e.state.editedProductTitle,interval:e.state.editedProductRenewInterval}};E()(t).then((function(t){e.setState({addingMembershipAmount:0,products:e.state.products.concat([{id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency}])}),e.setMembershipAmount(t.id)}),(function(t){e.setState({addingMembershipAmount:1}),e.onError(t.message)}))}else e.setState({editedProductTitleValid:!1})})),y()(b()(e),"renderAmount",(function(e){var t=Object(S.a)(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(o.sprintf)(Object(o.__)("%s / month","jetpack"),t):"1 year"===e.interval?Object(o.sprintf)(Object(o.__)("%s / year","jetpack"),t):"one-time"===e.interval?t:Object(o.sprintf)(Object(o.__)("%s / %s","jetpack"),t,e.interval)})),y()(b()(e),"renderAddMembershipAmount",(function(t){return 0!==e.state.addingMembershipAmount||t?2!==e.state.addingMembershipAmount?Object(a.createElement)("div",null,Object(a.createElement)("div",{className:"membership-button__price-container"},Object(a.createElement)(i.SelectControl,{className:"membership-button__field membership-button__field-currency",label:Object(o.__)("Currency","jetpack"),onChange:e.handleCurrencyChange,options:e.getCurrencyList,value:e.state.editedProductCurrency}),Object(a.createElement)(i.TextControl,{label:Object(o.__)("Price","jetpack"),className:k()({"membership-membership-button__field":!0,"membership-button__field-price":!0,"membership-button__field-error":!e.state.editedProductPriceValid}),onChange:e.handlePriceChange,placeholder:Object(S.a)(0,e.state.editedProductCurrency),required:!0,min:"5.00",step:"1",type:"number",value:e.state.editedProductPrice||""})),Object(a.createElement)(i.TextControl,{className:k()({"membership-button__field":!0,"membership-button__field-error":!e.state.editedProductTitleValid}),label:Object(o.__)("Describe your subscription in a few words","jetpack"),onChange:e.handleTitleChange,placeholder:Object(o.__)("Subscription description","jetpack"),value:e.state.editedProductTitle}),Object(a.createElement)(i.SelectControl,{label:Object(o.__)("Renew interval","jetpack"),onChange:e.handleRenewIntervalChange,options:[{label:Object(o.__)("Monthly","jetpack"),value:"1 month"},{label:Object(o.__)("Yearly","jetpack"),value:"1 year"}],value:e.state.editedProductRenewInterval}),Object(a.createElement)("div",null,Object(a.createElement)(i.Button,{isPrimary:!0,isLarge:!0,className:"membership-button__field-button membership-button__add-amount",onClick:e.saveProduct},Object(o.__)("Add this plan","jetpack")),Object(a.createElement)(i.Button,{isLarge:!0,className:"membership-button__field-button",onClick:function(){return e.setState({addingMembershipAmount:0})}},Object(o.__)("Cancel","jetpack")))):void 0:Object(a.createElement)(i.Button,{isPrimary:!0,isLarge:!0,onClick:function(){return e.setState({addingMembershipAmount:1})}},Object(o.__)("Add a plan","jetpack"))})),y()(b()(e),"getFormattedPriceByProductId",(function(t){var n=e.state.products.filter((function(e){return parseInt(e.id)===parseInt(t)})).pop();return Object(S.a)(parseFloat(n.price),n.currency)})),y()(b()(e),"setMembershipAmount",(function(t){return e.props.setAttributes({planId:t,submitButtonText:e.getFormattedPriceByProductId(t)+Object(o.__)(" Contribution","jetpack")})})),y()(b()(e),"renderMembershipAmounts",(function(){return Object(a.createElement)("div",null,e.state.products.map((function(t){return Object(a.createElement)(i.Button,{className:"membership-button__field-button",isLarge:!0,key:t.id,onClick:function(){return e.setMembershipAmount(t.id)}},e.renderAmount(t))})))})),y()(b()(e),"renderDisclaimer",(function(){return Object(a.createElement)("div",{className:"membership-button__disclaimer"},Object(a.createElement)(i.ExternalLink,{href:"https://en.support.wordpress.com/recurring-payments-button/#related-fees"},Object(o.__)("Read more about Recurring Payments and related fees.","jetpack")))})),y()(b()(e),"render",(function(){var t=e.props,n=t.attributes,r=t.className,c=t.notices,s=e.state,l=s.connected,u=s.products,p=n.align,d=e.getConnectUrl(),h=Object(a.createElement)(T.InspectorControls,null,Object(a.createElement)(i.PanelBody,{title:Object(o.__)("Product","jetpack")},Object(a.createElement)(i.SelectControl,{label:Object(o.__)("Payment plan","jetpack"),value:e.props.attributes.planId,onChange:e.setMembershipAmount,options:e.state.products.map((function(t){return{label:e.renderAmount(t),value:t.id,key:t.id}}))})),Object(a.createElement)(i.PanelBody,{title:Object(o.__)("Management","jetpack")},Object(a.createElement)(i.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(e.state.siteSlug)},Object(o.__)("See your earnings, subscriber list, and products.","jetpack")))),m=k()(r,["wp-block-button__link","components-button","is-primary","is-button","align".concat(p)]),f=Object(a.createElement)(O.a,{className:m,submitButtonText:e.props.attributes.submitButtonText,attributes:e.props.attributes,setAttributes:e.props.setAttributes});return Object(a.createElement)(a.Fragment,null,e.props.noticeUI,!e.hasUpgradeNudge&&!e.state.shouldUpgrade&&2===l&&Object(a.createElement)(I,{blockName:"recurring-payments",stripeConnectUrl:d}),!e.hasUpgradeNudge&&e.state.shouldUpgrade&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c,instructions:Object(o.__)("You'll need to upgrade your plan to use the Recurring Payments button.","jetpack")},Object(a.createElement)(i.Button,{isSecondary:!0,isLarge:!0,href:e.state.upgradeURL,target:"_blank"},Object(o.__)("Upgrade Your Plan","jetpack")),e.renderDisclaimer())),(0===l||2===e.state.addingMembershipAmount)&&!e.props.attributes.planId&&Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),notices:c},Object(a.createElement)(i.Spinner,null)),!e.state.shouldUpgrade&&!e.props.attributes.planId&&1===l&&0===u.length&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(a.createElement)("div",{className:"components-placeholder__instructions"},Object(a.createElement)("p",null,Object(o.__)("To use this block, first add at least one payment plan.","jetpack")),e.renderAddMembershipAmount(!0),e.renderDisclaimer()))),!e.state.shouldUpgrade&&!e.props.attributes.planId&&2!==e.state.addingMembershipAmount&&1===l&&u.length>0&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments"},Object(a.createElement)(i.Placeholder,{icon:Object(a.createElement)(T.BlockIcon,{icon:q}),label:Object(o.__)("Recurring Payments","jetpack"),notices:c},Object(a.createElement)("div",{className:"components-placeholder__instructions"},Object(a.createElement)("p",null,Object(o.__)("To use this block, select a previously created payment plan.","jetpack")),e.renderMembershipAmounts(),Object(a.createElement)("p",null,Object(o.__)("Or a new one.","jetpack")),e.renderAddMembershipAmount(!1),e.renderDisclaimer()))),e.state.products&&h,((e.hasUpgradeNudge||!e.state.shouldUpgrade)&&0!==l||e.props.attributes.planId)&&f,e.hasUpgradeNudge&&2===l&&Object(a.createElement)("div",{className:"wp-block-jetpack-recurring-payments disclaimer-only"},e.renderDisclaimer()))})),e.state={connected:0,connectURL:null,addingMembershipAmount:0,shouldUpgrade:!1,upgradeURL:"",products:[],siteSlug:"",editedProductCurrency:"USD",editedProductPrice:5,editedProductPriceValid:!0,editedProductTitle:"",editedProductTitleValid:!0,editedProductRenewInterval:"1 month"},e.timeout=null;var n=Object(M.a)("recurring-payments");return e.hasUpgradeNudge=!n.available&&"missing_plan"===n.unavailableReason,e}return v()(t,e),u()(t,[{key:"getConnectUrl",value:function(){var e,t=this.props.postId,n=this.state.connectURL;if(!Object(A.isURL)(n))return null;if(!t)return n;try{var r=Object(A.getQueryArg)(n,"state");e=JSON.parse(atob(r))}catch(a){return n}return e.from_editor_post_id=t,Object(A.addQueryArgs)(n,{state:btoa(JSON.stringify(e))})}}]),t}(a.Component),B=Object(F.compose)([Object(P.withSelect)((function(e){return{postId:e("core/editor").getCurrentPostId()}})),i.withNotices])(L),q=(n(226),Object(a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},Object(a.createElement)(i.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(a.createElement)(i.G,null,Object(a.createElement)(i.Path,{d:"M20 4H4c-1.105 0-2 .895-2 2v12c0 1.105.895 2 2 2h16c1.105 0 2-.895 2-2V6c0-1.105-.895-2-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))),U={title:Object(o.__)("Recurring Payments button","jetpack"),icon:q,description:Object(o.__)("Button allowing you to sell subscription products.","jetpack"),category:"jetpack",keywords:[Object(o._x)("sell","block search term","jetpack"),Object(o._x)("subscription","block search term","jetpack"),"stripe"],attributes:{planId:{type:"integer"},submitButtonText:{type:"string"},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},align:{type:"string"}},edit:B,save:function(){return null},supports:{html:!1,align:!0}},V=["USD","AUD","BRL","CAD","CHF","DKK","EUR","GBP","HKD","JPY","MXN","NOK","NZD","SEK","SGD"];Object(r.a)("recurring-payments",U)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(5),c=n(2),s=n(7),l=n.n(s),u=n(11),p=n.n(u),d=n(8),h=n.n(d),m=n(9),f=n.n(m),b=n(4),g=n.n(b),v=n(10),j=n.n(v),y=n(3),_=n.n(y),k=n(23),O=n.n(k),w=n(32),E=function(e){function t(){var e,n;l()(this,t);for(var r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return n=h()(this,(e=f()(t)).call.apply(e,[this].concat(a))),_()(g()(n),"state",{subscriberCountString:""}),n}return j()(t,e),p()(t,[{key:"componentDidMount",value:function(){this.get_subscriber_count()}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,r=e.isSelected,o=e.setAttributes,s=t.subscribePlaceholder,l=t.showSubscribersTotal;return r?Object(a.createElement)("div",{className:n,role:"form"},Object(a.createElement)(c.ToggleControl,{label:Object(i.__)("Show total subscribers","jetpack"),checked:l,onChange:function(){o({showSubscribersTotal:!l})}}),Object(a.createElement)(c.TextControl,{placeholder:s,disabled:!0,onChange:function(){}}),Object(a.createElement)(w.a,this.props)):Object(a.createElement)("div",{className:n,role:"form"},l&&Object(a.createElement)("p",{role:"heading"},this.state.subscriberCountString),Object(a.createElement)(c.TextControl,{placeholder:s}),Object(a.createElement)(w.a,this.props))}},{key:"get_subscriber_count",value:function(){var e=this;O()({path:"/wpcom/v2/subscribers/count"}).then((function(t){t.hasOwnProperty("count")?e.setState({subscriberCountString:Object(i.sprintf)(Object(i._n)("Join %s other subscriber","Join %s other subscribers",t.count,"jetpack"),t.count)}):e.setState({subscriberCountString:Object(i.__)("Subscriber count unavailable","jetpack")})}))}},{key:"onChangeSubmit",value:function(e){this.props.setAttributes({submitButtonText:e})}}]),t}(a.Component);var C=n(20),x={title:Object(i.__)("Subscription Form","jetpack"),description:Object(a.createElement)("p",null,Object(i.__)("A form enabling readers to get notifications when new posts are published from this site.","jetpack")),icon:Object(C.a)(Object(a.createElement)(c.Path,{d:"M23 16v2h-3v3h-2v-3h-3v-2h3v-3h2v3h3zM20 2v9h-4v3h-3v4H4c-1.1 0-2-.9-2-2V2h18zM8 13v-1H4v1h4zm3-3H4v1h7v-1zm0-2H4v1h7V8zm7-4H4v2h14V4z"})),category:"jetpack",keywords:[Object(i._x)("subscribe","block search term","jetpack"),Object(i._x)("join","block search term","jetpack"),Object(i._x)("follow","block search term","jetpack")],attributes:{subscribePlaceholder:{type:"string",default:Object(i.__)("Email Address","jetpack")},subscribeButton:{type:"string",default:Object(i.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1},submitButtonText:{type:"string",default:Object(i.__)("Subscribe","jetpack")},customBackgroundButtonColor:{type:"string"},customTextButtonColor:{type:"string"},submitButtonClasses:{type:"string"}},edit:E,save:function(e){var t=e.attributes,n=t.showSubscribersTotal,r=t.submitButtonClasses,i=t.customBackgroundButtonColor,o=t.customTextButtonColor,c=t.submitButtonText;return Object(a.createElement)(a.RawHTML,null,'[jetpack_subscription_form show_only_email_and_button="true" custom_background_button_color="'.concat(i,'" custom_text_button_color="').concat(o,'" submit_button_text="').concat(c,'" submit_button_classes="').concat(r,'" show_subscribers_total="').concat(n,'" ]'))},example:{attributes:{}},deprecated:[{attributes:{subscribeButton:{type:"string",default:Object(i.__)("Subscribe","jetpack")},showSubscribersTotal:{type:"boolean",default:!1}},migrate:function(e){return{subscribeButton:"",submitButtonText:e.subscribeButton,showSubscribersTotal:e.showSubscribersTotal,customBackgroundButtonColor:"",customTextButtonColor:"",submitButtonClasses:""}},isEligible:function(e){return!!Object(o.isEmpty)(e.subscribeButton)},save:function(e){var t=e.attributes;return Object(a.createElement)(a.RawHTML,null,'[jetpack_subscription_form show_subscribers_total="'.concat(t.showSubscribersTotal,'" show_only_email_and_button="true"]'))}}]};Object(r.a)("subscriptions",x)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(14),c=n(28),s=n(13),l=n(60),u=Object(s.withSelect)((function(e){return{areLikesEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_likes_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),d={render:Object(o.compose)([u,p])((function(e){var t=e.areLikesEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-post-likes"},Object(r.createElement)(l.a,null,Object(r.createElement)(i.CheckboxControl,{label:Object(a.__)("Show likes.","jetpack"),checked:t,onChange:function(e){n({jetpack_likes_enabled:e})}})))}))},h=n(37);Object(h.a)("likes",d)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(10),b=n.n(f),g=n(6),v=n(5),j=n(13),y=n(14);function _(e){return Object(a.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(a.createElement)("strong",{id:e.id+"-heading",className:"jp-related-posts-i2__post-link"},Object(i.__)("Preview unavailable: you haven't published enough posts with similar content.","jetpack")),e.displayThumbnails&&Object(a.createElement)("figure",{className:"jp-related-posts-i2__post-image-placeholder","aria-label":Object(i.__)("Placeholder image","jetpack")},Object(a.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-square",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 350 200"},Object(a.createElement)("title",null,Object(i.__)("Grey square","jetpack")),Object(a.createElement)(o.Path,{d:"M0 0h350v200H0z",fill:"#8B8B96","fill-opacity":".1"})),Object(a.createElement)(o.SVG,{className:"jp-related-posts-i2__post-image-placeholder-icon",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)("title",null,Object(i.__)("Icon for image","jetpack")),Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"}))),e.displayDate&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},Object(i.__)("August 3, 2018","jetpack")),e.displayContext&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},Object(i.__)("In “Uncategorized”","jetpack")))}function k(e){return Object(a.createElement)("div",{className:"jp-related-posts-i2__post",id:e.id,"aria-labelledby":e.id+"-heading"},Object(a.createElement)("a",{className:"jp-related-posts-i2__post-link",id:e.id+"-heading",href:e.post.url,rel:"nofollow noopener noreferrer",target:"_blank"},e.post.title),e.displayThumbnails&&e.post.img&&e.post.img.src&&Object(a.createElement)("a",{className:"jp-related-posts-i2__post-img-link",href:e.post.url},Object(a.createElement)("img",{className:"jp-related-posts-i2__post-img",src:e.post.img.src,alt:e.post.title,rel:"nofollow noopener noreferrer",target:"_blank"})),e.displayDate&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-date has-small-font-size"},e.post.date),e.displayContext&&Object(a.createElement)("div",{className:"jp-related-posts-i2__post-context has-small-font-size"},e.post.context))}function O(e){var t=0,n=e.posts.length>3;switch(e.posts.length){case 2:case 4:case 5:t=2;break;default:t=3}return Object(a.createElement)("div",null,Object(a.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(0,t).length},e.posts.slice(0,t)),n&&Object(a.createElement)("div",{className:"jp-related-posts-i2__row","data-post-count":e.posts.slice(t).length},e.posts.slice(t)))}var w=function(e){function t(){return s()(this,t),d()(this,m()(t).apply(this,arguments))}return b()(t,e),u()(t,[{key:"render",value:function(){for(var e=this.props,t=e.attributes,n=e.className,r=e.posts,c=e.setAttributes,s=e.instanceId,l=t.displayContext,u=t.displayDate,p=t.displayThumbnails,d=t.postLayout,h=t.postsToShow,m=[{icon:"grid-view",title:Object(i.__)("Grid View","jetpack"),onClick:function(){return c({postLayout:"grid"})},isActive:"grid"===d},{icon:"list-view",title:Object(i.__)("List View","jetpack"),onClick:function(){return c({postLayout:"list"})},isActive:"list"===d}],f=[],b=0;b<h;b++)r[b]?f.push(Object(a.createElement)(k,{id:"related-posts-".concat(s,"-post-").concat(b),key:"jp-relatedposts-i2-"+b,post:r[b],displayThumbnails:p,displayDate:u,displayContext:l})):f.push(Object(a.createElement)(_,{id:"related-posts-".concat(s,"-post-").concat(b),key:"related-post-placeholder-"+b,displayThumbnails:p,displayDate:u,displayContext:l}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(g.InspectorControls,null,Object(a.createElement)(o.PanelBody,{title:Object(i.__)("Related Posts Settings","jetpack")},Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display thumbnails","jetpack"),checked:p,onChange:function(e){return c({displayThumbnails:e})}}),Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display date","jetpack"),checked:u,onChange:function(e){return c({displayDate:e})}}),Object(a.createElement)(o.ToggleControl,{label:Object(i.__)("Display context (category or tag)","jetpack"),checked:l,onChange:function(e){return c({displayContext:e})}}),Object(a.createElement)(o.RangeControl,{label:Object(i.__)("Number of posts","jetpack"),value:h,onChange:function(e){return c({postsToShow:Math.min(e,6)})},min:1,max:6}))),Object(a.createElement)(g.BlockControls,null,Object(a.createElement)(o.Toolbar,{controls:m})),Object(a.createElement)("div",{className:n,id:"related-posts-".concat(s)},Object(a.createElement)("div",{className:"jp-relatedposts-i2","data-layout":d},Object(a.createElement)(O,{posts:f}))))}}]),t}(a.Component),E=Object(y.compose)(y.withInstanceId,Object(j.withSelect)((function(e){var t=e("core/editor").getCurrentPost;return{posts:Object(v.get)(t(),"jetpack-related-posts",[])}})))(w),C=(n(227),{title:Object(i.__)("Related Posts","jetpack"),icon:Object(a.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(o.G,{stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"},Object(a.createElement)(o.Path,{d:"M4,4 L4,19 M4,4 L19,4 M4,9 L19,9 M4,14 L19,14 M4,19 L19,19 M9,4 L9,19 M19,4 L19,19"}))),category:"jetpack",keywords:[Object(i._x)("Similar content","block search term","jetpack"),Object(i._x)("Linked","block search term","jetpack"),Object(i._x)("Connected","block search term","jetpack")],attributes:{postLayout:{type:"string",default:"grid"},displayDate:{type:"boolean",default:!0},displayThumbnails:{type:"boolean",default:!1},displayContext:{type:"boolean",default:!1},postsToShow:{type:"number",default:3}},supports:{html:!1,multiple:!1,reusable:!1},transforms:{from:[{type:"shortcode",tag:"jetpack-related-posts"}]},edit:E,save:function(){return null},example:{attributes:{postLayout:"grid",displayDate:!0,displayThumbnails:!0,displayContext:!1,postsToShow:2}}});Object(r.a)("related-posts",C)},function(e,t,n){"use strict";n.r(t);var r=n(17),a=n(0),i=n(1),o=n(2),c=n(7),s=n.n(c),l=n(11),u=n.n(l),p=n(8),d=n.n(p),h=n(9),m=n.n(h),f=n(4),b=n.n(f),g=n(10),v=n.n(g),j=n(3),y=n.n(j),_=n(12),k=n.n(_),O=n(6),w="t1PkR1Vq0mzHueIFBvZSZErgFs9NBmYW",E=Object(i.__)("Search for a term or paste a Giphy URL","jetpack"),C=function(e){function t(){var e,n;s()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=d()(this,(e=m()(t)).call.apply(e,[this].concat(i))),y()(b()(n),"textControlRef",Object(a.createRef)()),y()(b()(n),"state",{captionFocus:!1,results:null}),y()(b()(n),"onFormSubmit",(function(e){e.preventDefault(),n.onSubmit()})),y()(b()(n),"onSubmit",(function(){var e=n.props.attributes.searchText;n.parseSearch(e)})),y()(b()(n),"parseSearch",(function(e){var t=null;-1!==e.indexOf("//giphy.com/gifs")&&(t=n.splitAndLast(n.splitAndLast(e,"/"),"-")),-1!==e.indexOf("//i.giphy.com")&&(t=n.splitAndLast(e,"/").replace(".gif",""));var r=e.match(/http[s]?:\/\/media.giphy.com\/media\/([A-Za-z0-9\-.]+)\/giphy.gif/);return r&&(t=r[1]),t?n.fetch(n.urlForId(t)):n.fetch(n.urlForSearch(e))})),y()(b()(n),"urlForSearch",(function(e){return"https://api.giphy.com/v1/gifs/search?q=".concat(encodeURIComponent(e),"&api_key=").concat(encodeURIComponent(w),"&limit=10")})),y()(b()(n),"urlForId",(function(e){return"https://api.giphy.com/v1/gifs/".concat(encodeURIComponent(e),"?api_key=").concat(encodeURIComponent(w))})),y()(b()(n),"splitAndLast",(function(e,t){var n=e.split(t);return n[n.length-1]})),y()(b()(n),"fetch",(function(e){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){if(200===t.status){var e=JSON.parse(t.responseText),r=void 0!==e.data.images?[e.data]:e.data,a=r[0];if(!a.images)return;n.setState({results:r},(function(){n.selectGiphy(a)}))}},t.send()})),y()(b()(n),"selectGiphy",(function(e){var t=n.props.setAttributes,r=Math.floor(e.images.original.height/e.images.original.width*100),a="".concat(r,"%");t({giphyUrl:e.embed_url,paddingTop:a})})),y()(b()(n),"setFocus",(function(){n.textControlRef.current.querySelector("input").focus(),n.setState({captionFocus:!1})})),y()(b()(n),"hasSearchText",(function(){var e=n.props.attributes.searchText;return e&&e.length>0})),y()(b()(n),"thumbnailClicked",(function(e){n.selectGiphy(e)})),n}return v()(t,e),u()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.className,c=t.isSelected,s=t.setAttributes,l=n.align,u=n.caption,p=n.giphyUrl,d=n.searchText,h=n.paddingTop,m=this.state,f=m.captionFocus,b=m.results,g={paddingTop:h},v=k()(r,"align".concat(l)),j=Object(a.createElement)("form",{className:"wp-block-jetpack-gif_input-container",onSubmit:this.onFormSubmit,ref:this.textControlRef},Object(a.createElement)(o.TextControl,{className:"wp-block-jetpack-gif_input",label:E,placeholder:E,onChange:function(e){return s({searchText:e})},value:d}),Object(a.createElement)(o.Button,{isDefault:!0,onClick:this.onSubmit},Object(i.__)("Search","jetpack")));return Object(a.createElement)("div",{className:v},Object(a.createElement)(O.InspectorControls,null,Object(a.createElement)(o.PanelBody,{className:"components-panel__body-gif-branding"},Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 202 22"},Object(a.createElement)(o.Path,{d:"M4.6 5.9H0v10h1.6v-3.1h3c4.8 0 4.8-6.9 0-6.9zm0 5.4h-3v-4h3c2.6.1 2.6 4 0 4zM51.2 12.3c2-.3 2.7-1.7 2.7-3.1 0-1.7-1.2-3.3-3.5-3.3h-4.6v10h1.6v-3.4h2.1l3 3.4h1.9l-.2-.3-3-3.3zM47.4 11V7.4h3c1.3 0 1.9.9 1.9 1.8s-.6 1.8-1.9 1.8h-3zM30.6 13.6L28 5.9h-1.1l-2.5 7.7-2.6-7.7H20l3.7 10H25l1.4-3.5L27.5 9l1.1 3.4 1.3 3.5h1.4l3.5-10h-1.7z"}),Object(a.createElement)(o.Path,{d:"M14.4 5.7c-3 0-5.1 2.2-5.1 5.2 0 2.6 1.6 5.1 5.1 5.1 3.5 0 5.1-2.5 5.1-5.2-.1-2.6-1.7-5.1-5.1-5.1zm-.1 8.9c-2.5 0-3.5-1.9-3.5-3.7 0-2.2 1.2-3.8 3.5-3.8 2.4 0 3.5 2 3.5 3.8.1 2-1 3.7-3.5 3.7zM57.7 11.6h5.5v-1.5h-5.5V7.4h5.7V5.9h-7.3v10h7.3v-1.6h-5.7zM38 14.3v-2.7h5.5v-1.5H38V7.4h5.7V5.9h-7.3v10h7.3v-1.6zM93 10.3l-2.7-4.4h-1.9V6l3.8 5.8v4.1h1.6v-4.1l4-5.8v-.1h-2zM69.3 5.9h-3.8v10h3.8c3.5 0 5.1-2.5 5-5.1-.1-2.5-1.6-4.9-5-4.9zm0 8.4h-2.2V7.4h2.2c2.3 0 3.4 1.7 3.4 3.4s-1 3.5-3.4 3.5zM86.3 10.7c.9-.4 1.4-1.1 1.4-2 0-2-1.5-2.8-3.4-2.8h-4.6v10h4.6c2 0 3.7-.7 3.7-2.8 0-.8-.5-2-1.7-2.4zm-5-3.4h3c1.2 0 1.8.7 1.8 1.4 0 .8-.6 1.3-1.8 1.3h-3V7.3zm3 7.1h-3v-2.9h3c.9 0 2.1.5 2.1 1.6 0 1-1.2 1.3-2.1 1.3zM113.9 13.3h5.3V16c-1.2.9-2.9 1.1-4 1.1-4.2 0-5.6-3.3-5.6-6 0-4.1 2.2-6.1 5.6-6.1 1.4 0 3.2.4 4.8 1.8l3.4-3.4C120.7.6 118.1 0 115.2 0c-7.8 0-11.4 5.6-11.4 11s3.1 10.9 11.4 10.9c4 0 7.6-1.4 8.9-4.1V8.6h-10.2v4.7zM171.9 8.5h-7.4V.6h-5.9v20.8h5.9v-7.8h7.4v7.8h5.9V.6h-5.9zM195.1.6l-4.5 7.1-4.3-7.1h-6.6v.2l7.9 12.3v8.3h5.9v-8.3L201.8.9V.6zM127.4.6h5.9v20.8h-5.9zM147.6.6h-10.1v20.8h5.9v-5.6h4.2c5.6-.1 8.3-3.4 8.3-7.6.1-4.1-2.7-7.6-8.3-7.6zm0 10.2h-4.2V5.6h4.2c1.6 0 2.5 1.2 2.5 2.6 0 1.4-.9 2.6-2.5 2.6z"})))),p?Object(a.createElement)("figure",null,c&&j,c&&b&&b.length>1&&Object(a.createElement)("div",{className:"wp-block-jetpack-gif_thumbnails-container"},b.map((function(t){var n={backgroundImage:"url(".concat(t.images.downsized_still.url,")")};return Object(a.createElement)("button",{className:"wp-block-jetpack-gif_thumbnail-container",key:t.id,onClick:function(){e.thumbnailClicked(t)},style:n})}))),Object(a.createElement)("div",{className:"wp-block-jetpack-gif-wrapper",style:g},Object(a.createElement)("div",{className:"wp-block-jetpack-gif_cover",onClick:this.setFocus,onKeyDown:this.setFocus,role:"button",tabIndex:"0"}),Object(a.createElement)("iframe",{src:p,title:d})),(!O.RichText.isEmpty(u)||c)&&!!p&&Object(a.createElement)(O.RichText,{className:"wp-block-jetpack-gif-caption gallery-caption",inlineToolbar:!0,isSelected:f,unstableOnFocus:function(){e.setState({captionFocus:!0})},onChange:function(e){return s({caption:e})},placeholder:Object(i.__)("Write caption…","jetpack"),tagName:"figcaption",value:u})):Object(a.createElement)(o.Placeholder,{className:"wp-block-jetpack-gif_placeholder",icon:S,label:x},j))}}]),t}(a.Component),x=(n(130),n(154),Object(i.__)("GIF","jetpack")),S=Object(a.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(a.createElement)(o.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(a.createElement)(o.Path,{d:"M18 13v7H4V6h5.02c.05-.71.22-1.38.48-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-5l-2-2zm-1.5 5h-11l2.75-3.53 1.96 2.36 2.75-3.54L16.5 18zm2.8-9.11c.44-.7.7-1.51.7-2.39C20 4.01 17.99 2 15.5 2S11 4.01 11 6.5s2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21 13.42 22.42 12 19.3 8.89zM15.5 9C14.12 9 13 7.88 13 6.5S14.12 4 15.5 4 18 5.12 18 6.5 16.88 9 15.5 9z"})),A={title:x,icon:S,category:"jetpack",keywords:[Object(i._x)("animated","block search term","jetpack"),Object(i._x)("giphy","block search term","jetpack"),Object(i._x)("image","block search term","jetpack")],description:Object(i.__)("Search for and insert an animated image.","jetpack"),attributes:{align:{type:"string",default:"center"},caption:{type:"string"},giphyUrl:{type:"string"},searchText:{type:"string"},paddingTop:{type:"string",default:"56.2%"}},supports:{html:!1,align:!0},edit:C,save:function(){return null},example:{attributes:{align:"center",giphyUrl:"https://giphy.com/embed/fxKWgoOG9hzPPkE1oc",paddingTop:"100%",searchText:"WordPress"}}};Object(r.a)("gif",A)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n(1),i=n(2),o=n(14),c=n(28),s=n(13),l=n(60),u=Object(s.withSelect)((function(e){return{isSharingEnabled:(0,e("core/editor").getEditedPostAttribute)("jetpack_sharing_enabled")}})),p=Object(s.withDispatch)((function(e){return{editPost:e("core/editor").editPost}})),d={render:Object(o.compose)([u,p])((function(e){var t=e.isSharingEnabled,n=e.editPost;return Object(r.createElement)(c.PostTypeSupportCheck,{supportKeys:"jetpack-sharing-buttons"},Object(r.createElement)(l.a,null,Object(r.createElement)(i.CheckboxControl,{label:Object(a.__)("Show sharing buttons.","jetpack"),checked:t,onChange:function(e){n({jetpack_sharing_enabled:e})}})))}))},h=n(37);Object(h.a)("sharing",d)},function(e,t,n){"use strict";n.r(t);var r=n(7),a=n.n(r),i=n(11),o=n.n(i),c=n(8),s=n.n(c),l=n(9),u=n.n(l),p=n(10),d=n.n(p),h=n(0),m=n(1),f=n(5),b=n(2),g=n(13),v=n(4),j=n.n(v),y=n(3),_=n.n(y),k=(n(229),function(e){function t(){var e,n;a()(this,t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return n=s()(this,(e=u()(t)).call.apply(e,[this].concat(i))),_()(j()(n),"state",{hasCopied:!1}),_()(j()(n),"onCopy",(function(){return n.setState({hasCopied:!0})})),_()(j()(n),"onFinishCopy",(function(){return n.setState({hasCopied:!1})})),_()(j()(n),"onFocus",(function(e){return e.target.select()})),n}return d()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.link,t=this.state.hasCopied;return e?Object(h.createElement)("div",{className:"jetpack-clipboard-input"},Object(h.createElement)(b.TextControl,{readOnly:!0,onFocus:this.onFocus,value:e}),Object(h.createElement)(b.ClipboardButton,{isDefault:!0,onCopy:this.onCopy,onFinishCopy:this.onFinishCopy,text:e},t?Object(m.__)("Copied!","jetpack"):Object(m._x)("Copy","verb","jetpack"))):null}}]),t}(h.Component)),O=n(44),w={render:function(){return Object(h.createElement)(C,null)}},E=function(e){function t(){return a()(this,t),s()(this,u()(t).apply(this,arguments))}return d()(t,e),o()(t,[{key:"render",value:function(){var e=this.props.shortlink;return e?Object(h.createElement)(O.a,null,Object(h.createElement)(b.PanelBody,{title:Object(m.__)("Shortlink","jetpack"),className:"jetpack-shortlinks__panel"},Object(h.createElement)(k,{link:e}))):null}}]),t}(h.Component),C=Object(g.withSelect)((function(e){var t=e("core/editor").getCurrentPost();return{shortlink:Object(f.get)(t,"jetpack_shortlink","")}}))(E),x=n(37);Object(x.a)("shortlinks",w)},,,function(e,t,n){n(255),n(254),n(250),n(244),n(242),n(249),n(263),n(261),n(258),n(243),n(252),n(248),n(256),n(241),n(251),n(259),n(262),n(257),n(264),n(265),n(245),n(247),n(260),n(240),n(246),e.exports=n(253)}]));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/editor.rtl.css b/plugins/jetpack/_inc/blocks/editor.rtl.css index c9147096..b5503efe 100644 --- a/plugins/jetpack/_inc/blocks/editor.rtl.css +++ b/plugins/jetpack/_inc/blocks/editor.rtl.css @@ -1 +1 @@ -.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-left:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{width:100%;margin:-18px 0 28px}.jetpack-contact-form .components-placeholder .components-base-control{margin-bottom:16px;width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;margin:0 auto;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-button{margin-top:1px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-components-text-control-api-key{margin-left:4px}.wp-block-jetpack-map-components-text-control-api-key.components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-map-components-text-control-api-key-submit.is-large{height:31px}.wp-block-jetpack-map-components-text-control-api-key-submit:disabled{opacity:1}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 9px 5px 10px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.wp-block-jetpack-recurring-payments .components-button{display:inline-block;margin-bottom:20px}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .components-placeholder__instructions{margin-bottom:0}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 5% 0 0;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-right:-10px;margin-left:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{width:5em;text-align:center}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;margin:0;transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}
\ No newline at end of file +.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit>*{pointer-events:auto;-webkit-user-select:auto;-ms-user-select:auto;user-select:auto}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-interactive .block-editor-block-list__block-edit:after{content:none}.jetpack-block-nudge.editor-warning{margin-bottom:0}.jetpack-block-nudge .editor-warning__message{margin:13px 0}.jetpack-block-nudge .editor-warning__actions{line-height:1}.jetpack-block-nudge .jetpack-block-nudge__info{font-size:13px;display:flex;flex-direction:row;line-height:1.4}.jetpack-block-nudge .jetpack-block-nudge__text-container{display:flex;flex-direction:column}.jetpack-block-nudge .jetpack-block-nudge__title{font-size:14px}.jetpack-block-nudge .jetpack-block-nudge__message{color:#636d75}.jetpack-upgrade-nudge__icon{align-self:center;background:#d6b02c;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.wp-block-jetpack-business-hours{overflow:hidden}@media (min-width:480px){.wp-block-jetpack-business-hours dd,.wp-block-jetpack-business-hours dt{display:inline-block}}.wp-block-jetpack-business-hours dt{min-width:30%;vertical-align:top}.wp-block-jetpack-business-hours dd{margin:0}@media (min-width:480px){.wp-block-jetpack-business-hours dd{max-width:calc(70% - .5em)}}.wp-block-jetpack-business-hours .jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-business-hours .business-hours__row{display:flex}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__closed{margin-bottom:20px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:44%;display:flex;align-items:baseline}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .business-hours__day-name{width:60%;font-weight:700;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day .components-form-toggle{margin-left:4px}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:44%;margin:0;display:flex;align-items:center;flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control{display:inline-block;margin-bottom:0;width:48%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control.business-hours__open{margin-left:4%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours .components-base-control .components-base-control__label{margin-bottom:0}.wp-block-jetpack-business-hours .business-hours__remove{align-self:flex-end;margin-bottom:8px;text-align:center;width:10%}.wp-block-jetpack-business-hours .business-hours-row__add button:hover{box-shadow:none!important}.wp-block-jetpack-business-hours .business-hours__remove button{display:block;margin:0 auto}.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours-row__add .components-button.is-default:hover,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:active,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:focus,.wp-block-jetpack-business-hours .business-hours__remove .components-button.is-default:hover{background:none;box-shadow:none}@media (max-width:1080px){.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.is-sidebar-opened .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}@media (max-width:600px){.wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row{flex-wrap:wrap}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__day,.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row.business-hours-row__add .business-hours__remove{display:none}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__day{width:100%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__hours{width:78%}.wp-block-columns .wp-block-jetpack-business-hours .business-hours__row .business-hours__remove{width:18%}@media (min-width:480px){.jetpack-business-hours dd,.jetpack-business-hours dt{display:inline-block}}.jetpack-business-hours dt{font-weight:700;margin-left:.5em;min-width:30%;vertical-align:top}.jetpack-business-hours dd{margin:0}@media (min-width:480px){.jetpack-business-hours dd{max-width:calc(70% - .5em)}}.jetpack-business-hours__item{margin-bottom:.5em}.wp-block-jetpack-calendly-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-calendly-link-editable{cursor:text}.wp-block-jetpack-calendly-embed-form-sidebar{display:flex;margin-bottom:1em}.wp-block-jetpack-calendly-learn-more{margin-top:1em}.wp-block-jetpack-calendly-color-notice{margin:0}.is-calendly .is-active{font-weight:700}.jetpack-contact-form .components-placeholder{padding:24px}.jetpack-contact-form .components-placeholder input[type=text]{width:100%;outline-width:0;outline-style:none;line-height:16px}.jetpack-contact-form .components-placeholder .components-placeholder__label svg{margin-left:1ch}.jetpack-contact-form .components-placeholder .components-placeholder__fieldset,.jetpack-contact-form .components-placeholder .help-message{text-align:right}.jetpack-contact-form .components-placeholder .help-message{color:#8d96a0;width:100%;margin:0 0 1em}.jetpack-contact-form .components-placeholder .components-base-control{width:100%}.jetpack-contact-form__intro-message{margin:0 0 16px}.jetpack-contact-form__create,.jetpack-contact-form__thankyou-redirect-url input[type=text]{width:100%}.jetpack-contact-form__thankyou-redirect-url__suggestions{width:260px}.jetpack-field-label{display:flex;flex-direction:row}.jetpack-field-label .components-base-control{margin-top:-1px;margin-bottom:-3px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-form-toggle{margin:2px 16px 0 8px}.jetpack-field-label .components-base-control.jetpack-field-label__required .components-toggle-control__label{word-break:normal}.jetpack-field-label .required{color:#eb0001;word-break:normal}.jetpack-field-label .components-toggle-control .components-base-control__field{margin-bottom:0}.jetpack-field-label__input{flex-grow:1;min-height:unset;padding:0}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input{border-color:#fff;border-radius:0;font-weight:600;margin:0 0 2px;padding:0;width:auto;background:transparent}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:hover{border-color:#357cb5}.jetpack-field-label__input.jetpack-field-label__input.jetpack-field-label__input:focus{border:1px solid #e3e5e8;padding:2px 4px;box-shadow:none;background:#fff}input.components-text-control__input{line-height:16px}.jetpack-field .components-text-control__input.components-text-control__input{width:100%}.jetpack-field .components-text-control__input,.jetpack-field .components-textarea-control__input{color:#72777c;padding:10px 8px}.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox.jetpack-field-checkbox__checkbox{float:right}.jetpack-field-multiple__list.jetpack-field-multiple__list{list-style-type:none;margin:0}.jetpack-field-multiple__list.jetpack-field-multiple__list:empty{display:none}[data-type="jetpack/field-select"] .jetpack-field-multiple__list.jetpack-field-multiple__list{border:1px solid #8d96a0;border-radius:4px;padding:4px}.jetpack-option{display:flex;align-items:center;margin:0}.jetpack-option__type.jetpack-option__type{margin-top:0}.jetpack-option__input.jetpack-option__input.jetpack-option__input{border-color:transparent;background:transparent;border-radius:0;flex-grow:1}.jetpack-option__input.jetpack-option__input.jetpack-option__input:hover{border-color:#357cb5}.jetpack-option__input.jetpack-option__input.jetpack-option__input:focus{background:#fff;border-color:#e3e5e8;box-shadow:none}.jetpack-option__remove.jetpack-option__remove{padding:6px;vertical-align:bottom}.jetpack-field-multiple__add-option{margin-right:-6px;padding:4px 4px 4px 8px}.jetpack-field-multiple__add-option svg{margin-left:12px}.jetpack-field .components-base-control__label{display:block}.jetpack-field-checkbox .components-base-control__label{display:flex;align-items:center}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label{flex-grow:1}.jetpack-field-checkbox .components-base-control__label .jetpack-field-label__input{font-size:13px;font-weight:400;padding-right:10px}.block-editor-inserter__preview .jetpack-contact-form{padding:16px}.block-editor-inserter__preview .jetpack-contact-form>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}@media (min-width:481px){.jetpack-contact-form-shortcode-preview{padding:24px}}.jetpack-contact-form-shortcode-preview{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:1.4em;display:block;position:relative;margin:0 auto;padding:16px;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.jetpack-contact-form-shortcode-preview:after{content:".";display:block;height:0;clear:both;visibility:hidden}.jetpack-contact-form-shortcode-preview>div{margin-top:24px}.jetpack-contact-form-shortcode-preview>div:first-child{margin-top:0}.jetpack-contact-form-shortcode-preview label{display:block;font-size:14px;font-weight:600;margin-bottom:5px}.jetpack-contact-form-shortcode-preview input[type=email],.jetpack-contact-form-shortcode-preview input[type=tel],.jetpack-contact-form-shortcode-preview input[type=text],.jetpack-contact-form-shortcode-preview input[type=url]{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview input[type=email]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview input[type=email]:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:hover,.jetpack-contact-form-shortcode-preview input[type=text]:hover,.jetpack-contact-form-shortcode-preview input[type=url]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:focus,.jetpack-contact-form-shortcode-preview input[type=tel]:focus,.jetpack-contact-form-shortcode-preview input[type=text]:focus,.jetpack-contact-form-shortcode-preview input[type=url]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=email]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=tel]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=text]:focus::-ms-clear,.jetpack-contact-form-shortcode-preview input[type=url]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=email]:disabled,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled,.jetpack-contact-form-shortcode-preview input[type=text]:disabled,.jetpack-contact-form-shortcode-preview input[type=url]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:hover,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=email]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled:-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::-ms-input-placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=email]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=tel]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=text]:disabled::placeholder,.jetpack-contact-form-shortcode-preview input[type=url]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea{border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;margin:0;padding:7px 14px;height:92px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.jetpack-contact-form-shortcode-preview textarea:-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::-ms-input-placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea::placeholder{color:#87a6bc}.jetpack-contact-form-shortcode-preview textarea:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview textarea:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview textarea:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview textarea:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]{-webkit-appearance:none;display:inline-block;box-sizing:border-box;margin:2px 0 0;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.jetpack-contact-form-shortcode-preview input[type=checkbox]:checked:before{content:"\f147";font-family:Dashicons;margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:checked:before{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=checkbox]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.jetpack-contact-form-shortcode-preview input[type=checkbox]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=checkbox]+span{display:block;font-weight:400;margin-right:24px}.jetpack-contact-form-shortcode-preview input[type=radio]{color:#2e4453;font-size:16px;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-sizing:border-box;-webkit-appearance:none;clear:none;cursor:pointer;display:inline-block;line-height:0;height:16px;margin:2px 0 0 4px;float:right;outline:0;padding:0;text-align:center;vertical-align:middle;width:16px;min-width:16px;-moz-appearance:none;appearance:none;border-radius:50%;line-height:10px}.jetpack-contact-form-shortcode-preview input[type=radio]:hover{border-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.jetpack-contact-form-shortcode-preview input[type=radio]:focus::-ms-clear{display:none}.jetpack-contact-form-shortcode-preview input[type=radio]:checked:before{float:right;display:inline-block;content:"\2022";margin:3px;width:8px;height:8px;text-indent:-9999px;background:#00aadc;vertical-align:middle;border-radius:50%;animation:grow .2s ease-in-out}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1;-webkit-text-fill-color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:hover{cursor:default}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::-ms-input-placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled::placeholder{color:#a8bece}.jetpack-contact-form-shortcode-preview input[type=radio]:disabled:checked:before{background:#e9eff3}.jetpack-contact-form-shortcode-preview input[type=radio]+span{display:block;font-weight:400;margin-right:24px}@keyframes grow{0%{transform:scale(.3)}60%{transform:scale(1.15)}to{transform:scale(1)}}.jetpack-contact-form-shortcode-preview select{background:#fff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI0M4RDdFMSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center;border-radius:4px;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-size:14px;line-height:21px;font-weight:600;text-overflow:ellipsis;text-decoration:none;vertical-align:top;white-space:nowrap;box-sizing:border-box;padding:2px 14px 2px 32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:sans-serif}.jetpack-contact-form-shortcode-preview select:hover{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2E4YmVjZSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+)}.jetpack-contact-form-shortcode-preview select:focus{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzJlNDQ1MyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;-moz-outline:none;-moz-user-focus:ignore}.jetpack-contact-form-shortcode-preview select:disabled,.jetpack-contact-form-shortcode-preview select:hover:disabled{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2U5ZWZmMyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat left 10px center}.jetpack-contact-form-shortcode-preview select.is-compact{min-width:0;padding:0 6px 2px 20px;margin:0 4px;background-position:left 5px center;background-size:12px 12px}.jetpack-contact-form-shortcode-preview label+select,.jetpack-contact-form-shortcode-preview label select{display:block;min-width:200px}.jetpack-contact-form-shortcode-preview label+select.is-compact,.jetpack-contact-form-shortcode-preview label select.is-compact{display:inline-block;min-width:0}.jetpack-contact-form-shortcode-preview select::-ms-expand{display:none}.jetpack-contact-form-shortcode-preview select::-ms-value{background:none;color:#2e4453}.jetpack-contact-form-shortcode-preview select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]{vertical-align:baseline;background:#fff;border:solid #c8d7e1;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:24px 0 0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.jetpack-contact-form-shortcode-preview input[type=submit]:hover{border-color:#a8bece;color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:active{border-width:2px 1px 1px}.jetpack-contact-form-shortcode-preview input[type=submit]:visited{color:#2e4453}.jetpack-contact-form-shortcode-preview input[type=submit]:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.help-message{display:flex;font-size:13px;line-height:1.4em;margin-bottom:1em;margin-top:-.5em}.help-message svg{margin-left:5px;min-width:24px}.help-message>span{margin-top:2px}.help-message.help-message-is-error{color:#eb0001}.help-message.help-message-is-error svg{fill:#eb0001}.jetpack-contact-info-block .editor-plain-text.editor-plain-text:focus{box-shadow:none}.jetpack-contact-info-block .editor-plain-text{flex-grow:1;min-height:unset;padding:0;box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none}.block-editor-inserter__preview .jetpack-contact-info-block{padding:16px}.block-editor-inserter__preview .jetpack-contact-info-block>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.wp-block-jetpack-contact-info{margin-bottom:1.5em}.wp-block-jetpack-eventbrite .components-placeholder__learn-more{margin-top:1em}.wp-block-jetpack-eventbrite.is-modal-button{display:inline-block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link{display:block}.wp-block-jetpack-eventbrite.is-modal-button .wp-block-button__link:focus span[data-rich-text-placeholder]:after{opacity:.3}.block-editor-block-preview__content [data-type="jetpack/eventbrite"][data-block],.block-editor-block-preview__content [data-type="jetpack/eventbrite"] [data-block]{display:table}.jetpack-eventbrite-block__embed-type-controls .block-editor-block-styles__item-preview{align-items:center;height:auto;justify-content:center}.wp-block-jetpack-gif{clear:both;margin:0 0 20px}.wp-block-jetpack-gif figure{margin:0;position:relative;width:100%}.wp-block-jetpack-gif.aligncenter{text-align:center}.wp-block-jetpack-gif.alignleft,.wp-block-jetpack-gif.alignright{min-width:300px}.wp-block-jetpack-gif .wp-block-jetpack-gif-caption{margin-top:.5em;margin-bottom:1em;color:#555d66;text-align:center}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper{height:0;margin:0;padding:calc(56.2% + 12px) 0 0;position:relative;width:100%}.wp-block-jetpack-gif .wp-block-jetpack-gif-wrapper iframe{border:0;right:0;height:100%;position:absolute;top:0;width:100%}.wp-block-jetpack-gif figure{transition:padding-top 125ms ease-in-out}.wp-block-jetpack-gif .components-base-control__field{text-align:center}.wp-block-jetpack-gif .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover{background:none;border:none;height:100%;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_cover:focus{outline:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;max-width:400px;width:100%;z-index:1}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-text-control__input{height:36px}.wp-block-jetpack-gif .wp-block-jetpack-gif_input-container .components-base-control__label{position:absolute;top:-1000em}.wp-block-jetpack-gif .wp-block-jetpack-gif_input{flex-grow:1;margin-left:.5em}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container{display:flex;margin:-2px -2px 2px 0;overflow-x:auto;width:calc(100% + 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnails-container::-webkit-scrollbar{display:none}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container{align-items:center;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border:none;border-radius:3px;cursor:pointer;display:flex;justify-content:center;margin:2px;padding:0 0 calc(10% - 4px);width:calc(10% - 4px)}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:hover{box-shadow:0 0 0 1px #555d66}.wp-block-jetpack-gif .wp-block-jetpack-gif_thumbnail-container:focus{box-shadow:0 0 0 2px #00a0d2;outline:0}.components-panel__body-gif-branding svg{display:block;margin:0 auto;max-width:200px}.components-panel__body-gif-branding svg path{fill:#8d96a0}.edit-post-more-menu__content .components-icon-button .jetpack-logo,.edit-post-pinned-plugins .components-icon-button .jetpack-logo{width:20px;height:20px}.edit-post-more-menu__content .components-icon-button .jetpack-logo{margin-left:4px}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{stroke:none!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-circle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-circle{fill:#00be28!important}.edit-post-pinned-plugins .components-button.has-icon.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-button.has-icon:not(.is-toggled) .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button.is-toggled:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:hover .jetpack-logo__icon-triangle,.edit-post-pinned-plugins .components-icon-button:not(.is-toggled) .jetpack-logo__icon-triangle{fill:#fff!important}.wp-block-jetpack-mailchimp.is-processing form{display:none}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:none;margin-bottom:1.5em;padding:.75em}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.is-visible{display:block}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_error{background-color:#eb0001;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_processing{background-color:rgba(0,0,0,.025)}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp_success{background-color:#008a00;color:#fff}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification.wp-block-jetpack-mailchimp__is-amp{display:block}.wp-block-jetpack-mailchimp form.amp-form-submit-error>p,.wp-block-jetpack-mailchimp form.amp-form-submit-success>p,.wp-block-jetpack-mailchimp form.amp-form-submitting>p{display:none}.wp-block-jetpack-mailchimp .components-placeholder__label svg{margin-left:1ch}.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_notification{display:block}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-mailchimp .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-mailchimp.wp-block-jetpack-mailchimp_notication-audition>:not(.wp-block-jetpack-mailchimp_notification){display:none}.wp-block-jetpack-mailchimp .jetpack-submit-button,.wp-block-jetpack-mailchimp .wp-block-jetpack-mailchimp_text-input{margin-bottom:1.5rem}.wp-block-jetpack-mailchimp .wp-block-button .wp-block-button__link{margin-top:0}.wp-block-jetpack-mailchimp .components-placeholder__fieldset{display:block;flex-direction:unset;flex-wrap:unset}.component__add-point{position:absolute;right:50%;top:50%;width:32px;height:38px;margin-top:-19px;margin-right:-16px;background-image:url(images/oval-3cc7669d571aef4e12f34b349e42d390.svg);background-repeat:no-repeat;text-indent:-9999px}.component__add-point,.component__add-point.components-button:not(:disabled):not([aria-disabled=true]):focus{box-shadow:none;background-color:transparent}.component__add-point:active,.component__add-point:focus{background-color:transparent}.component__add-point__popover .components-button:not(:disabled):not([aria-disabled=true]):focus{background-color:transparent;box-shadow:none}.component__add-point__popover .components-popover__content{padding:.1rem}.component__add-point__popover .components-location-search{margin:.5rem}.component__add-point__close{margin:.4rem 0 0;padding:0;border:none;box-shadow:none;float:left}.component__add-point__close path{color:#8d96a0}.edit-post-settings-sidebar__panel-block .component__locations__panel{margin-bottom:1em}.edit-post-settings-sidebar__panel-block .component__locations__panel:empty{display:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child{border-top:none}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body:last-child{max-width:100%;margin:0}.edit-post-settings-sidebar__panel-block .component__locations__panel .components-panel__body button{padding-left:40px}.component__locations__delete-btn{padding:0}.component__locations__delete-btn svg{margin-left:.4em}.wp-block-jetpack-map-marker{width:32px;height:38px;opacity:.9}.block-editor-block-inspector .component__map-theme-picker__button,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button{border:1px solid #e2e4e7;border-radius:100%;width:56px;height:56px;margin:2px;text-indent:-9999px;background-color:#e2e4e7;background-position:50%;background-repeat:no-repeat;background-size:contain;transform:scale(1);transition:transform .2s ease}.block-editor-block-inspector .component__map-theme-picker__button:hover,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button:hover{transform:scale(1.1)}.block-editor-block-inspector .component__map-theme-picker__button.is-selected,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-selected{border-color:#000}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-default,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-default{background-image:url(images/map-theme_default-2ceb449b599dbcbe2a90fead5a5f3824.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-black_and_white,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-black_and_white{background-image:url(images/map-theme_black_and_white-1ead5946ca104d83676d6e3410e1d733.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-satellite,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-satellite{background-image:url(images/map-theme_satellite-c74dc129bda9502fb0fb362bb627577e.jpg)}.block-editor-block-inspector .component__map-theme-picker__button.is-theme-terrain,.edit-post-settings-sidebar__panel-block .component__map-theme-picker__button.is-theme-terrain{background-image:url(images/map-theme_terrain-2b6e6c1c8d09cbdc58a4c0653be1a6e3.jpg)}.wp-block-jetpack-map .wp-block-jetpack-map__gm-container{width:100%;overflow:hidden;background:#e2e4e7;min-height:400px;text-align:right}.wp-block-jetpack-map .mapboxgl-popup{max-width:300px}.wp-block-jetpack-map .mapboxgl-popup h3{font-size:1.3125em;font-weight:400;margin-bottom:.5rem}.wp-block-jetpack-map .mapboxgl-popup p{margin-bottom:0}.wp-block-jetpack-map__delete-btn{padding:0}.wp-block-jetpack-map__delete-btn svg{margin-left:.4em}.wp-block[data-type="jetpack/map"] .components-placeholder__label svg{fill:currentColor;margin-left:1ch}.wp-block[data-type="jetpack/map"] .components-placeholder__instructions .components-external-link{display:inline-block;margin:1em auto}.wp-block-jetpack-map .mapboxgl-popup-close-button{font-size:21px;padding:0 9px 5px 10px}.wp-block-jetpack-markdown__placeholder{opacity:.62;pointer-events:none}.editor-block-list__block .wp-block-jetpack-markdown__preview{min-height:1.8em;line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview>*{margin-top:32px;margin-bottom:32px}.editor-block-list__block .wp-block-jetpack-markdown__preview h1,.editor-block-list__block .wp-block-jetpack-markdown__preview h2,.editor-block-list__block .wp-block-jetpack-markdown__preview h3{line-height:1.4}.editor-block-list__block .wp-block-jetpack-markdown__preview h1{font-size:2.44em}.editor-block-list__block .wp-block-jetpack-markdown__preview h2{font-size:1.95em}.editor-block-list__block .wp-block-jetpack-markdown__preview h3{font-size:1.56em}.editor-block-list__block .wp-block-jetpack-markdown__preview h4{font-size:1.25em;line-height:1.5}.editor-block-list__block .wp-block-jetpack-markdown__preview h5{font-size:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview h6{font-size:.8em}.editor-block-list__block .wp-block-jetpack-markdown__preview hr{border:none;border-bottom:2px solid #8f98a1;margin:2em auto;max-width:100px}.editor-block-list__block .wp-block-jetpack-markdown__preview p{line-height:1.8}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote{border-right:4px solid #000;margin-right:0;margin-left:0;padding-right:1em}.editor-block-list__block .wp-block-jetpack-markdown__preview blockquote p{line-height:1.5;margin:1em 0}.editor-block-list__block .wp-block-jetpack-markdown__preview ol,.editor-block-list__block .wp-block-jetpack-markdown__preview ul{margin-right:1.3em;padding-right:1.3em}.editor-block-list__block .wp-block-jetpack-markdown__preview li p{margin:0}.editor-block-list__block .wp-block-jetpack-markdown__preview code,.editor-block-list__block .wp-block-jetpack-markdown__preview pre{color:#23282d;font-family:Menlo,Consolas,monaco,monospace}.editor-block-list__block .wp-block-jetpack-markdown__preview code{background:#f3f4f5;border-radius:2px;font-size:inherit;padding:2px}.editor-block-list__block .wp-block-jetpack-markdown__preview pre{border-radius:4px;border:1px solid #e2e4e7;font-size:14px;padding:.8em 1em}.editor-block-list__block .wp-block-jetpack-markdown__preview pre code{background:transparent;padding:0}.editor-block-list__block .wp-block-jetpack-markdown__preview table{overflow-x:auto;border-collapse:collapse;width:100%}.editor-block-list__block .wp-block-jetpack-markdown__preview tbody,.editor-block-list__block .wp-block-jetpack-markdown__preview tfoot,.editor-block-list__block .wp-block-jetpack-markdown__preview thead{width:100%;min-width:240px}.editor-block-list__block .wp-block-jetpack-markdown__preview td,.editor-block-list__block .wp-block-jetpack-markdown__preview th{padding:.5em;border:1px solid}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor{font-family:Menlo,Consolas,monaco,monospace;font-size:14px}.wp-block-jetpack-markdown .wp-block-jetpack-markdown__editor:focus{border-color:transparent;box-shadow:0 0 0 transparent}.wp-block-jetpack-opentable{position:relative}.wp-block-jetpack-opentable .components-base-control{width:100%}.wp-block-jetpack-opentable .components-placeholder__fieldset p{font-size:13px;margin:0 0 1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form{flex-direction:row}@media screen and (max-width:479px){.wp-block-jetpack-opentable .components-placeholder__fieldset form{display:block}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__label{display:none}.wp-block-jetpack-opentable .components-placeholder__fieldset form p{margin-top:1em}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:100%}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-form-token-field__input-container{width:327px}}.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{padding:0 8px;height:36px;align-items:center;line-height:normal}@media screen and (min-width:480px){.wp-block-jetpack-opentable .components-placeholder__fieldset form .components-button.is-large{margin:1px 4px 0 0;position:relative}}.wp-block-jetpack-opentable iframe{height:100%;width:100%}.wp-block-jetpack-opentable-overlay{position:absolute;width:100%;height:100%;z-index:10}.wp-block-jetpack-opentable-restaurant-picker{margin-bottom:1em;position:relative;width:100%}.wp-block-jetpack-opentable-placeholder-links{display:flex;flex-direction:column}@media screen and (min-width:480px){.wp-block-jetpack-opentable-placeholder-links{display:block}}.wp-block-jetpack-opentable-placeholder-links a{padding:.25em 0 .25em 1em}.wp-block-jetpack-opentable-placeholder-links a:last-child{padding-left:0;padding-right:1em}.editor-styles-wrapper .wp-block-jetpack-opentable .components-form-token-field__suggestions-list{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;text-align:right;padding:0;margin:0}.components-toggle-control.is-opentable{padding-top:6px}.is-opentable button.is-active{font-weight:700}.block-editor-block-preview__content [data-type="jetpack/opentable"][data-block],.block-editor-block-preview__content [data-type="jetpack/opentable"] [data-block]{display:table}.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}.jetpack-publicize-message-box{background-color:#edeff0;border-radius:4px}.jetpack-publicize-message-box textarea{width:100%}.jetpack-publicize-character-count{padding-bottom:5px;padding-right:5px}.jetpack-publicize__connections-list{list-style-type:none;margin:13px 0}.publicize-jetpack-connection-container{display:flex}.jetpack-publicize-gutenberg-social-icon{fill:#555d66;margin-left:5px}.jetpack-publicize-gutenberg-social-icon.is-facebook{fill:#39579a}.jetpack-publicize-gutenberg-social-icon.is-twitter{fill:#55acee}.jetpack-publicize-gutenberg-social-icon.is-linkedin{fill:#0976b4}.jetpack-publicize-gutenberg-social-icon.is-tumblr{fill:#35465c}.jetpack-publicize-connection-label{flex:1;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jetpack-publicize-connection-label .jetpack-publicize-connection-label-copy,.jetpack-publicize-connection-label .jetpack-publicize-gutenberg-social-icon{display:inline-block;vertical-align:middle}.jetpack-publicize-connection-toggle{margin-top:3px}.jetpack-publicize-notice.components-notice{margin-right:0;margin-left:0;margin-bottom:13px}.jetpack-publicize-notice .components-button+.components-button{margin-top:5px}.jetpack-publicize-message-note{display:inline-block;margin-bottom:4px;margin-top:13px}.jetpack-publicize-add-connection-wrapper{margin:15px 0}.jetpack-publicize-add-connection-container{display:flex}.jetpack-publicize-add-connection-container a{cursor:pointer}.jetpack-publicize-add-connection-container span{vertical-align:middle}.jetpack-publicize__connections-list .components-notice{margin:5px 0 10px}.jetpack-ratings-button{cursor:pointer}.jetpack-ratings-button:focus{border:none;outline:none}.wp-block-jetpack-rating-star{margin-bottom:1.5em;line-height:0;stroke-width:0}.wp-block-jetpack-rating-star .is-rating-unfilled{fill-opacity:.33}.wp-block-jetpack-rating-star .jetpack-ratings-button{display:inline-flex;border-radius:4px}.wp-block-jetpack-rating-star .jetpack-ratings-button:focus{box-shadow:0 0 0 1px currentColor;outline:2px solid transparent}.wp-block-jetpack-rating-star>p{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.wp-block-jetpack-rating-star>span{display:inline-flex!important;margin-left:.3em}.wp-block-jetpack-rating-star .jetpack-ratings-button span,.wp-block-jetpack-rating-star>span span{flex-shrink:0;width:12px;overflow:hidden;display:inline-flex}.wp-block-jetpack-rating-star .jetpack-ratings-button span svg,.wp-block-jetpack-rating-star>span span svg{flex-shrink:0}.wp-block-jetpack-rating-star .jetpack-ratings-button span:nth-child(2n),.wp-block-jetpack-rating-star>span span:nth-child(2n){justify-content:flex-end}.wp-block-jetpack-rating-star svg{display:inline-block!important;max-width:none!important}.wp-block-jetpack-rating-star.is-style-outlined{stroke-width:2px}.wp-block-jetpack-rating-star.is-style-outlined .is-rating-unfilled{fill:transparent}.wp-block-jetpack-rating-star .jetpack-ratings-button{margin-left:.3em}.jetpack-stripe-nudge__icon{align-self:center;background:#016087;border-radius:50%;box-sizing:content-box;color:#fff;fill:#fff;flex-shrink:0;margin-left:16px;padding:6px}.jetpack-memberships-modal #TB_title{display:none}#TB_window.jetpack-memberships-modal{background-color:transparent;background-image:url(https://s0.wp.com/i/loading/dark-200.gif);background-size:50px;background-repeat:no-repeat;background-position:center 150px;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;border:none;height:100%}#TB_window.jetpack-memberships-modal,.jetpack-memberships-modal #TB_iframeContent{margin:0!important;bottom:0;right:0;position:absolute;left:0;top:0;width:100%!important}.jetpack-memberships-modal #TB_iframeContent{height:100%!important}BODY.modal-open{overflow:hidden}.wp-block-jetpack-recurring-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:100%}.wp-block-jetpack-recurring-payments .components-base-control__label{text-align:right}.wp-block-jetpack-recurring-payments .components-placeholder{min-height:150px;padding:24px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset{max-width:500px}.wp-block-jetpack-recurring-payments .components-placeholder__fieldset p{font-size:13px;margin:0 0 20px}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar{pointer-events:none}.wp-block-jetpack-recurring-payments .editor-rich-text__inline-toolbar .components-toolbar{pointer-events:all}.wp-block-jetpack-recurring-payments .membership-button__add-amount{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__disclaimer{color:#b0b5b8;flex-basis:100%;margin:0;font-style:italic}.wp-block-jetpack-recurring-payments .membership-button__disclaimer a{color:#7c848b;line-height:36px}.wp-block-jetpack-recurring-payments .membership-button__field-button{margin-left:4px}.wp-block-jetpack-recurring-payments .membership-button__field-currency{width:30%}.wp-block-jetpack-recurring-payments .membership-button__field-error .components-text-control__input{border:1px solid #eb0001}.wp-block-jetpack-recurring-payments .membership-button__field-price{margin:0 5% 0 0;width:65%}.wp-block-jetpack-recurring-payments .membership-button__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-recurring-payments.disclaimer-only{box-sizing:content-box;font-size:13px;margin:0 -14px;padding:14px;text-align:center;transform:translateY(14px);background:rgba(139,139,150,.1)}.is-dark-theme .wp-block-jetpack-recurring-payments.disclaimer-only{background:hsla(0,0%,100%,.15)}.wp-block-jetpack-recurring-payments .wp-block-jetpack-membership-button_notification{display:block}.jp-related-posts-i2__row{margin-right:-10px;margin-left:-10px;display:flex;margin-top:1.5rem}.jp-related-posts-i2__row:first-child{margin-top:0}.jp-related-posts-i2__row[data-post-count="3"] .jp-related-posts-i2__post{max-width:calc(33% - 20px)}.jp-related-posts-i2__row[data-post-count="1"] .jp-related-posts-i2__post,.jp-related-posts-i2__row[data-post-count="2"] .jp-related-posts-i2__post{max-width:calc(50% - 20px)}.jp-related-posts-i2__post{flex-grow:1;flex-basis:0;margin:0 10px;display:flex;flex-direction:column}.jp-related-posts-i2__post-context,.jp-related-posts-i2__post-date,.jp-related-posts-i2__post-heading,.jp-related-posts-i2__post-img-link{flex-direction:row}.jp-related-posts-i2__post-image-placeholder,.jp-related-posts-i2__post-img-link{order:-1}.jp-related-posts-i2__post-heading{margin:.5rem 0;font-size:1rem;line-height:1.2em}.jp-related-posts-i2__post-link{display:block;width:100%;line-height:1.2em;margin:.2em 0}.jp-related-posts-i2__post-img{width:100%}.jp-related-posts-i2__post-image-placeholder{display:block;position:relative;margin:0 auto;max-width:350px}.jp-related-posts-i2__post-image-placeholder-icon{position:absolute;top:calc(50% - 12px);right:calc(50% - 12px)}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__row{margin:0;display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{max-width:none;margin:1rem 0 0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-image-placeholder{max-width:350px;margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post-img-link{margin-top:1rem}.wp-block-jetpack-repeat-visitor .components-notice{margin:1em 0 0}.wp-block-jetpack-repeat-visitor .components-notice__content{color:#000}.wp-block-jetpack-repeat-visitor .components-radio-control__option{text-align:right}.wp-block-jetpack-repeat-visitor .components-notice__content{margin:.5em 0;font-size:1em}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control{display:inline-block;max-width:8em;vertical-align:middle}.wp-block-jetpack-repeat-visitor .components-notice__content .components-base-control .components-base-control__field{margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder{min-height:inherit}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__label svg{margin-left:.5ch}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset{flex-wrap:nowrap}.wp-block-jetpack-repeat-visitor-placeholder .components-placeholder__fieldset .components-base-control{flex-basis:100%;margin-bottom:0}.wp-block-jetpack-repeat-visitor-placeholder .components-base-control__help{color:var(--muriel-hot-red-500);font-size:13px}.wp-block-jetpack-repeat-visitor--is-unselected .wp-block-jetpack-repeat-visitor-placeholder{display:none}.wp-block-jetpack-repeat-visitor-threshold{margin-left:20px}.wp-block-jetpack-repeat-visitor-threshold .components-text-control__input{margin-right:12px;text-align:center;width:5em}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor{padding:16px}.block-editor-inserter__preview .wp-block-jetpack-repeat-visitor>.block-editor-inner-blocks>.block-editor-block-list__layout{margin:0}.jetpack-clipboard-input{display:flex}.jetpack-clipboard-input .components-clipboard-button{margin:2px 6px 0 0}.simple-payments__loading{animation:simple-payments-loading 1.6s ease-in-out infinite}@keyframes simple-payments-loading{0%{opacity:.5}50%{opacity:.7}to{opacity:.5}}.jetpack-simple-payments-wrapper{margin-bottom:1.5em}body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p{margin:0 0 1.5em;padding:0}.jetpack-simple-payments-product{display:flex;flex-direction:column}.jetpack-simple-payments-product-image{flex:0 0 30%;margin-bottom:1.5em}.jetpack-simple-payments-image{box-sizing:border-box;min-width:70px;padding-top:100%;position:relative}.jetpack-simple-payments-image img{border:0;border-radius:0;height:auto;right:50%;margin:0;max-height:100%;max-width:100%;padding:0;position:absolute;top:50%;transform:translate(50%,-50%);width:auto}.jetpack-simple-payments-price p,.jetpack-simple-payments-title p{font-weight:700}.jetpack-simple-payments-purchase-box{align-items:flex-start;display:flex}.jetpack-simple-payments-items{flex:0 0 auto;margin-left:10px}input[type=number].jetpack-simple-payments-items-number{background:#fff;font-size:16px;line-height:1;max-width:60px;padding:4px 8px}@media screen and (min-width:400px){.jetpack-simple-payments-product{flex-direction:row}.jetpack-simple-payments-product-image+.jetpack-simple-payments-details{flex-basis:70%;padding-right:1em}}.wp-block-jetpack-simple-payments{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;display:grid;grid-template-columns:200px auto;grid-column-gap:10px}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__label{display:none}.wp-block-jetpack-simple-payments .simple-payments__field .components-base-control__field{margin-bottom:1em}.wp-block-jetpack-simple-payments .simple-payments__field textarea{display:block}.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-text-control__input,.wp-block-jetpack-simple-payments .simple-payments__field-has-error .components-textarea-control__input{border-color:#eb0001}.wp-block-jetpack-simple-payments .simple-payments__price-container{display:flex;flex-wrap:wrap}.wp-block-jetpack-simple-payments .simple-payments__price-container .simple-payments__field{margin-left:10px}.wp-block-jetpack-simple-payments .simple-payments__price-container .help-message{flex:1 1 100%;margin-top:0}.wp-block-jetpack-simple-payments .simple-payments__field-price .components-text-control__input{max-width:90px}.wp-block-jetpack-simple-payments .simple-payments__field-email .components-text-control__input{max-width:400px}.wp-block-jetpack-simple-payments .simple-payments__field-multiple .components-toggle-control__label{line-height:1.4em}.wp-block-jetpack-simple-payments .simple-payments__field-content .components-textarea-control__input{min-height:32px}.wp-block-jetpack-slideshow{margin-bottom:1.5em;position:relative}.wp-block-jetpack-slideshow [tabindex="-1"]:focus{outline:0}.wp-block-jetpack-slideshow.wp-amp-block>.wp-block-jetpack-slideshow_container{opacity:1}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay .wp-block-jetpack-slideshow_button-play{display:block}.wp-block-jetpack-slideshow.wp-amp-block.wp-block-jetpack-slideshow__autoplay.wp-block-jetpack-slideshow__autoplay-playing .wp-block-jetpack-slideshow_button-play{display:none}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container{width:100%;overflow:hidden;opacity:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container.wp-swiper-initialized{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_slide,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container .wp-block-jetpack-slideshow_swiper-wrapper{padding:0;margin:0;line-height:normal}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide{background:rgba(0,0,0,.1);display:flex;height:100%;width:100%}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_slide figure{align-items:center;display:flex;height:100%;justify-content:center;margin:0;position:relative;width:100%}.wp-block-jetpack-slideshow .swiper-container-fade .wp-block-jetpack-slideshow_slide{background:#f6f6f6}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_image{display:block;height:auto;max-height:100%;max-width:100%;width:auto;-o-object-fit:contain;object-fit:contain}.wp-block-jetpack-slideshow .amp-carousel-button,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-color:rgba(0,0,0,.5);background-position:50%;background-repeat:no-repeat;background-size:24px;border:0;border-radius:4px;box-shadow:none;height:48px;margin:-24px 0 0;padding:0;transition:background-color .25s;width:48px}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .amp-carousel-button:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:hover,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:hover{background-color:rgba(0,0,0,.75)}.wp-block-jetpack-slideshow .amp-carousel-button:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev:focus{outline:thin dotted #fff;outline-offset:-4px}.wp-block-jetpack-slideshow .amp-carousel-button{margin:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:none}.wp-block-jetpack-slideshow .amp-carousel-button-next,.wp-block-jetpack-slideshow .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-prev,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .amp-carousel-button-prev,.wp-block-jetpack-slideshow .swiper-button-prev.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .swiper-button-next.swiper-button-white,.wp-block-jetpack-slideshow.swiper-container-rtl .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18 4.12L10.12 12 18 19.88 15.88 22l-10-10 10-10z' fill='%23fff'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");display:none;margin-top:0;position:absolute;left:10px;top:10px;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_autoplay-paused .wp-block-jetpack-slideshow_button-pause,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-play{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E")}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_button-pause{display:block}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption{background-color:rgba(0,0,0,.5);box-sizing:border-box;bottom:0;color:#fff;cursor:text;right:0;margin:0!important;max-height:100%;padding:.75em;position:absolute;left:0;text-align:initial;z-index:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_caption.gallery-caption a{color:inherit}.wp-block-jetpack-slideshow[data-autoplay=true] .wp-block-jetpack-slideshow_caption.gallery-caption{max-height:calc(100% - 68px)}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets{bottom:0;line-height:24px;padding:10px 0 2px;position:relative}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet{background:currentColor;color:currentColor;height:16px;opacity:.5;transform:scale(.75);transition:opacity .25s,transform .25s;vertical-align:top;width:16px}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:hover{opacity:1}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet:focus{outline:thin dotted;outline-offset:0}.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet-active,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_pagination.swiper-pagination-bullets .swiper-pagination-bullet[selected]{background-color:currentColor;opacity:1;transform:scale(1)}.wp-block-jetpack-slideshow_pagination.amp-pagination{text-align:center}.wp-block-jetpack-slideshow_pagination.amp-pagination .swiper-pagination-bullet{margin:0 4px;border-radius:100%;display:inline-block;padding:0;border:0}@media (min-width:600px){.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-next,.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_button-prev{display:block}}.wp-block-jetpack-slideshow__add-item{margin-top:4px;width:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button,.wp-block-jetpack-slideshow__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:focus,.wp-block-jetpack-slideshow__add-item .components-button.wp-block-jetpack-slideshow__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-slideshow_slide .components-spinner{position:absolute;top:50%;right:50%;margin-top:-9px;margin-right:-9px}.wp-block-jetpack-slideshow_slide.is-transient img{opacity:.3}.wp-block-jetpack-tiled-gallery{margin:0 auto 1.5em}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item img{border-radius:50%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row{flex-grow:1;width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-1 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-1 .tiled-gallery__col{width:100%}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-2 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-2 .tiled-gallery__col{width:calc((100% - 4px)/2)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-3 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-3 .tiled-gallery__col{width:calc((100% - 8px)/3)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-4 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-4 .tiled-gallery__col{width:calc((100% - 12px)/4)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-5 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-5 .tiled-gallery__col{width:calc((100% - 16px)/5)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-6 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-6 .tiled-gallery__col{width:calc((100% - 20px)/6)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-7 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-7 .tiled-gallery__col{width:calc((100% - 24px)/7)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-8 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-8 .tiled-gallery__col{width:calc((100% - 28px)/8)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-9 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-9 .tiled-gallery__col{width:calc((100% - 32px)/9)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-10 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-10 .tiled-gallery__col{width:calc((100% - 36px)/10)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-11 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-11 .tiled-gallery__col{width:calc((100% - 40px)/11)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-12 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-12 .tiled-gallery__col{width:calc((100% - 44px)/12)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-13 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-13 .tiled-gallery__col{width:calc((100% - 48px)/13)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-14 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-14 .tiled-gallery__col{width:calc((100% - 52px)/14)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-15 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-15 .tiled-gallery__col{width:calc((100% - 56px)/15)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-16 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-16 .tiled-gallery__col{width:calc((100% - 60px)/16)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-17 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-17 .tiled-gallery__col{width:calc((100% - 64px)/17)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-18 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-18 .tiled-gallery__col{width:calc((100% - 68px)/18)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-19 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-19 .tiled-gallery__col{width:calc((100% - 72px)/19)}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__row.columns-20 .tiled-gallery__col,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__row.columns-20 .tiled-gallery__col{width:calc((100% - 76px)/20)}.wp-block-jetpack-tiled-gallery.is-style-columns .tiled-gallery__item,.wp-block-jetpack-tiled-gallery.is-style-rectangular .tiled-gallery__item{display:flex}.tiled-gallery__gallery{width:100%;display:flex;padding:0;flex-wrap:wrap}.tiled-gallery__row{width:100%;display:flex;flex-direction:row;justify-content:center;margin:0}.tiled-gallery__row+.tiled-gallery__row{margin-top:4px}.tiled-gallery__col{display:flex;flex-direction:column;justify-content:center;margin:0}.tiled-gallery__col+.tiled-gallery__col{margin-right:4px}.tiled-gallery__item{justify-content:center;margin:0;overflow:hidden;padding:0;position:relative}.tiled-gallery__item.filter__black-and-white{filter:grayscale(100%)}.tiled-gallery__item.filter__sepia{filter:sepia(100%)}.tiled-gallery__item.filter__1977{position:relative;filter:contrast(1.1) brightness(1.1) saturate(1.3)}.tiled-gallery__item.filter__1977 img{width:100%;z-index:1}.tiled-gallery__item.filter__1977:before{z-index:2}.tiled-gallery__item.filter__1977:after,.tiled-gallery__item.filter__1977:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__1977:after{z-index:3;background:rgba(243,106,188,.3);mix-blend-mode:screen}.tiled-gallery__item.filter__clarendon{position:relative;filter:contrast(1.2) saturate(1.35)}.tiled-gallery__item.filter__clarendon img{width:100%;z-index:1}.tiled-gallery__item.filter__clarendon:before{z-index:2}.tiled-gallery__item.filter__clarendon:after,.tiled-gallery__item.filter__clarendon:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__clarendon:after{z-index:3}.tiled-gallery__item.filter__clarendon:before{background:rgba(127,187,227,.2);mix-blend-mode:overlay}.tiled-gallery__item.filter__gingham{position:relative;filter:brightness(1.05) hue-rotate(-10deg)}.tiled-gallery__item.filter__gingham img{width:100%;z-index:1}.tiled-gallery__item.filter__gingham:before{z-index:2}.tiled-gallery__item.filter__gingham:after,.tiled-gallery__item.filter__gingham:before{content:"";display:block;height:100%;width:100%;top:0;right:0;position:absolute;pointer-events:none}.tiled-gallery__item.filter__gingham:after{z-index:3;background:#e6e6fa;mix-blend-mode:soft-light}.tiled-gallery__item+.tiled-gallery__item{margin-top:4px}.tiled-gallery__item>img{background-color:rgba(0,0,0,.1)}.tiled-gallery__item>a,.tiled-gallery__item>a>img,.tiled-gallery__item>img{display:block;height:auto;margin:0;max-width:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;padding:0;width:100%}@keyframes tiled-gallery-img-placeholder{0%{background-color:#f6f6f6}50%{background-color:hsla(0,0%,96.5%,.5)}to{background-color:#f6f6f6}}.wp-block-jetpack-tiled-gallery{padding-right:4px;padding-left:4px}.wp-block-jetpack-tiled-gallery.is-style-circle .tiled-gallery__item.is-transient img,.wp-block-jetpack-tiled-gallery.is-style-square .tiled-gallery__item.is-transient img{margin-bottom:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img:focus{outline:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item>img{animation:tiled-gallery-img-placeholder 1.6s ease-in-out infinite}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected{outline:4px solid #0085ba;filter:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:after,.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-selected:before{content:none}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient{height:100%;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__item.is-transient img{background-position:50%;background-size:cover;height:100%;opacity:.3;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item{margin-top:4px;width:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-form-file-upload{width:100%;height:100%}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button{display:flex;flex-direction:column;justify-content:center;box-shadow:none;border:none;border-radius:0;min-height:100px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button .dashicon{margin-top:10px}.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__add-item .components-button.tiled-gallery__add-item-button:hover{border:1px solid #555d66}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu{background-color:#0085ba;display:inline-flex;padding:0 2px 2px 0;position:absolute;left:0;top:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:focus,.wp-block-jetpack-tiled-gallery .tiled-gallery__item__inline-menu .components-button:hover{color:#fff}.wp-block-jetpack-tiled-gallery .tiled-gallery__item__remove{padding:0}.wp-block-jetpack-tiled-gallery .tiled-gallery__item .components-spinner{position:absolute;top:50%;right:50%;margin:0;transform:translate(50%,-50%)}.editor-block-preview__content .wp-block-jetpack-tiled-gallery .editor-media-placeholder{display:none}.tiled-gallery__filter-picker-menu{padding:7px}.tiled-gallery__filter-picker-menu .components-menu-item__button+.components-menu-item__button{margin-top:2px}.tiled-gallery__filter-picker-menu .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}[data-type="jetpack/wordads"][data-align=center] .jetpack-wordads__ad{margin:0 auto}.jetpack-wordads__ad{display:flex;overflow:hidden;flex-direction:column;max-width:100%}.jetpack-wordads__ad .components-placeholder{flex-grow:2}.jetpack-wordads__ad .components-toggle-control__label{line-height:1.4em}.jetpack-wordads__ad .components-base-control__field,.wp-block-jetpack-wordads__format-picker{padding:7px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button+.components-menu-item__button{margin-top:2px}.wp-block-jetpack-wordads__format-picker .components-menu-item__button.is-active{color:#191e23;box-shadow:0 0 0 2px #555d66!important}.jetpack-wordads__mobile-visibility{margin-top:20px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php b/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php new file mode 100644 index 00000000..8a7f7499 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/eventbrite/view.asset.php @@ -0,0 +1 @@ +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '3eb7e95418f32c9216026839c9a56f7a');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/eventbrite/view.css b/plugins/jetpack/_inc/blocks/eventbrite/view.css new file mode 100644 index 00000000..b418dbe5 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/eventbrite/view.css @@ -0,0 +1 @@ +.eventbrite__direct-link{display:none}.eventbrite__in-page-checkout{height:auto!important}.eventbrite__in-page-checkout iframe{height:425px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/eventbrite/view.js b/plugins/jetpack/_inc/blocks/eventbrite/view.js new file mode 100644 index 00000000..17799557 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/eventbrite/view.js @@ -0,0 +1 @@ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=280)}({280:function(e,t,n){n(42),e.exports=n(281)},281:function(e,t,n){"use strict";n.r(t);n(282)},282:function(e,t,n){},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/eventbrite/view.rtl.css b/plugins/jetpack/_inc/blocks/eventbrite/view.rtl.css new file mode 100644 index 00000000..b418dbe5 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/eventbrite/view.rtl.css @@ -0,0 +1 @@ +.eventbrite__direct-link{display:none}.eventbrite__in-page-checkout{height:auto!important}.eventbrite__in-page-checkout iframe{height:425px}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/gif/view.asset.php b/plugins/jetpack/_inc/blocks/gif/view.asset.php index c2557b54..eb93d1f1 100644 --- a/plugins/jetpack/_inc/blocks/gif/view.asset.php +++ b/plugins/jetpack/_inc/blocks/gif/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'fd208c8aa2de5a328b6a1a0bf417b6fb');
\ No newline at end of file +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '1727ed26eba1a620ef43c66f967b78e7');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/gif/view.js b/plugins/jetpack/_inc/blocks/gif/view.js index cd319e0a..46edd049 100644 --- a/plugins/jetpack/_inc/blocks/gif/view.js +++ b/plugins/jetpack/_inc/blocks/gif/view.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=262)}({262:function(e,t,n){n(37),e.exports=n(263)},263:function(e,t,n){"use strict";n.r(t);n(85)},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},85:function(e,t,n){}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=283)}({130:function(e,t,n){},283:function(e,t,n){n(42),e.exports=n(284)},284:function(e,t,n){"use strict";n.r(t);n(130)},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png b/plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png Binary files differnew file mode 100644 index 00000000..bb291bcc --- /dev/null +++ b/plugins/jetpack/_inc/blocks/images/eventbrite-in-page-example-e7ade5e253cebf23789d136227b66aa4.png diff --git a/plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png b/plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png Binary files differnew file mode 100644 index 00000000..65129565 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/images/eventbrite-modal-example-38b56f85505164d217370e285a7207a9.png diff --git a/plugins/jetpack/_inc/blocks/index.json b/plugins/jetpack/_inc/blocks/index.json index fe34d4ce..6bd6cf48 100644 --- a/plugins/jetpack/_inc/blocks/index.json +++ b/plugins/jetpack/_inc/blocks/index.json @@ -1,13 +1,16 @@ { "production": [ "business-hours", + "calendly", "contact-form", "contact-info", + "eventbrite", "gif", "likes", "mailchimp", "map", "markdown", + "opentable", "pinterest", "publicize", "rating-star", @@ -23,5 +26,5 @@ "videopress", "wordads" ], - "beta": [ "seo" ] + "beta": [ "amazon", "seo" ] } diff --git a/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php b/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php index d2b9ef6f..03f60272 100644 --- a/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php +++ b/plugins/jetpack/_inc/blocks/mailchimp/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '29e5658e81494d7d039e8bfa638f8afe');
\ No newline at end of file +<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'be8893a82cbab72f63e0ded7201093fd');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/mailchimp/view.js b/plugins/jetpack/_inc/blocks/mailchimp/view.js index 96744945..ea4b6a40 100644 --- a/plugins/jetpack/_inc/blocks/mailchimp/view.js +++ b/plugins/jetpack/_inc/blocks/mailchimp/view.js @@ -1 +1 @@ -!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=264)}({15:function(e,t,r){var n=r(3);function o(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(r,!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},264:function(e,t,r){r(37),e.exports=r(265)},265:function(e,t,r){"use strict";r.r(t);var n=r(3),o=r.n(n),i=r(15),s=r.n(i),c=r(53),u=r.n(c),a=r(43),l=r.n(a),f=(r(266),"wp-block-jetpack-mailchimp");function p(e,t){var r=e.querySelector("form"),n=e.querySelector("."+f+"_processing"),i=e.querySelector("."+f+"_error"),c=e.querySelector("."+f+"_success");r.addEventListener("submit",(function(u){u.preventDefault();var a=r.querySelector("input[name=email]"),f=[].slice.call(r.querySelectorAll("input[type=hidden].mc-submit-param")).reduce((function(e,t){return s()({},e,o()({},t.name,t.value))}),{});a.classList.remove("error");var p=a.value;l.a.validate(p)?(e.classList.add("is-processing"),n.classList.add("is-visible"),function(e,t,r){var n="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(e)+"/email_follow/subscribe?email="+encodeURIComponent(t);for(var o in r)n+="&"+encodeURIComponent(o)+"="+encodeURIComponent(r[o]);return new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n)}else{var o=JSON.parse(r.responseText);t(o)}},r.send()}))}(t,p,f).then((function(e){n.classList.remove("is-visible"),e.error&&"member_exists"!==e.error?i.classList.add("is-visible"):c.classList.add("is-visible")}),(function(){n.classList.remove("is-visible"),i.classList.add("is-visible")}))):a.classList.add("error")}))}"undefined"!=typeof window&&u()((function(){Array.from(document.querySelectorAll("."+f)).forEach((function(e){var t=e.getAttribute("data-blog-id");try{p(e,t)}catch(r){0}}))}))},266:function(e,t,r){},3:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},32:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,r){"use strict";r.r(t);r(32)},43:function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},53:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
\ No newline at end of file +!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=285)}({15:function(e,t,r){var n=r(3);function o(e,t){var r=Object.keys(e);return Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(e)),t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(r,!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},285:function(e,t,r){r(42),e.exports=r(286)},286:function(e,t,r){"use strict";r.r(t);var n=r(3),o=r.n(n),i=r(15),s=r.n(i),c=r(75),u=r.n(c),a=r(43),l=r.n(a),f=(r(287),"wp-block-jetpack-mailchimp");function p(e,t){var r=e.querySelector("form"),n=e.querySelector("."+f+"_processing"),i=e.querySelector("."+f+"_error"),c=e.querySelector("."+f+"_success");r.addEventListener("submit",(function(u){u.preventDefault();var a=r.querySelector("input[name=email]"),f=[].slice.call(r.querySelectorAll("input[type=hidden].mc-submit-param")).reduce((function(e,t){return s()({},e,o()({},t.name,t.value))}),{});a.classList.remove("error");var p=a.value;l.a.validate(p)?(e.classList.add("is-processing"),n.classList.add("is-visible"),function(e,t,r){var n="https://public-api.wordpress.com/rest/v1.1/sites/"+encodeURIComponent(e)+"/email_follow/subscribe?email="+encodeURIComponent(t);for(var o in r)n+="&"+encodeURIComponent(o)+"="+encodeURIComponent(r[o]);return new Promise((function(e,t){var r=new XMLHttpRequest;r.open("GET",n),r.onload=function(){if(200===r.status){var n=JSON.parse(r.responseText);e(n)}else{var o=JSON.parse(r.responseText);t(o)}},r.send()}))}(t,p,f).then((function(e){n.classList.remove("is-visible"),e.error&&"member_exists"!==e.error?i.classList.add("is-visible"):c.classList.add("is-visible")}),(function(){n.classList.remove("is-visible"),i.classList.add("is-visible")}))):a.classList.add("error")}))}"undefined"!=typeof window&&u()((function(){Array.from(document.querySelectorAll("."+f)).forEach((function(e){var t=e.getAttribute("data-blog-id");try{p(e,t)}catch(r){0}}))}))},287:function(e,t,r){},3:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},36:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,r){"use strict";r.r(t);r(36)},43:function(e,t,r){"use strict";var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e)return!1;if(e.length>254)return!1;if(!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64)&&!t[1].split(".").some((function(e){return e.length>63}))}},75:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/map/view.asset.php b/plugins/jetpack/_inc/blocks/map/view.asset.php index e7afd45c..28b15024 100644 --- a/plugins/jetpack/_inc/blocks/map/view.asset.php +++ b/plugins/jetpack/_inc/blocks/map/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '0ecc9802ab3f91b57a929765e1eebbf2');
\ No newline at end of file +<?php return array('dependencies' => array('lodash', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'e3e2802884c3dd4f2ef1ee0378aeaedf');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/map/view.js b/plugins/jetpack/_inc/blocks/map/view.js index d93decae..c06163ca 100644 --- a/plugins/jetpack/_inc/blocks/map/view.js +++ b/plugins/jetpack/_inc/blocks/map/view.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],i=t[1],l=0,c=[];l<a.length;l++)r=a[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);c.length;)c.shift()()}var n={},r={6:0},o={6:0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{12:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="rtl"===document.dir?({12:"vendors~map/mapbox-gl"}[e]||e)+"."+{12:"1239e27c56411388bad5"}[e]+".rtl.css":({12:"vendors~map/mapbox-gl"}[e]||e)+"."+{12:"1239e27c56411388bad5"}[e]+".css",i=a.p+o,l=document.getElementsByTagName("link"),c=0;c<l.length;c++){var s=(p=l[c]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(s===o||s===i))return t()}var u=document.getElementsByTagName("style");for(c=0;c<u.length;c++){var p;if((s=(p=u[c]).getAttribute("data-href"))===o||s===i)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.setAttribute("data-webpack",!0),f.onload=t,f.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],f.parentNode.removeChild(f),n(a)},f.href=i,document.getElementsByTagName("head")[0].appendChild(f)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=i);var l,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.p+""+({12:"vendors~map/mapbox-gl"}[e]||e)+"."+{12:"1239e27c56411388bad5"}[e]+".js"}(e);var s=new Error;l=function(t){c.onerror=c.onload=null,clearTimeout(u);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,n[1](s)}o[e]=void 0}};var u=setTimeout((function(){l({type:"timeout",target:c})}),12e4);c.onerror=c.onload=l,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var s=l;return a(a.s=267)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){var r=n(83);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},11:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},15:function(e,t,n){var r=n(3);function o(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},2:function(e,t){!function(){e.exports=this.wp.components}()},21:function(e,t,n){var r=n(77),o=n(78),a=n(79);e.exports=function(e){return r(e)||o(e)||a()}},22:function(e,t,n){var r=n(57),o=n(58),a=n(59);e.exports=function(e,t){return r(e)||o(e,t)||a()}},25:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(1),a={name:"map",prefix:"jetpack",title:Object(o.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(o._x)("map","block search term","jetpack"),Object(o._x)("location","block search term","jetpack"),Object(o._x)("navigation","block search term","jetpack")],description:Object(o.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(o.__)("Basic","jetpack")},{value:"black_and_white",label:Object(o.__)("Black and white","jetpack")},{value:"satellite",label:Object(o.__)("Satellite","jetpack")},{value:"terrain",label:Object(o.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},267:function(e,t,n){n(37),e.exports=n(281)},281:function(e,t,n){"use strict";n.r(t);var r=n(15),o=n.n(r),a=(n(87),n(69)),i=n(25),l=n(21),c=n.n(l),s=n(7),u=n.n(s),p=n(11),f=n.n(p),d=n(5),m=n(0),b=function(){function e(){u()(this,e)}return f()(e,[{key:"blockIterator",value:function(e,t){var n=this;t.forEach((function(t){n.initializeFrontendReactBlocks(t.component,t.options,e)}))}},{key:"initializeFrontendReactBlocks",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.settings,o=r.attributes,a=r.name,i=r.prefix,l=t.selector,c=i&&i.length?"".concat(i,"/").concat(a):a,s=".wp-block-".concat(c.replace("/","-")),u=n.querySelectorAll(s),p=!0,f=!1,b=void 0;try{for(var h,v=u[Symbol.iterator]();!(p=(h=v.next()).done);p=!0){var y=h.value,g=this.extractAttributesFromContainer(y,o);Object(d.assign)(g,t.props);var k=this.extractChildrenFromContainer(y),w=Object(m.createElement)(e,g,k);Object(m.render)(w,l?y.querySelector(l):y)}}catch(j){f=!0,b=j}finally{try{p||null==v.return||v.return()}finally{if(f)throw b}}}},{key:"extractAttributesFromContainer",value:function(e,t){var n={};for(var r in t){var o=t[r],a="data-"+Object(d.kebabCase)(r);if(n[r]=e.getAttribute(a),"boolean"===o.type&&(n[r]="false"!==n[r]&&!!n[r]),"array"===o.type||"object"===o.type)try{n[r]=JSON.parse(n[r])}catch(i){n[r]=null}}return n}},{key:"extractChildrenFromContainer",value:function(e){return c()(e.childNodes).map((function(e){for(var t={},n=0;n<e.attributes.length;n++){var r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t.dangerouslySetInnerHTML={__html:e.innerHTML},Object(m.createElement)(e.tagName.toLowerCase(),t)}))}}]),e}();"undefined"!=typeof window&&window.addEventListener("load",(function(){(new b).blockIterator(document,[{component:a.a,options:{settings:o()({},i.a,{attributes:o()({},i.a.attributes,{apiKey:{type:"string",default:""}})})}}])}))},3:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},4:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},5:function(e,t){!function(){e.exports=this.lodash}()},57:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},58:function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(c){o=!0,a=c}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}},59:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},69:function(e,t,n){"use strict";var r=n(22),o=n.n(r),a=n(7),i=n.n(a),l=n(11),c=n.n(l),s=n(8),u=n.n(s),p=n(9),f=n.n(p),d=n(4),m=n.n(d),b=n(10),h=n.n(b),v=n(3),y=n.n(v),g=n(0),k=n(1),w=n(5),j=n(2),x=(n(86),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=u()(this,(e=f()(t)).call.apply(e,[this].concat(o))),y()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),y()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,o=e.markerColor,a=this.handleClick,i=[n.coordinates.longitude,n.coordinates.latitude],l=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(i):(l.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(l).setLngLat(i).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),l.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+o+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(g.Component));x.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var O=x,M=function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=u()(this,(e=f()(t)).call.apply(e,[this].concat(o))),y()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return h()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(g.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(g.Component);M.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=M;var _=function(e){function t(){var e;return i()(this,t),e=u()(this,f()(t).apply(this,arguments)),y()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),y()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),y()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),y()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,o=n.slice(0);Object(w.assign)(o[r],t),e.props.onSetPoints(o)})),y()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),y()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,o=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,a=Math.min(.75*r,o);n.style.height=a+"px",t.resize(),e.setBoundsByMarkers()})),y()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.zoom,r=t.points,o=t.onSetZoom,a=e.state,i=a.map,l=a.activeMarker,c=a.mapboxgl,s=a.zoomControl,u=a.boundsSetProgrammatically;if(i&&r.length&&!l){var p=new c.LngLatBounds;if(r.forEach((function(e){p.extend([e.coordinates.longitude,e.coordinates.latitude])})),r.length>1)return i.fitBounds(p,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0}),void i.removeControl(s);if(i.setCenter(p.getCenter()),u){i.setZoom(12),o(12)}else i.setZoom(parseInt(n,10));i.addControl(s),e.setState({boundsSetProgrammatically:!1})}})),y()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(g.createRef)(),e.debouncedSizeMap=Object(w.debounce)(e.sizeMap,250),e}return h()(t,e),c()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,o=t.children,a=t.markerColor,i=this.state,l=i.map,c=i.activeMarker,s=i.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,f=this.updateActiveMarker,d=Object(w.get)(c,"props.point")||{},m=d.title,b=d.caption,h=g.Children.map(o,(function(e){if("AddPoint"===Object(w.get)(e,"props.tagName"))return e})),v=l&&s&&n.map((function(e,t){return Object(g.createElement)(O,{key:t,point:e,index:t,map:l,mapboxgl:s,markerColor:a,onClick:u})})),y=s&&Object(g.createElement)(C,{activeMarker:c,map:l,mapboxgl:s,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},c&&r&&Object(g.createElement)(g.Fragment,null,Object(g.createElement)(j.TextControl,{label:Object(k.__)("Marker Title","jetpack"),value:m,onChange:function(e){return f({title:e})}}),Object(g.createElement)(j.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(k.__)("Marker Caption","jetpack"),value:b,rows:"2",tag:"textarea",onChange:function(e){return f({caption:e})}}),Object(g.createElement)(j.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(g.createElement)(j.Dashicon,{icon:"trash",size:"15"})," ",Object(k.__)("Delete Marker","jetpack"))),c&&!r&&Object(g.createElement)(g.Fragment,null,Object(g.createElement)("h3",null,m),Object(g.createElement)("p",null,b)));return Object(g.createElement)(g.Fragment,null,Object(g.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},v),y,h)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,o=t.points,a=t.mapStyle,i=t.mapDetails,l=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),o!==e.points&&this.setBoundsByMarkers(),o.length!==e.points.length&&this.clearCurrentMarker(),a===e.mapStyle&&i===e.mapDetails||l.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(12).then(n.t.bind(null,282,7)),n.e(12).then(n.t.bind(null,283,7))]).then((function(n){var r=o()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,o=r.zoom,a=r.onMapLoaded,i=r.onError,l=r.admin,c=null;try{c=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(o,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void i("mapbox_error",u.message)}c.on("error",(function(e){i("mapbox_error",e.error.message)}));var s=new n.NavigationControl({showCompass:!1,showZoom:!0});c.on("zoomend",(function(){t.props.onSetZoom(c.getZoom())})),c.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:c,zoomControl:s},(function(){t.debouncedSizeMap(),c.addControl(s),l||c.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),c.resize(),a(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}},{key:"googlePoint2Mapbox",value:function(e){return[e.longitude?e.longitude:0,e.latitude?e.latitude:0]}}]),t}(g.Component);_.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=_},7:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},77:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},78:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},79:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},8:function(e,t,n){var r=n(82),o=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},82:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},83:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},86:function(e,t,n){},87:function(e,t,n){},9:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],i=t[1],l=0,c=[];l<a.length;l++)r=a[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(s&&s(t);c.length;)c.shift()()}var n={},r={9:0},o={9:0};function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{16:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="rtl"===document.dir?({16:"vendors~map/mapbox-gl"}[e]||e)+"."+{16:"04e03ac043566852ef07"}[e]+".rtl.css":({16:"vendors~map/mapbox-gl"}[e]||e)+"."+{16:"04e03ac043566852ef07"}[e]+".css",i=a.p+o,l=document.getElementsByTagName("link"),c=0;c<l.length;c++){var s=(p=l[c]).getAttribute("data-href")||p.getAttribute("href");if("stylesheet"===p.rel&&(s===o||s===i))return t()}var u=document.getElementsByTagName("style");for(c=0;c<u.length;c++){var p;if((s=(p=u[c]).getAttribute("data-href"))===o||s===i)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.setAttribute("data-webpack",!0),f.onload=t,f.onerror=function(t){var o=t&&t.target&&t.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");a.code="CSS_CHUNK_LOAD_FAILED",a.request=o,delete r[e],f.parentNode.removeChild(f),n(a)},f.href=i,document.getElementsByTagName("head")[0].appendChild(f)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=i);var l,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.p+""+({16:"vendors~map/mapbox-gl"}[e]||e)+"."+{16:"04e03ac043566852ef07"}[e]+".js"}(e);var s=new Error;l=function(t){c.onerror=c.onload=null,clearTimeout(u);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,n[1](s)}o[e]=void 0}};var u=setTimeout((function(){l({type:"timeout",target:c})}),12e4);c.onerror=c.onload=l,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],l=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var s=l;return a(a.s=288)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){var r=n(128);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},11:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},123:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},124:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},125:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},127:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},128:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},131:function(e,t,n){},132:function(e,t,n){},15:function(e,t,n){var r=n(3);function o(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(n,!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},18:function(e,t,n){var r=n(65),o=n(66),a=n(67);e.exports=function(e,t){return r(e)||o(e,t)||a()}},2:function(e,t){!function(){e.exports=this.wp.components}()},21:function(e,t,n){var r=n(123),o=n(124),a=n(125);e.exports=function(e){return r(e)||o(e)||a()}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(1),a={name:"map",prefix:"jetpack",title:Object(o.__)("Map","jetpack"),icon:Object(r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},Object(r.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(r.createElement)("path",{d:"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM10 5.47l4 1.4v11.66l-4-1.4V5.47zm-5 .99l3-1.01v11.7l-3 1.16V6.46zm14 11.08l-3 1.01V6.86l3-1.16v11.84z"})),category:"jetpack",keywords:[Object(o._x)("map","block search term","jetpack"),Object(o._x)("location","block search term","jetpack"),Object(o._x)("navigation","block search term","jetpack")],description:Object(o.__)("Add an interactive map showing one or more locations.","jetpack"),attributes:{align:{type:"string"},points:{type:"array",default:[]},mapStyle:{type:"string",default:"default"},mapDetails:{type:"boolean",default:!0},zoom:{type:"integer",default:13},mapCenter:{type:"object",default:{longitude:-122.41941550000001,latitude:37.7749295}},markerColor:{type:"string",default:"red"},preview:{type:"boolean",default:!1}},supports:{html:!1},mapStyleOptions:[{value:"default",label:Object(o.__)("Basic","jetpack")},{value:"black_and_white",label:Object(o.__)("Black and white","jetpack")},{value:"satellite",label:Object(o.__)("Satellite","jetpack")},{value:"terrain",label:Object(o.__)("Terrain","jetpack")}],validAlignments:["center","wide","full"],markerIcon:Object(r.createElement)("svg",{width:"14",height:"20",viewBox:"0 0 14 20",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)("g",{id:"Page-1",fill:"none",fillRule:"evenodd"},Object(r.createElement)("g",{id:"outline-add_location-24px",transform:"translate(-5 -2)"},Object(r.createElement)("polygon",{id:"Shape",points:"0 0 24 0 24 24 0 24"}),Object(r.createElement)("path",{d:"M12,2 C8.14,2 5,5.14 5,9 C5,14.25 12,22 12,22 C12,22 19,14.25 19,9 C19,5.14 15.86,2 12,2 Z M7,9 C7,6.24 9.24,4 12,4 C14.76,4 17,6.24 17,9 C17,11.88 14.12,16.19 12,18.88 C9.92,16.21 7,11.85 7,9 Z M13,6 L11,6 L11,8 L9,8 L9,10 L11,10 L11,12 L13,12 L13,10 L15,10 L15,8 L13,8 L13,6 Z",id:"Shape",fill:"#000",fillRule:"nonzero"})))),example:{attributes:{preview:!0}}}},288:function(e,t,n){n(42),e.exports=n(305)},3:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},305:function(e,t,n){"use strict";n.r(t);var r=n(15),o=n.n(r),a=(n(132),n(76)),i=n(27),l=n(21),c=n.n(l),s=n(7),u=n.n(s),p=n(11),f=n.n(p),d=n(5),m=n(0),h=function(){function e(){u()(this,e)}return f()(e,[{key:"blockIterator",value:function(e,t){var n=this;t.forEach((function(t){n.initializeFrontendReactBlocks(t.component,t.options,e)}))}},{key:"initializeFrontendReactBlocks",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.settings,o=r.attributes,a=r.name,i=r.prefix,l=t.selector,c=i&&i.length?"".concat(i,"/").concat(a):a,s=".wp-block-".concat(c.replace("/","-")),u=n.querySelectorAll(s),p=!0,f=!1,h=void 0;try{for(var b,v=u[Symbol.iterator]();!(p=(b=v.next()).done);p=!0){var y=b.value,g=this.extractAttributesFromContainer(y,o);Object(d.assign)(g,t.props);var k=this.extractChildrenFromContainer(y),w=Object(m.createElement)(e,g,k);Object(m.render)(w,l?y.querySelector(l):y)}}catch(j){f=!0,h=j}finally{try{p||null==v.return||v.return()}finally{if(f)throw h}}}},{key:"extractAttributesFromContainer",value:function(e,t){var n={};for(var r in t){var o=t[r],a="data-"+Object(d.kebabCase)(r);if(n[r]=e.getAttribute(a),"boolean"===o.type&&(n[r]="false"!==n[r]&&!!n[r]),"array"===o.type||"object"===o.type)try{n[r]=JSON.parse(n[r])}catch(i){n[r]=null}}return n}},{key:"extractChildrenFromContainer",value:function(e){return c()(e.childNodes).map((function(e){for(var t={},n=0;n<e.attributes.length;n++){var r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t.dangerouslySetInnerHTML={__html:e.innerHTML},Object(m.createElement)(e.tagName.toLowerCase(),t)}))}}]),e}();"undefined"!=typeof window&&window.addEventListener("load",(function(){(new h).blockIterator(document,[{component:a.a,options:{settings:o()({},i.a,{attributes:o()({},i.a.attributes,{apiKey:{type:"string",default:""}})})}}])}))},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},4:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},42:function(e,t,n){"use strict";n.r(t);n(36)},5:function(e,t){!function(){e.exports=this.lodash}()},65:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},66:function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(c){o=!0,a=c}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}},67:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},7:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},76:function(e,t,n){"use strict";var r=n(18),o=n.n(r),a=n(7),i=n.n(a),l=n(11),c=n.n(l),s=n(8),u=n.n(s),p=n(9),f=n.n(p),d=n(4),m=n.n(d),h=n(10),b=n.n(h),v=n(3),y=n.n(v),g=n(0),k=n(1),w=n(5),j=n(2),x=(n(131),function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=u()(this,(e=f()(t)).call.apply(e,[this].concat(o))),y()(m()(n),"handleClick",(function(){(0,n.props.onClick)(m()(n))})),y()(m()(n),"getPoint",(function(){var e=n.props.point;return[e.coordinates.longitude,e.coordinates.latitude]})),n}return b()(t,e),c()(t,[{key:"componentDidMount",value:function(){this.renderMarker()}},{key:"componentWillUnmount",value:function(){this.marker&&this.marker.remove()}},{key:"componentDidUpdate",value:function(){this.renderMarker()}},{key:"renderMarker",value:function(){var e=this.props,t=e.map,n=e.point,r=e.mapboxgl,o=e.markerColor,a=this.handleClick,i=[n.coordinates.longitude,n.coordinates.latitude],l=this.marker?this.marker.getElement():document.createElement("div");this.marker?this.marker.setLngLat(i):(l.className="wp-block-jetpack-map-marker",this.marker=new r.Marker(l).setLngLat(i).setOffset([0,-19]).addTo(t),this.marker.getElement().addEventListener("click",a)),l.innerHTML='<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" viewBox="0 0 32 38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill-rule="evenodd"><path id="d" d="m16 38s16-11.308 16-22-7.1634-16-16-16-16 5.3076-16 16 16 22 16 22z" fill="'+o+'" mask="url(#c)"/></g></svg>'}},{key:"render",value:function(){return null}}]),t}(g.Component));x.defaultProps={point:{},map:null,markerColor:"#000000",mapboxgl:null,onClick:function(){}};var O=x,M=function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n=u()(this,(e=f()(t)).call.apply(e,[this].concat(o))),y()(m()(n),"closeClick",(function(){n.props.unsetActiveMarker()})),n}return b()(t,e),c()(t,[{key:"componentDidMount",value:function(){var e=this.props.mapboxgl;this.el=document.createElement("DIV"),this.infowindow=new e.Popup({closeButton:!0,closeOnClick:!1,offset:{left:[0,0],top:[0,5],right:[0,0],bottom:[0,-40]}}),this.infowindow.setDOMContent(this.el),this.infowindow.on("close",this.closeClick)}},{key:"componentDidUpdate",value:function(e){this.props.activeMarker!==e.activeMarker&&(this.props.activeMarker?this.openWindow():this.closeWindow())}},{key:"render",value:function(){return this.el?Object(g.createPortal)(this.props.children,this.el):null}},{key:"openWindow",value:function(){var e=this.props,t=e.map,n=e.activeMarker;this.infowindow.setLngLat(n.getPoint()).addTo(t)}},{key:"closeWindow",value:function(){this.infowindow.remove()}}]),t}(g.Component);M.defaultProps={unsetActiveMarker:function(){},activeMarker:null,map:null,mapboxgl:null};var C=M;var S=function(e){function t(){var e;return i()(this,t),e=u()(this,f()(t).apply(this,arguments)),y()(m()(e),"onMarkerClick",(function(t){var n=e.props.onMarkerClick;e.setState({activeMarker:t}),n()})),y()(m()(e),"onMapClick",(function(){e.setState({activeMarker:null})})),y()(m()(e),"clearCurrentMarker",(function(){e.setState({activeMarker:null})})),y()(m()(e),"updateActiveMarker",(function(t){var n=e.props.points,r=e.state.activeMarker.props.index,o=n.slice(0);Object(w.assign)(o[r],t),e.props.onSetPoints(o)})),y()(m()(e),"deleteActiveMarker",(function(){var t=e.props.points,n=e.state.activeMarker.props.index,r=t.slice(0);r.splice(n,1),e.props.onSetPoints(r),e.setState({activeMarker:null})})),y()(m()(e),"sizeMap",(function(){var t=e.state.map,n=e.mapRef.current,r=n.offsetWidth,o=window.location.search.indexOf("map-block-counter")>-1?window.innerHeight:.8*window.innerHeight,a=Math.min(.75*r,o);n.style.height=a+"px",t.resize(),e.setBoundsByMarkers()})),y()(m()(e),"setBoundsByMarkers",(function(){var t=e.props,n=t.admin,r=t.onSetMapCenter,o=t.onSetZoom,a=t.points,i=t.zoom,l=e.state,c=l.map,s=l.activeMarker,u=l.mapboxgl,p=l.zoomControl,f=l.boundsSetProgrammatically;if(c&&(a.length&&n?c.dragPan.disable():c.dragPan.enable(),a.length&&!s)){var d=new u.LngLatBounds;if(a.forEach((function(e){d.extend([e.coordinates.longitude,e.coordinates.latitude])})),r(d.getCenter()),a.length>1){c.fitBounds(d,{padding:{top:40,bottom:40,left:20,right:20}}),e.setState({boundsSetProgrammatically:!0});try{c.removeControl(p)}catch(m){}}else{if(c.setCenter(d.getCenter()),f){c.setZoom(12),o(12)}else c.setZoom(parseInt(i,10));c.addControl(p),e.setState({boundsSetProgrammatically:!1})}}})),y()(m()(e),"scriptsLoaded",(function(){var t=e.props,n=t.mapCenter,r=t.points;e.setState({loaded:!0}),r.length,e.initMap(n)})),y()(m()(e),"googlePoint2Mapbox",(function(e){return e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?e:{lat:e.latitude||0,lng:e.longitude||0}})),e.state={map:null,fit_to_bounds:!1,loaded:!1,mapboxgl:null},e.mapRef=Object(g.createRef)(),e.debouncedSizeMap=Object(w.debounce)(e.sizeMap,250),e}return b()(t,e),c()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.points,r=t.admin,o=t.children,a=t.markerColor,i=this.state,l=i.map,c=i.activeMarker,s=i.mapboxgl,u=this.onMarkerClick,p=this.deleteActiveMarker,f=this.updateActiveMarker,d=Object(w.get)(c,"props.point")||{},m=d.title,h=d.caption,b=g.Children.map(o,(function(e){if("AddPoint"===Object(w.get)(e,"props.tagName"))return e})),v=l&&s&&n.map((function(e,t){return Object(g.createElement)(O,{key:t,point:e,index:t,map:l,mapboxgl:s,markerColor:a,onClick:u})})),y=s&&Object(g.createElement)(C,{activeMarker:c,map:l,mapboxgl:s,unsetActiveMarker:function(){return e.setState({activeMarker:null})}},c&&r&&Object(g.createElement)(g.Fragment,null,Object(g.createElement)(j.TextControl,{label:Object(k.__)("Marker Title","jetpack"),value:m,onChange:function(e){return f({title:e})}}),Object(g.createElement)(j.TextareaControl,{className:"wp-block-jetpack-map__marker-caption",label:Object(k.__)("Marker Caption","jetpack"),value:h,rows:"2",tag:"textarea",onChange:function(e){return f({caption:e})}}),Object(g.createElement)(j.Button,{onClick:p,className:"wp-block-jetpack-map__delete-btn"},Object(g.createElement)(j.Dashicon,{icon:"trash",size:"15"})," ",Object(k.__)("Delete Marker","jetpack"))),c&&!r&&Object(g.createElement)(g.Fragment,null,Object(g.createElement)("h3",null,m),Object(g.createElement)("p",null,h)));return Object(g.createElement)(g.Fragment,null,Object(g.createElement)("div",{className:"wp-block-jetpack-map__gm-container",ref:this.mapRef},v),y,b)}},{key:"componentDidMount",value:function(){this.props.apiKey&&this.loadMapLibraries()}},{key:"componentWillUnmount",value:function(){this.debouncedSizeMap.cancel()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.apiKey,r=t.children,o=t.points,a=t.mapStyle,i=t.mapDetails,l=this.state.map;n&&n.length>0&&n!==e.apiKey&&this.loadMapLibraries(),r!==e.children&&!1!==r&&this.clearCurrentMarker(),o!==e.points&&this.setBoundsByMarkers(),o.length!==e.points.length&&this.clearCurrentMarker(),a===e.mapStyle&&i===e.mapDetails||l.setStyle(this.getMapStyle())}},{key:"getMapStyle",value:function(){var e=this.props;return function(e,t){return{default:{details:"mapbox://styles/automattic/cjolkhmez0qdd2ro82dwog1in",no_details:"mapbox://styles/automattic/cjolkci3905d82soef4zlmkdo"},black_and_white:{details:"mapbox://styles/automattic/cjolkixvv0ty42spgt2k4j434",no_details:"mapbox://styles/automattic/cjolkgc540tvj2spgzzoq37k4"},satellite:{details:"mapbox://styles/mapbox/satellite-streets-v10",no_details:"mapbox://styles/mapbox/satellite-v9"},terrain:{details:"mapbox://styles/automattic/cjolkf8p405fh2soet2rdt96b",no_details:"mapbox://styles/automattic/cjolke6fz12ys2rpbpvgl12ha"}}[e][t?"details":"no_details"]}(e.mapStyle,e.mapDetails)}},{key:"getMapType",value:function(){switch(this.props.mapStyle){case"satellite":return"HYBRID";case"terrain":return"TERRAIN";case"black_and_white":default:return"ROADMAP"}}},{key:"loadMapLibraries",value:function(){var e=this,t=this.props.apiKey;Promise.all([n.e(16).then(n.t.bind(null,306,7)),n.e(16).then(n.t.bind(null,307,7))]).then((function(n){var r=o()(n,1)[0].default;r.accessToken=t,e.setState({mapboxgl:r},e.scriptsLoaded)}))}},{key:"initMap",value:function(e){var t=this,n=this.state.mapboxgl,r=this.props,o=r.zoom,a=r.onMapLoaded,i=r.onError,l=r.admin,c=null;try{c=new n.Map({container:this.mapRef.current,style:this.getMapStyle(),center:this.googlePoint2Mapbox(e),zoom:parseInt(o,10),pitchWithRotate:!1,attributionControl:!1,dragRotate:!1})}catch(u){return void i("mapbox_error",u.message)}c.on("error",(function(e){i("mapbox_error",e.error.message)}));var s=new n.NavigationControl({showCompass:!1,showZoom:!0});c.on("zoomend",(function(){t.props.onSetZoom(c.getZoom())})),c.on("moveend",(function(){var e=t.props,n=e.onSetMapCenter;e.points.length<1&&n(c.getCenter())})),c.getCanvas().addEventListener("click",this.onMapClick),this.setState({map:c,zoomControl:s},(function(){t.debouncedSizeMap(),c.addControl(s),l||c.addControl(new n.FullscreenControl),t.mapRef.current.addEventListener("alignmentChanged",t.debouncedSizeMap),c.resize(),a(),t.setState({loaded:!0}),window.addEventListener("resize",t.debouncedSizeMap)}))}}]),t}(g.Component);S.defaultProps={points:[],mapStyle:"default",zoom:13,onSetZoom:function(){},onSetMapCenter:function(){},onMapLoaded:function(){},onMarkerClick:function(){},onError:function(){},markerColor:"red",apiKey:null,mapCenter:{}};t.a=S},8:function(e,t,n){var r=n(127),o=n(4);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},9:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/opentable/view.asset.php b/plugins/jetpack/_inc/blocks/opentable/view.asset.php new file mode 100644 index 00000000..f3515fac --- /dev/null +++ b/plugins/jetpack/_inc/blocks/opentable/view.asset.php @@ -0,0 +1 @@ +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '8fe4ef64a2860c2b0716f80dbfff469a');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/opentable/view.css b/plugins/jetpack/_inc/blocks/opentable/view.css new file mode 100644 index 00000000..083edbc8 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/opentable/view.css @@ -0,0 +1 @@ +.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/opentable/view.js b/plugins/jetpack/_inc/blocks/opentable/view.js new file mode 100644 index 00000000..2a49f03d --- /dev/null +++ b/plugins/jetpack/_inc/blocks/opentable/view.js @@ -0,0 +1 @@ +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=289)}({133:function(e,t,n){},289:function(e,t,n){n(42),e.exports=n(290)},290:function(e,t,n){"use strict";n.r(t);n(133)},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/opentable/view.rtl.css b/plugins/jetpack/_inc/blocks/opentable/view.rtl.css new file mode 100644 index 00000000..083edbc8 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/opentable/view.rtl.css @@ -0,0 +1 @@ +.wp-block-jetpack-opentable-theme-standard{height:301px}.wp-block-jetpack-opentable-theme-standard.is-multi{height:361px}.wp-block-jetpack-opentable-theme-tall{height:490px}.wp-block-jetpack-opentable-theme-tall.is-multi{height:550px}.wp-block-jetpack-opentable-theme-wide{height:150px}.wp-block-jetpack-opentable-theme-button{height:113px}.wp-block-jetpack-opentable .ot-dtp-picker{box-sizing:content-box}.wp-block-jetpack-opentable .ot-dtp-picker .ot-title{margin:4px auto 12px}.wp-block-jetpack-opentable .ot-dtp-picker .ot-dtp-picker-selector-link{text-decoration:none}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]{text-transform:none;padding:0}.wp-block-jetpack-opentable .ot-dtp-picker input[type=submit]:hover{text-decoration:none}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.asset.php b/plugins/jetpack/_inc/blocks/rating-star/view.asset.php index cba64457..642b20f8 100644 --- a/plugins/jetpack/_inc/blocks/rating-star/view.asset.php +++ b/plugins/jetpack/_inc/blocks/rating-star/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-polyfill'), 'version' => '57dfa7e3f445b510f271f8d653f88247');
\ No newline at end of file +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '91c631084b207b72759e67bfa97dac34');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/rating-star/view.js b/plugins/jetpack/_inc/blocks/rating-star/view.js index 52a9dfa3..dbd1bbcc 100644 --- a/plugins/jetpack/_inc/blocks/rating-star/view.js +++ b/plugins/jetpack/_inc/blocks/rating-star/view.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=268)}({268:function(e,t,n){n(37),e.exports=n(269)},269:function(e,t,n){"use strict";n.r(t);n(96)},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},96:function(e,t,n){}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=291)}({134:function(e,t,n){},291:function(e,t,n){n(42),e.exports=n(292)},292:function(e,t,n){"use strict";n.r(t);n(134)},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php b/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php index 910fdf6a..b8b2d5a8 100644 --- a/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php +++ b/plugins/jetpack/_inc/blocks/recurring-payments/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '9ef7feb1879eae17c60521521bee4be8');
\ No newline at end of file +<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'ca7788fc29fb45d180e0091690180fb6');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/recurring-payments/view.js b/plugins/jetpack/_inc/blocks/recurring-payments/view.js index 329b7790..00bf4e25 100644 --- a/plugins/jetpack/_inc/blocks/recurring-payments/view.js +++ b/plugins/jetpack/_inc/blocks/recurring-payments/view.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=270)}({270:function(e,t,n){n(37),e.exports=n(271)},271:function(e,t,n){"use strict";n.r(t);var r=n(53),o=n.n(r);n(272);function i(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){var t=JSON.parse(e.data);t&&"close"===t.action&&(window.removeEventListener("message",i),tb_remove())}}"undefined"!=typeof window&&o()((function(){Array.prototype.slice.call(document.querySelectorAll(".wp-block-jetpack-recurring-payments")).forEach((function(e){var t=e.getAttribute("data-blog-id"),n=e.getAttribute("data-plan-id"),r=e.getAttribute("data-lang");try{!function(e,t,n,r){e.addEventListener("click",(function(){window.scrollTo(0,0),tb_show(null,"https://subscribe.wordpress.com/memberships/?blog="+t+"&plan="+n+"&lang="+r+"&display=alternateTB_iframe=true",null),window.addEventListener("message",i,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal")}))}(e,t,n,r)}catch(o){console.error("Problem activating Recurring Payments "+n,o)}}))}))},272:function(e,t,n){},32:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,n){"use strict";n.r(t);n(32)},53:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=293)}({293:function(e,t,n){n(42),e.exports=n(294)},294:function(e,t,n){"use strict";n.r(t);var r=n(75),o=n.n(r);n(295);function i(e){if("https://subscribe.wordpress.com"===e.origin&&e.data){var t=JSON.parse(e.data);t&&"close"===t.action&&(window.removeEventListener("message",i),tb_remove())}}"undefined"!=typeof window&&o()((function(){Array.prototype.slice.call(document.querySelectorAll(".wp-block-jetpack-recurring-payments")).forEach((function(e){var t=e.getAttribute("data-blog-id"),n=e.getAttribute("data-plan-id"),r=e.getAttribute("data-lang");try{!function(e,t,n,r){e.addEventListener("click",(function(){window.scrollTo(0,0),tb_show(null,"https://subscribe.wordpress.com/memberships/?blog="+t+"&plan="+n+"&lang="+r+"&display=alternateTB_iframe=true",null),window.addEventListener("message",i,!1),document.querySelector("#TB_window").classList.add("jetpack-memberships-modal")}))}(e,t,n,r)}catch(o){console.error("Problem activating Recurring Payments "+n,o)}}))}))},295:function(e,t,n){},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,n){"use strict";n.r(t);n(36)},75:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php b/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php index 01458913..c4b2cbb4 100644 --- a/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php +++ b/plugins/jetpack/_inc/blocks/repeat-visitor/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9219198618e7d99b0ff6d7f001206d36');
\ No newline at end of file +<?php return array('dependencies' => array('wp-polyfill'), 'version' => '9bda2aba30cac18a8f81e511964000c6');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/repeat-visitor/view.js b/plugins/jetpack/_inc/blocks/repeat-visitor/view.js index 41f2eadc..298a1b3a 100644 --- a/plugins/jetpack/_inc/blocks/repeat-visitor/view.js +++ b/plugins/jetpack/_inc/blocks/repeat-visitor/view.js @@ -1,7 +1,2 @@ -!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=273)}({252:function(e,t,r){"use strict"; -/*! - * cookie - * Copyright(c) 2012-2014 Roman Shtylman - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},a=e.split(o),s=i.decode||n,c=0;c<a.length;c++){var f=a[c],p=f.indexOf("=");if(!(p<0)){var l=f.substr(0,p).trim(),d=f.substr(++p,f.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==r[l]&&(r[l]=u(d,s))}}return r},t.serialize=function(e,t,r){var n=r||{},o=n.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var u=o(t);if(u&&!a.test(u))throw new TypeError("argument val is invalid");var s=e+"="+u;if(null!=n.maxAge){var c=n.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(c)}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+n.expires.toUTCString()}n.httpOnly&&(s+="; HttpOnly");n.secure&&(s+="; Secure");if(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s};var n=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function u(e,t){try{return t(e)}catch(r){return e}}},273:function(e,t,r){r(37),e.exports=r(274)},274:function(e,t,r){"use strict";r.r(t);var n=r(252),i=r.n(n),o=r(31);window&&window.addEventListener("load",(function(){var e;0!==Array.from(document.querySelectorAll(".wp-block-jetpack-repeat-visitor")).length&&(e=+(i.a.parse(document.cookie)[o.a]||0)+1,document.cookie=i.a.serialize(o.a,e,{path:window.location.pathname,maxAge:o.e}))}))},31:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return u}));var n="after-visits",i="before-visits",o=3,a="jp-visit-counter",u=15552e3},32:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},37:function(e,t,r){"use strict";r.r(t);r(32)}}));
\ No newline at end of file +/*! For license information please see view.js.LICENSE */ +!function(e,t){for(var r in t)e[r]=t[r]}(window,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=296)}({269:function(e,t,r){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var r={},i=t||{},a=e.split(o),s=i.decode||n,c=0;c<a.length;c++){var f=a[c],p=f.indexOf("=");if(!(p<0)){var l=f.substr(0,p).trim(),d=f.substr(++p,f.length).trim();'"'==d[0]&&(d=d.slice(1,-1)),null==r[l]&&(r[l]=u(d,s))}}return r},t.serialize=function(e,t,r){var n=r||{},o=n.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var u=o(t);if(u&&!a.test(u))throw new TypeError("argument val is invalid");var s=e+"="+u;if(null!=n.maxAge){var c=n.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");s+="; Max-Age="+Math.floor(c)}if(n.domain){if(!a.test(n.domain))throw new TypeError("option domain is invalid");s+="; Domain="+n.domain}if(n.path){if(!a.test(n.path))throw new TypeError("option path is invalid");s+="; Path="+n.path}if(n.expires){if("function"!=typeof n.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+n.expires.toUTCString()}n.httpOnly&&(s+="; HttpOnly");n.secure&&(s+="; Secure");if(n.sameSite){switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s};var n=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function u(e,t){try{return t(e)}catch(r){return e}}},296:function(e,t,r){r(42),e.exports=r(297)},297:function(e,t,r){"use strict";r.r(t);var n=r(269),i=r.n(n),o=r(33);window&&window.addEventListener("load",(function(){var e;0!==Array.from(document.querySelectorAll(".wp-block-jetpack-repeat-visitor")).length&&(e=+(i.a.parse(document.cookie)[o.a]||0)+1,document.cookie=i.a.serialize(o.a,e,{path:window.location.pathname,maxAge:o.e}))}))},33:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"d",(function(){return o})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return u}));var n="after-visits",i="before-visits",o=3,a="jp-visit-counter",u=15552e3},36:function(e,t,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},42:function(e,t,r){"use strict";r.r(t);r(36)}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/slideshow/view.asset.php b/plugins/jetpack/_inc/blocks/slideshow/view.asset.php index 59361064..de7fec46 100644 --- a/plugins/jetpack/_inc/blocks/slideshow/view.asset.php +++ b/plugins/jetpack/_inc/blocks/slideshow/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => '5f0f9c45dd1ae66c5a460812fec19888');
\ No newline at end of file +<?php return array('dependencies' => array('lodash', 'wp-dom-ready', 'wp-escape-html', 'wp-polyfill'), 'version' => 'e4716285b153f458ef8fe28c01691abe');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/slideshow/view.js b/plugins/jetpack/_inc/blocks/slideshow/view.js index 7421dc05..cd8a414e 100644 --- a/plugins/jetpack/_inc/blocks/slideshow/view.js +++ b/plugins/jetpack/_inc/blocks/slideshow/view.js @@ -1 +1 @@ -!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){function e(e){for(var n,r,o=e[0],s=e[1],a=0,c=[];a<o.length;a++)r=o[a],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&c.push(i[r][0]),i[r]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n]);for(u&&u(e);c.length;)c.shift()()}var n={},r={10:0},i={10:0};function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(t){var e=[];r[t]?e.push(r[t]):0!==r[t]&&{13:1}[t]&&e.push(r[t]=new Promise((function(e,n){for(var i="rtl"===document.dir?({13:"vendors~swiper"}[t]||t)+"."+{13:"17b5bcc416832d7a0c9e"}[t]+".rtl.css":({13:"vendors~swiper"}[t]||t)+"."+{13:"17b5bcc416832d7a0c9e"}[t]+".css",s=o.p+i,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var u=(f=a[c]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===i||u===s))return e()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var f;if((u=(f=l[c]).getAttribute("data-href"))===i||u===s)return e()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=e,d.onerror=function(e){var i=e&&e.target&&e.target.src||s,o=new Error("Loading CSS chunk "+t+" failed.\n("+i+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=i,delete r[t],d.parentNode.removeChild(d),n(o)},d.href=s,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){r[t]=0})));var n=i[t];if(0!==n)if(n)e.push(n[2]);else{var s=new Promise((function(e,r){n=i[t]=[e,r]}));e.push(n[2]=s);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=function(t){return o.p+""+({13:"vendors~swiper"}[t]||t)+"."+{13:"17b5bcc416832d7a0c9e"}[t]+".js"}(t);var u=new Error;a=function(e){c.onerror=c.onload=null,clearTimeout(l);var n=i[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;u.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}i[t]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(e)},o.m=t,o.c=n,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o.oe=function(t){throw console.error(t),t};var s=window.webpackJsonp=window.webpackJsonp||[],a=s.push.bind(s);s.push=e,s=s.slice();for(var c=0;c<s.length;c++)e(s[c]);var u=a;return o(o.s=275)}({100:function(t,e,n){},22:function(t,e,n){var r=n(57),i=n(58),o=n(59);t.exports=function(t,e){return r(t)||i(t,e)||o()}},275:function(t,e,n){n(37),t.exports=n(276)},276:function(t,e,n){"use strict";n.r(e);var r=n(5),i=n(53),o=n.n(i),s=n(38),a=n(67),c=n(36);"undefined"!=typeof window&&o()((function(){var t=document.getElementsByClassName("wp-block-jetpack-slideshow");Object(r.forEach)(t,(function(t){var e=t.dataset,n=e.autoplay,r=e.delay,i=e.effect,o=window.matchMedia("(prefers-reduced-motion: reduce)").matches,u=n&&!o,l=t.getElementsByClassName("swiper-container")[0],f=null;Object(a.a)(l,{autoplay:!!u&&{delay:1e3*r,disableOnInteraction:!1},effect:i,init:!0,initialSlide:0,loop:!0,keyboard:{enabled:!0,onlyInViewport:!0}},{init:c.b,imagesReady:c.d,paginationRender:c.c,transitionEnd:c.a}).then((function(t){new s.a((function(){f&&(cancelAnimationFrame(f),f=null),f=requestAnimationFrame((function(){Object(c.d)(t),t.update()}))})).observe(t.el)})).catch((function(){t.querySelector(".wp-block-jetpack-slideshow_container").classList.add("wp-swiper-initialized")}))}))}))},30:function(t,e){function n(t,e,n,r,i,o,s){try{var a=t[o](s),c=a.value}catch(u){return void n(u)}a.done?e(c):Promise.resolve(c).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var s=t.apply(e,r);function a(t){n(s,i,o,a,c,"next",t)}function c(t){n(s,i,o,a,c,"throw",t)}a(void 0)}))}}},32:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},36:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return l}));var r=n(68),i=n(5),o=16/9,s=.8,a=600,c="wp-block-jetpack-slideshow_autoplay-paused";function u(t){l(t),f(t),t.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){t.el&&(t.el.classList.contains(c)?(t.el.classList.remove(c),t.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(t.el.classList.add(c),t.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function l(t){if(t&&t.el){var e=t.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(e){var n=e.clientWidth/e.clientHeight,r=Math.max(Math.min(n,o),1),i="undefined"!=typeof window?window.innerHeight*s:a,c=Math.min(t.width/r,i),u="".concat(Math.floor(c),"px"),l="".concat(Math.floor(c/2),"px");t.el.classList.add("wp-swiper-initialized"),t.wrapperEl.style.height=u,t.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=l,t.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=l}}}function f(t){Object(i.forEach)(t.slides,(function(e,n){e.setAttribute("aria-hidden",n===t.activeIndex?"false":"true"),n===t.activeIndex?e.setAttribute("tabindex","-1"):e.removeAttribute("tabindex")})),function(t){var e=t.slides[t.activeIndex];if(e){var n=e.getElementsByTagName("FIGCAPTION")[0],i=e.getElementsByTagName("IMG")[0];t.a11y.liveRegion&&(t.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(i.alt))}}(t)}function d(t){Object(i.forEach)(t.pagination.bullets,(function(e){e.addEventListener("click",(function(){var e=t.slides[t.realIndex];setTimeout((function(){e.focus()}),500)}))}))}},37:function(t,e,n){"use strict";n.r(e);n(32)},38:function(t,e,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}())}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=2;var c=20,u=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,f=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&u()}function c(){s(o)}function u(){var t=Date.now();if(n){if(t-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}(this.refresh.bind(this),c)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),d=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},p=_(0,0,0,0);function v(t){return parseFloat(t)||0}function b(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+v(t["border-"+n+"-width"])}),0)}function m(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=h(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=v(o)}return e}(r),o=i.left+i.right,s=i.top+i.bottom,a=v(r.width),c=v(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==e&&(a-=b(r,"left","right")+o),Math.round(c+s)!==n&&(c-=b(r,"top","bottom")+s)),!function(t){return t===h(t).document.documentElement}(t)){var u=Math.round(a+o)-e,l=Math.round(c+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(l)&&(c-=l)}return _(i.left,i.top,a,c)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function w(t){return i?y(t)?function(t){var e=t.getBBox();return _(0,0,e.width,e.height)}(t):m(t):p}function _(t,e,n,r){return{x:t,y:e,width:n,height:r}}var g=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=w(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),E=function(t,e){var n,r,i,o,s,a,c,u=(r=(n=e).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),d(c,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),c);d(this,{target:t,contentRect:u})},O=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new g(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new E(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new r,k=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new O(e,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){k.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var A=void 0!==o.ResizeObserver?o.ResizeObserver:k;e.a=A},5:function(t,e){!function(){t.exports=this.lodash}()},53:function(t,e){!function(){t.exports=this.wp.domReady}()},57:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},58:function(t,e){t.exports=function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}},59:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},67:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(22),i=n.n(r),o=n(30),s=n.n(o),a=n(5);n(100);function c(){return u.apply(this,arguments)}function u(){return(u=s()(regeneratorRuntime.mark((function t(){var e,r,o,s,c,u,l,f=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=f.length>0&&void 0!==f[0]?f[0]:".swiper-container",r=f.length>1&&void 0!==f[1]?f[1]:{},o=f.length>2&&void 0!==f[2]?f[2]:{},s={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(a.mapValues)(o,(function(t){return function(){t(this)}}))},t.next=6,Promise.all([n.e(13).then(n.t.bind(null,253,7)),n.e(13).then(n.t.bind(null,254,7))]);case 6:return c=t.sent,u=i()(c,1),l=u[0].default,t.abrupt("return",new l(e,Object(a.merge)({},s,r)));case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},68:function(t,e){!function(){t.exports=this.wp.escapeHtml}()}}));
\ No newline at end of file +!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,o=t[0],s=t[1],a=0,c=[];a<o.length;a++)r=o[a],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&c.push(i[r][0]),i[r]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(u&&u(t);c.length;)c.shift()()}var n={},r={14:0},i={14:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{17:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var i="rtl"===document.dir?({17:"vendors~swiper"}[e]||e)+"."+{17:"23fd414831f3de8536b3"}[e]+".rtl.css":({17:"vendors~swiper"}[e]||e)+"."+{17:"23fd414831f3de8536b3"}[e]+".css",s=o.p+i,a=document.getElementsByTagName("link"),c=0;c<a.length;c++){var u=(l=a[c]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===i||u===s))return t()}var f=document.getElementsByTagName("style");for(c=0;c<f.length;c++){var l;if((u=(l=f[c]).getAttribute("data-href"))===i||u===s)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var i=t&&t.target&&t.target.src||s,o=new Error("Loading CSS chunk "+e+" failed.\n("+i+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=i,delete r[e],d.parentNode.removeChild(d),n(o)},d.href=s,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){r[e]=0})));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var s=new Promise((function(t,r){n=i[e]=[t,r]}));t.push(n[2]=s);var a,c=document.createElement("script");c.charset="utf-8",c.timeout=120,o.nc&&c.setAttribute("nonce",o.nc),c.src=function(e){return o.p+""+({17:"vendors~swiper"}[e]||e)+"."+{17:"23fd414831f3de8536b3"}[e]+".js"}(e);var u=new Error;a=function(t){c.onerror=c.onload=null,clearTimeout(f);var n=i[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}i[e]=void 0}};var f=setTimeout((function(){a({type:"timeout",target:c})}),12e4);c.onerror=c.onload=a,document.head.appendChild(c)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var s=window.webpackJsonp=window.webpackJsonp||[],a=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var u=a;return o(o.s=298)}({135:function(e,t,n){},18:function(e,t,n){var r=n(65),i=n(66),o=n(67);e.exports=function(e,t){return r(e)||i(e,t)||o()}},298:function(e,t,n){n(42),e.exports=n(299)},299:function(e,t,n){"use strict";n.r(t);var r=n(5),i=n(75),o=n.n(i),s=n(39),a=n(73),c=n(38);"undefined"!=typeof window&&o()((function(){var e=document.getElementsByClassName("wp-block-jetpack-slideshow");Object(r.forEach)(e,(function(e){var t=e.dataset,n=t.autoplay,r=t.delay,i=t.effect,o=window.matchMedia("(prefers-reduced-motion: reduce)").matches,u=n&&!o,f=e.getElementsByClassName("swiper-container")[0],l=null;Object(a.a)(f,{autoplay:!!u&&{delay:1e3*r,disableOnInteraction:!1},effect:i,init:!0,initialSlide:0,loop:!0,keyboard:{enabled:!0,onlyInViewport:!0}},{init:c.b,imagesReady:c.d,paginationRender:c.c,transitionEnd:c.a}).then((function(e){new s.a((function(){l&&(cancelAnimationFrame(l),l=null),l=requestAnimationFrame((function(){Object(c.d)(e),e.update()}))})).observe(e.el)})).catch((function(){e.querySelector(".wp-block-jetpack-slideshow_container").classList.add("wp-swiper-initialized")}))}))}))},36:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return a}));var r=n(74),i=n(5),o="wp-block-jetpack-slideshow_autoplay-paused";function s(e){a(e),c(e),e.el.querySelector(".wp-block-jetpack-slideshow_button-pause").addEventListener("click",(function(){e.el&&(e.el.classList.contains(o)?(e.el.classList.remove(o),e.autoplay.start(),this.setAttribute("aria-label","Pause Slideshow")):(e.el.classList.add(o),e.autoplay.stop(),this.setAttribute("aria-label","Play Slideshow")))}))}function a(e){if(e&&e.el){var t=e.el.querySelector('.swiper-slide[data-swiper-slide-index="0"] img');if(t){var n=t.clientWidth/t.clientHeight,r=Math.max(Math.min(n,16/9),1),i="undefined"!=typeof window?.8*window.innerHeight:600,o=Math.min(e.width/r,i),s="".concat(Math.floor(o),"px"),a="".concat(Math.floor(o/2),"px");e.el.classList.add("wp-swiper-initialized"),e.wrapperEl.style.height=s,e.el.querySelector(".wp-block-jetpack-slideshow_button-prev").style.top=a,e.el.querySelector(".wp-block-jetpack-slideshow_button-next").style.top=a}}}function c(e){Object(i.forEach)(e.slides,(function(t,n){t.setAttribute("aria-hidden",n===e.activeIndex?"false":"true"),n===e.activeIndex?t.setAttribute("tabindex","-1"):t.removeAttribute("tabindex")})),function(e){var t=e.slides[e.activeIndex];if(t){var n=t.getElementsByTagName("FIGCAPTION")[0],i=t.getElementsByTagName("IMG")[0];e.a11y.liveRegion&&(e.a11y.liveRegion[0].innerHTML=n?n.innerHTML:Object(r.escapeHTML)(i.alt))}}(e)}function u(e){Object(i.forEach)(e.pagination.bullets,(function(t){t.addEventListener("click",(function(){var t=e.slides[e.realIndex];setTimeout((function(){t.focus()}),500)}))}))}},39:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}())}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&c()}function a(){s(o)}function c(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},l=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=w(0,0,0,0);function h(e){return parseFloat(e)||0}function p(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function v(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=l(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=h(o)}return t}(r),o=i.left+i.right,s=i.top+i.bottom,a=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=p(r,"left","right")+o),Math.round(c+s)!==n&&(c-=p(r,"top","bottom")+s)),!function(e){return e===l(e).document.documentElement}(e)){var u=Math.round(a+o)-t,f=Math.round(c+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(f)&&(c-=f)}return w(i.left,i.top,a,c)}var b="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof l(e).SVGGraphicsElement}:function(e){return e instanceof l(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return i?b(e)?function(e){var t=e.getBBox();return w(0,0,t.width,t.height)}(e):v(e):d}function w(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=w(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,r,i,o,s,a,c,u=(r=(n=t).x,i=n.y,o=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),f(c,{x:r,y:i,width:o,height:s,top:i,right:r+o,bottom:s+i,left:r}),c);f(this,{target:e,contentRect:u})},g=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof l(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,O=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),r=new g(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var x=void 0!==o.ResizeObserver?o.ResizeObserver:O;t.a=x},42:function(e,t,n){"use strict";n.r(t);n(36)},5:function(e,t){!function(){e.exports=this.lodash}()},65:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},66:function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}},67:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},73:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(18),i=n.n(r),o=n(5);n(135);function s(){var e,t,r,s,a,c,u,f=arguments;return regeneratorRuntime.async((function(l){for(;;)switch(l.prev=l.next){case 0:return e=f.length>0&&void 0!==f[0]?f[0]:".swiper-container",t=f.length>1&&void 0!==f[1]?f[1]:{},r=f.length>2&&void 0!==f[2]?f[2]:{},s={effect:"slide",grabCursor:!0,init:!0,initialSlide:0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{bulletElement:"button",clickable:!0,el:".swiper-pagination",type:"bullets"},preventClicksPropagation:!1,releaseFormElements:!1,setWrapperSize:!0,touchStartPreventDefault:!1,on:Object(o.mapValues)(r,(function(e){return function(){e(this)}}))},l.next=6,regeneratorRuntime.awrap(Promise.all([n.e(17).then(n.t.bind(null,266,7)),n.e(17).then(n.t.bind(null,267,7))]));case 6:return a=l.sent,c=i()(a,1),u=c[0].default,l.abrupt("return",new u(e,Object(o.merge)({},s,t)));case 10:case"end":return l.stop()}}))}},74:function(e,t){!function(){e.exports=this.wp.escapeHtml}()},75:function(e,t){!function(){e.exports=this.wp.domReady}()}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php b/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php index 122a225e..b9cf8377 100644 --- a/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php +++ b/plugins/jetpack/_inc/blocks/tiled-gallery/view.asset.php @@ -1 +1 @@ -<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'bd756f29ae7f3bdac7351a1b0eab5b4b');
\ No newline at end of file +<?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'af838f9c85bb1582f2f4a3d9f67e9721');
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/tiled-gallery/view.js b/plugins/jetpack/_inc/blocks/tiled-gallery/view.js index 07b2b4db..7eeeaff4 100644 --- a/plugins/jetpack/_inc/blocks/tiled-gallery/view.js +++ b/plugins/jetpack/_inc/blocks/tiled-gallery/view.js @@ -1 +1 @@ -!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=277)}({20:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"h",(function(){return o})),n.d(e,"i",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return h}));var r=["image"],i=4,o=20,c=2e3,u="circle",a="columns",s="rectangular",f="square",h=[{isDefault:!0,name:s},{name:u},{name:f},{name:a}]},22:function(t,e,n){var r=n(57),i=n(58),o=n(59);t.exports=function(t,e){return r(t)||i(t,e)||o()}},277:function(t,e,n){n(37),t.exports=n(278)},278:function(t,e,n){"use strict";n.r(e);var r=n(53),i=n.n(r),o=(n(279),n(38)),c=n(56);function u(t){u.pendingRaf&&cancelAnimationFrame(u.pendingRaf),u.pendingRaf=requestAnimationFrame((function(){u.pendingRaf=null;var e=!0,n=!1,r=void 0;try{for(var i,o=function(){var t=i.value,e=t.contentRect.width;Array.from(t.target.querySelectorAll(".tiled-gallery__row")).forEach((function(t){return Object(c.b)(t,e)}))},a=t[Symbol.iterator]();!(e=(i=a.next()).done);e=!0)o()}catch(s){n=!0,r=s}finally{try{e||null==a.return||a.return()}finally{if(n)throw r}}}))}"undefined"!=typeof window&&i()((function(){var t=Array.from(document.querySelectorAll(".wp-block-jetpack-tiled-gallery.is-style-rectangular > .tiled-gallery__gallery,.wp-block-jetpack-tiled-gallery.is-style-columns > .tiled-gallery__gallery"));if(0!==t.length){var e=new o.a(u);t.forEach((function(t){return e.observe(t)}))}}))},279:function(t,e,n){},32:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},37:function(t,e,n){"use strict";n.r(e);n(32)},38:function(t,e,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}())}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},u=2;var a=20,s=["top","right","bottom","left","width","height","size","weight"],f="undefined"!=typeof MutationObserver,h=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&s()}function a(){c(o)}function s(){var t=Date.now();if(n){if(t-i<u)return;r=!0}else n=!0,r=!1,setTimeout(a,e);i=t}return s}(this.refresh.bind(this),a)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),f?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),d=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},p=w(0,0,0,0);function v(t){return parseFloat(t)||0}function _(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+v(t["border-"+n+"-width"])}),0)}function b(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=l(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=v(o)}return e}(r),o=i.left+i.right,c=i.top+i.bottom,u=v(r.width),a=v(r.height);if("border-box"===r.boxSizing&&(Math.round(u+o)!==e&&(u-=_(r,"left","right")+o),Math.round(a+c)!==n&&(a-=_(r,"top","bottom")+c)),!function(t){return t===l(t).document.documentElement}(t)){var s=Math.round(u+o)-e,f=Math.round(a+c)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(f)&&(a-=f)}return w(i.left,i.top,u,a)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return i?y(t)?function(t){var e=t.getBBox();return w(0,0,e.width,e.height)}(t):b(t):p}function w(t,e,n,r){return{x:t,y:e,width:n,height:r}}var g=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=w(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),E=function(t,e){var n,r,i,o,c,u,a,s=(r=(n=e).x,i=n.y,o=n.width,c=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(u.prototype),d(a,{x:r,y:i,width:o,height:c,top:i,right:r+o,bottom:c+i,left:r}),a);d(this,{target:t,contentRect:s})},O=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new g(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new E(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),A="undefined"!=typeof WeakMap?new WeakMap:new r,M=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=h.getInstance(),r=new O(e,n,this);A.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){M.prototype[t]=function(){var e;return(e=A.get(this))[t].apply(e,arguments)}}));var x=void 0!==o.ResizeObserver?o.ResizeObserver:M;e.a=x},53:function(t,e){!function(){t.exports=this.wp.domReady}()},56:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a}));var r=n(22),i=n.n(r),o=n(20);function c(t,e){var n=(e-t.reduce((function(t,e){return t+e}),0))/t.length;return t.map((function(t){return t+n}))}function u(t,e){!function(t,e,n){var r=i()(e,2),u=r[0],a=r[1],l=1/u*(n-o.b*(t.childElementCount-1)-a);!function(t,e){var n=e.rawHeight,r=e.rowWidth,i=s(t),u=i.map((function(t){return(n-o.b*(t.childElementCount-1))*h(t)[0]})),a=c(u,r);i.forEach((function(t,e){var r=u[e],i=a[e];!function(t,e){var n=e.colHeight,r=e.width,i=e.rawWidth,o=c(f(t).map((function(t){return i/d(t)})),n);Array.from(t.children).forEach((function(t,e){var n=o[e];t.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(t,{colHeight:n-o.b*(t.childElementCount-1),width:i,rawWidth:r})}))}(t,{rawHeight:l,rowWidth:n-o.b*(t.childElementCount-1)})}(t,function(t){return s(t).map(h).reduce((function(t,e){var n=i()(t,2),r=n[0],o=n[1],c=i()(e,2);return[r+c[0],o+c[1]]}),[0,0])}(t),e)}function a(t){return Array.from(t.querySelectorAll(".tiled-gallery__row"))}function s(t){return Array.from(t.querySelectorAll(".tiled-gallery__col"))}function f(t){return Array.from(t.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function h(t){var e=f(t),n=e.length,r=1/e.map(d).reduce((function(t,e){return t+1/e}),0);return[r,r*n||1]}function d(t){var e=parseInt(t.dataset.width,10),n=parseInt(t.dataset.height,10);return e&&!Number.isNaN(e)&&n&&!Number.isNaN(n)?e/n:1}},57:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},58:function(t,e){t.exports=function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var c,u=t[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(a){i=!0,o=a}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}},59:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}));
\ No newline at end of file +!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=300)}({18:function(t,e,n){var r=n(65),i=n(66),o=n(67);t.exports=function(t,e){return r(t)||i(t,e)||o()}},22:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"h",(function(){return o})),n.d(e,"i",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return h}));var r=["image"],i=4,o=20,c=2e3,u="circle",a="columns",s="rectangular",f="square",h=[{isDefault:!0,name:s},{name:u},{name:f},{name:a}]},300:function(t,e,n){n(42),t.exports=n(301)},301:function(t,e,n){"use strict";n.r(e);var r=n(75),i=n.n(r),o=(n(302),n(39)),c=n(62);function u(t){u.pendingRaf&&cancelAnimationFrame(u.pendingRaf),u.pendingRaf=requestAnimationFrame((function(){u.pendingRaf=null;var e=!0,n=!1,r=void 0;try{for(var i,o=function(){var t=i.value,e=t.contentRect.width;Array.from(t.target.querySelectorAll(".tiled-gallery__row")).forEach((function(t){return Object(c.b)(t,e)}))},a=t[Symbol.iterator]();!(e=(i=a.next()).done);e=!0)o()}catch(s){n=!0,r=s}finally{try{e||null==a.return||a.return()}finally{if(n)throw r}}}))}"undefined"!=typeof window&&i()((function(){var t=Array.from(document.querySelectorAll(".wp-block-jetpack-tiled-gallery.is-style-rectangular > .tiled-gallery__gallery,.wp-block-jetpack-tiled-gallery.is-style-columns > .tiled-gallery__gallery"));if(0!==t.length){var e=new o.a(u);t.forEach((function(t){return e.observe(t)}))}}))},302:function(t,e,n){},36:function(t,e,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(n.p=window.Jetpack_Block_Assets_Base_Url)},39:function(t,e,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}())}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&a()}function u(){c(o)}function a(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);i=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=y(0,0,0,0);function l(t){return parseFloat(t)||0}function p(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+l(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=h(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=l(o)}return e}(r),o=i.left+i.right,c=i.top+i.bottom,u=l(r.width),a=l(r.height);if("border-box"===r.boxSizing&&(Math.round(u+o)!==e&&(u-=p(r,"left","right")+o),Math.round(a+c)!==n&&(a-=p(r,"top","bottom")+c)),!function(t){return t===h(t).document.documentElement}(t)){var s=Math.round(u+o)-e,f=Math.round(a+c)-n;1!==Math.abs(s)&&(u-=s),1!==Math.abs(f)&&(a-=f)}return y(i.left,i.top,u,a)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function b(t){return i?_(t)?function(t){var e=t.getBBox();return y(0,0,e.width,e.height)}(t):v(t):d}function y(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=b(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,i,o,c,u,a,s=(r=(n=e).x,i=n.y,o=n.width,c=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(u.prototype),f(a,{x:r,y:i,width:o,height:c,top:i,right:r+o,bottom:c+i,left:r}),a);f(this,{target:t,contentRect:s})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));var A=void 0!==o.ResizeObserver?o.ResizeObserver:O;e.a=A},42:function(t,e,n){"use strict";n.r(e);n(36)},62:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return a}));var r=n(18),i=n.n(r),o=n(22);function c(t,e){var n=(e-t.reduce((function(t,e){return t+e}),0))/t.length;return t.map((function(t){return t+n}))}function u(t,e){!function(t,e,n){var r=i()(e,2),u=r[0],a=r[1],l=1/u*(n-o.b*(t.childElementCount-1)-a);!function(t,e){var n=e.rawHeight,r=e.rowWidth,i=s(t),u=i.map((function(t){return(n-o.b*(t.childElementCount-1))*h(t)[0]})),a=c(u,r);i.forEach((function(t,e){var r=u[e],i=a[e];!function(t,e){var n=e.colHeight,r=e.width,i=e.rawWidth,o=c(f(t).map((function(t){return i/d(t)})),n);Array.from(t.children).forEach((function(t,e){var n=o[e];t.setAttribute("style","height:".concat(n,"px;width:").concat(r,"px;"))}))}(t,{colHeight:n-o.b*(t.childElementCount-1),width:i,rawWidth:r})}))}(t,{rawHeight:l,rowWidth:n-o.b*(t.childElementCount-1)})}(t,function(t){return s(t).map(h).reduce((function(t,e){var n=i()(t,2),r=n[0],o=n[1],c=i()(e,2);return[r+c[0],o+c[1]]}),[0,0])}(t),e)}function a(t){return Array.from(t.querySelectorAll(".tiled-gallery__row"))}function s(t){return Array.from(t.querySelectorAll(".tiled-gallery__col"))}function f(t){return Array.from(t.querySelectorAll(".tiled-gallery__item > img, .tiled-gallery__item > a > img"))}function h(t){var e=f(t),n=e.length,r=1/e.map(d).reduce((function(t,e){return t+1/e}),0);return[r,r*n||1]}function d(t){var e=parseInt(t.dataset.width,10),n=parseInt(t.dataset.height,10);return e&&!Number.isNaN(e)&&n&&!Number.isNaN(n)?e/n:1}},65:function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},66:function(t,e){t.exports=function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var c,u=t[Symbol.iterator]();!(r=(c=u.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(a){i=!0,o=a}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}},67:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},75:function(t,e){!function(){t.exports=this.wp.domReady}()}}));
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css new file mode 100644 index 00000000..32807b41 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.css @@ -0,0 +1 @@ +.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{width:88px;height:23px;margin:0 0 -4px -4px;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg opacity='.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg opacity='.9' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;left:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,.35)}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js new file mode 100644 index 00000000..da0bc187 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{306:function(t,e,r){t.exports=function(){"use strict";var t,e,r;function i(i,n){if(t)if(e){var o="var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk);",a={};t(a),(r=n(a)).workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"}))}else e=n;else t=n}return i(0,(function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=i;function i(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=r,this.p2y=i}i.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},i.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},i.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},i.prototype.solveCurveX=function(t,e){var r,i,n,o,a;for(void 0===e&&(e=1e-6),n=t,a=0;a<8;a++){if(o=this.sampleCurveX(n)-t,Math.abs(o)<e)return n;var s=this.sampleCurveDerivativeX(n);if(Math.abs(s)<1e-6)break;n-=o/s}if((n=t)<(r=0))return r;if(n>(i=1))return i;for(;r<i;){if(o=this.sampleCurveX(n),Math.abs(o-t)<e)return n;t>o?r=n:i=n,n=.5*(i-r)+r}return n},i.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var n=o;function o(t,e){this.x=t,this.y=e}function a(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!a(t[r],e[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==e){if("object"!=typeof e)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var i in t)if(!a(t[i],e[i]))return!1;return!0}return t===e}function s(t,e,i,n){var o=new r(t,e,i,n);return function(t){return o.solve(t)}}o.prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=e*this.x-r*this.y,n=r*this.x+e*this.y;return this.x=i,this.y=n,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),n=e.x+r*(this.x-e.x)-i*(this.y-e.y),o=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=n,this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.convert=function(t){return t instanceof o?t:Array.isArray(t)?new o(t[0],t[1]):t};var l=s(.25,.1,.25,1);function u(t,e,r){return Math.min(r,Math.max(e,t))}function c(t,e,r){var i=r-e,n=((t-e)%i+i)%i+e;return n===e?r:n}function p(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}var h=1;function f(){return h++}function d(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function m(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function y(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function _(t,e){return-1!==t.indexOf(e,t.length-e.length)}function g(t,e,r){var i={};for(var n in t)i[n]=e.call(r||this,t[n],n,t);return i}function v(t,e,r){var i={};for(var n in t)e.call(r||this,t[n],n,t)&&(i[n]=t[n]);return i}function x(t){return Array.isArray(t)?t.map(x):"object"==typeof t&&t?g(t,x):t}var b={};function w(t){b[t]||("undefined"!=typeof console&&console.warn(t),b[t]=!0)}function S(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function E(t){for(var e=0,r=0,i=t.length,n=i-1,o=void 0,a=void 0;r<i;n=r++)o=t[r],e+=((a=t[n]).x-o.x)*(o.y+a.y);return e}function T(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}function I(t){var e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,r,i,n){var o=i||n;return e[r]=!o||o.toLowerCase(),""})),e["max-age"]){var r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}var A=null;function z(t){if(null==A){var e=t.navigator?t.navigator.userAgent:null;A=!!t.safari||!(!e||!(/\b(iPad|iPhone|iPod)\b/.test(e)||e.match("Safari")&&!e.match("Chrome")))}return A}function C(t){try{var e=self[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var k,P,M,L,D=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),B=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,R=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,F={now:D,frame:function(t){var e=B(t);return{cancel:function(){return R(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var r=self.document.createElement("canvas"),i=r.getContext("2d");if(!i)throw new Error("failed to create canvas 2d context");return r.width=t.width,r.height=t.height,i.drawImage(t,0,0,t.width,t.height),i.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return k||(k=self.document.createElement("a")),k.href=t,k.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(null==P&&(P=self.matchMedia("(prefers-reduced-motion: reduce)")),P.matches)}},O={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},U={supported:!1,testSupport:function(t){!V&&L&&(N?j(t):M=t)}},V=!1,N=!1;function j(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,L),t.isContextLost())return;U.supported=!0}catch(t){}t.deleteTexture(e),V=!0}self.document&&((L=self.document.createElement("img")).onload=function(){M&&j(M),M=null,N=!0},L.onerror=function(){V=!0,M=null},L.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var q="01",Z=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken()};function G(t){return 0===t.indexOf("mapbox:")}Z.prototype._createSkuToken=function(){var t=function(){for(var t="",e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",q,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt},Z.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},Z.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},Z.prototype.normalizeStyleURL=function(t,e){if(!G(t))return t;var r=H(t);return r.path="/styles/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},Z.prototype.normalizeGlyphsURL=function(t,e){if(!G(t))return t;var r=H(t);return r.path="/fonts/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},Z.prototype.normalizeSourceURL=function(t,e){if(!G(t))return t;var r=H(t);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),this._makeAPIURL(r,this._customAccessToken||e)},Z.prototype.normalizeSpriteURL=function(t,e,r,i){var n=H(t);return G(t)?(n.path="/styles/v1"+n.path+"/sprite"+e+r,this._makeAPIURL(n,this._customAccessToken||i)):(n.path+=""+e+r,J(n))},Z.prototype.normalizeTileURL=function(t,e,r){if(this._isSkuTokenExpired()&&this._createSkuToken(),!e||!G(e))return t;var i=H(t),n=F.devicePixelRatio>=2||512===r?"@2x":"",o=U.supported?".webp":"$1";return i.path=i.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+n+o),i.path=i.path.replace(/^.+\/v4\//,"/"),i.path="/v4"+i.path,O.REQUIRE_ACCESS_TOKEN&&(O.ACCESS_TOKEN||this._customAccessToken)&&this._skuToken&&i.params.push("sku="+this._skuToken),this._makeAPIURL(i,this._customAccessToken)},Z.prototype.canonicalizeTileURL=function(t){var e=H(t);if(!e.path.match(/(^\/v4\/)/)||!e.path.match(/\.[\w]+$/))return t;var r="mapbox://tiles/";r+=e.path.replace("/v4/","");var i=e.params.filter((function(t){return!t.match(/^access_token=/)}));return i.length&&(r+="?"+i.join("&")),r},Z.prototype.canonicalizeTileset=function(t,e){if(!G(e))return t.tiles||[];for(var r=[],i=0,n=t.tiles;i<n.length;i+=1){var o=n[i],a=this.canonicalizeTileURL(o);r.push(a)}return r},Z.prototype._makeAPIURL=function(t,e){var r="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",i=H(O.API_URL);if(t.protocol=i.protocol,t.authority=i.authority,"/"!==i.path&&(t.path=""+i.path+t.path),!O.REQUIRE_ACCESS_TOKEN)return J(t);if(!(e=e||O.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+r);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+r);return t.params=t.params.filter((function(t){return-1===t.indexOf("access_token")})),t.params.push("access_token="+e),J(t)};var X=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function W(t){return X.test(t)}var K=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function H(t){var e=t.match(K);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function J(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}function Y(t){if(!t)return null;var e,r=t.split(".");if(!r||3!==r.length)return null;try{return JSON.parse((e=r[1],decodeURIComponent(self.atob(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(t){return null}}var Q=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};Q.prototype.getStorageKey=function(t){var e,r=Y(O.ACCESS_TOKEN),i="";return r&&r.u?(e=r.u,i=self.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number("0x"+e))})))):i=O.ACCESS_TOKEN||"",t?"mapbox.eventData."+t+":"+i:"mapbox.eventData:"+i},Q.prototype.fetchEventData=function(){var t=C("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{var i=self.localStorage.getItem(e);i&&(this.eventData=JSON.parse(i));var n=self.localStorage.getItem(r);n&&(this.anonId=n)}catch(t){w("Unable to read from LocalStorage")}},Q.prototype.saveEventData=function(){var t=C("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{self.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){w("Unable to write to LocalStorage")}},Q.prototype.processRequests=function(t){},Q.prototype.postEvent=function(t,e,r,i){var n=this;if(O.EVENTS_URL){var o=H(O.EVENTS_URL);o.params.push("access_token="+(i||O.ACCESS_TOKEN||""));var a={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.6.1",skuId:q,userId:this.anonId},s=e?p(a,e):a,l={url:J(o),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=xt(l,(function(t){n.pendingRequest=null,r(t),n.saveEventData(),n.processRequests(i)}))}},Q.prototype.queueRequest=function(t,e){this.queue.push(t),this.processRequests(e)};var $,tt,et=function(t){function e(){t.call(this,"map.load"),this.success={},this.skuToken=""}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e,r,i){this.skuToken=r,(O.EVENTS_URL&&i||O.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return G(t)||W(t)})))&&this.queueRequest({id:e,timestamp:Date.now()},i)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){var r=this.queue.shift(),i=r.id,n=r.timestamp;i&&this.success[i]||(this.anonId||this.fetchEventData(),m(this.anonId)||(this.anonId=d()),this.postEvent(n,{skuToken:this.skuToken},(function(t){t||i&&(e.success[i]=!0)}),t))}},e}(Q),rt=new(function(t){function e(e){t.call(this,"appUserTurnstile"),this._customAccessToken=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t,e){O.EVENTS_URL&&O.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return G(t)||W(t)}))&&this.queueRequest(Date.now(),e)},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var r=Y(O.ACCESS_TOKEN),i=r?r.u:O.ACCESS_TOKEN,n=i!==this.eventData.tokenU;m(this.anonId)||(this.anonId=d(),n=!0);var o=this.queue.shift();if(this.eventData.lastSuccess){var a=new Date(this.eventData.lastSuccess),s=new Date(o),l=(o-this.eventData.lastSuccess)/864e5;n=n||l>=1||l<-1||a.getDate()!==s.getDate()}else n=!0;if(!n)return this.processRequests();this.postEvent(o,{"enabled.telemetry":!1},(function(t){t||(e.eventData.lastSuccess=o,e.eventData.tokenU=i)}),t)}},e}(Q)),it=rt.postTurnstileEvent.bind(rt),nt=new et,ot=nt.postMapLoadEvent.bind(nt),at="mapbox-tiles",st=500,lt=50;function ut(){self.caches&&!$&&($=self.caches.open(at))}function ct(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}var pt=1/0,ht={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(ht);var ft=function(t){function e(e,r,i){401===r&&W(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),t.call(this,e),this.status=r,this.url=i,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error),dt=T()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===self.location.protocol?self.parent:self).location.href};function mt(t,e){var r,i=new self.AbortController,n=new self.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:dt(),signal:i.signal}),o=!1,a=!1,s=(r=n.url).indexOf("sku=")>0&&W(r);"json"===t.type&&n.headers.set("Accept","application/json");var l=function(r,i,o){if(!a){if(r&&"SecurityError"!==r.message&&w(r),i&&o)return u(i);var l=Date.now();self.fetch(n).then((function(r){if(r.ok){var i=s?r.clone():null;return u(r,i,l)}return e(new ft(r.statusText,r.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message))}))}},u=function(r,i,s){("arrayBuffer"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text()).then((function(t){a||(i&&s&&function(t,e,r){if(ut(),$){var i={status:e.status,statusText:e.statusText,headers:new self.Headers};e.headers.forEach((function(t,e){return i.headers.set(e,t)}));var n=I(e.headers.get("Cache-Control")||"");n["no-store"]||(n["max-age"]&&i.headers.set("Expires",new Date(r+1e3*n["max-age"]).toUTCString()),new Date(i.headers.get("Expires")).getTime()-r<42e4||function(t,e){if(void 0===tt)try{new Response(new ReadableStream),tt=!0}catch(t){tt=!1}tt?e(t.body):t.blob().then(e)}(e,(function(e){var r=new self.Response(e,i);ut(),$&&$.then((function(e){return e.put(ct(t.url),r)})).catch((function(t){return w(t.message)}))})))}}(n,i,s),o=!0,e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires")))})).catch((function(t){a||e(new Error(t.message))}))};return s?function(t,e){if(ut(),!$)return e(null);var r=ct(t.url);$.then((function(t){t.match(r).then((function(i){var n=function(t){if(!t)return!1;var e=new Date(t.headers.get("Expires")||0),r=I(t.headers.get("Cache-Control")||"");return e>Date.now()&&!r["no-cache"]}(i);t.delete(r),n&&t.put(r,i.clone()),e(null,i,n)})).catch(e)})).catch(e)}(n,l):l(null,null),{cancel:function(){a=!0,o||i.abort()}}}var yt,_t,gt=function(t,e){if(r=t.url,!(/^file:/.test(r)||/^file:/.test(dt())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return mt(t,e);if(T()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e,void 0,!0)}var r;return function(t,e){var r=new self.XMLHttpRequest;for(var i in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(i,t.headers[i]);return"json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=function(){e(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var i=r.response;if("json"===t.type)try{i=JSON.parse(r.response)}catch(t){return e(t)}e(null,i,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else e(new ft(r.statusText,r.status,t.url))},r.send(t.body),{cancel:function(){return r.abort()}}}(t,e)},vt=function(t,e){return gt(p(t,{type:"arrayBuffer"}),e)},xt=function(t,e){return gt(p(t,{method:"POST"}),e)};yt=[],_t=0;var bt=function(t,e){if(U.supported&&(t.headers||(t.headers={}),t.headers.accept="image/webp,*/*"),_t>=O.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0}};return yt.push(r),r}_t++;var i=!1,n=function(){if(!i)for(i=!0,_t--;yt.length&&_t<O.MAX_PARALLEL_IMAGE_REQUESTS;){var t=yt.shift(),e=t.requestParameters,r=t.callback;t.cancelled||(t.cancel=bt(e,r).cancel)}},o=vt(t,(function(t,r,i,o){if(n(),t)e(t);else if(r){var a=new self.Image;a.onload=function(){e(null,a),self.URL.revokeObjectURL(a.src)},a.onerror=function(){return e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var s=new self.Blob([new Uint8Array(r)],{type:"image/png"});a.cacheControl=i,a.expires=o,a.src=r.byteLength?self.URL.createObjectURL(s):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}}));return{cancel:function(){o.cancel(),n()}}};function wt(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e))}function St(t,e,r){if(r&&r[t]){var i=r[t].indexOf(e);-1!==i&&r[t].splice(i,1)}}var Et=function(t,e){void 0===e&&(e={}),p(this,e),this.type=t},Tt=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,"error",p({error:e},r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Et),It=function(){};It.prototype.on=function(t,e){return this._listeners=this._listeners||{},wt(t,e,this._listeners),this},It.prototype.off=function(t,e){return St(t,e,this._listeners),St(t,e,this._oneTimeListeners),this},It.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},wt(t,e,this._oneTimeListeners),this},It.prototype.fire=function(t,e){"string"==typeof t&&(t=new Et(t,e||{}));var r=t.type;if(this.listens(r)){t.target=this;for(var i=0,n=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];i<n.length;i+=1)n[i].call(this,t);for(var o=0,a=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];o<a.length;o+=1){var s=a[o];St(r,s,this._oneTimeListeners),s.call(this,t)}var l=this._eventedParent;l&&(p(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),l.fire(t))}else t instanceof Tt&&console.error(t.error);return this},It.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},It.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var At={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}}},zt=function(t,e,r,i){this.message=(t?t+": ":"")+r,i&&(this.identifier=i),null!=e&&e.__line__&&(this.line=e.__line__)};function Ct(t){var e=t.key,r=t.value;return r?[new zt(e,r,"constants have been deprecated as of v8")]:[]}function kt(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}function Pt(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function Mt(t){if(Array.isArray(t))return t.map(Mt);if(t instanceof Object&&!(t instanceof Number||t instanceof String||t instanceof Boolean)){var e={};for(var r in t)e[r]=Mt(t[r]);return e}return Pt(t)}var Lt=function(t){function e(e,r){t.call(this,r),this.message=r,this.key=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),Dt=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var r=0,i=e;r<i.length;r+=1){var n=i[r],o=n[0],a=n[1];this.bindings[o]=a}};Dt.prototype.concat=function(t){return new Dt(this,t)},Dt.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},Dt.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var Bt={kind:"null"},Rt={kind:"number"},Ft={kind:"string"},Ot={kind:"boolean"},Ut={kind:"color"},Vt={kind:"object"},Nt={kind:"value"},jt={kind:"collator"},qt={kind:"formatted"},Zt={kind:"resolvedImage"};function Gt(t,e){return{kind:"array",itemType:t,N:e}}function Xt(t){if("array"===t.kind){var e=Xt(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var Wt=[Bt,Rt,Ft,Ot,Ut,qt,Vt,Gt(Nt),Zt];function Kt(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!Kt(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var r=0,i=Wt;r<i.length;r+=1)if(!Kt(i[r],e))return null}return"Expected "+Xt(t)+" but found "+Xt(e)+" instead."}var Ht=e((function(t,e){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function i(t){return(t=Math.round(t))<0?0:t>255?255:t}function n(t){return t<0?0:t>1?1:t}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100*255):i(parseInt(t))}function a(t){return"%"===t[t.length-1]?n(parseFloat(t)/100):n(parseFloat(t))}function s(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{e.parseCSSColor=function(t){var e,n=t.replace(/ /g,"").toLowerCase();if(n in r)return r[n].slice();if("#"===n[0])return 4===n.length?(e=parseInt(n.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===n.length&&(e=parseInt(n.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var l=n.indexOf("("),u=n.indexOf(")");if(-1!==l&&u+1===n.length){var c=n.substr(0,l),p=n.substr(l+1,u-(l+1)).split(","),h=1;switch(c){case"rgba":if(4!==p.length)return null;h=a(p.pop());case"rgb":return 3!==p.length?null:[o(p[0]),o(p[1]),o(p[2]),h];case"hsla":if(4!==p.length)return null;h=a(p.pop());case"hsl":if(3!==p.length)return null;var f=(parseFloat(p[0])%360+360)%360/360,d=a(p[1]),m=a(p[2]),y=m<=.5?m*(d+1):m+d-m*d,_=2*m-y;return[i(255*s(_,y,f+1/3)),i(255*s(_,y,f)),i(255*s(_,y,f-1/3)),h];default:return null}}return null}}catch(t){}})).parseCSSColor,Jt=function(t,e,r,i){void 0===i&&(i=1),this.r=t,this.g=e,this.b=r,this.a=i};Jt.parse=function(t){if(t){if(t instanceof Jt)return t;if("string"==typeof t){var e=Ht(t);if(e)return new Jt(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},Jt.prototype.toString=function(){var t=this.toArray(),e=t[0],r=t[1],i=t[2],n=t[3];return"rgba("+Math.round(e)+","+Math.round(r)+","+Math.round(i)+","+n+")"},Jt.prototype.toArray=function(){var t=this.r,e=this.g,r=this.b,i=this.a;return 0===i?[0,0,0,0]:[255*t/i,255*e/i,255*r/i,i]},Jt.black=new Jt(0,0,0,1),Jt.white=new Jt(1,1,1,1),Jt.transparent=new Jt(0,0,0,0),Jt.red=new Jt(1,0,0,1);var Yt=function(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Yt.prototype.compare=function(t,e){return this.collator.compare(t,e)},Yt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Qt=function(t,e,r,i,n){this.text=t,this.image=e,this.scale=r,this.fontStack=i,this.textColor=n},$t=function(t){this.sections=t};$t.fromString=function(t){return new $t([new Qt(t,null,null,null,null)])},$t.prototype.isEmpty=function(){return 0===this.sections.length||!this.sections.some((function(t){return 0!==t.text.length||t.image&&0!==t.image.name.length}))},$t.factory=function(t){return t instanceof $t?t:$t.fromString(t)},$t.prototype.toString=function(){return 0===this.sections.length?"":this.sections.map((function(t){return t.text})).join("")},$t.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];if(i.image)t.push(["image",i.image.name]);else{t.push(i.text);var n={};i.fontStack&&(n["text-font"]=["literal",i.fontStack.split(",")]),i.scale&&(n["font-scale"]=i.scale),i.textColor&&(n["text-color"]=["rgba"].concat(i.textColor.toArray())),t.push(n)}}return t};var te=function(t){this.name=t.name,this.available=t.available};function ee(t,e,r,i){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===i||"number"==typeof i&&i>=0&&i<=1?null:"Invalid rgba value ["+[t,e,r,i].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof i?[t,e,r,i]:[t,e,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function re(t){if(null===t)return Bt;if("string"==typeof t)return Ft;if("boolean"==typeof t)return Ot;if("number"==typeof t)return Rt;if(t instanceof Jt)return Ut;if(t instanceof Yt)return jt;if(t instanceof $t)return qt;if(t instanceof te)return Zt;if(Array.isArray(t)){for(var e,r=t.length,i=0,n=t;i<n.length;i+=1){var o=re(n[i]);if(e){if(e===o)continue;e=Nt;break}e=o}return Gt(e||Nt,r)}return Vt}function ie(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Jt||t instanceof $t||t instanceof te?t.toString():JSON.stringify(t)}te.prototype.toString=function(){return this.name},te.fromString=function(t){return new te({name:t,available:!1})},te.prototype.serialize=function(){return["image",this.name]};var ne=function(t,e){this.type=t,this.value=e};ne.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!function t(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Jt)return!0;if(e instanceof Yt)return!0;if(e instanceof $t)return!0;if(e instanceof te)return!0;if(Array.isArray(e)){for(var r=0,i=e;r<i.length;r+=1)if(!t(i[r]))return!1;return!0}if("object"==typeof e){for(var n in e)if(!t(e[n]))return!1;return!0}return!1}(t[1]))return e.error("invalid value");var r=t[1],i=re(r),n=e.expectedType;return"array"!==i.kind||0!==i.N||!n||"array"!==n.kind||"number"==typeof n.N&&0!==n.N||(i=n),new ne(i,r)},ne.prototype.evaluate=function(){return this.value},ne.prototype.eachChild=function(){},ne.prototype.possibleOutputs=function(){return[this.value]},ne.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Jt?["rgba"].concat(this.value.toArray()):this.value instanceof $t?this.value.serialize():this.value};var oe=function(t){this.name="ExpressionEvaluationError",this.message=t};oe.prototype.toJSON=function(){return this.message};var ae={string:Ft,number:Rt,boolean:Ot,object:Vt},se=function(t,e){this.type=t,this.args=e};se.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r,i=1,n=t[0];if("array"===n){var o,a;if(t.length>2){var s=t[1];if("string"!=typeof s||!(s in ae)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);o=ae[s],i++}else o=Nt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);a=t[2],i++}r=Gt(o,a)}else r=ae[n];for(var l=[];i<t.length;i++){var u=e.parse(t[i],i,Nt);if(!u)return null;l.push(u)}return new se(r,l)},se.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var r=this.args[e].evaluate(t);if(!Kt(this.type,re(r)))return r;if(e===this.args.length-1)throw new oe("Expected value to be of type "+Xt(this.type)+", but found "+Xt(re(r))+" instead.")}return null},se.prototype.eachChild=function(t){this.args.forEach(t)},se.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},se.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var r=t.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){e.push(r.kind);var i=t.N;("number"==typeof i||this.args.length>1)&&e.push(i)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var le=function(t){this.type=qt,this.sections=t};le.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[1];if(!Array.isArray(r)&&"object"==typeof r)return e.error("First argument must be an image or text section.");for(var i=[],n=!1,o=1;o<=t.length-1;++o){var a=t[o];if(n&&"object"==typeof a&&!Array.isArray(a)){n=!1;var s=null;if(a["font-scale"]&&!(s=e.parse(a["font-scale"],1,Rt)))return null;var l=null;if(a["text-font"]&&!(l=e.parse(a["text-font"],1,Gt(Ft))))return null;var u=null;if(a["text-color"]&&!(u=e.parse(a["text-color"],1,Ut)))return null;var c=i[i.length-1];c.scale=s,c.font=l,c.textColor=u}else{var p=e.parse(t[o],1,Nt);if(!p)return null;var h=p.type.kind;if("string"!==h&&"value"!==h&&"null"!==h&&"resolvedImage"!==h)return e.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");n=!0,i.push({content:p,scale:null,font:null,textColor:null})}}return new le(i)},le.prototype.evaluate=function(t){return new $t(this.sections.map((function(e){var r=e.content.evaluate(t);return re(r)===Zt?new Qt("",r,null,null,null):new Qt(ie(r),null,e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},le.prototype.eachChild=function(t){for(var e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t(i.content),i.scale&&t(i.scale),i.font&&t(i.font),i.textColor&&t(i.textColor)}},le.prototype.possibleOutputs=function(){return[void 0]},le.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t.push(i.content.serialize());var n={};i.scale&&(n["font-scale"]=i.scale.serialize()),i.font&&(n["text-font"]=i.font.serialize()),i.textColor&&(n["text-color"]=i.textColor.serialize()),t.push(n)}return t};var ue=function(t){this.type=Zt,this.input=t};ue.parse=function(t,e){if(2!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Ft);return r?new ue(r):e.error("No image name provided.")},ue.prototype.evaluate=function(t){var e=this.input.evaluate(t),r=!1;return t.availableImages&&t.availableImages.indexOf(e)>-1&&(r=!0),new te({name:e,available:r})},ue.prototype.eachChild=function(t){t(this.input)},ue.prototype.possibleOutputs=function(){return[void 0]},ue.prototype.serialize=function(){return["image",this.input.serialize()]};var ce={"to-boolean":Ot,"to-color":Ut,"to-number":Rt,"to-string":Ft},pe=function(t,e){this.type=t,this.args=e};pe.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[0];if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");for(var i=ce[r],n=[],o=1;o<t.length;o++){var a=e.parse(t[o],o,Nt);if(!a)return null;n.push(a)}return new pe(i,n)},pe.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,r,i=0,n=this.args;i<n.length;i+=1){if(r=null,(e=n[i].evaluate(t))instanceof Jt)return e;if("string"==typeof e){var o=t.parseColor(e);if(o)return o}else if(Array.isArray(e)&&!(r=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":ee(e[0],e[1],e[2],e[3])))return new Jt(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new oe(r||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,l=this.args;s<l.length;s+=1){if(null===(a=l[s].evaluate(t)))return 0;var u=Number(a);if(!isNaN(u))return u}throw new oe("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?$t.fromString(ie(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?te.fromString(ie(this.args[0].evaluate(t))):ie(this.args[0].evaluate(t))},pe.prototype.eachChild=function(t){this.args.forEach(t)},pe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},pe.prototype.serialize=function(){if("formatted"===this.type.kind)return new le([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new ue(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var he=["Unknown","Point","LineString","Polygon"],fe=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null};fe.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},fe.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?he[this.feature.type]:this.feature.type:null},fe.prototype.properties=function(){return this.feature&&this.feature.properties||{}},fe.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Jt.parse(t)),e};var de=function(t,e,r,i){this.name=t,this.type=e,this._evaluate=r,this.args=i};de.prototype.evaluate=function(t){return this._evaluate(t,this.args)},de.prototype.eachChild=function(t){this.args.forEach(t)},de.prototype.possibleOutputs=function(){return[void 0]},de.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},de.parse=function(t,e){var r,i=t[0],n=de.definitions[i];if(!n)return e.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0);for(var o=Array.isArray(n)?n[0]:n.type,a=Array.isArray(n)?[[n[1],n[2]]]:n.overloads,s=a.filter((function(e){var r=e[0];return!Array.isArray(r)||r.length===t.length-1})),l=null,u=0,c=s;u<c.length;u+=1){var p=c[u],h=p[0],f=p[1];l=new xe(e.registry,e.path,null,e.scope);for(var d=[],m=!1,y=1;y<t.length;y++){var _=t[y],g=Array.isArray(h)?h[y-1]:h.type,v=l.parse(_,1+d.length,g);if(!v){m=!0;break}d.push(v)}if(!m)if(Array.isArray(h)&&h.length!==d.length)l.error("Expected "+h.length+" arguments, but found "+d.length+" instead.");else{for(var x=0;x<d.length;x++){var b=Array.isArray(h)?h[x]:h.type,w=d[x];l.concat(x+1).checkSubtype(b,w.type)}if(0===l.errors.length)return new de(i,o,f,d)}}if(1===s.length)(r=e.errors).push.apply(r,l.errors);else{for(var S=(s.length?s:a).map((function(t){var e;return e=t[0],Array.isArray(e)?"("+e.map(Xt).join(", ")+")":"("+Xt(e.type)+"...)"})).join(" | "),E=[],T=1;T<t.length;T++){var I=e.parse(t[T],1+E.length);if(!I)return null;E.push(Xt(I.type))}e.error("Expected arguments of type "+S+", but found ("+E.join(", ")+") instead.")}return null},de.register=function(t,e){for(var r in de.definitions=e,e)t[r]=de};var me=function(t,e,r){this.type=jt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e};function ye(t){if(t instanceof de){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}var e=!0;return t.eachChild((function(t){e&&!ye(t)&&(e=!1)})),e}function _e(t){if(t instanceof de&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!_e(t)&&(e=!1)})),e}function ge(t,e){if(t instanceof de&&e.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild((function(t){r&&!ge(t,e)&&(r=!1)})),r}me.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");var i=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,Ot);if(!i)return null;var n=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,Ot);if(!n)return null;var o=null;return r.locale&&!(o=e.parse(r.locale,1,Ft))?null:new me(i,n,o)},me.prototype.evaluate=function(t){return new Yt(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},me.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},me.prototype.possibleOutputs=function(){return[void 0]},me.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var ve=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};ve.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var r=t[1];return e.scope.has(r)?new ve(r,e.scope.get(r)):e.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},ve.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},ve.prototype.eachChild=function(){},ve.prototype.possibleOutputs=function(){return[void 0]},ve.prototype.serialize=function(){return["var",this.name]};var xe=function(t,e,r,i,n){void 0===e&&(e=[]),void 0===i&&(i=new Dt),void 0===n&&(n=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return"["+t+"]"})).join(""),this.scope=i,this.errors=n,this.expectedType=r};function be(t,e){for(var r,i,n=t.length-1,o=0,a=n,s=0;o<=a;)if(r=t[s=Math.floor((o+a)/2)],i=t[s+1],r<=e){if(s===n||e<i)return s;o=s+1}else{if(!(r>e))throw new oe("Input is not a number.");a=s-1}return 0}xe.prototype.parse=function(t,e,r,i,n){return void 0===n&&(n={}),e?this.concat(e,r,i)._parse(t,n):this._parse(t,n)},xe.prototype._parse=function(t,e){function r(t,e,r){return"assert"===r?new se(e,[t]):"coerce"===r?new pe(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var i=t[0];if("string"!=typeof i)return this.error("Expression name must be a string, but found "+typeof i+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var n=this.registry[i];if(n){var o=n.parse(t,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind&&"resolvedImage"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=r(o,a,e.typeAnnotation||"coerce");else o=r(o,a,e.typeAnnotation||"assert")}if(!(o instanceof ne)&&"resolvedImage"!==o.type.kind&&function t(e){if(e instanceof ve)return t(e.boundExpression);if(e instanceof de&&"error"===e.name)return!1;if(e instanceof me)return!1;var r=e instanceof pe||e instanceof se,i=!0;return e.eachChild((function(e){i=r?i&&t(e):i&&e instanceof ne})),!!i&&ye(e)&&ge(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(o)){var l=new fe;try{o=new ne(o.type,o.evaluate(l))}catch(t){return this.error(t.message),null}}return o}return this.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},xe.prototype.concat=function(t,e,r){var i="number"==typeof t?this.path.concat(t):this.path,n=r?this.scope.concat(r):this.scope;return new xe(this.registry,i,e||null,n,this.errors)},xe.prototype.error=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Lt(i,t))},xe.prototype.checkSubtype=function(t,e){var r=Kt(t,e);return r&&this.error(r),r};var we=function(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var i=0,n=r;i<n.length;i+=1){var o=n[i],a=o[0],s=o[1];this.labels.push(a),this.outputs.push(s)}};function Se(t,e,r){return t*(1-r)+e*r}we.parse=function(t,e){if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");var r=e.parse(t[1],1,Rt);if(!r)return null;var i=[],n=null;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);for(var o=1;o<t.length;o+=2){var a=1===o?-1/0:t[o],s=t[o+1],l=o,u=o+1;if("number"!=typeof a)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(i.length&&i[i.length-1][0]>=a)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=e.parse(s,u,n);if(!c)return null;n=n||c.type,i.push([a,c])}return new we(n,r,i)},we.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;return i>=e[n-1]?r[n-1].evaluate(t):r[be(e,i)].evaluate(t)},we.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},we.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},we.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var Ee=Object.freeze({__proto__:null,number:Se,color:function(t,e,r){return new Jt(Se(t.r,e.r,r),Se(t.g,e.g,r),Se(t.b,e.b,r),Se(t.a,e.a,r))},array:function(t,e,r){return t.map((function(t,i){return Se(t,e[i],r)}))}}),Te=6/29,Ie=3*Te*Te,Ae=Math.PI/180,ze=180/Math.PI;function Ce(t){return t>.008856451679035631?Math.pow(t,1/3):t/Ie+4/29}function ke(t){return t>Te?t*t*t:Ie*(t-4/29)}function Pe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Me(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Le(t){var e=Me(t.r),r=Me(t.g),i=Me(t.b),n=Ce((.4124564*e+.3575761*r+.1804375*i)/.95047),o=Ce((.2126729*e+.7151522*r+.072175*i)/1);return{l:116*o-16,a:500*(n-o),b:200*(o-Ce((.0193339*e+.119192*r+.9503041*i)/1.08883)),alpha:t.a}}function De(t){var e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=1*ke(e),r=.95047*ke(r),i=1.08883*ke(i),new Jt(Pe(3.2404542*r-1.5371385*e-.4985314*i),Pe(-.969266*r+1.8760108*e+.041556*i),Pe(.0556434*r-.2040259*e+1.0572252*i),t.alpha)}function Be(t,e,r){var i=e-t;return t+r*(i>180||i<-180?i-360*Math.round(i/360):i)}var Re={forward:Le,reverse:De,interpolate:function(t,e,r){return{l:Se(t.l,e.l,r),a:Se(t.a,e.a,r),b:Se(t.b,e.b,r),alpha:Se(t.alpha,e.alpha,r)}}},Fe={forward:function(t){var e=Le(t),r=e.l,i=e.a,n=e.b,o=Math.atan2(n,i)*ze;return{h:o<0?o+360:o,c:Math.sqrt(i*i+n*n),l:r,alpha:t.a}},reverse:function(t){var e=t.h*Ae,r=t.c;return De({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Be(t.h,e.h,r),c:Se(t.c,e.c,r),l:Se(t.l,e.l,r),alpha:Se(t.alpha,e.alpha,r)}}},Oe=Object.freeze({__proto__:null,lab:Re,hcl:Fe}),Ue=function(t,e,r,i,n){this.type=t,this.operator=e,this.interpolation=r,this.input=i,this.labels=[],this.outputs=[];for(var o=0,a=n;o<a.length;o+=1){var s=a[o],l=s[0],u=s[1];this.labels.push(l),this.outputs.push(u)}};function Ve(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}Ue.interpolationFactor=function(t,e,i,n){var o=0;if("exponential"===t.name)o=Ve(e,t.base,i,n);else if("linear"===t.name)o=Ve(e,1,i,n);else if("cubic-bezier"===t.name){var a=t.controlPoints;o=new r(a[0],a[1],a[2],a[3]).solve(Ve(e,1,i,n))}return o},Ue.parse=function(t,e){var r=t[0],i=t[1],n=t[2],o=t.slice(3);if(!Array.isArray(i)||0===i.length)return e.error("Expected an interpolation type expression.",1);if("linear"===i[0])i={name:"linear"};else if("exponential"===i[0]){var a=i[1];if("number"!=typeof a)return e.error("Exponential interpolation requires a numeric base.",1,1);i={name:"exponential",base:a}}else{if("cubic-bezier"!==i[0])return e.error("Unknown interpolation type "+String(i[0]),1,0);var s=i.slice(1);if(4!==s.length||s.some((function(t){return"number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);i={name:"cubic-bezier",controlPoints:s}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(n=e.parse(n,2,Rt)))return null;var l=[],u=null;"interpolate-hcl"===r||"interpolate-lab"===r?u=Ut:e.expectedType&&"value"!==e.expectedType.kind&&(u=e.expectedType);for(var c=0;c<o.length;c+=2){var p=o[c],h=o[c+1],f=c+3,d=c+4;if("number"!=typeof p)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(l.length&&l[l.length-1][0]>=p)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var m=e.parse(h,d,u);if(!m)return null;u=u||m.type,l.push([p,m])}return"number"===u.kind||"color"===u.kind||"array"===u.kind&&"number"===u.itemType.kind&&"number"==typeof u.N?new Ue(u,r,i,n,l):e.error("Type "+Xt(u)+" is not interpolatable.")},Ue.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;if(i>=e[n-1])return r[n-1].evaluate(t);var o=be(e,i),a=e[o],s=e[o+1],l=Ue.interpolationFactor(this.interpolation,i,a,s),u=r[o].evaluate(t),c=r[o+1].evaluate(t);return"interpolate"===this.operator?Ee[this.type.kind.toLowerCase()](u,c,l):"interpolate-hcl"===this.operator?Fe.reverse(Fe.interpolate(Fe.forward(u),Fe.forward(c),l)):Re.reverse(Re.interpolate(Re.forward(u),Re.forward(c),l))},Ue.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},Ue.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},Ue.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],r=0;r<this.labels.length;r++)e.push(this.labels[r],this.outputs[r].serialize());return e};var Ne=function(t,e){this.type=t,this.args=e};Ne.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var r=null,i=e.expectedType;i&&"value"!==i.kind&&(r=i);for(var n=[],o=0,a=t.slice(1);o<a.length;o+=1){var s=a[o],l=e.parse(s,1+n.length,r,void 0,{typeAnnotation:"omit"});if(!l)return null;r=r||l.type,n.push(l)}var u=i&&n.some((function(t){return Kt(i,t.type)}));return new Ne(u?Nt:r,n)},Ne.prototype.evaluate=function(t){for(var e,r=null,i=0,n=0,o=this.args;n<o.length&&(i++,(r=o[n].evaluate(t))&&r instanceof te&&!r.available&&(e||(e=r.name),r=null,i===this.args.length&&(r=e)),null===r);n+=1);return r},Ne.prototype.eachChild=function(t){this.args.forEach(t)},Ne.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},Ne.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize())})),t};var je=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};je.prototype.evaluate=function(t){return this.result.evaluate(t)},je.prototype.eachChild=function(t){for(var e=0,r=this.bindings;e<r.length;e+=1)t(r[e][1]);t(this.result)},je.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],i=1;i<t.length-1;i+=2){var n=t[i];if("string"!=typeof n)return e.error("Expected string, but found "+typeof n+" instead.",i);if(/[^a-zA-Z0-9_]/.test(n))return e.error("Variable names must contain only alphanumeric characters or '_'.",i);var o=e.parse(t[i+1],i+1);if(!o)return null;r.push([n,o])}var a=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return a?new je(r,a):null},je.prototype.possibleOutputs=function(){return this.result.possibleOutputs()},je.prototype.serialize=function(){for(var t=["let"],e=0,r=this.bindings;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t.push(n,o.serialize())}return t.push(this.result.serialize()),t};var qe=function(t,e,r){this.type=t,this.index=e,this.input=r};qe.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Rt),i=e.parse(t[2],2,Gt(e.expectedType||Nt));if(!r||!i)return null;var n=i.type;return new qe(n.itemType,r,i)},qe.prototype.evaluate=function(t){var e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new oe("Array index out of bounds: "+e+" < 0.");if(e>=r.length)throw new oe("Array index out of bounds: "+e+" > "+(r.length-1)+".");if(e!==Math.floor(e))throw new oe("Array index must be an integer, but found "+e+" instead.");return r[e]},qe.prototype.eachChild=function(t){t(this.index),t(this.input)},qe.prototype.possibleOutputs=function(){return[void 0]},qe.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Ze=function(t,e){this.type=Ot,this.needle=t,this.haystack=e};Ze.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r,i=e.parse(t[1],1,Nt),n=e.parse(t[2],2,Nt);return i&&n?"boolean"!==(r=i.type).kind&&"string"!==r.kind&&"number"!==r.kind&&"null"!==r.kind&&"value"!==r.kind?e.error("Expected first argument to be of type boolean, string, number or null, but found "+Xt(i.type)+" instead"):new Ze(i,n):null},Ze.prototype.evaluate=function(t){var e=this.needle.evaluate(t),r=this.haystack.evaluate(t);if(!e||!r)return!1;if(!function(t){return"boolean"==typeof t||"string"==typeof t||"number"==typeof t}(e))throw new oe("Expected first argument to be of type boolean, string or number, but found "+Xt(re(e))+" instead.");if(!function(t){return Array.isArray(t)||"string"==typeof t}(r))throw new oe("Expected second argument to be of type array or string, but found "+Xt(re(r))+" instead.");return r.indexOf(e)>=0},Ze.prototype.eachChild=function(t){t(this.needle),t(this.haystack)},Ze.prototype.possibleOutputs=function(){return[!0,!1]},Ze.prototype.serialize=function(){return["in",this.needle.serialize(),this.haystack.serialize()]};var Ge=function(t,e,r,i,n,o){this.inputType=t,this.type=e,this.input=r,this.cases=i,this.outputs=n,this.otherwise=o};Ge.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var r,i;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var n={},o=[],a=2;a<t.length-1;a+=2){var s=t[a],l=t[a+1];Array.isArray(s)||(s=[s]);var u=e.concat(a);if(0===s.length)return u.error("Expected at least one branch label.");for(var c=0,p=s;c<p.length;c+=1){var h=p[c];if("number"!=typeof h&&"string"!=typeof h)return u.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return u.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return u.error("Numeric branch labels must be integer values.");if(r){if(u.checkSubtype(r,re(h)))return null}else r=re(h);if(void 0!==n[String(h)])return u.error("Branch labels must be unique.");n[String(h)]=o.length}var f=e.parse(l,a,i);if(!f)return null;i=i||f.type,o.push(f)}var d=e.parse(t[1],1,Nt);if(!d)return null;var m=e.parse(t[t.length-1],t.length-1,i);return m?"value"!==d.type.kind&&e.concat(1).checkSubtype(r,d.type)?null:new Ge(r,i,d,n,o,m):null},Ge.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(re(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},Ge.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},Ge.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Ge.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],r=[],i={},n=0,o=Object.keys(this.cases).sort();n<o.length;n+=1){var a=o[n];void 0===(p=i[this.cases[a]])?(i[this.cases[a]]=r.length,r.push([this.cases[a],[a]])):r[p][1].push(a)}for(var s=function(e){return"number"===t.inputType.kind?Number(e):e},l=0,u=r;l<u.length;l+=1){var c=u[l],p=c[0],h=c[1];1===h.length?e.push(s(h[0])):e.push(h.map(s)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var Xe=function(t,e,r){this.type=t,this.branches=e,this.otherwise=r};function We(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function Ke(t,e,r,i){return 0===i.compare(e,r)}function He(t,e,r){var i="=="!==t&&"!="!==t;return function(){function n(t,e,r){this.type=Ot,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return n.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var r=t[0],o=e.parse(t[1],1,Nt);if(!o)return null;if(!We(r,o.type))return e.concat(1).error('"'+r+"\" comparisons are not supported for type '"+Xt(o.type)+"'.");var a=e.parse(t[2],2,Nt);if(!a)return null;if(!We(r,a.type))return e.concat(2).error('"'+r+"\" comparisons are not supported for type '"+Xt(a.type)+"'.");if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot compare types '"+Xt(o.type)+"' and '"+Xt(a.type)+"'.");i&&("value"===o.type.kind&&"value"!==a.type.kind?o=new se(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new se(o.type,[a])));var s=null;if(4===t.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,jt)))return null}return new n(o,a,s)},n.prototype.evaluate=function(n){var o=this.lhs.evaluate(n),a=this.rhs.evaluate(n);if(i&&this.hasUntypedArgument){var s=re(o),l=re(a);if(s.kind!==l.kind||"string"!==s.kind&&"number"!==s.kind)throw new oe('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+s.kind+", "+l.kind+") instead.")}if(this.collator&&!i&&this.hasUntypedArgument){var u=re(o),c=re(a);if("string"!==u.kind||"string"!==c.kind)return e(n,o,a)}return this.collator?r(n,o,a,this.collator.evaluate(n)):e(n,o,a)},n.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},n.prototype.possibleOutputs=function(){return[!0,!1]},n.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},n}()}Xe.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);for(var i=[],n=1;n<t.length-1;n+=2){var o=e.parse(t[n],n,Ot);if(!o)return null;var a=e.parse(t[n+1],n+1,r);if(!a)return null;i.push([o,a]),r=r||a.type}var s=e.parse(t[t.length-1],t.length-1,r);return s?new Xe(r,i,s):null},Xe.prototype.evaluate=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];if(n.evaluate(t))return o.evaluate(t)}return this.otherwise.evaluate(t)},Xe.prototype.eachChild=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t(n),t(o)}t(this.otherwise)},Xe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.branches.map((function(t){return t[0],t[1].possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Xe.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Je=He("==",(function(t,e,r){return e===r}),Ke),Ye=He("!=",(function(t,e,r){return e!==r}),(function(t,e,r,i){return!Ke(0,e,r,i)})),Qe=He("<",(function(t,e,r){return e<r}),(function(t,e,r,i){return i.compare(e,r)<0})),$e=He(">",(function(t,e,r){return e>r}),(function(t,e,r,i){return i.compare(e,r)>0})),tr=He("<=",(function(t,e,r){return e<=r}),(function(t,e,r,i){return i.compare(e,r)<=0})),er=He(">=",(function(t,e,r){return e>=r}),(function(t,e,r,i){return i.compare(e,r)>=0})),rr=function(t,e,r,i,n){this.type=Ft,this.number=t,this.locale=e,this.currency=r,this.minFractionDigits=i,this.maxFractionDigits=n};rr.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Rt);if(!r)return null;var i=t[2];if("object"!=typeof i||Array.isArray(i))return e.error("NumberFormat options argument must be an object.");var n=null;if(i.locale&&!(n=e.parse(i.locale,1,Ft)))return null;var o=null;if(i.currency&&!(o=e.parse(i.currency,1,Ft)))return null;var a=null;if(i["min-fraction-digits"]&&!(a=e.parse(i["min-fraction-digits"],1,Rt)))return null;var s=null;return i["max-fraction-digits"]&&!(s=e.parse(i["max-fraction-digits"],1,Rt))?null:new rr(r,n,o,a,s)},rr.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},rr.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},rr.prototype.possibleOutputs=function(){return[void 0]},rr.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var ir=function(t){this.type=Rt,this.input=t};ir.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error("Expected argument of type string or array, but found "+Xt(r.type)+" instead."):new ir(r):null},ir.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new oe("Expected value to be of type string or array, but found "+Xt(re(e))+" instead.")},ir.prototype.eachChild=function(t){t(this.input)},ir.prototype.possibleOutputs=function(){return[void 0]},ir.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var nr={"==":Je,"!=":Ye,">":$e,"<":Qe,">=":er,"<=":tr,array:se,at:qe,boolean:se,case:Xe,coalesce:Ne,collator:me,format:le,image:ue,in:Ze,interpolate:Ue,"interpolate-hcl":Ue,"interpolate-lab":Ue,length:ir,let:je,literal:ne,match:Ge,number:se,"number-format":rr,object:se,step:we,string:se,"to-boolean":pe,"to-color":pe,"to-number":pe,"to-string":pe,var:ve};function or(t,e){var r=e[0],i=e[1],n=e[2],o=e[3];r=r.evaluate(t),i=i.evaluate(t),n=n.evaluate(t);var a=o?o.evaluate(t):1,s=ee(r,i,n,a);if(s)throw new oe(s);return new Jt(r/255*a,i/255*a,n/255*a,a)}function ar(t,e){return t in e}function sr(t,e){var r=e[t];return void 0===r?null:r}function lr(t){return{type:t}}function ur(t){return{result:"success",value:t}}function cr(t){return{result:"error",value:t}}function pr(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function hr(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function fr(t){return!!t.expression&&t.expression.interpolated}function dr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function mr(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function yr(t){return t}function _r(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function gr(t,e,r,i,n){return _r(typeof r===n?i[r]:void 0,t.default,e.default)}function vr(t,e,r){if("number"!==dr(r))return _r(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];var n=be(t.stops.map((function(t){return t[0]})),r);return t.stops[n][1]}function xr(t,e,r){var i=void 0!==t.base?t.base:1;if("number"!==dr(r))return _r(t.default,e.default);var n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];var o=be(t.stops.map((function(t){return t[0]})),r),a=function(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}(r,i,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],l=t.stops[o+1][1],u=Ee[e.type]||yr;if(t.colorSpace&&"rgb"!==t.colorSpace){var c=Oe[t.colorSpace];u=function(t,e){return c.reverse(c.interpolate(c.forward(t),c.forward(e),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=s.evaluate.apply(void 0,t),i=l.evaluate.apply(void 0,t);if(void 0!==r&&void 0!==i)return u(r,i,a)}}:u(s,l,a)}function br(t,e,r){return"color"===e.type?r=Jt.parse(r):"formatted"===e.type?r=$t.fromString(r.toString()):"resolvedImage"===e.type?r=te.fromString(r.toString()):dr(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0),_r(r,t.default,e.default)}de.register(nr,{error:[{kind:"error"},[Ft],function(t,e){var r=e[0];throw new oe(r.evaluate(t))}],typeof:[Ft,[Nt],function(t,e){return Xt(re(e[0].evaluate(t)))}],"to-rgba":[Gt(Rt,4),[Ut],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[Ut,[Rt,Rt,Rt],or],rgba:[Ut,[Rt,Rt,Rt,Rt],or],has:{type:Ot,overloads:[[[Ft],function(t,e){return ar(e[0].evaluate(t),t.properties())}],[[Ft,Vt],function(t,e){var r=e[0],i=e[1];return ar(r.evaluate(t),i.evaluate(t))}]]},get:{type:Nt,overloads:[[[Ft],function(t,e){return sr(e[0].evaluate(t),t.properties())}],[[Ft,Vt],function(t,e){var r=e[0],i=e[1];return sr(r.evaluate(t),i.evaluate(t))}]]},"feature-state":[Nt,[Ft],function(t,e){return sr(e[0].evaluate(t),t.featureState||{})}],properties:[Vt,[],function(t){return t.properties()}],"geometry-type":[Ft,[],function(t){return t.geometryType()}],id:[Nt,[],function(t){return t.id()}],zoom:[Rt,[],function(t){return t.globals.zoom}],"heatmap-density":[Rt,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[Rt,[],function(t){return t.globals.lineProgress||0}],accumulated:[Nt,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[Rt,lr(Rt),function(t,e){for(var r=0,i=0,n=e;i<n.length;i+=1)r+=n[i].evaluate(t);return r}],"*":[Rt,lr(Rt),function(t,e){for(var r=1,i=0,n=e;i<n.length;i+=1)r*=n[i].evaluate(t);return r}],"-":{type:Rt,overloads:[[[Rt,Rt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)-i.evaluate(t)}],[[Rt],function(t,e){return-e[0].evaluate(t)}]]},"/":[Rt,[Rt,Rt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)/i.evaluate(t)}],"%":[Rt,[Rt,Rt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)%i.evaluate(t)}],ln2:[Rt,[],function(){return Math.LN2}],pi:[Rt,[],function(){return Math.PI}],e:[Rt,[],function(){return Math.E}],"^":[Rt,[Rt,Rt],function(t,e){var r=e[0],i=e[1];return Math.pow(r.evaluate(t),i.evaluate(t))}],sqrt:[Rt,[Rt],function(t,e){var r=e[0];return Math.sqrt(r.evaluate(t))}],log10:[Rt,[Rt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN10}],ln:[Rt,[Rt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))}],log2:[Rt,[Rt],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN2}],sin:[Rt,[Rt],function(t,e){var r=e[0];return Math.sin(r.evaluate(t))}],cos:[Rt,[Rt],function(t,e){var r=e[0];return Math.cos(r.evaluate(t))}],tan:[Rt,[Rt],function(t,e){var r=e[0];return Math.tan(r.evaluate(t))}],asin:[Rt,[Rt],function(t,e){var r=e[0];return Math.asin(r.evaluate(t))}],acos:[Rt,[Rt],function(t,e){var r=e[0];return Math.acos(r.evaluate(t))}],atan:[Rt,[Rt],function(t,e){var r=e[0];return Math.atan(r.evaluate(t))}],min:[Rt,lr(Rt),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[Rt,lr(Rt),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[Rt,[Rt],function(t,e){var r=e[0];return Math.abs(r.evaluate(t))}],round:[Rt,[Rt],function(t,e){var r=e[0].evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[Rt,[Rt],function(t,e){var r=e[0];return Math.floor(r.evaluate(t))}],ceil:[Rt,[Rt],function(t,e){var r=e[0];return Math.ceil(r.evaluate(t))}],"filter-==":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1];return t.properties()[r.value]===i.value}],"filter-id-==":[Ot,[Nt],function(t,e){var r=e[0];return t.id()===r.value}],"filter-type-==":[Ot,[Ft],function(t,e){var r=e[0];return t.geometryType()===r.value}],"filter-<":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<o}],"filter-id-<":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<n}],"filter->":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>o}],"filter-id->":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>n}],"filter-<=":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<=o}],"filter-id-<=":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<=n}],"filter->=":[Ot,[Ft,Nt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>=o}],"filter-id->=":[Ot,[Nt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>=n}],"filter-has":[Ot,[Nt],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[Ot,[],function(t){return null!==t.id()}],"filter-type-in":[Ot,[Gt(Ft)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[Ot,[Gt(Nt)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[Ot,[Ft,Gt(Nt)],function(t,e){var r=e[0];return e[1].value.indexOf(t.properties()[r.value])>=0}],"filter-in-large":[Ot,[Ft,Gt(Nt)],function(t,e){var r=e[0],i=e[1];return function(t,e,r,i){for(;r<=i;){var n=r+i>>1;if(e[n]===t)return!0;e[n]>t?i=n-1:r=n+1}return!1}(t.properties()[r.value],i.value,0,i.value.length-1)}],all:{type:Ot,overloads:[[[Ot,Ot],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)&&i.evaluate(t)}],[lr(Ot),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(!i[r].evaluate(t))return!1;return!0}]]},any:{type:Ot,overloads:[[[Ot,Ot],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)||i.evaluate(t)}],[lr(Ot),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(i[r].evaluate(t))return!0;return!1}]]},"!":[Ot,[Ot],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[Ot,[Ft],function(t,e){var r=e[0],i=t.globals&&t.globals.isSupportedScript;return!i||i(r.evaluate(t))}],upcase:[Ft,[Ft],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[Ft,[Ft],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[Ft,lr(Nt),function(t,e){return e.map((function(e){return ie(e.evaluate(t))})).join("")}],"resolved-locale":[Ft,[jt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var wr=function(t,e){this.expression=t,this._warningHistory={},this._evaluator=new fe,this._defaultValue=e?function(t){return"color"===t.type&&mr(t.default)?new Jt(0,0,0,0):"color"===t.type?Jt.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null};function Sr(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in nr}function Er(t,e){var r=new xe(nr,[],e?function(t){var e={color:Ut,string:Ft,number:Rt,enum:Ft,boolean:Ot,formatted:qt,resolvedImage:Zt};return"array"===t.type?Gt(e[t.value]||Nt,t.length):e[t.type]}(e):void 0),i=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?ur(new wr(i,e)):cr(r.errors)}wr.prototype.evaluateWithoutErrorHandling=function(t,e,r,i,n){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=n,this.expression.evaluate(this._evaluator)},wr.prototype.evaluate=function(t,e,r,i,n){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=n||null;try{var o=this.expression.evaluate(this._evaluator);if(null==o||"number"==typeof o&&o!=o)return this._defaultValue;if(this._enumValues&&!(o in this._enumValues))throw new oe("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(o)+" instead.");return o}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var Tr=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!_e(e.expression)};Tr.prototype.evaluateWithoutErrorHandling=function(t,e,r,i,n){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,i,n)},Tr.prototype.evaluate=function(t,e,r,i,n){return this._styleExpression.evaluate(t,e,r,i,n)};var Ir=function(t,e,r,i){this.kind=t,this.zoomStops=r,this._styleExpression=e,this.isStateDependent="camera"!==t&&!_e(e.expression),this.interpolationType=i};function Ar(t,e){if("error"===(t=Er(t,e)).result)return t;var r=t.value.expression,i=ye(r);if(!i&&!pr(e))return cr([new Lt("","data expressions not supported")]);var n=ge(r,["zoom"]);if(!n&&!hr(e))return cr([new Lt("","zoom expressions not supported")]);var o=function t(e){var r=null;if(e instanceof je)r=t(e.result);else if(e instanceof Ne)for(var i=0,n=e.args;i<n.length;i+=1){var o=n[i];if(r=t(o))break}else(e instanceof we||e instanceof Ue)&&e.input instanceof de&&"zoom"===e.input.name&&(r=e);return r instanceof Lt?r:(e.eachChild((function(e){var i=t(e);i instanceof Lt?r=i:!r&&i?r=new Lt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&i&&r!==i&&(r=new Lt("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),r)}(r);if(!o&&!n)return cr([new Lt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(o instanceof Lt)return cr([o]);if(o instanceof Ue&&!fr(e))return cr([new Lt("",'"interpolate" expressions cannot be used with this property')]);if(!o)return ur(new Tr(i?"constant":"source",t.value));var a=o instanceof Ue?o.interpolation:void 0;return ur(new Ir(i?"camera":"composite",t.value,o.labels,a))}Ir.prototype.evaluateWithoutErrorHandling=function(t,e,r,i,n){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,i,n)},Ir.prototype.evaluate=function(t,e,r,i,n){return this._styleExpression.evaluate(t,e,r,i,n)},Ir.prototype.interpolationFactor=function(t,e,r){return this.interpolationType?Ue.interpolationFactor(this.interpolationType,t,e,r):0};var zr=function(t,e){this._parameters=t,this._specification=e,kt(this,function t(e,r){var i,n,o,a="color"===r.type,s=e.stops&&"object"==typeof e.stops[0][0],l=s||void 0!==e.property,u=s||!l,c=e.type||(fr(r)?"exponential":"interval");if(a&&((e=kt({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],Jt.parse(t[1])]}))),e.default?e.default=Jt.parse(e.default):e.default=Jt.parse(r.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Oe[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===c)i=xr;else if("interval"===c)i=vr;else if("categorical"===c){i=gr,n=Object.create(null);for(var p=0,h=e.stops;p<h.length;p+=1){var f=h[p];n[f[0]]=f[1]}o=typeof e.stops[0][0]}else{if("identity"!==c)throw new Error('Unknown function type "'+c+'"');i=br}if(s){for(var d={},m=[],y=0;y<e.stops.length;y++){var _=e.stops[y],g=_[0].zoom;void 0===d[g]&&(d[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},m.push(g)),d[g].stops.push([_[0].value,_[1]])}for(var v=[],x=0,b=m;x<b.length;x+=1){var w=b[x];v.push([d[w].zoom,t(d[w],r)])}var S={name:"linear"};return{kind:"composite",interpolationType:S,interpolationFactor:Ue.interpolationFactor.bind(void 0,S),zoomStops:v.map((function(t){return t[0]})),evaluate:function(t,i){var n=t.zoom;return xr({stops:v,base:e.base},r,n).evaluate(n,i)}}}if(u){var E="exponential"===c?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:E,interpolationFactor:Ue.interpolationFactor.bind(void 0,E),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){var a=t.zoom;return i(e,r,a,n,o)}}}return{kind:"source",evaluate:function(t,a){var s=a&&a.properties?a.properties[e.property]:void 0;return void 0===s?_r(e.default,r.default):i(e,r,s,n,o)}}}(this._parameters,this._specification))};function Cr(t){var e=t.key,r=t.value,i=t.valueSpec||{},n=t.objectElementValidators||{},o=t.style,a=t.styleSpec,s=[],l=dr(r);if("object"!==l)return[new zt(e,r,"object expected, "+l+" found")];for(var u in r){var c=u.split(".")[0],p=i[c]||i["*"],h=void 0;if(n[c])h=n[c];else if(i[c])h=$r;else if(n["*"])h=n["*"];else{if(!i["*"]){s.push(new zt(e,r[u],'unknown property "'+u+'"'));continue}h=$r}s=s.concat(h({key:(e?e+".":e)+u,value:r[u],valueSpec:p,style:o,styleSpec:a,object:r,objectKey:u},r))}for(var f in i)n[f]||i[f].required&&void 0===i[f].default&&void 0===r[f]&&s.push(new zt(e,r,'missing required property "'+f+'"'));return s}function kr(t){var e=t.value,r=t.valueSpec,i=t.style,n=t.styleSpec,o=t.key,a=t.arrayElementValidator||$r;if("array"!==dr(e))return[new zt(o,e,"array expected, "+dr(e)+" found")];if(r.length&&e.length!==r.length)return[new zt(o,e,"array length "+r.length+" expected, length "+e.length+" found")];if(r["min-length"]&&e.length<r["min-length"])return[new zt(o,e,"array length at least "+r["min-length"]+" expected, length "+e.length+" found")];var s={type:r.value,values:r.values};n.$version<7&&(s.function=r.function),"object"===dr(r.value)&&(s=r.value);for(var l=[],u=0;u<e.length;u++)l=l.concat(a({array:e,arrayIndex:u,value:e[u],valueSpec:s,style:i,styleSpec:n,key:o+"["+u+"]"}));return l}function Pr(t){var e=t.key,r=t.value,i=t.valueSpec,n=dr(r);return"number"===n&&r!=r&&(n="NaN"),"number"!==n?[new zt(e,r,"number expected, "+n+" found")]:"minimum"in i&&r<i.minimum?[new zt(e,r,r+" is less than the minimum value "+i.minimum)]:"maximum"in i&&r>i.maximum?[new zt(e,r,r+" is greater than the maximum value "+i.maximum)]:[]}function Mr(t){var e,r,i,n=t.valueSpec,o=Pt(t.value.type),a={},s="categorical"!==o&&void 0===t.value.property,l=!s,u="array"===dr(t.value.stops)&&"array"===dr(t.value.stops[0])&&"object"===dr(t.value.stops[0][0]),c=Cr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===o)return[new zt(t.key,t.value,'identity function may not have a "stops" property')];var e=[],r=t.value;return e=e.concat(kr({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:p})),"array"===dr(r)&&0===r.length&&e.push(new zt(t.key,r,"array must have at least one stop")),e},default:function(t){return $r({key:t.key,value:t.value,valueSpec:n,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===o&&s&&c.push(new zt(t.key,t.value,'missing required property "property"')),"identity"===o||t.value.stops||c.push(new zt(t.key,t.value,'missing required property "stops"')),"exponential"===o&&t.valueSpec.expression&&!fr(t.valueSpec)&&c.push(new zt(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(l&&!pr(t.valueSpec)?c.push(new zt(t.key,t.value,"property functions not supported")):s&&!hr(t.valueSpec)&&c.push(new zt(t.key,t.value,"zoom functions not supported"))),"categorical"!==o&&!u||void 0!==t.value.property||c.push(new zt(t.key,t.value,'"property" property is required')),c;function p(t){var e=[],o=t.value,s=t.key;if("array"!==dr(o))return[new zt(s,o,"array expected, "+dr(o)+" found")];if(2!==o.length)return[new zt(s,o,"array length 2 expected, length "+o.length+" found")];if(u){if("object"!==dr(o[0]))return[new zt(s,o,"object expected, "+dr(o[0])+" found")];if(void 0===o[0].zoom)return[new zt(s,o,"object stop key must have zoom")];if(void 0===o[0].value)return[new zt(s,o,"object stop key must have value")];if(i&&i>Pt(o[0].zoom))return[new zt(s,o[0].zoom,"stop zoom values must appear in ascending order")];Pt(o[0].zoom)!==i&&(i=Pt(o[0].zoom),r=void 0,a={}),e=e.concat(Cr({key:s+"[0]",value:o[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Pr,value:h}}))}else e=e.concat(h({key:s+"[0]",value:o[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},o));return Sr(Mt(o[1]))?e.concat([new zt(s+"[1]",o[1],"expressions are not allowed in function stops.")]):e.concat($r({key:s+"[1]",value:o[1],valueSpec:n,style:t.style,styleSpec:t.styleSpec}))}function h(t,i){var s=dr(t.value),l=Pt(t.value),u=null!==t.value?t.value:i;if(e){if(s!==e)return[new zt(t.key,u,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new zt(t.key,u,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==o){var c="number expected, "+s+" found";return pr(n)&&void 0===o&&(c+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zt(t.key,u,c)]}return"categorical"!==o||"number"!==s||isFinite(l)&&Math.floor(l)===l?"categorical"!==o&&"number"===s&&void 0!==r&&l<r?[new zt(t.key,u,"stop domain values must appear in ascending order")]:(r=l,"categorical"===o&&l in a?[new zt(t.key,u,"stop domain values must be unique")]:(a[l]=!0,[])):[new zt(t.key,u,"integer expected, found "+l)]}}function Lr(t){var e=("property"===t.expressionContext?Ar:Er)(Mt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new zt(""+t.key+e.key,t.value,e.message)}));var r=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&-1!==r.possibleOutputs().indexOf(void 0))return[new zt(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!_e(r))return[new zt(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!_e(r))return[new zt(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!ge(r,["zoom","feature-state"]))return[new zt(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!ye(r))return[new zt(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Dr(t){var e=t.key,r=t.value,i=t.valueSpec,n=[];return Array.isArray(i.values)?-1===i.values.indexOf(Pt(r))&&n.push(new zt(e,r,"expected one of ["+i.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(i.values).indexOf(Pt(r))&&n.push(new zt(e,r,"expected one of ["+Object.keys(i.values).join(", ")+"], "+JSON.stringify(r)+" found")),n}function Br(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":return t.length>=3&&Array.isArray(t[2]);case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,r=t.slice(1);e<r.length;e+=1){var i=r[e];if(!Br(i)&&"boolean"!=typeof i)return!1}return!0;default:return!0}}zr.deserialize=function(t){return new zr(t._parameters,t._specification)},zr.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var Rr={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Fr(t){if(null==t)return function(){return!0};Br(t)||(t=Ur(t));var e=Er(t,Rr);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return function(t,r){return e.value.evaluate(t,r)}}function Or(t,e){return t<e?-1:t>e?1:0}function Ur(t){if(!t)return!0;var e,r=t[0];return t.length<=1?"any"!==r:"=="===r?Vr(t[1],t[2],"=="):"!="===r?qr(Vr(t[1],t[2],"==")):"<"===r||">"===r||"<="===r||">="===r?Vr(t[1],t[2],r):"any"===r?(e=t.slice(1),["any"].concat(e.map(Ur))):"all"===r?["all"].concat(t.slice(1).map(Ur)):"none"===r?["all"].concat(t.slice(1).map(Ur).map(qr)):"in"===r?Nr(t[1],t.slice(2)):"!in"===r?qr(Nr(t[1],t.slice(2))):"has"===r?jr(t[1]):"!has"!==r||qr(jr(t[1]))}function Vr(t,e,r){switch(t){case"$type":return["filter-type-"+r,e];case"$id":return["filter-id-"+r,e];default:return["filter-"+r,t,e]}}function Nr(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(Or)]]:["filter-in-small",t,["literal",e]]}}function jr(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function qr(t){return["!",t]}function Zr(t){return Br(Mt(t.value))?Lr(kt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var r=e.value,i=e.key;if("array"!==dr(r))return[new zt(i,r,"array expected, "+dr(r)+" found")];var n,o=e.styleSpec,a=[];if(r.length<1)return[new zt(i,r,"filter array must have at least 1 element")];switch(a=a.concat(Dr({key:i+"[0]",value:r[0],valueSpec:o.filter_operator,style:e.style,styleSpec:e.styleSpec})),Pt(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===Pt(r[1])&&a.push(new zt(i,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&a.push(new zt(i,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(n=dr(r[1]))&&a.push(new zt(i+"[1]",r[1],"string expected, "+n+" found"));for(var s=2;s<r.length;s++)n=dr(r[s]),"$type"===Pt(r[1])?a=a.concat(Dr({key:i+"["+s+"]",value:r[s],valueSpec:o.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==n&&"number"!==n&&"boolean"!==n&&a.push(new zt(i+"["+s+"]",r[s],"string, number, or boolean expected, "+n+" found"));break;case"any":case"all":case"none":for(var l=1;l<r.length;l++)a=a.concat(t({key:i+"["+l+"]",value:r[l],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":n=dr(r[1]),2!==r.length?a.push(new zt(i,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==n&&a.push(new zt(i+"[1]",r[1],"string expected, "+n+" found"))}return a}(t)}function Gr(t,e){var r=t.key,i=t.style,n=t.styleSpec,o=t.value,a=t.objectKey,s=n[e+"_"+t.layerType];if(!s)return[];var l=a.match(/^(.*)-transition$/);if("paint"===e&&l&&s[l[1]]&&s[l[1]].transition)return $r({key:r,value:o,valueSpec:n.transition,style:i,styleSpec:n});var u,c=t.valueSpec||s[a];if(!c)return[new zt(r,o,'unknown property "'+a+'"')];if("string"===dr(o)&&pr(c)&&!c.tokens&&(u=/^{([^}]+)}$/.exec(o)))return[new zt(r,o,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(u[1])+" }`.")];var p=[];return"symbol"===t.layerType&&("text-field"===a&&i&&!i.glyphs&&p.push(new zt(r,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&mr(Mt(o))&&"identity"===Pt(o.type)&&p.push(new zt(r,o,'"text-font" does not support identity functions'))),p.concat($r({key:t.key,value:o,valueSpec:c,style:i,styleSpec:n,expressionContext:"property",propertyType:e,propertyKey:a}))}function Xr(t){return Gr(t,"paint")}function Wr(t){return Gr(t,"layout")}function Kr(t){var e=[],r=t.value,i=t.key,n=t.style,o=t.styleSpec;r.type||r.ref||e.push(new zt(i,r,'either "type" or "ref" is required'));var a,s=Pt(r.type),l=Pt(r.ref);if(r.id)for(var u=Pt(r.id),c=0;c<t.arrayIndex;c++){var p=n.layers[c];Pt(p.id)===u&&e.push(new zt(i,r.id,'duplicate layer id "'+r.id+'", previously used at line '+p.id.__line__))}if("ref"in r)["type","source","source-layer","filter","layout"].forEach((function(t){t in r&&e.push(new zt(i,r[t],'"'+t+'" is prohibited for ref layers'))})),n.layers.forEach((function(t){Pt(t.id)===l&&(a=t)})),a?a.ref?e.push(new zt(i,r.ref,"ref cannot reference another ref layer")):s=Pt(a.type):e.push(new zt(i,r.ref,'ref layer "'+l+'" not found'));else if("background"!==s)if(r.source){var h=n.sources&&n.sources[r.source],f=h&&Pt(h.type);h?"vector"===f&&"raster"===s?e.push(new zt(i,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===f&&"raster"!==s?e.push(new zt(i,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==f||r["source-layer"]?"raster-dem"===f&&"hillshade"!==s?e.push(new zt(i,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===f&&h.lineMetrics||e.push(new zt(i,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new zt(i,r,'layer "'+r.id+'" must specify a "source-layer"')):e.push(new zt(i,r.source,'source "'+r.source+'" not found'))}else e.push(new zt(i,r,'missing required property "source"'));return e=e.concat(Cr({key:i,value:r,valueSpec:o.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return $r({key:i+".type",value:r.type,valueSpec:o.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"})},filter:Zr,layout:function(t){return Cr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Wr(kt({layerType:s},t))}}})},paint:function(t){return Cr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Xr(kt({layerType:s},t))}}})}}}))}function Hr(t){var e=t.value,r=t.key,i=t.styleSpec,n=t.style;if(!e.type)return[new zt(r,e,'"type" is required')];var o,a=Pt(e.type);switch(a){case"vector":case"raster":case"raster-dem":return Cr({key:r,value:e,valueSpec:i["source_"+a.replace("-","_")],style:t.style,styleSpec:i});case"geojson":if(o=Cr({key:r,value:e,valueSpec:i.source_geojson,style:n,styleSpec:i}),e.cluster)for(var s in e.clusterProperties){var l=e.clusterProperties[s],u=l[0],c=l[1],p="string"==typeof u?[u,["accumulated"],["get",s]]:u;o.push.apply(o,Lr({key:r+"."+s+".map",value:c,expressionContext:"cluster-map"})),o.push.apply(o,Lr({key:r+"."+s+".reduce",value:p,expressionContext:"cluster-reduce"}))}return o;case"video":return Cr({key:r,value:e,valueSpec:i.source_video,style:n,styleSpec:i});case"image":return Cr({key:r,value:e,valueSpec:i.source_image,style:n,styleSpec:i});case"canvas":return[new zt(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Dr({key:r+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:n,styleSpec:i})}}function Jr(t){var e=t.value,r=t.styleSpec,i=r.light,n=t.style,o=[],a=dr(e);if(void 0===e)return o;if("object"!==a)return o.concat([new zt("light",e,"object expected, "+a+" found")]);for(var s in e){var l=s.match(/^(.*)-transition$/);o=l&&i[l[1]]&&i[l[1]].transition?o.concat($r({key:s,value:e[s],valueSpec:r.transition,style:n,styleSpec:r})):i[s]?o.concat($r({key:s,value:e[s],valueSpec:i[s],style:n,styleSpec:r})):o.concat([new zt(s,e[s],'unknown property "'+s+'"')])}return o}function Yr(t){var e=t.value,r=t.key,i=dr(e);return"string"!==i?[new zt(r,e,"string expected, "+i+" found")]:[]}var Qr={"*":function(){return[]},array:kr,boolean:function(t){var e=t.value,r=t.key,i=dr(e);return"boolean"!==i?[new zt(r,e,"boolean expected, "+i+" found")]:[]},number:Pr,color:function(t){var e=t.key,r=t.value,i=dr(r);return"string"!==i?[new zt(e,r,"color expected, "+i+" found")]:null===Ht(r)?[new zt(e,r,'color expected, "'+r+'" found')]:[]},constants:Ct,enum:Dr,filter:Zr,function:Mr,layer:Kr,object:Cr,source:Hr,light:Jr,string:Yr,formatted:function(t){return 0===Yr(t).length?[]:Lr(t)},resolvedImage:function(t){return 0===Yr(t).length?[]:Lr(t)}};function $r(t){var e=t.value,r=t.valueSpec,i=t.styleSpec;return r.expression&&mr(Pt(e))?Mr(t):r.expression&&Sr(Mt(e))?Lr(t):r.type&&Qr[r.type]?Qr[r.type](t):Cr(kt({},t,{valueSpec:r.type?i[r.type]:r}))}function ti(t){var e=t.value,r=t.key,i=Yr(t);return i.length?i:(-1===e.indexOf("{fontstack}")&&i.push(new zt(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&i.push(new zt(r,e,'"glyphs" url must include a "{range}" token')),i)}function ei(t,e){void 0===e&&(e=At);var r=[];return r=r.concat($r({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:ti,"*":function(){return[]}}})),t.constants&&(r=r.concat(Ct({key:"constants",value:t.constants,style:t,styleSpec:e}))),ri(r)}function ri(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function ii(t){return function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return ri(t.apply(this,e))}}ei.source=ii(Hr),ei.light=ii(Jr),ei.layer=ii(Kr),ei.filter=ii(Zr),ei.paintProperty=ii(Xr),ei.layoutProperty=ii(Wr);var ni=ei,oi=ni.light,ai=ni.paintProperty,si=ni.layoutProperty;function li(t,e){var r=!1;if(e&&e.length)for(var i=0,n=e;i<n.length;i+=1){var o=n[i];t.fire(new Tt(new Error(o.message))),r=!0}return r}var ui=ci;function ci(t,e,r){var i=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var n=new Int32Array(this.arrayBuffer);t=n[0],e=n[1],r=n[2],this.d=e+2*r;for(var o=0;o<this.d*this.d;o++){var a=n[3+o],s=n[3+o+1];i.push(a===s?null:n.subarray(a,s))}var l=n[3+i.length],u=n[3+i.length+1];this.keys=n.subarray(l,u),this.bboxes=n.subarray(u),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var c=0;c<this.d*this.d;c++)i.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;var p=r/e*t;this.min=-p,this.max=t+p}ci.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},ci.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},ci.prototype._insertCell=function(t,e,r,i,n,o){this.cells[n].push(o)},ci.prototype.query=function(t,e,r,i,n){var o=this.min,a=this.max;if(t<=o&&e<=o&&a<=r&&a<=i&&!n)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,r,i,this._queryCell,s,{},n),s},ci.prototype._queryCell=function(t,e,r,i,n,o,a,s){var l=this.cells[n];if(null!==l)for(var u=this.keys,c=this.bboxes,p=0;p<l.length;p++){var h=l[p];if(void 0===a[h]){var f=4*h;(s?s(c[f+0],c[f+1],c[f+2],c[f+3]):t<=c[f+2]&&e<=c[f+3]&&r>=c[f+0]&&i>=c[f+1])?(a[h]=!0,o.push(u[h])):a[h]=!1}}},ci.prototype._forEachCell=function(t,e,r,i,n,o,a,s){for(var l=this._convertToCellCoord(t),u=this._convertToCellCoord(e),c=this._convertToCellCoord(r),p=this._convertToCellCoord(i),h=l;h<=c;h++)for(var f=u;f<=p;f++){var d=this.d*f+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(f),this._convertFromCellCoord(h+1),this._convertFromCellCoord(f+1)))&&n.call(this,t,e,r,i,d,o,a,s))return}},ci.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},ci.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},ci.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=3+this.cells.length+1+1,r=0,i=0;i<this.cells.length;i++)r+=this.cells[i].length;var n=new Int32Array(e+r+this.keys.length+this.bboxes.length);n[0]=this.extent,n[1]=this.n,n[2]=this.padding;for(var o=e,a=0;a<t.length;a++){var s=t[a];n[3+a]=o,n.set(s,o),o+=s.length}return n[3+t.length]=o,n.set(this.keys,o),o+=this.keys.length,n[3+t.length+1]=o,n.set(this.bboxes,o),o+=this.bboxes.length,n.buffer};var pi=self.ImageData,hi={};function fi(t,e,r){void 0===r&&(r={}),Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),hi[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]}}for(var di in fi("Object",Object),ui.serialize=function(t,e){var r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}},ui.deserialize=function(t){return new ui(t.buffer)},fi("Grid",ui),fi("Color",Jt),fi("Error",Error),fi("ResolvedImage",te),fi("StylePropertyFunction",zr),fi("StyleExpression",wr,{omit:["_evaluator"]}),fi("ZoomDependentExpression",Ir),fi("ZoomConstantExpression",Tr),fi("CompoundExpression",de,{omit:["_evaluate"]}),nr)nr[di]._classRegistryKey||fi("Expression_"+di,nr[di]);function mi(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function yi(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if(mi(t))return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var r=t;return e&&e.push(r.buffer),r}if(t instanceof pi)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var i=[],n=0,o=t;n<o.length;n+=1){var a=o[n];i.push(yi(a,e))}return i}if("object"==typeof t){var s=t.constructor,l=s._classRegistryKey;if(!l)throw new Error("can't serialize object of unregistered class");var u=s.serialize?s.serialize(t,e):{};if(!s.serialize){for(var c in t)if(t.hasOwnProperty(c)&&!(hi[l].omit.indexOf(c)>=0)){var p=t[c];u[c]=hi[l].shallow.indexOf(c)>=0?p:yi(p,e)}t instanceof Error&&(u.message=t.message)}if(u.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==l&&(u.$name=l),u}throw new Error("can't serialize object of type "+typeof t)}function _i(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||mi(t)||ArrayBuffer.isView(t)||t instanceof pi)return t;if(Array.isArray(t))return t.map(_i);if("object"==typeof t){var e=t.$name||"Object",r=hi[e].klass;if(!r)throw new Error("can't deserialize unregistered class "+e);if(r.deserialize)return r.deserialize(t);for(var i=Object.create(r.prototype),n=0,o=Object.keys(t);n<o.length;n+=1){var a=o[n];if("$name"!==a){var s=t[a];i[a]=hi[e].shallow.indexOf(a)>=0?s:_i(s)}}return i}throw new Error("can't deserialize object of type "+typeof t)}var gi=function(){this.first=!0};gi.prototype.update=function(t,e){var r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))};var vi={"Latin-1 Supplement":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function xi(t){for(var e=0,r=t;e<r.length;e+=1)if(wi(r[e].charCodeAt(0)))return!0;return!1}function bi(t){return!(vi.Arabic(t)||vi["Arabic Supplement"](t)||vi["Arabic Extended-A"](t)||vi["Arabic Presentation Forms-A"](t)||vi["Arabic Presentation Forms-B"](t))}function wi(t){return!(746!==t&&747!==t&&(t<4352||!(vi["Bopomofo Extended"](t)||vi.Bopomofo(t)||vi["CJK Compatibility Forms"](t)&&!(t>=65097&&t<=65103)||vi["CJK Compatibility Ideographs"](t)||vi["CJK Compatibility"](t)||vi["CJK Radicals Supplement"](t)||vi["CJK Strokes"](t)||!(!vi["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||vi["CJK Unified Ideographs Extension A"](t)||vi["CJK Unified Ideographs"](t)||vi["Enclosed CJK Letters and Months"](t)||vi["Hangul Compatibility Jamo"](t)||vi["Hangul Jamo Extended-A"](t)||vi["Hangul Jamo Extended-B"](t)||vi["Hangul Jamo"](t)||vi["Hangul Syllables"](t)||vi.Hiragana(t)||vi["Ideographic Description Characters"](t)||vi.Kanbun(t)||vi["Kangxi Radicals"](t)||vi["Katakana Phonetic Extensions"](t)||vi.Katakana(t)&&12540!==t||!(!vi["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!vi["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||vi["Unified Canadian Aboriginal Syllabics"](t)||vi["Unified Canadian Aboriginal Syllabics Extended"](t)||vi["Vertical Forms"](t)||vi["Yijing Hexagram Symbols"](t)||vi["Yi Syllables"](t)||vi["Yi Radicals"](t))))}function Si(t){return!(wi(t)||function(t){return!!(vi["Latin-1 Supplement"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||vi["General Punctuation"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||vi["Letterlike Symbols"](t)||vi["Number Forms"](t)||vi["Miscellaneous Technical"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||vi["Control Pictures"](t)&&9251!==t||vi["Optical Character Recognition"](t)||vi["Enclosed Alphanumerics"](t)||vi["Geometric Shapes"](t)||vi["Miscellaneous Symbols"](t)&&!(t>=9754&&t<=9759)||vi["Miscellaneous Symbols and Arrows"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||vi["CJK Symbols and Punctuation"](t)||vi.Katakana(t)||vi["Private Use Area"](t)||vi["CJK Compatibility Forms"](t)||vi["Small Form Variants"](t)||vi["Halfwidth and Fullwidth Forms"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function Ei(t){return t>=1424&&t<=2303||vi["Arabic Presentation Forms-A"](t)||vi["Arabic Presentation Forms-B"](t)}function Ti(t,e){return!(!e&&Ei(t)||t>=2304&&t<=3583||t>=3840&&t<=4255||vi.Khmer(t))}function Ii(t){for(var e=0,r=t;e<r.length;e+=1)if(Ei(r[e].charCodeAt(0)))return!0;return!1}var Ai="deferred",zi="loading",Ci="loaded",ki=null,Pi="unavailable",Mi=null,Li=function(t){ki&&ki(t)};function Di(){Bi.fire(new Et("pluginStateChange",{pluginStatus:Pi,pluginURL:Mi}))}var Bi=new It,Ri=function(){return Pi},Fi=function(){if(Pi!==Ai||!Mi)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");Pi=zi,Di(),Mi&&vt({url:Mi},(function(t){t?Li(t):(Pi=Ci,Di())}))},Oi={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return Pi===Ci||null!=Oi.applyArabicShaping},isLoading:function(){return Pi===zi},setState:function(t){Pi=t.pluginStatus,Mi=t.pluginURL},isParsed:function(){return null!=Oi.applyArabicShaping&&null!=Oi.processBidirectionalText&&null!=Oi.processStyledBidirectionalText},getPluginURL:function(){return Mi}},Ui=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new gi,this.transition={})};Ui.prototype.isSupportedScript=function(t){return function(t,e){for(var r=0,i=t;r<i.length;r+=1)if(!Ti(i[r].charCodeAt(0),e))return!1;return!0}(t,Oi.isLoaded())},Ui.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},Ui.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}};var Vi=function(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(mr(t))return new zr(t,e);if(Sr(t)){var r=Ar(t,e);if("error"===r.result)throw new Error(r.value.map((function(t){return t.key+": "+t.message})).join(", "));return r.value}var i=t;return"string"==typeof t&&"color"===e.type&&(i=Jt.parse(t)),{kind:"constant",evaluate:function(){return i}}}(void 0===e?t.specification.default:e,t.specification)};Vi.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},Vi.prototype.possiblyEvaluate=function(t,e){return this.property.possiblyEvaluate(this,t,e)};var Ni=function(t){this.property=t,this.value=new Vi(t,void 0)};Ni.prototype.transitioned=function(t,e){return new qi(this.property,this.value,e,p({},t.transition,this.transition),t.now)},Ni.prototype.untransitioned=function(){return new qi(this.property,this.value,null,{},0)};var ji=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};ji.prototype.getValue=function(t){return x(this._values[t].value.value)},ji.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Ni(this._values[t].property)),this._values[t].value=new Vi(this._values[t].property,null===e?void 0:x(e))},ji.prototype.getTransition=function(t){return x(this._values[t].transition)},ji.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Ni(this._values[t].property)),this._values[t].transition=x(e)||void 0},ji.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n);var o=this.getTransition(i);void 0!==o&&(t[i+"-transition"]=o)}return t},ji.prototype.transitioned=function(t,e){for(var r=new Zi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].transitioned(t,e._values[o])}return r},ji.prototype.untransitioned=function(){for(var t=new Zi(this._properties),e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e];t._values[i]=this._values[i].untransitioned()}return t};var qi=function(t,e,r,i,n){this.property=t,this.value=e,this.begin=n+i.delay||0,this.end=this.begin+i.duration||0,t.specification.transition&&(i.delay||i.duration)&&(this.prior=r)};qi.prototype.possiblyEvaluate=function(t,e){var r=t.now||0,i=this.value.possiblyEvaluate(t,e),n=this.prior;if(n){if(r>this.end)return this.prior=null,i;if(this.value.isDataDriven())return this.prior=null,i;if(r<this.begin)return n.possiblyEvaluate(t,e);var o=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(n.possiblyEvaluate(t,e),i,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(o))}return i};var Zi=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};Zi.prototype.possiblyEvaluate=function(t,e){for(var r=new Wi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].possiblyEvaluate(t,e)}return r},Zi.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1){var r=e[t];if(this._values[r].prior)return!0}return!1};var Gi=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)};Gi.prototype.getValue=function(t){return x(this._values[t].value)},Gi.prototype.setValue=function(t,e){this._values[t]=new Vi(this._values[t].property,null===e?void 0:x(e))},Gi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n)}return t},Gi.prototype.possiblyEvaluate=function(t,e){for(var r=new Wi(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].possiblyEvaluate(t,e)}return r};var Xi=function(t,e,r){this.property=t,this.value=e,this.parameters=r};Xi.prototype.isConstant=function(){return"constant"===this.value.kind},Xi.prototype.constantOr=function(t){return"constant"===this.value.kind?this.value.value:t},Xi.prototype.evaluate=function(t,e,r){return this.property.evaluate(this.value,this.parameters,t,e,r)};var Wi=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)};Wi.prototype.get=function(t){return this._values[t]};var Ki=function(t){this.specification=t};Ki.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},Ki.prototype.interpolate=function(t,e,r){var i=Ee[this.specification.type];return i?i(t,e,r):t};var Hi=function(t,e){this.specification=t,this.overrides=e};Hi.prototype.possiblyEvaluate=function(t,e,r){return"constant"===t.expression.kind||"camera"===t.expression.kind?new Xi(this,{kind:"constant",value:t.expression.evaluate(e,null,{},r)},e):new Xi(this,t.expression,e)},Hi.prototype.interpolate=function(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new Xi(this,{kind:"constant",value:void 0},t.parameters);var i=Ee[this.specification.type];return i?new Xi(this,{kind:"constant",value:i(t.value.value,e.value.value,r)},t.parameters):t},Hi.prototype.evaluate=function(t,e,r,i,n){return"constant"===t.kind?t.value:t.evaluate(e,r,i,n)};var Ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(t,e,r){if(void 0===t.value)return new Xi(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){var i=t.expression.evaluate(e,null,{},r),n="resolvedImage"===t.property.specification.type&&"string"!=typeof i?i.name:i,o=this._calculate(n,n,n,e);return new Xi(this,{kind:"constant",value:o},e)}if("camera"===t.expression.kind){var a=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new Xi(this,{kind:"constant",value:a},e)}return new Xi(this,t.expression,e)},e.prototype.evaluate=function(t,e,r,i,n){if("source"===t.kind){var o=t.evaluate(e,r,i,n);return this._calculate(o,o,o,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,i),t.evaluate({zoom:Math.floor(e.zoom)},r,i),t.evaluate({zoom:Math.floor(e.zoom)+1},r,i),e):t.value},e.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},e.prototype.interpolate=function(t){return t},e}(Hi),Yi=function(t){this.specification=t};Yi.prototype.possiblyEvaluate=function(t,e,r){if(void 0!==t.value){if("constant"===t.expression.kind){var i=t.expression.evaluate(e,null,{},r);return this._calculate(i,i,i,e)}return this._calculate(t.expression.evaluate(new Ui(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Ui(Math.floor(e.zoom),e)),t.expression.evaluate(new Ui(Math.floor(e.zoom+1),e)),e)}},Yi.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},Yi.prototype.interpolate=function(t){return t};var Qi=function(t){this.specification=t};Qi.prototype.possiblyEvaluate=function(t,e,r){return!!t.expression.evaluate(e,null,{},r)},Qi.prototype.interpolate=function(){return!1};var $i=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],t){var r=t[e];r.specification.overridable&&this.overridableProperties.push(e);var i=this.defaultPropertyValues[e]=new Vi(r,void 0),n=this.defaultTransitionablePropertyValues[e]=new Ni(r);this.defaultTransitioningPropertyValues[e]=n.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=i.possiblyEvaluate({})}};fi("DataDrivenProperty",Hi),fi("DataConstantProperty",Ki),fi("CrossFadedDataDrivenProperty",Ji),fi("CrossFadedProperty",Yi),fi("ColorRampProperty",Qi);var tn=function(t){function e(e,r){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter=function(){return!0},"custom"!==e.type&&(e=e,this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),r.layout&&(this._unevaluatedLayout=new Gi(r.layout)),r.paint)){for(var i in this._transitionablePaint=new ji(r.paint),e.paint)this.setPaintProperty(i,e.paint[i],{validate:!1});for(var n in e.layout)this.setLayoutProperty(n,e.layout[n],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned()}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var i="layers."+this.id+".layout."+t;if(this._validate(si,i,t,e,r))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e},e.prototype.getPaintProperty=function(t){return _(t,"-transition")?this._transitionablePaint.getTransition(t.slice(0,-"-transition".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var i="layers."+this.id+".paint."+t;if(this._validate(ai,i,t,e,r))return!1}if(_(t,"-transition"))return this._transitionablePaint.setTransition(t.slice(0,-"-transition".length),e||void 0),!1;var n=this._transitionablePaint._values[t],o="cross-faded-data-driven"===n.property.specification["property-type"],a=n.value.isDataDriven(),s=n.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);var l=this._transitionablePaint._values[t].value;return l.isDataDriven()||a||o||this._handleOverridablePaintPropertyUpdate(t,s,l)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype._handleOverridablePaintPropertyUpdate=function(t,e,r){return!1},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,e)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),v(t,(function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,r,i,n){return void 0===n&&(n={}),(!n||!1!==n.validate)&&li(this,t.call(ni,{key:e,layerType:this.type,objectKey:r,value:i,styleSpec:At,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof Xi&&pr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1},e}(It),en={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},rn=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},nn=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function on(t,e){void 0===e&&(e=1);var r=0,i=0;return{members:t.map((function(t){var n,o=(n=t.type,en[n].BYTES_PER_ELEMENT),a=r=an(r,Math.max(e,o)),s=t.components||1;return i=Math.max(i,o),r+=o*s,{name:t.name,type:t.type,components:s,offset:a}})),size:an(r,Math.max(i,e)),alignment:e}}function an(t,e){return Math.ceil(t/e)*e}nn.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},nn.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},nn.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},nn.prototype.clear=function(){this.length=0},nn.prototype.resize=function(t){this.reserve(t),this.length=t},nn.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},nn.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.int16[i+0]=e,this.int16[i+1]=r,t},e}(nn);sn.prototype.bytesPerElement=4,fi("StructArrayLayout2i4",sn);var ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.int16[o+2]=i,this.int16[o+3]=n,t},e}(nn);ln.prototype.bytesPerElement=8,fi("StructArrayLayout4i8",ln);var un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(nn);un.prototype.bytesPerElement=12,fi("StructArrayLayout2i4i12",un);var cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=4*t,l=8*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.uint8[l+4]=i,this.uint8[l+5]=n,this.uint8[l+6]=o,this.uint8[l+7]=a,t},e}(nn);cn.prototype.bytesPerElement=8,fi("StructArrayLayout2i4ub8",cn);var pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var l=this.length;return this.resize(l+1),this.emplace(l,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l){var u=8*t;return this.uint16[u+0]=e,this.uint16[u+1]=r,this.uint16[u+2]=i,this.uint16[u+3]=n,this.uint16[u+4]=o,this.uint16[u+5]=a,this.uint16[u+6]=s,this.uint16[u+7]=l,t},e}(nn);pn.prototype.bytesPerElement=16,fi("StructArrayLayout8ui16",pn);var hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c,p){var h=this.length;return this.resize(h+1),this.emplace(h,t,e,r,i,n,o,a,s,l,u,c,p)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p,h){var f=12*t;return this.int16[f+0]=e,this.int16[f+1]=r,this.int16[f+2]=i,this.int16[f+3]=n,this.uint16[f+4]=o,this.uint16[f+5]=a,this.uint16[f+6]=s,this.uint16[f+7]=l,this.int16[f+8]=u,this.int16[f+9]=c,this.int16[f+10]=p,this.int16[f+11]=h,t},e}(nn);hn.prototype.bytesPerElement=24,fi("StructArrayLayout4i4ui4i24",hn);var fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.float32[n+0]=e,this.float32[n+1]=r,this.float32[n+2]=i,t},e}(nn);fn.prototype.bytesPerElement=12,fi("StructArrayLayout3f12",fn);var dn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint32[r+0]=e,t},e}(nn);dn.prototype.bytesPerElement=4,fi("StructArrayLayout1ul4",dn);var mn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c){var p=this.length;return this.resize(p+1),this.emplace(p,t,e,r,i,n,o,a,s,l,u,c)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p){var h=12*t,f=6*t;return this.int16[h+0]=e,this.int16[h+1]=r,this.int16[h+2]=i,this.int16[h+3]=n,this.int16[h+4]=o,this.int16[h+5]=a,this.uint32[f+3]=s,this.uint16[h+8]=l,this.uint16[h+9]=u,this.int16[h+10]=c,this.int16[h+11]=p,t},e}(nn);mn.prototype.bytesPerElement=24,fi("StructArrayLayout6i1ul2ui2i24",mn);var yn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(nn);yn.prototype.bytesPerElement=12,fi("StructArrayLayout2i2i2i12",yn);var _n=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=12*t,a=3*t;return this.uint8[o+0]=e,this.uint8[o+1]=r,this.float32[a+1]=i,this.float32[a+2]=n,t},e}(nn);_n.prototype.bytesPerElement=12,fi("StructArrayLayout2ub2f12",_n);var gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y){var _=this.length;return this.resize(_+1),this.emplace(_,t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_){var g=24*t,v=12*t,x=48*t;return this.int16[g+0]=e,this.int16[g+1]=r,this.uint16[g+2]=i,this.uint16[g+3]=n,this.uint32[v+2]=o,this.uint32[v+3]=a,this.uint32[v+4]=s,this.uint16[g+10]=l,this.uint16[g+11]=u,this.uint16[g+12]=c,this.float32[v+7]=p,this.float32[v+8]=h,this.uint8[x+36]=f,this.uint8[x+37]=d,this.uint8[x+38]=m,this.uint32[v+10]=y,this.int16[g+22]=_,t},e}(nn);gn.prototype.bytesPerElement=48,fi("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",gn);var vn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,w,S,E,T){var I=this.length;return this.resize(I+1),this.emplace(I,t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,w,S,E,T)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,w,S,E,T,I){var A=30*t,z=15*t;return this.int16[A+0]=e,this.int16[A+1]=r,this.int16[A+2]=i,this.int16[A+3]=n,this.int16[A+4]=o,this.int16[A+5]=a,this.int16[A+6]=s,this.int16[A+7]=l,this.uint16[A+8]=u,this.uint16[A+9]=c,this.uint16[A+10]=p,this.uint16[A+11]=h,this.uint16[A+12]=f,this.uint16[A+13]=d,this.uint16[A+14]=m,this.uint16[A+15]=y,this.uint16[A+16]=_,this.uint16[A+17]=g,this.uint16[A+18]=v,this.uint16[A+19]=x,this.uint16[A+20]=b,this.uint16[A+21]=w,this.uint32[z+11]=S,this.float32[z+12]=E,this.float32[z+13]=T,this.float32[z+14]=I,t},e}(nn);vn.prototype.bytesPerElement=60,fi("StructArrayLayout8i14ui1ul3f60",vn);var xn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.float32[r+0]=e,t},e}(nn);xn.prototype.bytesPerElement=4,fi("StructArrayLayout1f4",xn);var bn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.int16[n+0]=e,this.int16[n+1]=r,this.int16[n+2]=i,t},e}(nn);bn.prototype.bytesPerElement=6,fi("StructArrayLayout3i6",bn);var wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=2*t,o=4*t;return this.uint32[n+0]=e,this.uint16[o+2]=r,this.uint16[o+3]=i,t},e}(nn);wn.prototype.bytesPerElement=8,fi("StructArrayLayout1ul2ui8",wn);var Sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,this.uint16[n+2]=i,t},e}(nn);Sn.prototype.bytesPerElement=6,fi("StructArrayLayout3ui6",Sn);var En=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,t},e}(nn);En.prototype.bytesPerElement=4,fi("StructArrayLayout2ui4",En);var Tn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint16[r+0]=e,t},e}(nn);Tn.prototype.bytesPerElement=2,fi("StructArrayLayout1ui2",Tn);var In=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.float32[i+0]=e,this.float32[i+1]=r,t},e}(nn);In.prototype.bytesPerElement=8,fi("StructArrayLayout2f8",In);var An=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.float32[o+0]=e,this.float32[o+1]=r,this.float32[o+2]=i,this.float32[o+3]=n,t},e}(nn);An.prototype.bytesPerElement=16,fi("StructArrayLayout4f16",An);var zn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},radius:{configurable:!0},signedDistanceFromAnchor:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorPointY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.x1.set=function(t){this._structArray.int16[this._pos2+2]=t},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.y1.set=function(t){this._structArray.int16[this._pos2+3]=t},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.x2.set=function(t){this._structArray.int16[this._pos2+4]=t},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.y2.set=function(t){this._structArray.int16[this._pos2+5]=t},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.radius.get=function(){return this._structArray.int16[this._pos2+10]},r.radius.set=function(t){this._structArray.int16[this._pos2+10]=t},r.signedDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+11]},r.signedDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+11]=t},r.anchorPoint.get=function(){return new n(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,r),e}(rn);zn.prototype.size=24;var Cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new zn(this,t)},e}(mn);fi("CollisionBoxArray",Cn);var kn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.glyphStartIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.numGlyphs.set=function(t){this._structArray.uint16[this._pos2+3]=t},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.vertexStartIndex.set=function(t){this._structArray.uint32[this._pos4+2]=t},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineStartIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.lineLength.set=function(t){this._structArray.uint32[this._pos4+4]=t},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.segment.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.lowerSize.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.upperSize.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetX.set=function(t){this._structArray.float32[this._pos4+7]=t},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.lineOffsetY.set=function(t){this._structArray.float32[this._pos4+8]=t},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.writingMode.set=function(t){this._structArray.uint8[this._pos1+36]=t},r.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},r.placedOrientation.set=function(t){this._structArray.uint8[this._pos1+37]=t},r.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},r.hidden.set=function(t){this._structArray.uint8[this._pos1+38]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t},r.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},r.associatedIconIndex.set=function(t){this._structArray.int16[this._pos2+22]=t},Object.defineProperties(e.prototype,r),e}(rn);kn.prototype.size=48;var Pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new kn(this,t)},e}(gn);fi("PlacedSymbolArray",Pn);var Mn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.rightJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+2]=t},r.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.centerJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+3]=t},r.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},r.leftJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+4]=t},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},r.verticalPlacedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+5]=t},r.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},r.placedIconSymbolIndex.set=function(t){this._structArray.int16[this._pos2+6]=t},r.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},r.verticalPlacedIconSymbolIndex.set=function(t){this._structArray.int16[this._pos2+7]=t},r.key.get=function(){return this._structArray.uint16[this._pos2+8]},r.key.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.textBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},r.textBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},r.verticalTextBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},r.verticalTextBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},r.iconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+13]=t},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},r.iconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+14]=t},r.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},r.verticalIconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+15]=t},r.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},r.verticalIconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+16]=t},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},r.featureIndex.set=function(t){this._structArray.uint16[this._pos2+17]=t},r.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},r.numHorizontalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+18]=t},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},r.numVerticalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+19]=t},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},r.numIconVertices.set=function(t){this._structArray.uint16[this._pos2+20]=t},r.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},r.numVerticalIconVertices.set=function(t){this._structArray.uint16[this._pos2+21]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+11]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+11]=t},r.textBoxScale.get=function(){return this._structArray.float32[this._pos4+12]},r.textBoxScale.set=function(t){this._structArray.float32[this._pos4+12]=t},r.textOffset0.get=function(){return this._structArray.float32[this._pos4+13]},r.textOffset0.set=function(t){this._structArray.float32[this._pos4+13]=t},r.textOffset1.get=function(){return this._structArray.float32[this._pos4+14]},r.textOffset1.set=function(t){this._structArray.float32[this._pos4+14]=t},Object.defineProperties(e.prototype,r),e}(rn);Mn.prototype.size=60;var Ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Mn(this,t)},e}(vn);fi("SymbolInstanceArray",Ln);var Dn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={offsetX:{configurable:!0}};return r.offsetX.get=function(){return this._structArray.float32[this._pos4+0]},r.offsetX.set=function(t){this._structArray.float32[this._pos4+0]=t},Object.defineProperties(e.prototype,r),e}(rn);Dn.prototype.size=4;var Bn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e.prototype.get=function(t){return new Dn(this,t)},e}(xn);fi("GlyphOffsetArray",Bn);var Rn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={x:{configurable:!0},y:{configurable:!0},tileUnitDistanceFromAnchor:{configurable:!0}};return r.x.get=function(){return this._structArray.int16[this._pos2+0]},r.x.set=function(t){this._structArray.int16[this._pos2+0]=t},r.y.get=function(){return this._structArray.int16[this._pos2+1]},r.y.set=function(t){this._structArray.int16[this._pos2+1]=t},r.tileUnitDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+2]},r.tileUnitDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+2]=t},Object.defineProperties(e.prototype,r),e}(rn);Rn.prototype.size=6;var Fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e.prototype.get=function(t){return new Rn(this,t)},e}(bn);fi("SymbolLineVertexArray",Fn);var On=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+0]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+3]=t},Object.defineProperties(e.prototype,r),e}(rn);On.prototype.size=8;var Un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new On(this,t)},e}(wn);fi("FeatureIndexArray",Un);var Vn=on([{name:"a_pos",components:2,type:"Int16"}],4).members,Nn=function(t){void 0===t&&(t=[]),this.segments=t};function jn(t,e){return 256*(t=u(Math.floor(t),0,255))+u(Math.floor(e),0,255)}Nn.prototype.prepareSegment=function(t,e,r,i){var n=this.segments[this.segments.length-1];return t>Nn.MAX_VERTEX_ARRAY_LENGTH&&w("Max vertices per segment is "+Nn.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!n||n.vertexLength+t>Nn.MAX_VERTEX_ARRAY_LENGTH||n.sortKey!==i)&&(n={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==i&&(n.sortKey=i),this.segments.push(n)),n},Nn.prototype.get=function(){return this.segments},Nn.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var r=e[t];for(var i in r.vaos)r.vaos[i].destroy()}},Nn.simpleSegment=function(t,e,r,i){return new Nn([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:i,vaos:{},sortKey:0}])},Nn.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,fi("SegmentVector",Nn);var qn=function(){this.ids=[],this.positions=[],this.indexed=!1};function Zn(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}qn.prototype.add=function(t,e,r,i){this.ids.push(t),this.positions.push(e,r,i)},qn.prototype.getPositions=function(t){for(var e=0,r=this.ids.length-1;e<r;){var i=e+r>>1;this.ids[i]>=t?r=i:e=i+1}for(var n=[];this.ids[e]===t;){var o=this.positions[3*e],a=this.positions[3*e+1],s=this.positions[3*e+2];n.push({index:o,start:a,end:s}),e++}return n},qn.serialize=function(t,e){var r=new Float64Array(t.ids),i=new Uint32Array(t.positions);return function t(e,r,i,n){if(!(i>=n)){for(var o=e[i+n>>1],a=i-1,s=n+1;;){do{a++}while(e[a]<o);do{s--}while(e[s]>o);if(a>=s)break;Zn(e,a,s),Zn(r,3*a,3*s),Zn(r,3*a+1,3*s+1),Zn(r,3*a+2,3*s+2)}t(e,r,i,s),t(e,r,s+1,n)}}(r,i,0,r.length-1),e&&e.push(r.buffer,i.buffer),{ids:r,positions:i}},qn.deserialize=function(t){var e=new qn;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e},fi("FeaturePositionMap",qn);var Gn=function(t,e){this.gl=t.gl,this.location=e},Xn=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))},e}(Gn),Wn=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))},e}(Gn),Kn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))},e}(Gn),Hn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))},e}(Gn),Jn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))},e}(Gn),Yn=function(t){function e(e,r){t.call(this,e,r),this.current=Jt.transparent}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))},e}(Gn),Qn=new Float32Array(16),$n=function(t){function e(e,r){t.call(this,e,r),this.current=Qn}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(Gn);function to(t){return[jn(255*t.r,255*t.g),jn(255*t.b,255*t.a)]}var eo=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t})),this.type=r,this.maxValue=-1/0};eo.prototype.defines=function(){return this.names.map((function(t){return"#define HAS_UNIFORM_u_"+t}))},eo.prototype.setConstantPatternPositions=function(){},eo.prototype.populatePaintArray=function(){},eo.prototype.updatePaintArray=function(){},eo.prototype.upload=function(){},eo.prototype.destroy=function(){},eo.prototype.setUniforms=function(t,e,r,i){e.set(i.constantOr(this.value))},eo.prototype.getBinding=function(t,e){return"color"===this.type?new Yn(t,e):new Wn(t,e)},eo.serialize=function(t){var e=t.value,r=t.names,i=t.type;return{value:yi(e),names:r,type:i}},eo.deserialize=function(t){var e=t.value,r=t.names,i=t.type;return new eo(_i(e),r,i)};var ro=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t})),this.type=r,this.maxValue=-1/0,this.patternPositions={patternTo:null,patternFrom:null}};ro.prototype.defines=function(){return this.names.map((function(t){return"#define HAS_UNIFORM_u_"+t}))},ro.prototype.populatePaintArray=function(){},ro.prototype.updatePaintArray=function(){},ro.prototype.upload=function(){},ro.prototype.destroy=function(){},ro.prototype.setConstantPatternPositions=function(t,e){this.patternPositions.patternTo=t.tlbr,this.patternPositions.patternFrom=e.tlbr},ro.prototype.setUniforms=function(t,e,r,i,n){var o=this.patternPositions;"u_pattern_to"===n&&o.patternTo&&e.set(o.patternTo),"u_pattern_from"===n&&o.patternFrom&&e.set(o.patternFrom)},ro.prototype.getBinding=function(t,e){return new Jn(t,e)};var io=function(t,e,r,i){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return"a_"+t})),this.maxValue=-1/0,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?2:1,offset:0}})),this.paintVertexArray=new i};io.prototype.defines=function(){return[]},io.prototype.setConstantPatternPositions=function(){},io.prototype.populatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=n.length;n.reserve(t);var a=this.expression.evaluate(new Ui(0),e,{},[],i);if("color"===this.type)for(var s=to(a),l=o;l<t;l++)n.emplaceBack(s[0],s[1]);else{for(var u=o;u<t;u++)n.emplaceBack(a);this.maxValue=Math.max(this.maxValue,a)}},io.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:0},r,i);if("color"===this.type)for(var a=to(o),s=t;s<e;s++)n.emplace(s,a[0],a[1]);else{for(var l=t;l<e;l++)n.emplace(l,o);this.maxValue=Math.max(this.maxValue,o)}},io.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},io.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},io.prototype.setUniforms=function(t,e){e.set(0)},io.prototype.getBinding=function(t,e){return new Wn(t,e)};var no=function(t,e,r,i,n,o){this.expression=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t+"_t"})),this.type=r,this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0;var a=o;this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?4:2,offset:0}})),this.paintVertexArray=new a};no.prototype.defines=function(){return[]},no.prototype.setConstantPatternPositions=function(){},no.prototype.populatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=n.length;n.reserve(t);var a=this.expression.evaluate(new Ui(this.zoom),e,{},[],i),s=this.expression.evaluate(new Ui(this.zoom+1),e,{},[],i);if("color"===this.type)for(var l=to(a),u=to(s),c=o;c<t;c++)n.emplaceBack(l[0],l[1],u[0],u[1]);else{for(var p=o;p<t;p++)n.emplaceBack(a,s);this.maxValue=Math.max(this.maxValue,a,s)}},no.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:this.zoom},r,i),a=this.expression.evaluate({zoom:this.zoom+1},r,i);if("color"===this.type)for(var s=to(o),l=to(a),u=t;u<e;u++)n.emplace(u,s[0],s[1],l[0],l[1]);else{for(var c=t;c<e;c++)n.emplace(c,o,a);this.maxValue=Math.max(this.maxValue,o,a)}},no.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},no.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},no.prototype.interpolationFactor=function(t){return this.useIntegerZoom&&(t=Math.floor(t)),u(this.expression.interpolationFactor(t,this.zoom,this.zoom+1),0,1)},no.prototype.setUniforms=function(t,e,r){e.set(this.interpolationFactor(r.zoom))},no.prototype.getBinding=function(t,e){return new Wn(t,e)};var oo=function(t,e,r,i,n,o,a){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return"u_"+t+"_t"})),this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0,this.layerId=a,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Uint16",components:4,offset:0}})),this.zoomInPaintVertexArray=new o,this.zoomOutPaintVertexArray=new o};oo.prototype.defines=function(){return[]},oo.prototype.setConstantPatternPositions=function(){},oo.prototype.populatePaintArray=function(t,e,r){var i=this.zoomInPaintVertexArray,n=this.zoomOutPaintVertexArray,o=this.layerId,a=i.length;if(i.reserve(t),n.reserve(t),r&&e.patterns&&e.patterns[o]){var s=e.patterns[o],l=s.min,u=s.mid,c=s.max,p=r[l],h=r[u],f=r[c];if(!p||!h||!f)return;for(var d=a;d<t;d++)i.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],p.tl[0],p.tl[1],p.br[0],p.br[1]),n.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],f.tl[0],f.tl[1],f.br[0],f.br[1])}},oo.prototype.updatePaintArray=function(t,e,r,i,n){var o=this.zoomInPaintVertexArray,a=this.zoomOutPaintVertexArray,s=this.layerId;if(n&&r.patterns&&r.patterns[s]){var l=r.patterns[s],u=l.min,c=l.mid,p=l.max,h=n[u],f=n[c],d=n[p];if(!h||!f||!d)return;for(var m=t;m<e;m++)o.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],h.tl[0],h.tl[1],h.br[0],h.br[1]),a.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],d.tl[0],d.tl[1],d.br[0],d.br[1])}},oo.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},oo.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()},oo.prototype.setUniforms=function(t,e){e.set(0)},oo.prototype.getBinding=function(t,e){return new Wn(t,e)};var ao=function(){this.binders={},this.cacheKey="",this._buffers=[]};ao.createDynamic=function(t,e,r){var i=new ao,n=[];for(var o in t.paint._values)if(r(o)){var a=t.paint.get(o);if(a instanceof Xi&&pr(a.property.specification)){var s=lo(o,t.type),l=a.property.specification.type,u=a.property.useIntegerZoom;if("cross-faded"===a.property.specification["property-type"]||"cross-faded-data-driven"===a.property.specification["property-type"])if("constant"===a.value.kind)i.binders[o]=new ro(a.value.value,s,l),n.push("/u_"+o);else{var c=uo(o,l,"source");i.binders[o]=new oo(a.value,s,l,u,e,c,t.id),n.push("/a_"+o)}else if("constant"===a.value.kind)i.binders[o]=new eo(a.value.value,s,l),n.push("/u_"+o);else if("source"===a.value.kind){var p=uo(o,l,"source");i.binders[o]=new io(a.value,s,l,p),n.push("/a_"+o)}else{var h=uo(o,l,"composite");i.binders[o]=new no(a.value,s,l,u,e,h),n.push("/z_"+o)}}}return i.cacheKey=n.sort().join(""),i},ao.prototype.populatePaintArrays=function(t,e,r,i,n){for(var o in this.binders)this.binders[o].populatePaintArray(t,e,i,n)},ao.prototype.setConstantPatternPositions=function(t,e){for(var r in this.binders)this.binders[r].setConstantPatternPositions(t,e)},ao.prototype.updatePaintArrays=function(t,e,r,i,n){var o=!1;for(var a in t)for(var s=0,l=e.getPositions(+a);s<l.length;s+=1){var u=l[s],c=r.feature(u.index);for(var p in this.binders){var h=this.binders[p];if(!(h instanceof eo||h instanceof ro)&&!0===h.expression.isStateDependent){var f=i.paint.get(p);h.expression=f.value,h.updatePaintArray(u.start,u.end,c,t[a],n),o=!0}}}return o},ao.prototype.defines=function(){var t=[];for(var e in this.binders)t.push.apply(t,this.binders[e].defines());return t},ao.prototype.getPaintVertexBuffers=function(){return this._buffers},ao.prototype.getUniforms=function(t,e){var r=[];for(var i in this.binders)for(var n=this.binders[i],o=0,a=n.uniformNames;o<a.length;o+=1){var s=a[o];if(e[s]){var l=n.getBinding(t,e[s]);r.push({name:s,property:i,binding:l})}}return r},ao.prototype.setUniforms=function(t,e,r,i){for(var n=0,o=e;n<o.length;n+=1){var a=o[n],s=a.name,l=a.property,u=a.binding;this.binders[l].setUniforms(t,u,i,r.get(l),s)}},ao.prototype.updatePatternPaintBuffers=function(t){var e=[];for(var r in this.binders){var i=this.binders[r];if(i instanceof oo){var n=2===t.fromScale?i.zoomInPaintVertexBuffer:i.zoomOutPaintVertexBuffer;n&&e.push(n)}else(i instanceof io||i instanceof no)&&i.paintVertexBuffer&&e.push(i.paintVertexBuffer)}this._buffers=e},ao.prototype.upload=function(t){for(var e in this.binders)this.binders[e].upload(t);var r=[];for(var i in this.binders){var n=this.binders[i];(n instanceof io||n instanceof no)&&n.paintVertexBuffer&&r.push(n.paintVertexBuffer)}this._buffers=r},ao.prototype.destroy=function(){for(var t in this.binders)this.binders[t].destroy()};var so=function(t,e,r,i){void 0===i&&(i=function(){return!0}),this.programConfigurations={};for(var n=0,o=e;n<o.length;n+=1){var a=o[n];this.programConfigurations[a.id]=ao.createDynamic(a,r,i),this.programConfigurations[a.id].layoutAttributes=t}this.needsUpload=!1,this._featureMap=new qn,this._bufferOffset=0};function lo(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from"],"fill-pattern":["pattern_to","pattern_from"],"fill-extrusion-pattern":["pattern_to","pattern_from"]}[t]||[t.replace(e+"-","").replace(/-/g,"_")]}function uo(t,e,r){var i={color:{source:In,composite:An},number:{source:xn,composite:In}},n=function(t){return{"line-pattern":{source:pn,composite:pn},"fill-pattern":{source:pn,composite:pn},"fill-extrusion-pattern":{source:pn,composite:pn}}[t]}(t);return n&&n[r]||i[e][r]}so.prototype.populatePaintArrays=function(t,e,r,i,n){for(var o in this.programConfigurations)this.programConfigurations[o].populatePaintArrays(t,e,r,i,n);void 0!==e.id&&this._featureMap.add(+e.id,r,this._bufferOffset,t),this._bufferOffset=t,this.needsUpload=!0},so.prototype.updatePaintArrays=function(t,e,r,i){for(var n=0,o=r;n<o.length;n+=1){var a=o[n];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(t,this._featureMap,e,a,i)||this.needsUpload}},so.prototype.get=function(t){return this.programConfigurations[t]},so.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}},so.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy()},fi("ConstantBinder",eo),fi("CrossFadedConstantBinder",ro),fi("SourceExpressionBinder",io),fi("CrossFadedCompositeBinder",oo),fi("CompositeExpressionBinder",no),fi("ProgramConfiguration",ao,{omit:["_buffers"]}),fi("ProgramConfigurationSet",so);var co=8192,po={min:-1*Math.pow(2,14),max:Math.pow(2,14)-1};function ho(t){for(var e=co/t.extent,r=t.loadGeometry(),i=0;i<r.length;i++)for(var n=r[i],o=0;o<n.length;o++){var a=n[o];a.x=Math.round(a.x*e),a.y=Math.round(a.y*e),(a.x<po.min||a.x>po.max||a.y<po.min||a.y>po.max)&&(w("Geometry exceeds allowed extent, reduce your vector tile buffer size"),a.x=u(a.x,po.min,po.max),a.y=u(a.y,po.min,po.max))}return r}function fo(t,e,r,i,n){t.emplaceBack(2*e+(i+1)/2,2*r+(n+1)/2)}var mo=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new sn,this.indexArray=new Sn,this.segments=new Nn,this.programConfigurations=new so(Vn,t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function yo(t,e){for(var r=0;r<t.length;r++)if(To(e,t[r]))return!0;for(var i=0;i<e.length;i++)if(To(t,e[i]))return!0;return!!xo(t,e)}function _o(t,e,r){return!!To(t,e)||!!wo(e,t,r)}function go(t,e){if(1===t.length)return Eo(e,t[0]);for(var r=0;r<e.length;r++)for(var i=e[r],n=0;n<i.length;n++)if(To(t,i[n]))return!0;for(var o=0;o<t.length;o++)if(Eo(e,t[o]))return!0;for(var a=0;a<e.length;a++)if(xo(t,e[a]))return!0;return!1}function vo(t,e,r){if(t.length>1){if(xo(t,e))return!0;for(var i=0;i<e.length;i++)if(wo(e[i],t,r))return!0}for(var n=0;n<t.length;n++)if(wo(t[n],e,r))return!0;return!1}function xo(t,e){if(0===t.length||0===e.length)return!1;for(var r=0;r<t.length-1;r++)for(var i=t[r],n=t[r+1],o=0;o<e.length-1;o++)if(bo(i,n,e[o],e[o+1]))return!0;return!1}function bo(t,e,r,i){return S(t,r,i)!==S(e,r,i)&&S(t,e,r)!==S(t,e,i)}function wo(t,e,r){var i=r*r;if(1===e.length)return t.distSqr(e[0])<i;for(var n=1;n<e.length;n++)if(So(t,e[n-1],e[n])<i)return!0;return!1}function So(t,e,r){var i=e.distSqr(r);if(0===i)return t.distSqr(e);var n=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/i;return n<0?t.distSqr(e):n>1?t.distSqr(r):t.distSqr(r.sub(e)._mult(n)._add(e))}function Eo(t,e){for(var r,i,n,o=!1,a=0;a<t.length;a++)for(var s=0,l=(r=t[a]).length-1;s<r.length;l=s++)i=r[s],n=r[l],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(o=!o);return o}function To(t,e){for(var r=!1,i=0,n=t.length-1;i<t.length;n=i++){var o=t[i],a=t[n];o.y>e.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(r=!r)}return r}function Io(t,e,r){var i=r[0],n=r[2];if(t.x<i.x&&e.x<i.x||t.x>n.x&&e.x>n.x||t.y<i.y&&e.y<i.y||t.y>n.y&&e.y>n.y)return!1;var o=S(t,e,r[0]);return o!==S(t,e,r[1])||o!==S(t,e,r[2])||o!==S(t,e,r[3])}function Ao(t,e,r){var i=e.paint.get(t).value;return"constant"===i.kind?i.value:r.programConfigurations.get(e.id).binders[t].maxValue}function zo(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Co(t,e,r,i,o){if(!e[0]&&!e[1])return t;var a=n.convert(e)._mult(o);"viewport"===r&&a._rotate(-i);for(var s=[],l=0;l<t.length;l++){var u=t[l];s.push(u.sub(a))}return s}mo.prototype.populate=function(t,e){var r=this.layers[0],i=[],n=null;"circle"===r.type&&(n=r.layout.get("circle-sort-key"));for(var o=0,a=t;o<a.length;o+=1){var s=a[o],l=s.feature,u=s.index,c=s.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),l)){var p=ho(l),h=n?n.evaluate(l,{}):void 0,f={id:l.id,properties:l.properties,type:l.type,sourceLayerIndex:c,index:u,geometry:p,patterns:{},sortKey:h};i.push(f)}}n&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var d=0,m=i;d<m.length;d+=1){var y=m[d],_=y,g=_.geometry,v=_.index,x=_.sourceLayerIndex,b=t[v].feature;this.addFeature(y,g,v),e.featureIndex.insert(b,g,v,x,this.index)}},mo.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},mo.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},mo.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},mo.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Vn),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},mo.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},mo.prototype.addFeature=function(t,e,r){for(var i=0,n=e;i<n.length;i+=1)for(var o=0,a=n[i];o<a.length;o+=1){var s=a[o],l=s.x,u=s.y;if(!(l<0||l>=co||u<0||u>=co)){var c=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),p=c.vertexLength;fo(this.layoutVertexArray,l,u,-1,-1),fo(this.layoutVertexArray,l,u,1,-1),fo(this.layoutVertexArray,l,u,1,1),fo(this.layoutVertexArray,l,u,-1,1),this.indexArray.emplaceBack(p,p+1,p+2),this.indexArray.emplaceBack(p,p+3,p+2),c.vertexLength+=4,c.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{})},fi("CircleBucket",mo,{omit:["layers"]});var ko,Po=new $i({"circle-sort-key":new Hi(At.layout_circle["circle-sort-key"])}),Mo={paint:new $i({"circle-radius":new Hi(At.paint_circle["circle-radius"]),"circle-color":new Hi(At.paint_circle["circle-color"]),"circle-blur":new Hi(At.paint_circle["circle-blur"]),"circle-opacity":new Hi(At.paint_circle["circle-opacity"]),"circle-translate":new Ki(At.paint_circle["circle-translate"]),"circle-translate-anchor":new Ki(At.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Ki(At.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Ki(At.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Hi(At.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Hi(At.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Hi(At.paint_circle["circle-stroke-opacity"])}),layout:Po},Lo="undefined"!=typeof Float32Array?Float32Array:Array;function Do(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3];return t[0]=r[0]*i+r[4]*n+r[8]*o+r[12]*a,t[1]=r[1]*i+r[5]*n+r[9]*o+r[13]*a,t[2]=r[2]*i+r[6]*n+r[10]*o+r[14]*a,t[3]=r[3]*i+r[7]*n+r[11]*o+r[15]*a,t}Math.hypot||(Math.hypot=function(){for(var t=arguments,e=0,r=arguments.length;r--;)e+=t[r]*t[r];return Math.sqrt(e)}),ko=new Lo(3),Lo!=Float32Array&&(ko[0]=0,ko[1]=0,ko[2]=0),function(){var t=new Lo(4);Lo!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0)}();var Bo=function(t){function e(e){t.call(this,e,Mo)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new mo(t)},e.prototype.queryRadius=function(t){var e=t;return Ao("circle-radius",this,e)+Ao("circle-stroke-width",this,e)+zo(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a,s){for(var l=Co(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),u=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),c="map"===this.paint.get("circle-pitch-alignment"),p=c?l:function(t,e){return t.map((function(t){return Ro(t,e)}))}(l,s),h=c?u*a:u,f=0,d=i;f<d.length;f+=1)for(var m=0,y=d[f];m<y.length;m+=1){var _=y[m],g=c?_:Ro(_,s),v=h,x=Do([],[_.x,_.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?v*=x[3]/o.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(v*=o.cameraToCenterDistance/x[3]),_o(p,g,v))return!0}return!1},e}(tn);function Ro(t,e){var r=Do([],[t.x,t.y,0,1],e);return new n(r[0]/r[3],r[1]/r[3])}var Fo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(mo);function Oo(t,e,r,i){var n=e.width,o=e.height;if(i){if(i instanceof Uint8ClampedArray)i=new Uint8Array(i.buffer);else if(i.length!==n*o*r)throw new RangeError("mismatched image size")}else i=new Uint8Array(n*o*r);return t.width=n,t.height=o,t.data=i,t}function Uo(t,e,r){var i=e.width,n=e.height;if(i!==t.width||n!==t.height){var o=Oo({},{width:i,height:n},r);Vo(t,o,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,i),height:Math.min(t.height,n)},r),t.width=i,t.height=n,t.data=o.data}}function Vo(t,e,r,i,n,o){if(0===n.width||0===n.height)return e;if(n.width>t.width||n.height>t.height||r.x>t.width-n.width||r.y>t.height-n.height)throw new RangeError("out of range source coordinates for image copy");if(n.width>e.width||n.height>e.height||i.x>e.width-n.width||i.y>e.height-n.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=t.data,s=e.data,l=0;l<n.height;l++)for(var u=((r.y+l)*t.width+r.x)*o,c=((i.y+l)*e.width+i.x)*o,p=0;p<n.width*o;p++)s[c+p]=a[u+p];return e}fi("HeatmapBucket",Fo,{omit:["layers"]});var No=function(t,e){Oo(this,t,1,e)};No.prototype.resize=function(t){Uo(this,t,1)},No.prototype.clone=function(){return new No({width:this.width,height:this.height},new Uint8Array(this.data))},No.copy=function(t,e,r,i,n){Vo(t,e,r,i,n,1)};var jo=function(t,e){Oo(this,t,4,e)};jo.prototype.resize=function(t){Uo(this,t,4)},jo.prototype.replace=function(t,e){e?this.data.set(t):t instanceof Uint8ClampedArray?this.data=new Uint8Array(t.buffer):this.data=t},jo.prototype.clone=function(){return new jo({width:this.width,height:this.height},new Uint8Array(this.data))},jo.copy=function(t,e,r,i,n){Vo(t,e,r,i,n,4)},fi("AlphaImage",No),fi("RGBAImage",jo);var qo={paint:new $i({"heatmap-radius":new Hi(At.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Hi(At.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Ki(At.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Qi(At.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Ki(At.paint_heatmap["heatmap-opacity"])})};function Zo(t,e){for(var r=new Uint8Array(1024),i={},n=0,o=0;n<256;n++,o+=4){i[e]=n/255;var a=t.evaluate(i);r[o+0]=Math.floor(255*a.r/a.a),r[o+1]=Math.floor(255*a.g/a.a),r[o+2]=Math.floor(255*a.b/a.a),r[o+3]=Math.floor(255*a.a)}return new jo({width:256,height:1},r)}var Go=function(t){function e(e){t.call(this,e,qo),this._updateColorRamp()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Fo(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){"heatmap-color"===t&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){var t=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Zo(t,"heatmapDensity"),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(tn),Xo={paint:new $i({"hillshade-illumination-direction":new Ki(At.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Ki(At.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Ki(At.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Ki(At.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Ki(At.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Ki(At.paint_hillshade["hillshade-accent-color"])})},Wo=function(t){function e(e){t.call(this,e,Xo)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(tn),Ko=on([{name:"a_pos",components:2,type:"Int16"}],4).members,Ho=Yo,Jo=Yo;function Yo(t,e,r){r=r||2;var i,n,o,a,s,l,u,c=e&&e.length,p=c?e[0]*r:t.length,h=Qo(t,0,p,r,!0),f=[];if(!h||h.next===h.prev)return f;if(c&&(h=function(t,e,r,i){var n,o,a,s=[];for(n=0,o=e.length;n<o;n++)(a=Qo(t,e[n]*i,n<o-1?e[n+1]*i:t.length,i,!1))===a.next&&(a.steiner=!0),s.push(ua(a));for(s.sort(oa),n=0;n<s.length;n++)aa(s[n],r),r=$o(r,r.next);return r}(t,e,h,r)),t.length>80*r){i=o=t[0],n=a=t[1];for(var d=r;d<p;d+=r)(s=t[d])<i&&(i=s),(l=t[d+1])<n&&(n=l),s>o&&(o=s),l>a&&(a=l);u=0!==(u=Math.max(o-i,a-n))?1/u:0}return ta(h,f,r,i,n,u),f}function Qo(t,e,r,i,n){var o,a;if(n===wa(t,e,r,i)>0)for(o=e;o<r;o+=i)a=va(o,t[o],t[o+1],a);else for(o=r-i;o>=e;o-=i)a=va(o,t[o],t[o+1],a);return a&&fa(a,a.next)&&(xa(a),a=a.next),a}function $o(t,e){if(!t)return t;e||(e=t);var r,i=t;do{if(r=!1,i.steiner||!fa(i,i.next)&&0!==ha(i.prev,i,i.next))i=i.next;else{if(xa(i),(i=e=i.prev)===i.next)break;r=!0}}while(r||i!==e);return e}function ta(t,e,r,i,n,o,a){if(t){!a&&o&&function(t,e,r,i){var n=t;do{null===n.z&&(n.z=la(n.x,n.y,e,r,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next}while(n!==t);n.prevZ.nextZ=null,n.prevZ=null,function(t){var e,r,i,n,o,a,s,l,u=1;do{for(r=t,t=null,o=null,a=0;r;){for(a++,i=r,s=0,e=0;e<u&&(s++,i=i.nextZ);e++);for(l=u;s>0||l>0&&i;)0!==s&&(0===l||!i||r.z<=i.z)?(n=r,r=r.nextZ,s--):(n=i,i=i.nextZ,l--),o?o.nextZ=n:t=n,n.prevZ=o,o=n;r=i}o.nextZ=null,u*=2}while(a>1)}(n)}(t,i,n,o);for(var s,l,u=t;t.prev!==t.next;)if(s=t.prev,l=t.next,o?ra(t,i,n,o):ea(t))e.push(s.i/r),e.push(t.i/r),e.push(l.i/r),xa(t),t=l.next,u=l.next;else if((t=l)===u){a?1===a?ta(t=ia($o(t),e,r),e,r,i,n,o,2):2===a&&na(t,e,r,i,n,o):ta($o(t),e,r,i,n,o,1);break}}}function ea(t){var e=t.prev,r=t,i=t.next;if(ha(e,r,i)>=0)return!1;for(var n=t.next.next;n!==t.prev;){if(ca(e.x,e.y,r.x,r.y,i.x,i.y,n.x,n.y)&&ha(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function ra(t,e,r,i){var n=t.prev,o=t,a=t.next;if(ha(n,o,a)>=0)return!1;for(var s=n.x<o.x?n.x<a.x?n.x:a.x:o.x<a.x?o.x:a.x,l=n.y<o.y?n.y<a.y?n.y:a.y:o.y<a.y?o.y:a.y,u=n.x>o.x?n.x>a.x?n.x:a.x:o.x>a.x?o.x:a.x,c=n.y>o.y?n.y>a.y?n.y:a.y:o.y>a.y?o.y:a.y,p=la(s,l,e,r,i),h=la(u,c,e,r,i),f=t.prevZ,d=t.nextZ;f&&f.z>=p&&d&&d.z<=h;){if(f!==t.prev&&f!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&ha(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,d!==t.prev&&d!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&ha(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;f&&f.z>=p;){if(f!==t.prev&&f!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&ha(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;d&&d.z<=h;){if(d!==t.prev&&d!==t.next&&ca(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&ha(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function ia(t,e,r){var i=t;do{var n=i.prev,o=i.next.next;!fa(n,o)&&da(n,i,i.next,o)&&_a(n,o)&&_a(o,n)&&(e.push(n.i/r),e.push(i.i/r),e.push(o.i/r),xa(i),xa(i.next),i=t=o),i=i.next}while(i!==t);return $o(i)}function na(t,e,r,i,n,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&pa(a,s)){var l=ga(a,s);return a=$o(a,a.next),l=$o(l,l.next),ta(a,e,r,i,n,o),void ta(l,e,r,i,n,o)}s=s.next}a=a.next}while(a!==t)}function oa(t,e){return t.x-e.x}function aa(t,e){if(e=function(t,e){var r,i=e,n=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=n&&s>a){if(a=s,s===n){if(o===i.y)return i;if(o===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!r)return null;if(n===a)return r;var l,u=r,c=r.x,p=r.y,h=1/0;i=r;do{n>=i.x&&i.x>=c&&n!==i.x&&ca(o<p?n:a,o,c,p,o<p?a:n,o,i.x,i.y)&&(l=Math.abs(o-i.y)/(n-i.x),_a(i,t)&&(l<h||l===h&&(i.x>r.x||i.x===r.x&&sa(r,i)))&&(r=i,h=l)),i=i.next}while(i!==u);return r}(t,e)){var r=ga(e,t);$o(r,r.next)}}function sa(t,e){return ha(t.prev,t,e.prev)<0&&ha(e.next,t,t.next)<0}function la(t,e,r,i,n){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*n)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*n)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function ua(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function ca(t,e,r,i,n,o,a,s){return(n-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(i-s)-(r-a)*(e-s)>=0&&(r-a)*(o-s)-(n-a)*(i-s)>=0}function pa(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&da(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&(_a(t,e)&&_a(e,t)&&function(t,e){var r=t,i=!1,n=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&n<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next}while(r!==t);return i}(t,e)&&(ha(t.prev,t,e.prev)||ha(t,e.prev,e))||fa(t,e)&&ha(t.prev,t,t.next)>0&&ha(e.prev,e,e.next)>0)}function ha(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function fa(t,e){return t.x===e.x&&t.y===e.y}function da(t,e,r,i){var n=ya(ha(t,e,r)),o=ya(ha(t,e,i)),a=ya(ha(r,i,t)),s=ya(ha(r,i,e));return n!==o&&a!==s||!(0!==n||!ma(t,r,e))||!(0!==o||!ma(t,i,e))||!(0!==a||!ma(r,t,i))||!(0!==s||!ma(r,e,i))}function ma(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function ya(t){return t>0?1:t<0?-1:0}function _a(t,e){return ha(t.prev,t,t.next)<0?ha(t,e,t.next)>=0&&ha(t,t.prev,e)>=0:ha(t,e,t.prev)<0||ha(t,t.next,e)<0}function ga(t,e){var r=new ba(t.i,t.x,t.y),i=new ba(e.i,e.x,e.y),n=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=n,n.prev=r,i.next=r,r.prev=i,o.next=i,i.prev=o,i}function va(t,e,r,i){var n=new ba(t,e,r);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function xa(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function ba(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function wa(t,e,r,i){for(var n=0,o=e,a=r-i;o<r;o+=i)n+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return n}function Sa(t,e,r,i,n){!function t(e,r,i,n,o){for(;n>i;){if(n-i>600){var a=n-i+1,s=r-i+1,l=Math.log(a),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(a-u)/a)*(s-a/2<0?-1:1);t(e,r,Math.max(i,Math.floor(r-s*u/a+c)),Math.min(n,Math.floor(r+(a-s)*u/a+c)),o)}var p=e[r],h=i,f=n;for(Ea(e,i,r),o(e[n],p)>0&&Ea(e,i,n);h<f;){for(Ea(e,h,f),h++,f--;o(e[h],p)<0;)h++;for(;o(e[f],p)>0;)f--}0===o(e[i],p)?Ea(e,i,f):Ea(e,++f,n),f<=r&&(i=f+1),r<=f&&(n=f-1)}}(t,e,r||0,i||t.length-1,n||Ta)}function Ea(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function Ta(t,e){return t<e?-1:t>e?1:0}function Ia(t,e){var r=t.length;if(r<=1)return[t];for(var i,n,o=[],a=0;a<r;a++){var s=E(t[a]);0!==s&&(t[a].area=Math.abs(s),void 0===n&&(n=s<0),n===s<0?(i&&o.push(i),i=[t[a]]):i.push(t[a]))}if(i&&o.push(i),e>1)for(var l=0;l<o.length;l++)o[l].length<=e||(Sa(o[l],e,1,o[l].length-1,Aa),o[l]=o[l].slice(0,e));return o}function Aa(t,e){return e.area-t.area}function za(t,e,r){for(var i=r.patternDependencies,n=!1,o=0,a=e;o<a.length;o+=1){var s=a[o].paint.get(t+"-pattern");s.isConstant()||(n=!0);var l=s.constantOr(null);l&&(n=!0,i[l.to]=!0,i[l.from]=!0)}return n}function Ca(t,e,r,i,n){for(var o=n.patternDependencies,a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.paint.get(t+"-pattern").value;if("constant"!==u.kind){var c=u.evaluate({zoom:i-1},r,{},n.availableImages),p=u.evaluate({zoom:i},r,{},n.availableImages),h=u.evaluate({zoom:i+1},r,{},n.availableImages);c=c&&c.name?c.name:c,p=p&&p.name?p.name:p,h=h&&h.name?h.name:h,o[c]=!0,o[p]=!0,o[h]=!0,r.patterns[l.id]={min:c,mid:p,max:h}}}return r}Yo.deviation=function(t,e,r,i){var n=e&&e.length,o=n?e[0]*r:t.length,a=Math.abs(wa(t,0,o,r));if(n)for(var s=0,l=e.length;s<l;s++){var u=e[s]*r,c=s<l-1?e[s+1]*r:t.length;a-=Math.abs(wa(t,u,c,r))}var p=0;for(s=0;s<i.length;s+=3){var h=i[s]*r,f=i[s+1]*r,d=i[s+2]*r;p+=Math.abs((t[h]-t[d])*(t[f+1]-t[h+1])-(t[h]-t[f])*(t[d+1]-t[h+1]))}return 0===a&&0===p?0:Math.abs((p-a)/a)},Yo.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},i=0,n=0;n<t.length;n++){for(var o=0;o<t[n].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[n][o][a]);n>0&&(i+=t[n-1].length,r.holes.push(i))}return r},Ho.default=Jo;var ka=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new sn,this.indexArray=new Sn,this.indexArray2=new En,this.programConfigurations=new so(Ko,t.layers,t.zoom),this.segments=new Nn,this.segments2=new Nn,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ka.prototype.populate=function(t,e){this.hasPattern=za("fill",this.layers,e);for(var r=this.layers[0].layout.get("fill-sort-key"),i=[],n=0,o=t;n<o.length;n+=1){var a=o[n],s=a.feature,l=a.index,u=a.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),s)){var c=ho(s),p=r?r.evaluate(s,{},e.availableImages):void 0,h={id:s.id,properties:s.properties,type:s.type,sourceLayerIndex:u,index:l,geometry:c,patterns:{},sortKey:p};i.push(h)}}r&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var f=0,d=i;f<d.length;f+=1){var m=d[f],y=m,_=y.geometry,g=y.index,v=y.sourceLayerIndex;if(this.hasPattern){var x=Ca("fill",this.layers,m,this.zoom,e);this.patternFeatures.push(x)}else this.addFeature(m,_,g,{});var b=t[g].feature;e.featureIndex.insert(b,_,g,v,this.index)}},ka.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ka.prototype.addFeatures=function(t,e){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var n=i[r];this.addFeature(n,n.geometry,n.index,e)}},ka.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ka.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ka.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ko),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0},ka.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},ka.prototype.addFeature=function(t,e,r,i){for(var n=0,o=Ia(e,500);n<o.length;n+=1){for(var a=o[n],s=0,l=0,u=a;l<u.length;l+=1)s+=u[l].length;for(var c=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray),p=c.vertexLength,h=[],f=[],d=0,m=a;d<m.length;d+=1){var y=m[d];if(0!==y.length){y!==a[0]&&f.push(h.length/2);var _=this.segments2.prepareSegment(y.length,this.layoutVertexArray,this.indexArray2),g=_.vertexLength;this.layoutVertexArray.emplaceBack(y[0].x,y[0].y),this.indexArray2.emplaceBack(g+y.length-1,g),h.push(y[0].x),h.push(y[0].y);for(var v=1;v<y.length;v++)this.layoutVertexArray.emplaceBack(y[v].x,y[v].y),this.indexArray2.emplaceBack(g+v-1,g+v),h.push(y[v].x),h.push(y[v].y);_.vertexLength+=y.length,_.primitiveLength+=y.length}}for(var x=Ho(h,f),b=0;b<x.length;b+=3)this.indexArray.emplaceBack(p+x[b],p+x[b+1],p+x[b+2]);c.vertexLength+=s,c.primitiveLength+=x.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},fi("FillBucket",ka,{omit:["layers","patternFeatures"]});var Pa=new $i({"fill-sort-key":new Hi(At.layout_fill["fill-sort-key"])}),Ma={paint:new $i({"fill-antialias":new Ki(At.paint_fill["fill-antialias"]),"fill-opacity":new Hi(At.paint_fill["fill-opacity"]),"fill-color":new Hi(At.paint_fill["fill-color"]),"fill-outline-color":new Hi(At.paint_fill["fill-outline-color"]),"fill-translate":new Ki(At.paint_fill["fill-translate"]),"fill-translate-anchor":new Ki(At.paint_fill["fill-translate-anchor"]),"fill-pattern":new Ji(At.paint_fill["fill-pattern"])}),layout:Pa},La=function(t){function e(e){t.call(this,e,Ma)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r);var i=this.paint._values["fill-outline-color"];"constant"===i.value.kind&&void 0===i.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},e.prototype.createBucket=function(t){return new ka(t)},e.prototype.queryRadius=function(){return zo(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a){return go(Co(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,a),i)},e.prototype.isTileClipped=function(){return!0},e}(tn),Da=on([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,Ba=Ra;function Ra(t,e,r,i,n){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=i,this._values=n,t.readFields(Fa,this,e)}function Fa(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){for(var r=t.readVarint()+t.pos;t.pos<r;){var i=e._keys[t.readVarint()],n=e._values[t.readVarint()];e.properties[i]=n}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos)}function Oa(t){for(var e,r,i=0,n=0,o=t.length,a=o-1;n<o;a=n++)e=t[n],i+=((r=t[a]).x-e.x)*(e.y+r.y);return i}Ra.types=["Unknown","Point","LineString","Polygon"],Ra.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,i=1,o=0,a=0,s=0,l=[];t.pos<r;){if(o<=0){var u=t.readVarint();i=7&u,o=u>>3}if(o--,1===i||2===i)a+=t.readSVarint(),s+=t.readSVarint(),1===i&&(e&&l.push(e),e=[]),e.push(new n(a,s));else{if(7!==i)throw new Error("unknown command "+i);e&&e.push(e[0].clone())}}return e&&l.push(e),l},Ra.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,i=0,n=0,o=0,a=1/0,s=-1/0,l=1/0,u=-1/0;t.pos<e;){if(i<=0){var c=t.readVarint();r=7&c,i=c>>3}if(i--,1===r||2===r)(n+=t.readSVarint())<a&&(a=n),n>s&&(s=n),(o+=t.readSVarint())<l&&(l=o),o>u&&(u=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,l,s,u]},Ra.prototype.toGeoJSON=function(t,e,r){var i,n,o=this.extent*Math.pow(2,r),a=this.extent*t,s=this.extent*e,l=this.loadGeometry(),u=Ra.types[this.type];function c(t){for(var e=0;e<t.length;e++){var r=t[e],i=180-360*(r.y+s)/o;t[e]=[360*(r.x+a)/o-180,360/Math.PI*Math.atan(Math.exp(i*Math.PI/180))-90]}}switch(this.type){case 1:var p=[];for(i=0;i<l.length;i++)p[i]=l[i][0];c(l=p);break;case 2:for(i=0;i<l.length;i++)c(l[i]);break;case 3:for(l=function(t){var e=t.length;if(e<=1)return[t];for(var r,i,n=[],o=0;o<e;o++){var a=Oa(t[o]);0!==a&&(void 0===i&&(i=a<0),i===a<0?(r&&n.push(r),r=[t[o]]):r.push(t[o]))}return r&&n.push(r),n}(l),i=0;i<l.length;i++)for(n=0;n<l[i].length;n++)c(l[i][n])}1===l.length?l=l[0]:u="Multi"+u;var h={type:"Feature",geometry:{type:u,coordinates:l},properties:this.properties};return"id"in this&&(h.id=this.id),h};var Ua=Va;function Va(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Na,this,e),this.length=this._features.length}function Na(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){for(var e=null,r=t.readVarint()+t.pos;t.pos<r;){var i=t.readVarint()>>3;e=1===i?t.readString():2===i?t.readFloat():3===i?t.readDouble():4===i?t.readVarint64():5===i?t.readVarint():6===i?t.readSVarint():7===i?t.readBoolean():null}return e}(r))}function ja(t,e,r){if(3===t){var i=new Ua(r,r.readVarint()+r.pos);i.length&&(e[i.name]=i)}}Va.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new Ba(this._pbf,e,this.extent,this._keys,this._values)};var qa={VectorTile:function(t,e){this.layers=t.readFields(ja,{},e)},VectorTileFeature:Ba,VectorTileLayer:Ua},Za=qa.VectorTileFeature.types,Ga=Math.pow(2,13);function Xa(t,e,r,i,n,o,a,s){t.emplaceBack(e,r,2*Math.floor(i*Ga)+a,n*Ga*2,o*Ga*2,Math.round(s))}var Wa=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new un,this.indexArray=new Sn,this.programConfigurations=new so(Da,t.layers,t.zoom),this.segments=new Nn,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function Ka(t,e){return t.x===e.x&&(t.x<0||t.x>co)||t.y===e.y&&(t.y<0||t.y>co)}function Ha(t){return t.every((function(t){return t.x<0}))||t.every((function(t){return t.x>co}))||t.every((function(t){return t.y<0}))||t.every((function(t){return t.y>co}))}Wa.prototype.populate=function(t,e){this.features=[],this.hasPattern=za("fill-extrusion",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),o)){var l=ho(o),u={sourceLayerIndex:s,index:a,geometry:l,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(u.id=o.id),this.hasPattern?this.features.push(Ca("fill-extrusion",this.layers,u,this.zoom,e)):this.addFeature(u,l,a,{}),e.featureIndex.insert(o,l,a,s,this.index,!0)}}},Wa.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},Wa.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Wa.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Wa.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Wa.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Da),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Wa.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Wa.prototype.addFeature=function(t,e,r,i){for(var n=0,o=Ia(e,500);n<o.length;n+=1){for(var a=o[n],s=0,l=0,u=a;l<u.length;l+=1)s+=u[l].length;for(var c=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),p=0,h=a;p<h.length;p+=1){var f=h[p];if(0!==f.length&&!Ha(f))for(var d=0,m=0;m<f.length;m++){var y=f[m];if(m>=1){var _=f[m-1];if(!Ka(y,_)){c.vertexLength+4>Nn.MAX_VERTEX_ARRAY_LENGTH&&(c=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var g=y.sub(_)._perp()._unit(),v=_.dist(y);d+v>32768&&(d=0),Xa(this.layoutVertexArray,y.x,y.y,g.x,g.y,0,0,d),Xa(this.layoutVertexArray,y.x,y.y,g.x,g.y,0,1,d),d+=v,Xa(this.layoutVertexArray,_.x,_.y,g.x,g.y,0,0,d),Xa(this.layoutVertexArray,_.x,_.y,g.x,g.y,0,1,d);var x=c.vertexLength;this.indexArray.emplaceBack(x,x+2,x+1),this.indexArray.emplaceBack(x+1,x+2,x+3),c.vertexLength+=4,c.primitiveLength+=2}}}}if(c.vertexLength+s>Nn.MAX_VERTEX_ARRAY_LENGTH&&(c=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray)),"Polygon"===Za[t.type]){for(var b=[],w=[],S=c.vertexLength,E=0,T=a;E<T.length;E+=1){var I=T[E];if(0!==I.length){I!==a[0]&&w.push(b.length/2);for(var A=0;A<I.length;A++){var z=I[A];Xa(this.layoutVertexArray,z.x,z.y,0,0,1,1,0),b.push(z.x),b.push(z.y)}}}for(var C=Ho(b,w),k=0;k<C.length;k+=3)this.indexArray.emplaceBack(S+C[k],S+C[k+2],S+C[k+1]);c.primitiveLength+=C.length/3,c.vertexLength+=s}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},fi("FillExtrusionBucket",Wa,{omit:["layers","features"]});var Ja={paint:new $i({"fill-extrusion-opacity":new Ki(At["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Hi(At["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Ki(At["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Ki(At["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ji(At["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Hi(At["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Hi(At["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Ki(At["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Ya=function(t){function e(e){t.call(this,e,Ja)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Wa(t)},e.prototype.queryRadius=function(){return zo(this.paint.get("fill-extrusion-translate"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s,l){var u=Co(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),a.angle,s),c=this.paint.get("fill-extrusion-height").evaluate(e,r),p=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e,r,i){for(var o=[],a=0,s=t;a<s.length;a+=1){var l=s[a],u=[l.x,l.y,0,1];Do(u,u,e),o.push(new n(u[0]/u[3],u[1]/u[3]))}return o}(u,l),f=function(t,e,r,i){for(var o=[],a=[],s=i[8]*e,l=i[9]*e,u=i[10]*e,c=i[11]*e,p=i[8]*r,h=i[9]*r,f=i[10]*r,d=i[11]*r,m=0,y=t;m<y.length;m+=1){for(var _=[],g=[],v=0,x=y[m];v<x.length;v+=1){var b=x[v],w=b.x,S=b.y,E=i[0]*w+i[4]*S+i[12],T=i[1]*w+i[5]*S+i[13],I=i[2]*w+i[6]*S+i[14],A=i[3]*w+i[7]*S+i[15],z=I+u,C=A+c,k=E+p,P=T+h,M=I+f,L=A+d,D=new n((E+s)/C,(T+l)/C);D.z=z/C,_.push(D);var B=new n(k/L,P/L);B.z=M/L,g.push(B)}o.push(_),a.push(g)}return[o,a]}(i,p,c,l);return function(t,e,r){var i=1/0;go(r,e)&&(i=$a(r,e[0]));for(var n=0;n<e.length;n++)for(var o=e[n],a=t[n],s=0;s<o.length-1;s++){var l=o[s],u=o[s+1],c=a[s],p=[l,u,a[s+1],c,l];yo(r,p)&&(i=Math.min(i,$a(r,p)))}return i!==1/0&&i}(f[0],f[1],h)},e}(tn);function Qa(t,e){return t.x*e.x+t.y*e.y}function $a(t,e){if(1===t.length){var r=e[0],i=e[1],n=e[3],o=t[0],a=i.sub(r),s=n.sub(r),l=o.sub(r),u=Qa(a,a),c=Qa(a,s),p=Qa(s,s),h=Qa(l,a),f=Qa(l,s),d=u*p-c*c,m=(p*h-c*f)/d,y=(u*f-c*h)/d,_=1-m-y;return r.z*_+i.z*m+n.z*y}for(var g=1/0,v=0,x=e;v<x.length;v+=1){var b=x[v];g=Math.min(g,b.z)}return g}var ts=on([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,es=qa.VectorTileFeature.types,rs=Math.cos(Math.PI/180*37.5),is=Math.pow(2,14)/.5,ns=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new cn,this.indexArray=new Sn,this.programConfigurations=new so(ts,t.layers,t.zoom),this.segments=new Nn,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ns.prototype.populate=function(t,e){this.hasPattern=za("line",this.layers,e);for(var r=this.layers[0].layout.get("line-sort-key"),i=[],n=0,o=t;n<o.length;n+=1){var a=o[n],s=a.feature,l=a.index,u=a.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ui(this.zoom),s)){var c=ho(s),p=r?r.evaluate(s,{}):void 0,h={id:s.id,properties:s.properties,type:s.type,sourceLayerIndex:u,index:l,geometry:c,patterns:{},sortKey:p};i.push(h)}}r&&i.sort((function(t,e){return t.sortKey-e.sortKey}));for(var f=0,d=i;f<d.length;f+=1){var m=d[f],y=m,_=y.geometry,g=y.index,v=y.sourceLayerIndex;if(this.hasPattern){var x=Ca("line",this.layers,m,this.zoom,e);this.patternFeatures.push(x)}else this.addFeature(m,_,g,{});var b=t[g].feature;e.featureIndex.insert(b,_,g,v,this.index)}},ns.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ns.prototype.addFeatures=function(t,e){for(var r=0,i=this.patternFeatures;r<i.length;r+=1){var n=i[r];this.addFeature(n,n.geometry,n.index,e)}},ns.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ns.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ns.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,ts),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},ns.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},ns.prototype.addFeature=function(t,e,r,i){for(var n=this.layers[0].layout,o=n.get("line-join").evaluate(t,{}),a=n.get("line-cap"),s=n.get("line-miter-limit"),l=n.get("line-round-limit"),u=0,c=e;u<c.length;u+=1){var p=c[u];this.addLine(p,t,o,a,s,l,r,i)}},ns.prototype.addLine=function(t,e,r,i,n,o,a,s){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end")){this.clipStart=+e.properties.mapbox_clip_start,this.clipEnd=+e.properties.mapbox_clip_end;for(var l=0;l<t.length-1;l++)this.totalDistance+=t[l].dist(t[l+1])}for(var u="Polygon"===es[e.type],c=t.length;c>=2&&t[c-1].equals(t[c-2]);)c--;for(var p=0;p<c-1&&t[p].equals(t[p+1]);)p++;if(!(c<(u?3:2))){"bevel"===r&&(n=1.05);var h,f=this.overscaling<=16?15*co/(512*this.overscaling):0,d=this.segments.prepareSegment(10*c,this.layoutVertexArray,this.indexArray),m=void 0,y=void 0,_=void 0,g=void 0;this.e1=this.e2=-1,u&&(h=t[c-2],g=t[p].sub(h)._unit()._perp());for(var v=p;v<c;v++)if(!(y=u&&v===c-1?t[p+1]:t[v+1])||!t[v].equals(y)){g&&(_=g),h&&(m=h),h=t[v],g=y?y.sub(h)._unit()._perp():_;var x=(_=_||g).add(g);0===x.x&&0===x.y||x._unit();var b=_.x*g.x+_.y*g.y,w=x.x*g.x+x.y*g.y,S=0!==w?1/w:1/0,E=2*Math.sqrt(2-2*w),T=w<rs&&m&&y,I=_.x*g.y-_.y*g.x>0;if(T&&v>p){var A=h.dist(m);if(A>2*f){var z=h.sub(h.sub(m)._mult(f/A)._round());this.updateDistance(m,z),this.addCurrentVertex(z,_,0,0,d),m=z}}var C=m&&y,k=C?r:u?"butt":i;if(C&&"round"===k&&(S<o?k="miter":S<=2&&(k="fakeround")),"miter"===k&&S>n&&(k="bevel"),"bevel"===k&&(S>2&&(k="flipbevel"),S<n&&(k="miter")),m&&this.updateDistance(m,h),"miter"===k)x._mult(S),this.addCurrentVertex(h,x,0,0,d);else if("flipbevel"===k){if(S>100)x=g.mult(-1);else{var P=S*_.add(g).mag()/_.sub(g).mag();x._perp()._mult(P*(I?-1:1))}this.addCurrentVertex(h,x,0,0,d),this.addCurrentVertex(h,x.mult(-1),0,0,d)}else if("bevel"===k||"fakeround"===k){var M=-Math.sqrt(S*S-1),L=I?M:0,D=I?0:M;if(m&&this.addCurrentVertex(h,_,L,D,d),"fakeround"===k)for(var B=Math.round(180*E/Math.PI/20),R=1;R<B;R++){var F=R/B;if(.5!==F){var O=F-.5;F+=F*O*(F-1)*((1.0904+b*(b*(3.55645-1.43519*b)-3.2452))*O*O+(.848013+b*(.215638*b-1.06021)))}var U=g.sub(_)._mult(F)._add(_)._unit()._mult(I?-1:1);this.addHalfVertex(h,U.x,U.y,!1,I,0,d)}y&&this.addCurrentVertex(h,g,-L,-D,d)}else if("butt"===k)this.addCurrentVertex(h,x,0,0,d);else if("square"===k){var V=m?1:-1;this.addCurrentVertex(h,x,V,V,d)}else"round"===k&&(m&&(this.addCurrentVertex(h,_,0,0,d),this.addCurrentVertex(h,_,1,1,d,!0)),y&&(this.addCurrentVertex(h,g,-1,-1,d,!0),this.addCurrentVertex(h,g,0,0,d)));if(T&&v<c-1){var N=h.dist(y);if(N>2*f){var j=h.add(y.sub(h)._mult(f/N)._round());this.updateDistance(h,j),this.addCurrentVertex(j,g,0,0,d),h=j}}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,a,s)}},ns.prototype.addCurrentVertex=function(t,e,r,i,n,o){void 0===o&&(o=!1);var a=e.x+e.y*r,s=e.y-e.x*r,l=-e.x+e.y*i,u=-e.y-e.x*i;this.addHalfVertex(t,a,s,o,!1,r,n),this.addHalfVertex(t,l,u,o,!0,-i,n),this.distance>is/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,r,i,n,o))},ns.prototype.addHalfVertex=function(t,e,r,i,n,o,a){var s=t.x,l=t.y,u=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((s<<1)+(i?1:0),(l<<1)+(n?1:0),Math.round(63*e)+128,Math.round(63*r)+128,1+(0===o?0:o<0?-1:1)|(63&u)<<2,u>>6);var c=a.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,c),a.primitiveLength++),n?this.e2=c:this.e1=c},ns.prototype.updateDistance=function(t,e){this.distance+=t.dist(e),this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(is-1):this.distance},fi("LineBucket",ns,{omit:["layers","patternFeatures"]});var os=new $i({"line-cap":new Ki(At.layout_line["line-cap"]),"line-join":new Hi(At.layout_line["line-join"]),"line-miter-limit":new Ki(At.layout_line["line-miter-limit"]),"line-round-limit":new Ki(At.layout_line["line-round-limit"]),"line-sort-key":new Hi(At.layout_line["line-sort-key"])}),as={paint:new $i({"line-opacity":new Hi(At.paint_line["line-opacity"]),"line-color":new Hi(At.paint_line["line-color"]),"line-translate":new Ki(At.paint_line["line-translate"]),"line-translate-anchor":new Ki(At.paint_line["line-translate-anchor"]),"line-width":new Hi(At.paint_line["line-width"]),"line-gap-width":new Hi(At.paint_line["line-gap-width"]),"line-offset":new Hi(At.paint_line["line-offset"]),"line-blur":new Hi(At.paint_line["line-blur"]),"line-dasharray":new Yi(At.paint_line["line-dasharray"]),"line-pattern":new Ji(At.paint_line["line-pattern"]),"line-gradient":new Qi(At.paint_line["line-gradient"])}),layout:os},ss=new(function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,r){return r=new Ui(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),t.prototype.possiblyEvaluate.call(this,e,r)},e.prototype.evaluate=function(e,r,i,n){return r=p({},r,{zoom:Math.floor(r.zoom)}),t.prototype.evaluate.call(this,e,r,i,n)},e}(Hi))(as.paint.properties["line-width"].specification);ss.useIntegerZoom=!0;var ls=function(t){function e(e){t.call(this,e,as)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){"line-gradient"===t&&this._updateGradient()},e.prototype._updateGradient=function(){var t=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=Zo(t,"lineProgress"),this.gradientTexture=null},e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r),this.paint._values["line-floorwidth"]=ss.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(t){return new ns(t)},e.prototype.queryRadius=function(t){var e=t,r=us(Ao("line-width",this,e),Ao("line-gap-width",this,e)),i=Ao("line-offset",this,e);return r/2+Math.abs(i)+zo(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s){var l=Co(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),u=s/2*us(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),c=this.paint.get("line-offset").evaluate(e,r);return c&&(i=function(t,e){for(var r=[],i=new n(0,0),o=0;o<t.length;o++){for(var a=t[o],s=[],l=0;l<a.length;l++){var u=a[l-1],c=a[l],p=a[l+1],h=0===l?i:c.sub(u)._unit()._perp(),f=l===a.length-1?i:p.sub(c)._unit()._perp(),d=h._add(f)._unit(),m=d.x*f.x+d.y*f.y;d._mult(1/m),s.push(d._mult(e)._add(c))}r.push(s)}return r}(i,c*s)),function(t,e,r){for(var i=0;i<e.length;i++){var n=e[i];if(t.length>=3)for(var o=0;o<n.length;o++)if(To(t,n[o]))return!0;if(vo(t,n,r))return!0}return!1}(l,i,u)},e.prototype.isTileClipped=function(){return!0},e}(tn);function us(t,e){return e>0?e+2*t:t}var cs=on([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),ps=on([{name:"a_projected_pos",components:3,type:"Float32"}],4),hs=(on([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),on([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),fs=(on([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"},{type:"Int16",name:"radius"},{type:"Int16",name:"signedDistanceFromAnchor"}]),on([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),ds=on([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4);function ms(t,e,r){return t.sections.forEach((function(t){t.text=function(t,e,r){var i=e.layout.get("text-transform").evaluate(r,{});return"uppercase"===i?t=t.toLocaleUpperCase():"lowercase"===i&&(t=t.toLocaleLowerCase()),Oi.applyArabicShaping&&(t=Oi.applyArabicShaping(t)),t}(t.text,e,r)})),t}on([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),on([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"}]),on([{type:"Float32",name:"offsetX"}]),on([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var ys={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},_s=function(t,e,r,i,n){var o,a,s=8*n-i-1,l=(1<<s)-1,u=l>>1,c=-7,p=r?n-1:0,h=r?-1:1,f=t[e+p];for(p+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+p],p+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=i;c>0;a=256*a+t[e+p],p+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=u}return(f?-1:1)*a*Math.pow(2,o-i)},gs=function(t,e,r,i,n,o){var a,s,l,u=8*o-n-1,c=(1<<u)-1,p=c>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,d=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+p>=1?h/l:h*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(e*l-1)*Math.pow(2,n),a+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,n),a=0));n>=8;t[r+f]=255&s,f+=d,s/=256,n-=8);for(a=a<<n|s,u+=n;u>0;t[r+f]=255&a,f+=d,a/=256,u-=8);t[r+f-d]|=128*m},vs=xs;function xs(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}xs.Varint=0,xs.Fixed64=1,xs.Bytes=2,xs.Fixed32=5;var bs="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function ws(t){return t.type===xs.Bytes?t.readVarint()+t.pos:t.pos+1}function Ss(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function Es(t,e,r){var i=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));r.realloc(i);for(var n=r.pos-1;n>=t;n--)r.buf[n+i]=r.buf[n]}function Ts(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function Is(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function As(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function zs(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function Cs(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function ks(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function Ps(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function Ms(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function Ls(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function Ds(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function Bs(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function Rs(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function Fs(t,e,r){1===t&&r.readMessage(Os,e)}function Os(t,e,r){if(3===t){var i=r.readMessage(Us,{}),n=i.id,o=i.bitmap,a=i.width,s=i.height,l=i.left,u=i.top,c=i.advance;e.push({id:n,bitmap:new No({width:a+6,height:s+6},o),metrics:{width:a,height:s,left:l,top:u,advance:c}})}}function Us(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint())}function Vs(t){for(var e=0,r=0,i=0,n=t;i<n.length;i+=1){var o=n[i];e+=o.w*o.h,r=Math.max(r,o.w)}t.sort((function(t,e){return e.h-t.h}));for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}],s=0,l=0,u=0,c=t;u<c.length;u+=1)for(var p=c[u],h=a.length-1;h>=0;h--){var f=a[h];if(!(p.w>f.w||p.h>f.h)){if(p.x=f.x,p.y=f.y,l=Math.max(l,p.y+p.h),s=Math.max(s,p.x+p.w),p.w===f.w&&p.h===f.h){var d=a.pop();h<a.length&&(a[h]=d)}else p.h===f.h?(f.x+=p.w,f.w-=p.w):p.w===f.w?(f.y+=p.h,f.h-=p.h):(a.push({x:f.x+p.w,y:f.y,w:f.w-p.w,h:p.h}),f.y+=p.h,f.h-=p.h);break}}return{w:s,h:l,fill:e/(s*l)||0}}xs.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var i=this.readVarint(),n=i>>3,o=this.pos;this.type=7&i,t(n,e,this),this.pos===o&&this.skip(i)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Ds(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Rs(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Ds(this.buf,this.pos)+4294967296*Ds(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=Ds(this.buf,this.pos)+4294967296*Rs(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=_s(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=_s(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,i=this.buf;return e=127&(r=i[this.pos++]),r<128?e:(e|=(127&(r=i[this.pos++]))<<7,r<128?e:(e|=(127&(r=i[this.pos++]))<<14,r<128?e:(e|=(127&(r=i[this.pos++]))<<21,r<128?e:function(t,e,r){var i,n,o=r.buf;if(i=(112&(n=o[r.pos++]))>>4,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<3,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<10,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<17,n<128)return Ss(t,i,e);if(i|=(127&(n=o[r.pos++]))<<24,n<128)return Ss(t,i,e);if(i|=(1&(n=o[r.pos++]))<<31,n<128)return Ss(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=i[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&bs?function(t,e,r){return bs.decode(t.subarray(e,r))}(this.buf,e,t):function(t,e,r){for(var i="",n=e;n<r;){var o,a,s,l=t[n],u=null,c=l>239?4:l>223?3:l>191?2:1;if(n+c>r)break;1===c?l<128&&(u=l):2===c?128==(192&(o=t[n+1]))&&(u=(31&l)<<6|63&o)<=127&&(u=null):3===c?(o=t[n+1],a=t[n+2],128==(192&o)&&128==(192&a)&&((u=(15&l)<<12|(63&o)<<6|63&a)<=2047||u>=55296&&u<=57343)&&(u=null)):4===c&&(o=t[n+1],a=t[n+2],s=t[n+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||u>=1114112)&&(u=null)),null===u?(u=65533,c=1):u>65535&&(u-=65536,i+=String.fromCharCode(u>>>10&1023|55296),u=56320|1023&u),i+=String.fromCharCode(u),n+=c}return i}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==xs.Bytes)return t.push(this.readVarint(e));var r=ws(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==xs.Bytes)return t.push(this.readSVarint());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==xs.Bytes)return t.push(this.readBoolean());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==xs.Bytes)return t.push(this.readFloat());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==xs.Bytes)return t.push(this.readDouble());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==xs.Bytes)return t.push(this.readFixed32());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==xs.Bytes)return t.push(this.readSFixed32());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==xs.Bytes)return t.push(this.readFixed64());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==xs.Bytes)return t.push(this.readSFixed64());var e=ws(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===xs.Varint)for(;this.buf[this.pos++]>127;);else if(e===xs.Bytes)this.pos=this.readVarint()+this.pos;else if(e===xs.Fixed32)this.pos+=4;else{if(e!==xs.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),Bs(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),Bs(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),Bs(this.buf,-1&t,this.pos),Bs(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),Bs(this.buf,-1&t,this.pos),Bs(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,i;if(t>=0?(r=t%4294967296|0,i=t/4294967296|0):(i=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,i=i+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t}(r,0,e),function(t,e){var r=(7&t)<<4;e.buf[e.pos++]|=r|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(i,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var i,n,o=0;o<e.length;o++){if((i=e.charCodeAt(o))>55295&&i<57344){if(!n){i>56319||o+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):n=i;continue}if(i<56320){t[r++]=239,t[r++]=191,t[r++]=189,n=i;continue}i=n-55296<<10|i-56320|65536,n=null}else n&&(t[r++]=239,t[r++]=191,t[r++]=189,n=null);i<128?t[r++]=i:(i<2048?t[r++]=i>>6|192:(i<65536?t[r++]=i>>12|224:(t[r++]=i>>18|240,t[r++]=i>>12&63|128),t[r++]=i>>6&63|128),t[r++]=63&i|128)}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&Es(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),gs(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),gs(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var i=this.pos-r;i>=128&&Es(r,i,this),this.pos=r-1,this.writeVarint(i),this.pos+=i},writeMessage:function(t,e,r){this.writeTag(t,xs.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,Ts,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,Is,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,Cs,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,As,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,zs,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,ks,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,Ps,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,Ms,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,Ls,e)},writeBytesField:function(t,e){this.writeTag(t,xs.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,xs.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,xs.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,xs.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,xs.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,xs.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,xs.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,xs.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,xs.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,xs.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var Ns=function(t,e){var r=e.pixelRatio,i=e.version,n=e.stretchX,o=e.stretchY,a=e.content;this.paddedRect=t,this.pixelRatio=r,this.stretchX=n,this.stretchY=o,this.content=a,this.version=i},js={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};js.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},js.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},js.tlbr.get=function(){return this.tl.concat(this.br)},js.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(Ns.prototype,js);var qs=function(t,e){var r={},i={};this.haveRenderCallbacks=[];var n=[];this.addImages(t,r,n),this.addImages(e,i,n);var o=Vs(n),a=o.w,s=o.h,l=new jo({width:a||1,height:s||1});for(var u in t){var c=t[u],p=r[u].paddedRect;jo.copy(c.data,l,{x:0,y:0},{x:p.x+1,y:p.y+1},c.data)}for(var h in e){var f=e[h],d=i[h].paddedRect,m=d.x+1,y=d.y+1,_=f.data.width,g=f.data.height;jo.copy(f.data,l,{x:0,y:0},{x:m,y:y},f.data),jo.copy(f.data,l,{x:0,y:g-1},{x:m,y:y-1},{width:_,height:1}),jo.copy(f.data,l,{x:0,y:0},{x:m,y:y+g},{width:_,height:1}),jo.copy(f.data,l,{x:_-1,y:0},{x:m-1,y:y},{width:1,height:g}),jo.copy(f.data,l,{x:0,y:0},{x:m+_,y:y},{width:1,height:g})}this.image=l,this.iconPositions=r,this.patternPositions=i};qs.prototype.addImages=function(t,e,r){for(var i in t){var n=t[i],o={x:0,y:0,w:n.data.width+2,h:n.data.height+2};r.push(o),e[i]=new Ns(o,n),n.hasRenderCallback&&this.haveRenderCallbacks.push(i)}},qs.prototype.patchUpdatedImages=function(t,e){for(var r in t.dispatchRenderCallbacks(this.haveRenderCallbacks),t.updatedImages)this.patchUpdatedImage(this.iconPositions[r],t.getImage(r),e),this.patchUpdatedImage(this.patternPositions[r],t.getImage(r),e)},qs.prototype.patchUpdatedImage=function(t,e,r){if(t&&e&&t.version!==e.version){t.version=e.version;var i=t.tl,n=i[0],o=i[1];r.update(e.data,void 0,{x:n,y:o})}},fi("ImagePosition",Ns),fi("ImageAtlas",qs);var Zs={horizontal:1,vertical:2,horizontalOnly:3},Gs=function(){this.scale=1,this.fontStack="",this.imageName=null};Gs.forText=function(t,e){var r=new Gs;return r.scale=t||1,r.fontStack=e,r},Gs.forImage=function(t){var e=new Gs;return e.imageName=t,e};var Xs=function(){this.text="",this.sectionIndex=[],this.sections=[],this.imageSectionID=null};function Ws(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m){var y,_=Xs.fromFeature(t,n);p===Zs.vertical&&_.verticalizePunctuation();var g=Oi.processBidirectionalText,v=Oi.processStyledBidirectionalText;if(g&&1===_.sections.length){y=[];for(var x=0,b=g(_.toString(),tl(_,u,o,e,i,f,d));x<b.length;x+=1){var w=b[x],S=new Xs;S.text=w,S.sections=_.sections;for(var E=0;E<w.length;E++)S.sectionIndex.push(0);y.push(S)}}else if(v){y=[];for(var T=0,I=v(_.text,_.sectionIndex,tl(_,u,o,e,i,f,d));T<I.length;T+=1){var A=I[T],z=new Xs;z.text=A[0],z.sectionIndex=A[1],z.sections=_.sections,y.push(z)}}else y=function(t,e){for(var r=[],i=t.text,n=0,o=0,a=e;o<a.length;o+=1){var s=a[o];r.push(t.substring(n,s)),n=s}return n<i.length&&r.push(t.substring(n,i.length)),r}(_,tl(_,u,o,e,i,f,d));var C=[],k={positionedLines:C,text:_.toString(),top:c[1],bottom:c[1],left:c[0],right:c[0],writingMode:p,iconsInText:!1,verticalizable:!1};return function(t,e,r,i,n,o,a,s,l,u,c,p){for(var h=0,f=-17,d=0,m=0,y="right"===s?1:"left"===s?0:.5,_=0,g=0,v=n;g<v.length;g+=1){var x=v[g];x.trim();var b=x.getMaxScale(),w=24*(b-1),S={positionedGlyphs:[],lineOffset:0};t.positionedLines[_]=S;var E=S.positionedGlyphs,T=0;if(x.length()){for(var I=0;I<x.length();I++){var A=x.getSection(I),z=x.getSectionIndex(I),C=x.getCharCode(I),k=0,P=null,M=null,L=null,D=24,B=!(l===Zs.horizontal||!c&&!wi(C)||c&&(Ks[C]||(G=C,vi.Arabic(G)||vi["Arabic Supplement"](G)||vi["Arabic Extended-A"](G)||vi["Arabic Presentation Forms-A"](G)||vi["Arabic Presentation Forms-B"](G))));if(A.imageName){var R=i[A.imageName];if(!R)continue;L=A.imageName,t.iconsInText=t.iconsInText||!0,M=R.paddedRect;var F=R.displaySize;A.scale=24*A.scale/p,P={width:F[0],height:F[1],left:1,top:-3,advance:B?F[1]:F[0]},k=w+(24-F[1]*A.scale),D=P.advance;var O=B?F[0]*A.scale-24*b:F[1]*A.scale-24*b;O>0&&O>T&&(T=O)}else{var U=r[A.fontStack],V=U&&U[C];if(V&&V.rect)M=V.rect,P=V.metrics;else{var N=e[A.fontStack],j=N&&N[C];if(!j)continue;P=j.metrics}k=24*(b-A.scale)}B?(t.verticalizable=!0,E.push({glyph:C,imageName:L,x:h,y:f+k,vertical:B,scale:A.scale,fontStack:A.fontStack,sectionIndex:z,metrics:P,rect:M}),h+=D*A.scale+u):(E.push({glyph:C,imageName:L,x:h,y:f+k,vertical:B,scale:A.scale,fontStack:A.fontStack,sectionIndex:z,metrics:P,rect:M}),h+=P.advance*A.scale+u)}if(0!==E.length){var q=h-u;d=Math.max(q,d),rl(E,0,E.length-1,y,T)}h=0;var Z=o*b+T;S.lineOffset=Math.max(T,w),f+=Z,m=Math.max(Z,m),++_}else f+=o,++_}var G,X=f- -17,W=el(a),K=W.horizontalAlign,H=W.verticalAlign;(function(t,e,r,i,n,o,a,s,l){var u,c=(e-r)*n;u=o!==a?-s*i- -17:(-i*l+.5)*a;for(var p=0,h=t;p<h.length;p+=1)for(var f=0,d=h[p].positionedGlyphs;f<d.length;f+=1){var m=d[f];m.x+=c,m.y+=u}})(t.positionedLines,y,K,H,d,m,o,X,n.length),t.top+=-H*X,t.bottom=t.top+X,t.left+=-K*d,t.right=t.left+d}(k,e,r,i,y,a,s,l,p,u,h,m),!function(t){for(var e=0,r=t;e<r.length;e+=1)if(0!==r[e].positionedGlyphs.length)return!1;return!0}(C)&&k}Xs.fromFeature=function(t,e){for(var r=new Xs,i=0;i<t.sections.length;i++){var n=t.sections[i];n.image?r.addImageSection(n):r.addTextSection(n,e)}return r},Xs.prototype.length=function(){return this.text.length},Xs.prototype.getSection=function(t){return this.sections[this.sectionIndex[t]]},Xs.prototype.getSectionIndex=function(t){return this.sectionIndex[t]},Xs.prototype.getCharCode=function(t){return this.text.charCodeAt(t)},Xs.prototype.verticalizePunctuation=function(){this.text=function(t){for(var e="",r=0;r<t.length;r++){var i=t.charCodeAt(r+1)||null,n=t.charCodeAt(r-1)||null;i&&Si(i)&&!ys[t[r+1]]||n&&Si(n)&&!ys[t[r-1]]||!ys[t[r]]?e+=t[r]:e+=ys[t[r]]}return e}(this.text)},Xs.prototype.trim=function(){for(var t=0,e=0;e<this.text.length&&Ks[this.text.charCodeAt(e)];e++)t++;for(var r=this.text.length,i=this.text.length-1;i>=0&&i>=t&&Ks[this.text.charCodeAt(i)];i--)r--;this.text=this.text.substring(t,r),this.sectionIndex=this.sectionIndex.slice(t,r)},Xs.prototype.substring=function(t,e){var r=new Xs;return r.text=this.text.substring(t,e),r.sectionIndex=this.sectionIndex.slice(t,e),r.sections=this.sections,r},Xs.prototype.toString=function(){return this.text},Xs.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,r){return Math.max(e,t.sections[r].scale)}),0)},Xs.prototype.addTextSection=function(t,e){this.text+=t.text,this.sections.push(Gs.forText(t.scale,t.fontStack||e));for(var r=this.sections.length-1,i=0;i<t.text.length;++i)this.sectionIndex.push(r)},Xs.prototype.addImageSection=function(t){var e=t.image?t.image.name:"";if(0!==e.length){var r=this.getNextImageSectionCharCode();r?(this.text+=String.fromCharCode(r),this.sections.push(Gs.forImage(e)),this.sectionIndex.push(this.sections.length-1)):w("Reached maximum number of images 6401")}else w("Can't add FormattedSection with an empty image.")},Xs.prototype.getNextImageSectionCharCode=function(){return this.imageSectionID?this.imageSectionID>=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)};var Ks={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Hs={};function Js(t,e,r,i,n,o){if(e.imageName){var a=i[e.imageName];return a?a.displaySize[0]*e.scale*24/o+n:0}var s=r[e.fontStack],l=s&&s[t];return l?l.metrics.advance*e.scale+n:0}function Ys(t,e,r,i){var n=Math.pow(t-e,2);return i?t<e?n/2:2*n:n+Math.abs(r)*r}function Qs(t,e,r){var i=0;return 10===t&&(i-=1e4),r&&(i+=150),40!==t&&65288!==t||(i+=50),41!==e&&65289!==e||(i+=50),i}function $s(t,e,r,i,n,o){for(var a=null,s=Ys(e,r,n,o),l=0,u=i;l<u.length;l+=1){var c=u[l],p=Ys(e-c.x,r,n,o)+c.badness;p<=s&&(a=c,s=p)}return{index:t,x:e,priorBreak:a,badness:s}}function tl(t,e,r,i,n,o,a){if("point"!==o)return[];if(!t)return[];for(var s,l=[],u=function(t,e,r,i,n,o){for(var a=0,s=0;s<t.length();s++){var l=t.getSection(s);a+=Js(t.getCharCode(s),l,i,n,e,o)}return a/Math.max(1,Math.ceil(a/r))}(t,e,r,i,n,a),c=t.text.indexOf("")>=0,p=0,h=0;h<t.length();h++){var f=t.getSection(h),d=t.getCharCode(h);if(Ks[d]||(p+=Js(d,f,i,n,e,a)),h<t.length()-1){var m=!((s=d)<11904||!(vi["Bopomofo Extended"](s)||vi.Bopomofo(s)||vi["CJK Compatibility Forms"](s)||vi["CJK Compatibility Ideographs"](s)||vi["CJK Compatibility"](s)||vi["CJK Radicals Supplement"](s)||vi["CJK Strokes"](s)||vi["CJK Symbols and Punctuation"](s)||vi["CJK Unified Ideographs Extension A"](s)||vi["CJK Unified Ideographs"](s)||vi["Enclosed CJK Letters and Months"](s)||vi["Halfwidth and Fullwidth Forms"](s)||vi.Hiragana(s)||vi["Ideographic Description Characters"](s)||vi["Kangxi Radicals"](s)||vi["Katakana Phonetic Extensions"](s)||vi.Katakana(s)||vi["Vertical Forms"](s)||vi["Yi Radicals"](s)||vi["Yi Syllables"](s)));(Hs[d]||m||f.imageName)&&l.push($s(h+1,p,u,l,Qs(d,t.getCharCode(h+1),m&&c),!1))}}return function t(e){return e?t(e.priorBreak).concat(e.index):[]}($s(t.length(),p,u,l,0,!0))}function el(t){var e=.5,r=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0}switch(t){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:e,verticalAlign:r}}function rl(t,e,r,i,n){if(i||n)for(var o=t[r],a=o.metrics.advance*o.scale,s=(t[r].x+a)*i,l=e;l<=r;l++)t[l].x-=s,t[l].y+=n}function il(t,e,r,i,n,o){var a,s=t.image;if(s.content){var l=s.content,u=s.pixelRatio||1;a=[l[0]/u,l[1]/u,s.displaySize[0]-l[2]/u,s.displaySize[1]-l[3]/u]}var c,p,h,f,d=e.left*o,m=e.right*o;"width"===r||"both"===r?(f=n[0]+d-i[3],p=n[0]+m+i[1]):p=(f=n[0]+(d+m-s.displaySize[0])/2)+s.displaySize[0];var y=e.top*o,_=e.bottom*o;return"height"===r||"both"===r?(c=n[1]+y-i[0],h=n[1]+_+i[2]):h=(c=n[1]+(y+_-s.displaySize[1])/2)+s.displaySize[1],{image:s,top:c,right:p,bottom:h,left:f,collisionPadding:a}}Hs[10]=!0,Hs[32]=!0,Hs[38]=!0,Hs[40]=!0,Hs[41]=!0,Hs[43]=!0,Hs[45]=!0,Hs[47]=!0,Hs[173]=!0,Hs[183]=!0,Hs[8203]=!0,Hs[8208]=!0,Hs[8211]=!0,Hs[8231]=!0;var nl=function(t){function e(e,r,i,n){t.call(this,e,r),this.angle=i,void 0!==n&&(this.segment=n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(n);fi("Anchor",nl);var ol=128;function al(t,e){var r=e.expression;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new Ui(t+1))};if("source"===r.kind)return{kind:"source"};for(var i=r.zoomStops,n=r.interpolationType,o=0;o<i.length&&i[o]<=t;)o++;for(var a=o=Math.max(0,o-1);a<i.length&&i[a]<t+1;)a++;a=Math.min(i.length-1,a);var s=i[o],l=i[a];return"composite"===r.kind?{kind:"composite",minZoom:s,maxZoom:l,interpolationType:n}:{kind:"camera",minZoom:s,maxZoom:l,minSize:r.evaluate(new Ui(s)),maxSize:r.evaluate(new Ui(l)),interpolationType:n}}function sl(t,e,r){var i=e.uSize,n=e.uSizeT,o=r.lowerSize,a=r.upperSize;return"source"===t.kind?o/ol:"composite"===t.kind?Se(o/ol,a/ol,n):i}function ll(t,e){var r=0,i=0;if("constant"===t.kind)i=t.layoutSize;else if("source"!==t.kind){var n=t.interpolationType,o=t.minZoom,a=t.maxZoom,s=n?u(Ue.interpolationFactor(n,e,o,a),0,1):0;"camera"===t.kind?i=Se(t.minSize,t.maxSize,s):r=s}return{uSizeT:r,uSize:i}}var ul=Object.freeze({__proto__:null,getSizeData:al,evaluateSizeForFeature:sl,evaluateSizeForZoom:ll,SIZE_PACK_FACTOR:ol});function cl(t,e,r,i,n){if(void 0===e.segment)return!0;for(var o=e,a=e.segment+1,s=0;s>-r/2;){if(--a<0)return!1;s-=t[a].dist(o),o=t[a]}s+=t[a].dist(t[a+1]),a++;for(var l=[],u=0;s<r/2;){var c=t[a-1],p=t[a],h=t[a+1];if(!h)return!1;var f=c.angleTo(p)-p.angleTo(h);for(f=Math.abs((f+3*Math.PI)%(2*Math.PI)-Math.PI),l.push({distance:s,angleDelta:f}),u+=f;s-l[0].distance>i;)u-=l.shift().angleDelta;if(u>n)return!1;a++,s+=p.dist(h)}return!0}function pl(t){for(var e=0,r=0;r<t.length-1;r++)e+=t[r].dist(t[r+1]);return e}function hl(t,e,r){return t?.6*e*r:0}function fl(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function dl(t,e,r,i,n,o){for(var a=hl(r,n,o),s=fl(r,i)*o,l=0,u=pl(t)/2,c=0;c<t.length-1;c++){var p=t[c],h=t[c+1],f=p.dist(h);if(l+f>u){var d=(u-l)/f,m=Se(p.x,h.x,d),y=Se(p.y,h.y,d),_=new nl(m,y,h.angleTo(p),c);return _._round(),!a||cl(t,_,s,a,e)?_:void 0}l+=f}}function ml(t,e,r,i,n,o,a,s,l){var u=hl(i,o,a),c=fl(i,n),p=c*a,h=0===t[0].x||t[0].x===l||0===t[0].y||t[0].y===l;return e-p<e/4&&(e=p+e/4),function t(e,r,i,n,o,a,s,l,u){for(var c=a/2,p=pl(e),h=0,f=r-i,d=[],m=0;m<e.length-1;m++){for(var y=e[m],_=e[m+1],g=y.dist(_),v=_.angleTo(y);f+i<h+g;){var x=((f+=i)-h)/g,b=Se(y.x,_.x,x),w=Se(y.y,_.y,x);if(b>=0&&b<u&&w>=0&&w<u&&f-c>=0&&f+c<=p){var S=new nl(b,w,v,m);S._round(),n&&!cl(e,S,a,n,o)||d.push(S)}}h+=g}return l||d.length||s||(d=t(e,h/2,i,n,o,a,s,!0,u)),d}(t,h?e/2*s%e:(c/2+2*o)*a*s%e,e,u,r,p,h,!1,l)}function yl(t,e,r,i){var o=[],a=t.image,s=a.pixelRatio,l=a.paddedRect.w-2,u=a.paddedRect.h-2,c=t.right-t.left,p=t.bottom-t.top,h=a.stretchX||[[0,l]],f=a.stretchY||[[0,u]],d=function(t,e){return t+e[1]-e[0]},m=h.reduce(d,0),y=f.reduce(d,0),_=l-m,g=u-y,v=0,x=m,b=0,w=y,S=0,E=_,T=0,I=g;if(a.content&&i){var A=a.content;v=_l(h,0,A[0]),b=_l(f,0,A[1]),x=_l(h,A[0],A[2]),w=_l(f,A[1],A[3]),S=A[0]-v,T=A[1]-b,E=A[2]-A[0]-x,I=A[3]-A[1]-w}var z=function(i,o,l,u){var h=vl(i.stretch-v,x,c,t.left),f=xl(i.fixed-S,E,i.stretch,m),d=vl(o.stretch-b,w,p,t.top),_=xl(o.fixed-T,I,o.stretch,y),g=vl(l.stretch-v,x,c,t.left),A=xl(l.fixed-S,E,l.stretch,m),z=vl(u.stretch-b,w,p,t.top),C=xl(u.fixed-T,I,u.stretch,y),k=new n(h,d),P=new n(g,d),M=new n(g,z),L=new n(h,z),D=new n(f/s,_/s),B=new n(A/s,C/s),R=e*Math.PI/180;if(R){var F=Math.sin(R),O=Math.cos(R),U=[O,-F,F,O];k._matMult(U),P._matMult(U),L._matMult(U),M._matMult(U)}var V=i.stretch+i.fixed,N=l.stretch+l.fixed,j=o.stretch+o.fixed,q=u.stretch+u.fixed;return{tl:k,tr:P,bl:L,br:M,tex:{x:a.paddedRect.x+1+V,y:a.paddedRect.y+1+j,w:N-V,h:q-j},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:D,pixelOffsetBR:B,minFontScaleX:E/s/c,minFontScaleY:I/s/p,isSDF:r}};if(i&&(a.stretchX||a.stretchY))for(var C=gl(h,_,m),k=gl(f,g,y),P=0;P<C.length-1;P++)for(var M=C[P],L=C[P+1],D=0;D<k.length-1;D++){var B=k[D],R=k[D+1];o.push(z(M,B,L,R))}else o.push(z({fixed:0,stretch:-1},{fixed:0,stretch:-1},{fixed:0,stretch:l+1},{fixed:0,stretch:u+1}));return o}function _l(t,e,r){for(var i=0,n=0,o=t;n<o.length;n+=1){var a=o[n];i+=Math.max(e,Math.min(r,a[1]))-Math.max(e,Math.min(r,a[0]))}return i}function gl(t,e,r){for(var i=[{fixed:-1,stretch:0}],n=0,o=t;n<o.length;n+=1){var a=o[n],s=a[0],l=a[1],u=i[i.length-1];i.push({fixed:s-u.stretch,stretch:u.stretch}),i.push({fixed:s-u.stretch,stretch:u.stretch+(l-s)})}return i.push({fixed:e+1,stretch:r}),i}function vl(t,e,r,i){return t/e*r+i}function xl(t,e,r,i){return t-e*r/i}var bl=function(t,e,r,i,o,a,s,l,u,c,p,h){var f=s.top*l-u,d=s.bottom*l+u,m=s.left*l-u,y=s.right*l+u,_=s.collisionPadding;if(_&&(m-=_[0]*l,f-=_[1]*l,y+=_[2]*l,d+=_[3]*l),this.boxStartIndex=t.length,c){var g=d-f,v=y-m;g>0&&(g=Math.max(10*l,g),this._addLineCollisionCircles(t,e,r,r.segment,v,g,i,o,a,p))}else{if(h){var x=new n(m,f),b=new n(y,f),w=new n(m,d),S=new n(y,d),E=h*Math.PI/180;x._rotate(E),b._rotate(E),w._rotate(E),S._rotate(E),m=Math.min(x.x,b.x,w.x,S.x),y=Math.max(x.x,b.x,w.x,S.x),f=Math.min(x.y,b.y,w.y,S.y),d=Math.max(x.y,b.y,w.y,S.y)}t.emplaceBack(r.x,r.y,m,f,y,d,i,o,a,0,0)}this.boxEndIndex=t.length};bl.prototype._addLineCollisionCircles=function(t,e,r,i,n,o,a,s,l,u){var c=o/2,p=Math.floor(n/c)||1,h=1+.4*Math.log(u)/Math.LN2,f=Math.floor(p*h/2),d=-o/2,m=r,y=i+1,_=d,g=-n/2,v=g-n/4;do{if(--y<0){if(_>g)return;y=0;break}_-=e[y].dist(m),m=e[y]}while(_>v);for(var x=e[y].dist(e[y+1]),b=-f;b<p+f;b++){var w=b*c,S=g+w;if(w<0&&(S+=w),w>n&&(S+=w-n),!(S<_)){for(;_+x<S;){if(_+=x,++y+1>=e.length)return;x=e[y].dist(e[y+1])}var E=S-_,T=e[y],I=e[y+1].sub(T)._unit()._mult(E)._add(T)._round(),A=Math.abs(S-d)<c?0:.8*(S-d);t.emplaceBack(I.x,I.y,-o/2,-o/2,o/2,o/2,a,s,l,o/2,A)}}};var wl=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=Sl),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r)};function Sl(t,e){return t<e?-1:t>e?1:0}function El(t,e,r){void 0===e&&(e=1),void 0===r&&(r=!1);for(var i=1/0,o=1/0,a=-1/0,s=-1/0,l=t[0],u=0;u<l.length;u++){var c=l[u];(!u||c.x<i)&&(i=c.x),(!u||c.y<o)&&(o=c.y),(!u||c.x>a)&&(a=c.x),(!u||c.y>s)&&(s=c.y)}var p=a-i,h=s-o,f=Math.min(p,h),d=f/2,m=new wl([],Tl);if(0===f)return new n(i,o);for(var y=i;y<a;y+=f)for(var _=o;_<s;_+=f)m.push(new Il(y+d,_+d,d,t));for(var g=function(t){for(var e=0,r=0,i=0,n=t[0],o=0,a=n.length,s=a-1;o<a;s=o++){var l=n[o],u=n[s],c=l.x*u.y-u.x*l.y;r+=(l.x+u.x)*c,i+=(l.y+u.y)*c,e+=3*c}return new Il(r/e,i/e,0,t)}(t),v=m.length;m.length;){var x=m.pop();(x.d>g.d||!g.d)&&(g=x,r&&console.log("found best %d after %d probes",Math.round(1e4*x.d)/1e4,v)),x.max-g.d<=e||(d=x.h/2,m.push(new Il(x.p.x-d,x.p.y-d,d,t)),m.push(new Il(x.p.x+d,x.p.y-d,d,t)),m.push(new Il(x.p.x-d,x.p.y+d,d,t)),m.push(new Il(x.p.x+d,x.p.y+d,d,t)),v+=4)}return r&&(console.log("num probes: "+v),console.log("best distance: "+g.d)),g.p}function Tl(t,e){return e.max-t.max}function Il(t,e,r,i){this.p=new n(t,e),this.h=r,this.d=function(t,e){for(var r=!1,i=1/0,n=0;n<e.length;n++)for(var o=e[n],a=0,s=o.length,l=s-1;a<s;l=a++){var u=o[a],c=o[l];u.y>t.y!=c.y>t.y&&t.x<(c.x-u.x)*(t.y-u.y)/(c.y-u.y)+u.x&&(r=!r),i=Math.min(i,So(t,u,c))}return(r?1:-1)*Math.sqrt(i)}(this.p,i),this.max=this.d+this.h*Math.SQRT2}wl.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1)},wl.prototype.pop=function(){if(0!==this.length){var t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}},wl.prototype.peek=function(){return this.data[0]},wl.prototype._up=function(t){for(var e=this.data,r=this.compare,i=e[t];t>0;){var n=t-1>>1,o=e[n];if(r(i,o)>=0)break;e[t]=o,t=n}e[t]=i},wl.prototype._down=function(t){for(var e=this.data,r=this.compare,i=this.length>>1,n=e[t];t<i;){var o=1+(t<<1),a=e[o],s=o+1;if(s<this.length&&r(e[s],a)<0&&(o=s,a=e[s]),r(a,n)>=0)break;e[t]=a,t=o}e[t]=n};var Al=e((function(t){t.exports=function(t,e){var r,i,n,o,a,s,l,u;for(r=3&t.length,i=t.length-r,n=e,a=3432918353,s=461845907,u=0;u<i;)l=255&t.charCodeAt(u)|(255&t.charCodeAt(++u))<<8|(255&t.charCodeAt(++u))<<16|(255&t.charCodeAt(++u))<<24,++u,n=27492+(65535&(o=5*(65535&(n=(n^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|n>>>19))+((5*(n>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,r){case 3:l^=(255&t.charCodeAt(u+2))<<16;case 2:l^=(255&t.charCodeAt(u+1))<<8;case 1:n^=l=(65535&(l=(l=(65535&(l^=255&t.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return n^=t.length,n=2246822507*(65535&(n^=n>>>16))+((2246822507*(n>>>16)&65535)<<16)&4294967295,n=3266489909*(65535&(n^=n>>>13))+((3266489909*(n>>>16)&65535)<<16)&4294967295,(n^=n>>>16)>>>0}})),zl=e((function(t){t.exports=function(t,e){for(var r,i=t.length,n=e^i,o=0;i>=4;)r=1540483477*(65535&(r=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(r>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),i-=4,++o;switch(i){case 3:n^=(255&t.charCodeAt(o+2))<<16;case 2:n^=(255&t.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}})),Cl=Al,kl=Al,Pl=zl;Cl.murmur3=kl,Cl.murmur2=Pl;var Ml=Number.POSITIVE_INFINITY;function Ll(t,e){return e[1]!==Ml?function(t,e,r){var i=0,n=0;switch(e=Math.abs(e),r=Math.abs(r),t){case"top-right":case"top-left":case"top":n=r-7;break;case"bottom-right":case"bottom-left":case"bottom":n=7-r}switch(t){case"top-right":case"bottom-right":case"right":i=-e;break;case"top-left":case"bottom-left":case"left":i=e}return[i,n]}(t,e[0],e[1]):function(t,e){var r=0,i=0;e<0&&(e=0);var n=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":i=n-7;break;case"bottom-right":case"bottom-left":i=7-n;break;case"bottom":i=7-e;break;case"top":i=e-7}switch(t){case"top-right":case"bottom-right":r=-n;break;case"top-left":case"bottom-left":r=n;break;case"left":r=e;break;case"right":r=-e}return[r,i]}(t,e[0])}function Dl(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}var Bl=32640;function Rl(t,e,r,i,o,a,s,l,u,c,p,h,f,d){var m=function(t,e,r,i,o,a,s,l){for(var u=i.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,c=[],p=0,h=e.positionedLines;p<h.length;p+=1)for(var f=h[p],d=0,m=f.positionedGlyphs;d<m.length;d+=1){var y=m[d];if(y.rect){var _=y.rect||{},g=4,v=!0,x=1,b=0,w=(o||l)&&y.vertical,S=y.metrics.advance*y.scale/2;if(l&&e.verticalizable){var E=24*(y.scale-1),T=(24-y.metrics.width*y.scale)/2;b=f.lineOffset/2-(y.imageName?-T:E)}if(y.imageName){var I=s[y.imageName];v=I.sdf,g=1/(x=I.pixelRatio)}var A=o?[y.x+S,y.y]:[0,0],z=o?[0,0]:[y.x+S+r[0],y.y+r[1]-b],C=[0,0];w&&(C=z,z=[0,0]);var k=(y.metrics.left-g)*y.scale-S+z[0],P=(-y.metrics.top-g)*y.scale+z[1],M=k+_.w*y.scale/x,L=P+_.h*y.scale/x,D=new n(k,P),B=new n(M,P),R=new n(k,L),F=new n(M,L);if(w){var O=new n(-S,S- -17),U=-Math.PI/2,V=12-S,N=y.imageName?V:0,j=new n(22-V,-N),q=new(Function.prototype.bind.apply(n,[null].concat(C)));D._rotateAround(U,O)._add(j)._add(q),B._rotateAround(U,O)._add(j)._add(q),R._rotateAround(U,O)._add(j)._add(q),F._rotateAround(U,O)._add(j)._add(q)}if(u){var Z=Math.sin(u),G=Math.cos(u),X=[G,-Z,Z,G];D._matMult(X),B._matMult(X),R._matMult(X),F._matMult(X)}var W=new n(0,0),K=new n(0,0);c.push({tl:D,tr:B,bl:R,br:F,tex:_,writingMode:e.writingMode,glyphOffset:A,sectionIndex:y.sectionIndex,isSDF:v,pixelOffsetTL:W,pixelOffsetBR:K,minFontScaleX:0,minFontScaleY:0})}}return c}(0,r,l,o,a,s,i,t.allowVerticalPlacement),y=t.textSizeData,_=null;"source"===y.kind?(_=[ol*o.layout.get("text-size").evaluate(s,{})])[0]>Bl&&w(t.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'):"composite"===y.kind&&((_=[ol*d.compositeTextSizes[0].evaluate(s,{}),ol*d.compositeTextSizes[1].evaluate(s,{})])[0]>Bl||_[1]>Bl)&&w(t.layerIds[0]+': Value for "text-size" is >= 255. Reduce your "text-size".'),t.addSymbols(t.text,m,_,l,a,s,c,e,u.lineStartIndex,u.lineLength,f);for(var g=0,v=p;g<v.length;g+=1)h[v[g]]=t.text.placedSymbolArray.length-1;return 4*m.length}function Fl(t){for(var e in t)return t[e];return null}function Ol(t,e,r,i){var n=t.compareText;if(e in n){for(var o=n[e],a=o.length-1;a>=0;a--)if(i.dist(o[a])<r)return!0}else n[e]=[];return n[e].push(i),!1}var Ul=qa.VectorTileFeature.types,Vl=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function Nl(t,e,r,i,n,o,a,s,l,u,c,p,h){var f=s?Math.min(Bl,Math.round(s[0])):0,d=s?Math.min(Bl,Math.round(s[1])):0;t.emplaceBack(e,r,Math.round(32*i),Math.round(32*n),o,a,(f<<1)+(l?1:0),d,16*u,16*c,256*p,256*h)}function jl(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r)}function ql(t){for(var e=0,r=t.sections;e<r.length;e+=1)if(Ii(r[e].text))return!0;return!1}var Zl=function(t){this.layoutVertexArray=new hn,this.indexArray=new Sn,this.programConfigurations=t,this.segments=new Nn,this.dynamicLayoutVertexArray=new fn,this.opacityVertexArray=new dn,this.placedSymbolArray=new Pn};Zl.prototype.upload=function(t,e,r,i){r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,cs.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,ps.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,Vl,!0),this.opacityVertexBuffer.itemSize=1),(r||i)&&this.programConfigurations.upload(t)},Zl.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},fi("SymbolBuffers",Zl);var Gl=function(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new Nn,this.collisionVertexArray=new _n};Gl.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,hs.members,!0)},Gl.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},fi("CollisionBuffers",Gl);var Xl=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1,this.hasPaintOverrides=!1,this.hasRTLText=!1;var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=al(this.zoom,e["text-size"]),this.iconSizeData=al(this.zoom,e["icon-size"]);var r=this.layers[0].layout,i=r.get("symbol-sort-key"),n=r.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==n&&void 0!==i.constantOr(1);var o="viewport-y"===n||"auto"===n&&!this.sortFeaturesByKey;this.sortFeaturesByY=o&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((function(t){return Zs[t]}))),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id})),this.sourceID=t.sourceID};Xl.prototype.createArrays=function(){var t=this.layers[0].layout;this.hasPaintOverrides=Jl.hasPaintOverrides(t),this.text=new Zl(new so(cs.members,this.layers,this.zoom,(function(t){return/^text/.test(t)}))),this.icon=new Zl(new so(cs.members,this.layers,this.zoom,(function(t){return/^icon/.test(t)}))),this.textCollisionBox=new Gl(yn,fs.members,En),this.iconCollisionBox=new Gl(yn,fs.members,En),this.textCollisionCircle=new Gl(yn,ds.members,Sn),this.iconCollisionCircle=new Gl(yn,ds.members,Sn),this.glyphOffsetArray=new Bn,this.lineVertexArray=new Fn,this.symbolInstances=new Ln},Xl.prototype.calculateGlyphDependencies=function(t,e,r,i,n){for(var o=0;o<t.length;o++)if(e[t.charCodeAt(o)]=!0,(r||i)&&n){var a=ys[t.charAt(o)];a&&(e[a.charCodeAt(0)]=!0)}},Xl.prototype.populate=function(t,e){var r=this.layers[0],i=r.layout,n=i.get("text-font"),o=i.get("text-field"),a=i.get("icon-image"),s=("constant"!==o.value.kind||o.value.value instanceof $t&&!o.value.value.isEmpty()||o.value.value.toString().length>0)&&("constant"!==n.value.kind||n.value.value.length>0),l=("constant"!==a.value.kind||!!a.value.value)&&Object.keys(a.parameters).length>0,u=i.get("symbol-sort-key");if(this.features=[],s||l){for(var c=e.iconDependencies,p=e.glyphDependencies,h=e.availableImages,f=new Ui(this.zoom),d=0,m=t;d<m.length;d+=1){var y=m[d],_=y.feature,g=y.index,v=y.sourceLayerIndex;if(r._featureFilter(f,_)){var x=void 0;if(s){var b=r.getValueAndResolveTokens("text-field",_,h),w=$t.factory(b);ql(w)&&(this.hasRTLText=!0),(!this.hasRTLText||"unavailable"===Ri()||this.hasRTLText&&Oi.isParsed())&&(x=ms(w,r,_))}var S=void 0;if(l){var E=r.getValueAndResolveTokens("icon-image",_,h);S=E instanceof te?E:te.fromString(E)}if(x||S){var T=this.sortFeaturesByKey?u.evaluate(_,{}):void 0,I={text:x,icon:S,index:g,sourceLayerIndex:v,geometry:ho(_),properties:_.properties,type:Ul[_.type],sortKey:T};if(void 0!==_.id&&(I.id=_.id),this.features.push(I),S&&(c[S.name]=!0),x){var A=n.evaluate(_,{}).join(","),z="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(Zs.vertical)>=0;for(var C=0,k=x.sections;C<k.length;C+=1){var P=k[C];if(P.image)c[P.image.name]=!0;else{var M=xi(x.toString()),L=P.fontStack||A,D=p[L]=p[L]||{};this.calculateGlyphDependencies(P.text,D,z,this.allowVerticalPlacement,M)}}}}}}"line"===i.get("symbol-placement")&&(this.features=function(t){var e={},r={},i=[],n=0;function o(e){i.push(t[e]),n++}function a(t,e,n){var o=r[t];return delete r[t],r[e]=o,i[o].geometry[0].pop(),i[o].geometry[0]=i[o].geometry[0].concat(n[0]),o}function s(t,r,n){var o=e[r];return delete e[r],e[t]=o,i[o].geometry[0].shift(),i[o].geometry[0]=n[0].concat(i[o].geometry[0]),o}function l(t,e,r){var i=r?e[0][e[0].length-1]:e[0][0];return t+":"+i.x+":"+i.y}for(var u=0;u<t.length;u++){var c=t[u],p=c.geometry,h=c.text?c.text.toString():null;if(h){var f=l(h,p),d=l(h,p,!0);if(f in r&&d in e&&r[f]!==e[d]){var m=s(f,d,p),y=a(f,d,i[m].geometry);delete e[f],delete r[d],r[l(h,i[y].geometry,!0)]=y,i[m].geometry=null}else f in r?a(f,d,p):d in e?s(f,d,p):(o(u),e[f]=n-1,r[d]=n-1)}else o(u)}return i.filter((function(t){return t.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(t,e){return t.sortKey-e.sortKey}))}},Xl.prototype.update=function(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r))},Xl.prototype.isEmpty=function(){return 0===this.symbolInstances.length&&!this.hasRTLText},Xl.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},Xl.prototype.upload=function(t){this.uploaded||(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t),this.textCollisionCircle.upload(t),this.iconCollisionCircle.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},Xl.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.textCollisionBox.destroy(),this.iconCollisionBox.destroy(),this.textCollisionCircle.destroy(),this.iconCollisionCircle.destroy()},Xl.prototype.addToLineVertexArray=function(t,e){var r=this.lineVertexArray.length;if(void 0!==t.segment){for(var i=t.dist(e[t.segment+1]),n=t.dist(e[t.segment]),o={},a=t.segment+1;a<e.length;a++)o[a]={x:e[a].x,y:e[a].y,tileUnitDistanceFromAnchor:i},a<e.length-1&&(i+=e[a+1].dist(e[a]));for(var s=t.segment||0;s>=0;s--)o[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:n},s>0&&(n+=e[s-1].dist(e[s]));for(var l=0;l<e.length;l++){var u=o[l];this.lineVertexArray.emplaceBack(u.x,u.y,u.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},Xl.prototype.addSymbols=function(t,e,r,i,n,o,a,s,l,u,c){var p=this,h=t.indexArray,f=t.layoutVertexArray,d=t.dynamicLayoutVertexArray,m=t.segments.prepareSegment(4*e.length,t.layoutVertexArray,t.indexArray,o.sortKey),y=this.glyphOffsetArray.length,_=m.vertexLength,g=this.allowVerticalPlacement&&a===Zs.vertical?Math.PI/2:0,v=function(t){var e=t.tl,i=t.tr,n=t.bl,o=t.br,a=t.tex,l=t.pixelOffsetTL,u=t.pixelOffsetBR,c=t.minFontScaleX,y=t.minFontScaleY,_=m.vertexLength,v=t.glyphOffset[1];Nl(f,s.x,s.y,e.x,v+e.y,a.x,a.y,r,t.isSDF,l.x,l.y,c,y),Nl(f,s.x,s.y,i.x,v+i.y,a.x+a.w,a.y,r,t.isSDF,u.x,l.y,c,y),Nl(f,s.x,s.y,n.x,v+n.y,a.x,a.y+a.h,r,t.isSDF,l.x,u.y,c,y),Nl(f,s.x,s.y,o.x,v+o.y,a.x+a.w,a.y+a.h,r,t.isSDF,u.x,u.y,c,y),jl(d,s,g),h.emplaceBack(_,_+1,_+2),h.emplaceBack(_+1,_+2,_+3),m.vertexLength+=4,m.primitiveLength+=2,p.glyphOffsetArray.emplaceBack(t.glyphOffset[0])};if(o.text&&o.text.sections){var x=o.text.sections;if(this.hasPaintOverrides){for(var b,w=function(e,r){void 0===b||b===e&&!r||t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{},x[b]),b=e},S=0,E=e;S<E.length;S+=1){var T=E[S];w(T.sectionIndex,!1),v(T)}w(b,!0)}else{for(var I=0,A=e;I<A.length;I+=1)v(A[I]);t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{},x[0])}}else{for(var z=0,C=e;z<C.length;z+=1)v(C[z]);t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{})}t.placedSymbolArray.emplaceBack(s.x,s.y,y,this.glyphOffsetArray.length-y,_,l,u,s.segment,r?r[0]:0,r?r[1]:0,i[0],i[1],a,0,!1,0,c)},Xl.prototype._addCollisionDebugVertex=function(t,e,r,i,n,o){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,i,n,Math.round(o.x),Math.round(o.y))},Xl.prototype.addCollisionDebugVertices=function(t,e,r,i,o,a,s,l){var u=o.segments.prepareSegment(4,o.layoutVertexArray,o.indexArray),c=u.vertexLength,p=o.layoutVertexArray,h=o.collisionVertexArray,f=s.anchorX,d=s.anchorY;if(this._addCollisionDebugVertex(p,h,a,f,d,new n(t,e)),this._addCollisionDebugVertex(p,h,a,f,d,new n(r,e)),this._addCollisionDebugVertex(p,h,a,f,d,new n(r,i)),this._addCollisionDebugVertex(p,h,a,f,d,new n(t,i)),u.vertexLength+=4,l){var m=o.indexArray;m.emplaceBack(c,c+1,c+2),m.emplaceBack(c,c+2,c+3),u.primitiveLength+=2}else{var y=o.indexArray;y.emplaceBack(c,c+1),y.emplaceBack(c+1,c+2),y.emplaceBack(c+2,c+3),y.emplaceBack(c+3,c),u.primitiveLength+=4}},Xl.prototype.addDebugCollisionBoxes=function(t,e,r,i){for(var n=t;n<e;n++){var o=this.collisionBoxArray.get(n),a=o.x1,s=o.y1,l=o.x2,u=o.y2,c=o.radius>0;this.addCollisionDebugVertices(a,s,l,u,c?i?this.textCollisionCircle:this.iconCollisionCircle:i?this.textCollisionBox:this.iconCollisionBox,o.anchorPoint,r,c)}},Xl.prototype.generateCollisionDebugBuffers=function(){for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex,e.verticalTextBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e,!1),this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex,e.verticalIconBoxEndIndex,e,!1)}},Xl.prototype._deserializeCollisionBoxesForSymbol=function(t,e,r,i,n,o,a,s,l){for(var u={},c=e;c<r;c++){var p=t.get(c);if(0===p.radius){u.textBox={x1:p.x1,y1:p.y1,x2:p.x2,y2:p.y2,anchorPointX:p.anchorPointX,anchorPointY:p.anchorPointY},u.textFeatureIndex=p.featureIndex;break}u.textCircles||(u.textCircles=[],u.textFeatureIndex=p.featureIndex),u.textCircles.push(p.anchorPointX,p.anchorPointY,p.radius,p.signedDistanceFromAnchor,1)}for(var h=i;h<n;h++){var f=t.get(h);if(0===f.radius){u.verticalTextBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},u.verticalTextFeatureIndex=f.featureIndex;break}}for(var d=o;d<a;d++){var m=t.get(d);if(0===m.radius){u.iconBox={x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,anchorPointX:m.anchorPointX,anchorPointY:m.anchorPointY},u.iconFeatureIndex=m.featureIndex;break}}for(var y=s;y<l;y++){var _=t.get(y);if(0===_.radius){u.verticalIconBox={x1:_.x1,y1:_.y1,x2:_.x2,y2:_.y2,anchorPointX:_.anchorPointX,anchorPointY:_.anchorPointY},u.verticalIconFeatureIndex=_.featureIndex;break}}return u},Xl.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex))}},Xl.prototype.hasTextData=function(){return this.text.segments.get().length>0},Xl.prototype.hasIconData=function(){return this.icon.segments.get().length>0},Xl.prototype.hasTextCollisionBoxData=function(){return this.textCollisionBox.segments.get().length>0},Xl.prototype.hasIconCollisionBoxData=function(){return this.iconCollisionBox.segments.get().length>0},Xl.prototype.hasTextCollisionCircleData=function(){return this.textCollisionCircle.segments.get().length>0},Xl.prototype.hasIconCollisionCircleData=function(){return this.iconCollisionCircle.segments.get().length>0},Xl.prototype.addIndicesForPlacedSymbol=function(t,e){for(var r=t.placedSymbolArray.get(e),i=r.vertexStartIndex+4*r.numGlyphs,n=r.vertexStartIndex;n<i;n+=4)t.indexArray.emplaceBack(n,n+1,n+2),t.indexArray.emplaceBack(n+1,n+2,n+3)},Xl.prototype.getSortedSymbolIndexes=function(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var e=Math.sin(t),r=Math.cos(t),i=[],n=[],o=[],a=0;a<this.symbolInstances.length;++a){o.push(a);var s=this.symbolInstances.get(a);i.push(0|Math.round(e*s.anchorX+r*s.anchorY)),n.push(s.featureIndex)}return o.sort((function(t,e){return i[t]-i[e]||n[e]-n[t]})),o},Xl.prototype.sortFeatures=function(t){var e=this;if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var r=0,i=this.symbolInstanceIndexes;r<i.length;r+=1){var n=i[r],o=this.symbolInstances.get(n);this.featureSortOrder.push(o.featureIndex),[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(t,r,i){t>=0&&i.indexOf(t)===r&&e.addIndicesForPlacedSymbol(e.text,t)})),o.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,o.verticalPlacedTextSymbolIndex),o.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.placedIconSymbolIndex),o.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,o.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},fi("SymbolBucket",Xl,{omit:["layers","collisionBoxArray","features","compareText"]}),Xl.MAX_GLYPHS=65535,Xl.addDynamicAttributes=jl;var Wl=new $i({"symbol-placement":new Ki(At.layout_symbol["symbol-placement"]),"symbol-spacing":new Ki(At.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Ki(At.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Hi(At.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Ki(At.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Ki(At.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Ki(At.layout_symbol["icon-ignore-placement"]),"icon-optional":new Ki(At.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Ki(At.layout_symbol["icon-rotation-alignment"]),"icon-size":new Hi(At.layout_symbol["icon-size"]),"icon-text-fit":new Ki(At.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Ki(At.layout_symbol["icon-text-fit-padding"]),"icon-image":new Hi(At.layout_symbol["icon-image"]),"icon-rotate":new Hi(At.layout_symbol["icon-rotate"]),"icon-padding":new Ki(At.layout_symbol["icon-padding"]),"icon-keep-upright":new Ki(At.layout_symbol["icon-keep-upright"]),"icon-offset":new Hi(At.layout_symbol["icon-offset"]),"icon-anchor":new Hi(At.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Ki(At.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Ki(At.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Ki(At.layout_symbol["text-rotation-alignment"]),"text-field":new Hi(At.layout_symbol["text-field"]),"text-font":new Hi(At.layout_symbol["text-font"]),"text-size":new Hi(At.layout_symbol["text-size"]),"text-max-width":new Hi(At.layout_symbol["text-max-width"]),"text-line-height":new Ki(At.layout_symbol["text-line-height"]),"text-letter-spacing":new Hi(At.layout_symbol["text-letter-spacing"]),"text-justify":new Hi(At.layout_symbol["text-justify"]),"text-radial-offset":new Hi(At.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Ki(At.layout_symbol["text-variable-anchor"]),"text-anchor":new Hi(At.layout_symbol["text-anchor"]),"text-max-angle":new Ki(At.layout_symbol["text-max-angle"]),"text-writing-mode":new Ki(At.layout_symbol["text-writing-mode"]),"text-rotate":new Hi(At.layout_symbol["text-rotate"]),"text-padding":new Ki(At.layout_symbol["text-padding"]),"text-keep-upright":new Ki(At.layout_symbol["text-keep-upright"]),"text-transform":new Hi(At.layout_symbol["text-transform"]),"text-offset":new Hi(At.layout_symbol["text-offset"]),"text-allow-overlap":new Ki(At.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Ki(At.layout_symbol["text-ignore-placement"]),"text-optional":new Ki(At.layout_symbol["text-optional"])}),Kl={paint:new $i({"icon-opacity":new Hi(At.paint_symbol["icon-opacity"]),"icon-color":new Hi(At.paint_symbol["icon-color"]),"icon-halo-color":new Hi(At.paint_symbol["icon-halo-color"]),"icon-halo-width":new Hi(At.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Hi(At.paint_symbol["icon-halo-blur"]),"icon-translate":new Ki(At.paint_symbol["icon-translate"]),"icon-translate-anchor":new Ki(At.paint_symbol["icon-translate-anchor"]),"text-opacity":new Hi(At.paint_symbol["text-opacity"]),"text-color":new Hi(At.paint_symbol["text-color"],{runtimeType:Ut,getOverride:function(t){return t.textColor},hasOverride:function(t){return!!t.textColor}}),"text-halo-color":new Hi(At.paint_symbol["text-halo-color"]),"text-halo-width":new Hi(At.paint_symbol["text-halo-width"]),"text-halo-blur":new Hi(At.paint_symbol["text-halo-blur"]),"text-translate":new Ki(At.paint_symbol["text-translate"]),"text-translate-anchor":new Ki(At.paint_symbol["text-translate-anchor"])}),layout:Wl},Hl=function(t){this.type=t.property.overrides?t.property.overrides.runtimeType:Bt,this.defaultValue=t};Hl.prototype.evaluate=function(t){if(t.formattedSection){var e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default},Hl.prototype.eachChild=function(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression)},Hl.prototype.possibleOutputs=function(){return[void 0]},Hl.prototype.serialize=function(){return null},fi("FormatSectionOverride",Hl,{omit:["defaultValue"]});var Jl=function(t){function e(e){t.call(this,e,Kl)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){if(t.prototype.recalculate.call(this,e,r),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var i=this.layout.get("text-writing-mode");if(i){for(var n=[],o=0,a=i;o<a.length;o+=1){var s=a[o];n.indexOf(s)<0&&n.push(s)}this.layout._values["text-writing-mode"]=n}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()},e.prototype.getValueAndResolveTokens=function(t,e,r){var i=this.layout.get(t).evaluate(e,{},r),n=this._unevaluatedLayout._values[t];return n.isDataDriven()||Sr(n.value)||!i?i:function(t,e){return e.replace(/{([^{}]+)}/g,(function(e,r){return r in t?String(t[r]):""}))}(e.properties,i)},e.prototype.createBucket=function(t){return new Xl(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype._setPaintOverrides=function(){for(var t=0,r=Kl.paint.overridableProperties;t<r.length;t+=1){var i=r[t];if(e.hasPaintOverride(this.layout,i)){var n,o=this.paint.get(i),a=new Hl(o),s=new wr(a,o.property.specification);n="constant"===o.value.kind||"source"===o.value.kind?new Tr("source",s):new Ir("composite",s,o.value.zoomStops,o.value._interpolationType),this.paint._values[i]=new Xi(o.property,n,o.parameters)}}},e.prototype._handleOverridablePaintPropertyUpdate=function(t,r,i){return!(!this.layout||r.isDataDriven()||i.isDataDriven())&&e.hasPaintOverride(this.layout,t)},e.hasPaintOverride=function(t,e){var r=t.get("text-field"),i=Kl.paint.properties[e],n=!1,o=function(t){for(var e=0,r=t;e<r.length;e+=1){var o=r[e];if(i.overrides&&i.overrides.hasOverride(o))return void(n=!0)}};if("constant"===r.value.kind&&r.value.value instanceof $t)o(r.value.value.sections);else if("source"===r.value.kind){var a=function(t){if(!n)if(t instanceof ne&&re(t.value)===qt){var e=t.value;o(e.sections)}else t instanceof le?o(t.sections):t.eachChild(a)},s=r.value;s._styleExpression&&a(s._styleExpression.expression)}return n},e.hasPaintOverrides=function(t){for(var r=0,i=Kl.paint.overridableProperties;r<i.length;r+=1){var n=i[r];if(e.hasPaintOverride(t,n))return!0}return!1},e}(tn),Yl={paint:new $i({"background-color":new Ki(At.paint_background["background-color"]),"background-pattern":new Yi(At.paint_background["background-pattern"]),"background-opacity":new Ki(At.paint_background["background-opacity"])})},Ql=function(t){function e(e){t.call(this,e,Yl)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(tn),$l={paint:new $i({"raster-opacity":new Ki(At.paint_raster["raster-opacity"]),"raster-hue-rotate":new Ki(At.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Ki(At.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Ki(At.paint_raster["raster-brightness-max"]),"raster-saturation":new Ki(At.paint_raster["raster-saturation"]),"raster-contrast":new Ki(At.paint_raster["raster-contrast"]),"raster-resampling":new Ki(At.paint_raster["raster-resampling"]),"raster-fade-duration":new Ki(At.paint_raster["raster-fade-duration"])})},tu=function(t){function e(e){t.call(this,e,$l)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(tn),eu=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl)},e}(tn),ru={circle:Bo,heatmap:Go,hillshade:Wo,fill:La,"fill-extrusion":Ya,line:ls,symbol:Jl,background:Ql,raster:tu},iu=self.HTMLImageElement,nu=self.HTMLCanvasElement,ou=self.HTMLVideoElement,au=self.ImageData,su=function(t,e,r,i){this.context=t,this.format=r,this.texture=t.gl.createTexture(),this.update(e,i)};su.prototype.update=function(t,e,r){var i=t.width,n=t.height,o=!(this.size&&this.size[0]===i&&this.size[1]===n||r),a=this.context,s=a.gl;if(this.useMipmap=Boolean(e&&e.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!e||!1!==e.premultiply)),o)this.size=[i,n],t instanceof iu||t instanceof nu||t instanceof ou||t instanceof au?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,i,n,0,this.format,s.UNSIGNED_BYTE,t.data);else{var l=r||{x:0,y:0},u=l.x,c=l.y;t instanceof iu||t instanceof nu||t instanceof ou||t instanceof au?s.texSubImage2D(s.TEXTURE_2D,0,u,c,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,u,c,i,n,s.RGBA,s.UNSIGNED_BYTE,t.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},su.prototype.bind=function(t,e,r){var i=this.context.gl;i.bindTexture(i.TEXTURE_2D,this.texture),r!==i.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=i.LINEAR),t!==this.filter&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,t),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,r||t),this.filter=t),e!==this.wrap&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,e),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,e),this.wrap=e)},su.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},su.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var lu=function(t){var e=this;this._callback=t,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){e._triggered=!1,e._callback()})};lu.prototype.trigger=function(){var t=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){t._triggered=!1,t._callback()}),0))},lu.prototype.remove=function(){delete this._channel,this._callback=function(){}};var uu=function(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},y(["receive","process"],this),this.invoker=new lu(this.process),this.target.addEventListener("message",this.receive,!1),this.globalScope=T()?t:self};function cu(t,e,r){var i=2*Math.PI*6378137/256/Math.pow(2,r);return[t*i-2*Math.PI*6378137/2,e*i-2*Math.PI*6378137/2]}uu.prototype.send=function(t,e,r,i,n){var o=this;void 0===n&&(n=!1);var a=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(this.callbacks[a]=r);var s=z(this.globalScope)?void 0:[];return this.target.postMessage({id:a,type:t,hasCallback:!!r,targetMapId:i,mustQueue:n,sourceMapId:this.mapId,data:yi(e,s)},s),{cancel:function(){r&&delete o.callbacks[a],o.target.postMessage({id:a,type:"<cancel>",targetMapId:i,sourceMapId:o.mapId})}}},uu.prototype.receive=function(t){var e=t.data,r=e.id;if(r&&(!e.targetMapId||this.mapId===e.targetMapId))if("<cancel>"===e.type){delete this.tasks[r];var i=this.cancelCallbacks[r];delete this.cancelCallbacks[r],i&&i()}else T()||e.mustQueue?(this.tasks[r]=e,this.taskQueue.push(r),this.invoker.trigger()):this.processTask(r,e)},uu.prototype.process=function(){if(this.taskQueue.length){var t=this.taskQueue.shift(),e=this.tasks[t];delete this.tasks[t],this.taskQueue.length&&this.invoker.trigger(),e&&this.processTask(t,e)}},uu.prototype.processTask=function(t,e){var r=this;if("<response>"===e.type){var i=this.callbacks[t];delete this.callbacks[t],i&&(e.error?i(_i(e.error)):i(null,_i(e.data)))}else{var n=!1,o=z(this.globalScope)?void 0:[],a=e.hasCallback?function(e,i){n=!0,delete r.cancelCallbacks[t],r.target.postMessage({id:t,type:"<response>",sourceMapId:r.mapId,error:e?yi(e):null,data:yi(i,o)},o)}:function(t){n=!0},s=null,l=_i(e.data);if(this.parent[e.type])s=this.parent[e.type](e.sourceMapId,l,a);else if(this.parent.getWorkerSource){var u=e.type.split(".");s=this.parent.getWorkerSource(e.sourceMapId,u[0],l.source)[u[1]](l,a)}else a(new Error("Could not find function "+e.type));!n&&s&&s.cancel&&(this.cancelCallbacks[t]=s.cancel)}},uu.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1)};var pu=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};pu.prototype.setNorthEast=function(t){return this._ne=t instanceof hu?new hu(t.lng,t.lat):hu.convert(t),this},pu.prototype.setSouthWest=function(t){return this._sw=t instanceof hu?new hu(t.lng,t.lat):hu.convert(t),this},pu.prototype.extend=function(t){var e,r,i=this._sw,n=this._ne;if(t instanceof hu)e=t,r=t;else{if(!(t instanceof pu))return Array.isArray(t)?t.every(Array.isArray)?this.extend(pu.convert(t)):this.extend(hu.convert(t)):this;if(e=t._sw,r=t._ne,!e||!r)return this}return i||n?(i.lng=Math.min(e.lng,i.lng),i.lat=Math.min(e.lat,i.lat),n.lng=Math.max(r.lng,n.lng),n.lat=Math.max(r.lat,n.lat)):(this._sw=new hu(e.lng,e.lat),this._ne=new hu(r.lng,r.lat)),this},pu.prototype.getCenter=function(){return new hu((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},pu.prototype.getSouthWest=function(){return this._sw},pu.prototype.getNorthEast=function(){return this._ne},pu.prototype.getNorthWest=function(){return new hu(this.getWest(),this.getNorth())},pu.prototype.getSouthEast=function(){return new hu(this.getEast(),this.getSouth())},pu.prototype.getWest=function(){return this._sw.lng},pu.prototype.getSouth=function(){return this._sw.lat},pu.prototype.getEast=function(){return this._ne.lng},pu.prototype.getNorth=function(){return this._ne.lat},pu.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},pu.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},pu.prototype.isEmpty=function(){return!(this._sw&&this._ne)},pu.prototype.contains=function(t){var e=hu.convert(t),r=e.lng,i=e.lat,n=this._sw.lat<=i&&i<=this._ne.lat,o=this._sw.lng<=r&&r<=this._ne.lng;return this._sw.lng>this._ne.lng&&(o=this._sw.lng>=r&&r>=this._ne.lng),n&&o},pu.convert=function(t){return!t||t instanceof pu?t:new pu(t)};var hu=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};hu.prototype.wrap=function(){return new hu(c(this.lng,-180,180),this.lat)},hu.prototype.toArray=function(){return[this.lng,this.lat]},hu.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},hu.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,r=e/Math.cos(Math.PI/180*this.lat);return new pu(new hu(this.lng-r,this.lat-e),new hu(this.lng+r,this.lat+e))},hu.convert=function(t){if(t instanceof hu)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new hu(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new hu(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var fu=2*Math.PI*6378137;function du(t){return fu*Math.cos(t*Math.PI/180)}function mu(t){return(180+t)/360}function yu(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function _u(t,e){return t/du(e)}function gu(t){var e=180-360*t;return 360/Math.PI*Math.atan(Math.exp(e*Math.PI/180))-90}var vu=function(t,e,r){void 0===r&&(r=0),this.x=+t,this.y=+e,this.z=+r};vu.fromLngLat=function(t,e){void 0===e&&(e=0);var r=hu.convert(t);return new vu(mu(r.lng),yu(r.lat),_u(e,r.lat))},vu.prototype.toLngLat=function(){return new hu(360*this.x-180,gu(this.y))},vu.prototype.toAltitude=function(){return this.z*du(gu(this.y))},vu.prototype.meterInMercatorCoordinateUnits=function(){return 1/fu*(t=gu(this.y),1/Math.cos(t*Math.PI/180));var t};var xu=function(t,e,r){this.z=t,this.x=e,this.y=r,this.key=Su(0,t,e,r)};xu.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},xu.prototype.url=function(t,e){var r,i,n,o,a,s=(r=this.x,i=this.y,n=this.z,o=cu(256*r,256*(i=Math.pow(2,n)-i-1),n),a=cu(256*(r+1),256*(i+1),n),o[0]+","+o[1]+","+a[0]+","+a[1]),l=function(t,e,r){for(var i,n="",o=t;o>0;o--)n+=(e&(i=1<<o-1)?1:0)+(r&i?2:0);return n}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",l).replace("{bbox-epsg-3857}",s)},xu.prototype.getTilePoint=function(t){var e=Math.pow(2,this.z);return new n((t.x*e-this.x)*co,(t.y*e-this.y)*co)},xu.prototype.toString=function(){return this.z+"/"+this.x+"/"+this.y};var bu=function(t,e){this.wrap=t,this.canonical=e,this.key=Su(t,e.z,e.x,e.y)},wu=function(t,e,r,i,n){this.overscaledZ=t,this.wrap=e,this.canonical=new xu(r,+i,+n),this.key=Su(e,t,i,n)};function Su(t,e,r,i){(t*=2)<0&&(t=-1*t-1);var n=1<<e;return 32*(n*n*t+n*i+r)+e}wu.prototype.equals=function(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)},wu.prototype.scaledTo=function(t){var e=this.canonical.z-t;return t>this.canonical.z?new wu(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new wu(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},wu.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e},wu.prototype.children=function(t){if(this.overscaledZ>=t)return[new wu(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,r=2*this.canonical.x,i=2*this.canonical.y;return[new wu(e,this.wrap,e,r,i),new wu(e,this.wrap,e,r+1,i),new wu(e,this.wrap,e,r,i+1),new wu(e,this.wrap,e,r+1,i+1)]},wu.prototype.isLessThan=function(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))},wu.prototype.wrapped=function(){return new wu(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},wu.prototype.unwrapTo=function(t){return new wu(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)},wu.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},wu.prototype.toUnwrapped=function(){return new bu(this.wrap,this.canonical)},wu.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},wu.prototype.getTilePoint=function(t){return this.canonical.getTilePoint(new vu(t.x-this.wrap,t.y))},fi("CanonicalTileID",xu),fi("OverscaledTileID",wu,{omit:["posMatrix"]});var Eu=function(t,e,r){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return w('"'+r+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=e.height;var i=this.dim=e.height-2;this.data=new Uint32Array(e.data.buffer),this.encoding=r||"mapbox";for(var n=0;n<i;n++)this.data[this._idx(-1,n)]=this.data[this._idx(0,n)],this.data[this._idx(i,n)]=this.data[this._idx(i-1,n)],this.data[this._idx(n,-1)]=this.data[this._idx(n,0)],this.data[this._idx(n,i)]=this.data[this._idx(n,i-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(i,-1)]=this.data[this._idx(i-1,0)],this.data[this._idx(-1,i)]=this.data[this._idx(0,i-1)],this.data[this._idx(i,i)]=this.data[this._idx(i-1,i-1)]};Eu.prototype.get=function(t,e){var r=new Uint8Array(this.data.buffer),i=4*this._idx(t,e);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(r[i],r[i+1],r[i+2])},Eu.prototype.getUnpackVector=function(){return"terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},Eu.prototype._idx=function(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)},Eu.prototype._unpackMapbox=function(t,e,r){return(256*t*256+256*e+r)/10-1e4},Eu.prototype._unpackTerrarium=function(t,e,r){return 256*t+e+r/256-32768},Eu.prototype.getPixels=function(){return new jo({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Eu.prototype.backfillBorder=function(t,e,r){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");var i=e*this.dim,n=e*this.dim+this.dim,o=r*this.dim,a=r*this.dim+this.dim;switch(e){case-1:i=n-1;break;case 1:n=i+1}switch(r){case-1:o=a-1;break;case 1:a=o+1}for(var s=-e*this.dim,l=-r*this.dim,u=o;u<a;u++)for(var c=i;c<n;c++)this.data[this._idx(c,u)]=t.data[this._idx(c+s,u+l)]},fi("DEMData",Eu);var Tu=on([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),Iu=function(t){this._stringToNumber={},this._numberToString=[];for(var e=0;e<t.length;e++){var r=t[e];this._stringToNumber[r]=e,this._numberToString[e]=r}};Iu.prototype.encode=function(t){return this._stringToNumber[t]},Iu.prototype.decode=function(t){return this._numberToString[t]};var Au=function(t,e,r,i){this.type="Feature",this._vectorTileFeature=t,t._z=e,t._x=r,t._y=i,this.properties=t.properties,null!=t.id&&(this.id=t.id)},zu={geometry:{configurable:!0}};zu.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},zu.geometry.set=function(t){this._geometry=t},Au.prototype.toJSON=function(){var t={geometry:this.geometry};for(var e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&(t[e]=this[e]);return t},Object.defineProperties(Au.prototype,zu);var Cu=function(){this.state={},this.stateChanges={},this.deletedStates={}};Cu.prototype.updateState=function(t,e,r){var i=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][i]=this.stateChanges[t][i]||{},p(this.stateChanges[t][i],r),null===this.deletedStates[t])for(var n in this.deletedStates[t]={},this.state[t])n!==i&&(this.deletedStates[t][n]=null);else if(this.deletedStates[t]&&null===this.deletedStates[t][i])for(var o in this.deletedStates[t][i]={},this.state[t][i])r[o]||(this.deletedStates[t][i][o]=null);else for(var a in r)this.deletedStates[t]&&this.deletedStates[t][i]&&null===this.deletedStates[t][i][a]&&delete this.deletedStates[t][i][a]},Cu.prototype.removeFeatureState=function(t,e,r){if(null!==this.deletedStates[t]){var i=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},r&&void 0!==e&&e>=0)null!==this.deletedStates[t][i]&&(this.deletedStates[t][i]=this.deletedStates[t][i]||{},this.deletedStates[t][i][r]=null);else if(void 0!==e&&e>=0)if(this.stateChanges[t]&&this.stateChanges[t][i])for(r in this.deletedStates[t][i]={},this.stateChanges[t][i])this.deletedStates[t][i][r]=null;else this.deletedStates[t][i]=null;else this.deletedStates[t]=null}},Cu.prototype.getState=function(t,e){var r=String(e),i=this.state[t]||{},n=this.stateChanges[t]||{},o=p({},i[r],n[r]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){var a=this.deletedStates[t][e];if(null===a)return{};for(var s in a)delete o[s]}return o},Cu.prototype.initializeTileState=function(t,e){t.setFeatureState(this.state,e)},Cu.prototype.coalesceChanges=function(t,e){var r={};for(var i in this.stateChanges){this.state[i]=this.state[i]||{};var n={};for(var o in this.stateChanges[i])this.state[i][o]||(this.state[i][o]={}),p(this.state[i][o],this.stateChanges[i][o]),n[o]=this.state[i][o];r[i]=n}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var l in this.state[a])s[l]={},this.state[a][l]={};else for(var u in this.deletedStates[a]){if(null===this.deletedStates[a][u])this.state[a][u]={};else for(var c=0,h=Object.keys(this.deletedStates[a][u]);c<h.length;c+=1){var f=h[c];delete this.state[a][u][f]}s[u]=this.state[a][u]}r[a]=r[a]||{},p(r[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(var d in t)t[d].setFeatureState(r,e)};var ku=function(t,e,r){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=e||new ui(co,16,0),this.grid3D=new ui(co,16,0),this.featureIndexArray=r||new Un};function Pu(t){for(var e=1/0,r=1/0,i=-1/0,n=-1/0,o=0,a=t;o<a.length;o+=1){var s=a[o];e=Math.min(e,s.x),r=Math.min(r,s.y),i=Math.max(i,s.x),n=Math.max(n,s.y)}return{minX:e,minY:r,maxX:i,maxY:n}}function Mu(t,e){return e-t}ku.prototype.insert=function(t,e,r,i,n,o){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,i,n);for(var s=o?this.grid3D:this.grid,l=0;l<e.length;l++){for(var u=e[l],c=[1/0,1/0,-1/0,-1/0],p=0;p<u.length;p++){var h=u[p];c[0]=Math.min(c[0],h.x),c[1]=Math.min(c[1],h.y),c[2]=Math.max(c[2],h.x),c[3]=Math.max(c[3],h.y)}c[0]<co&&c[1]<co&&c[2]>=0&&c[3]>=0&&s.insert(a,c[0],c[1],c[2],c[3])}},ku.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new qa.VectorTile(new vs(this.rawTileData)).layers,this.sourceLayerCoder=new Iu(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},ku.prototype.query=function(t,e,r){var i=this;this.loadVTLayers();for(var o=t.params||{},a=co/t.tileSize/t.scale,s=Fr(o.filter),l=t.queryGeometry,u=t.queryPadding*a,c=Pu(l),p=this.grid.query(c.minX-u,c.minY-u,c.maxX+u,c.maxY+u),h=Pu(t.cameraQueryGeometry),f=0,d=this.grid3D.query(h.minX-u,h.minY-u,h.maxX+u,h.maxY+u,(function(e,r,i,o){return function(t,e,r,i,o){for(var a=0,s=t;a<s.length;a+=1){var l=s[a];if(e<=l.x&&r<=l.y&&i>=l.x&&o>=l.y)return!0}var u=[new n(e,r),new n(e,o),new n(i,o),new n(i,r)];if(t.length>2)for(var c=0,p=u;c<p.length;c+=1)if(To(t,p[c]))return!0;for(var h=0;h<t.length-1;h++)if(Io(t[h],t[h+1],u))return!0;return!1}(t.cameraQueryGeometry,e-u,r-u,i+u,o+u)}));f<d.length;f+=1){var m=d[f];p.push(m)}p.sort(Mu);for(var y,_={},g=function(n){var u=p[n];if(u!==y){y=u;var c=i.featureIndexArray.get(u),h=null;i.loadMatchingFeature(_,c.bucketIndex,c.sourceLayerIndex,c.featureIndex,s,o.layers,e,(function(e,n){h||(h=ho(e));var o={};return e.id&&(o=r.getState(n.sourceLayer||"_geojsonTileLayer",e.id)),n.queryIntersectsFeature(l,e,o,h,i.z,t.transform,a,t.pixelPosMatrix)}))}},v=0;v<p.length;v++)g(v);return _},ku.prototype.loadMatchingFeature=function(t,e,r,i,n,o,a,s){var l=this.bucketLayerIDs[e];if(!o||function(t,e){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>=0)return!0;return!1}(o,l)){var u=this.sourceLayerCoder.decode(r),c=this.vtLayers[u].feature(i);if(n(new Ui(this.tileID.overscaledZ),c))for(var p=0;p<l.length;p++){var h=l[p];if(!(o&&o.indexOf(h)<0)){var f=a[h];if(f){var d=!s||s(c,f);if(d){var m=new Au(c,this.z,this.x,this.y);m.layer=f.serialize();var y=t[h];void 0===y&&(y=t[h]=[]),y.push({featureIndex:i,feature:m,intersectionZ:d})}}}}}},ku.prototype.lookupSymbolFeatures=function(t,e,r,i,n,o){var a={};this.loadVTLayers();for(var s=Fr(i),l=0,u=t;l<u.length;l+=1){var c=u[l];this.loadMatchingFeature(a,e,r,c,s,n,o)}return a},ku.prototype.hasLayer=function(t){for(var e=0,r=this.bucketLayerIDs;e<r.length;e+=1)for(var i=0,n=r[e];i<n.length;i+=1)if(t===n[i])return!0;return!1},fi("FeatureIndex",ku,{omit:["rawTileData","sourceLayerCoder"]});var Lu=function(t,e){this.tileID=t,this.uid=f(),this.uses=0,this.tileSize=e,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.expiredRequestCount=0,this.state="loading"};Lu.prototype.registerFadeDuration=function(t){var e=t+this.timeAdded;e<F.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e)},Lu.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},Lu.prototype.loadVectorData=function(t,e,r){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",t){for(var i in t.featureIndex&&(this.latestFeatureIndex=t.featureIndex,t.rawTileData?(this.latestRawTileData=t.rawTileData,this.latestFeatureIndex.rawTileData=t.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=t.collisionBoxArray,this.buckets=function(t,e){var r={};if(!e)return r;for(var i=function(){var t=o[n],i=t.layerIds.map((function(t){return e.getLayer(t)})).filter(Boolean);if(0!==i.length){t.layers=i,t.stateDependentLayerIds&&(t.stateDependentLayers=t.stateDependentLayerIds.map((function(t){return i.filter((function(e){return e.id===t}))[0]})));for(var a=0,s=i;a<s.length;a+=1){var l=s[a];r[l.id]=t}}},n=0,o=t;n<o.length;n+=1)i();return r}(t.buckets,e.style),this.hasSymbolBuckets=!1,this.buckets){var n=this.buckets[i];if(n instanceof Xl){if(this.hasSymbolBuckets=!0,!r)break;n.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(var o in this.buckets){var a=this.buckets[o];if(a instanceof Xl&&a.hasRTLText){this.hasRTLText=!0,Oi.isLoading()||Oi.isLoaded()||"deferred"!==Ri()||Fi();break}}for(var s in this.queryPadding=0,this.buckets){var l=this.buckets[s];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(s).queryRadius(l))}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage)}else this.collisionBoxArray=new Cn},Lu.prototype.unloadVectorData=function(){for(var t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},Lu.prototype.getBucket=function(t){return this.buckets[t.id]},Lu.prototype.upload=function(t){for(var e in this.buckets){var r=this.buckets[e];r.uploadPending()&&r.upload(t)}var i=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new su(t,this.imageAtlas.image,i.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new su(t,this.glyphAtlasImage,i.ALPHA),this.glyphAtlasImage=null)},Lu.prototype.prepare=function(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)},Lu.prototype.queryRenderedFeatures=function(t,e,r,i,n,o,a,s,l){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:i,scale:n,tileSize:this.tileSize,pixelPosMatrix:l,transform:a,params:o,queryPadding:this.queryPadding*s},t,e):{}},Lu.prototype.querySourceFeatures=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData){var r=this.latestFeatureIndex.loadVTLayers(),i=e?e.sourceLayer:"",n=r._geojsonTileLayer||r[i];if(n)for(var o=Fr(e&&e.filter),a=this.tileID.canonical,s=a.z,l=a.x,u=a.y,c={z:s,x:l,y:u},p=0;p<n.length;p++){var h=n.feature(p);if(o(new Ui(this.tileID.overscaledZ),h)){var f=new Au(h,s,l,u);f.tile=c,t.push(f)}}}},Lu.prototype.clearMask=function(){this.segments&&(this.segments.destroy(),delete this.segments),this.maskedBoundsBuffer&&(this.maskedBoundsBuffer.destroy(),delete this.maskedBoundsBuffer),this.maskedIndexBuffer&&(this.maskedIndexBuffer.destroy(),delete this.maskedIndexBuffer),delete this.mask},Lu.prototype.setMask=function(t,e){if(!a(this.mask,t)&&(this.clearMask(),this.mask=t,!a(t,{0:!0}))){var r=new ln,i=new Sn;this.segments=new Nn,this.segments.prepareSegment(0,r,i);for(var o=Object.keys(t),s=0;s<o.length;s++){var l=t[+o[s]],u=co>>l.z,c=new n(l.x*u,l.y*u),p=new n(c.x+u,c.y+u),h=this.segments.prepareSegment(4,r,i);r.emplaceBack(c.x,c.y,c.x,c.y),r.emplaceBack(p.x,c.y,p.x,c.y),r.emplaceBack(c.x,p.y,c.x,p.y),r.emplaceBack(p.x,p.y,p.x,p.y);var f=h.vertexLength;i.emplaceBack(f,f+1,f+2),i.emplaceBack(f+1,f+2,f+3),h.vertexLength+=4,h.primitiveLength+=2}this.maskedBoundsBuffer=e.createVertexBuffer(r,Tu.members),this.maskedIndexBuffer=e.createIndexBuffer(i)}},Lu.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},Lu.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},Lu.prototype.setExpiryData=function(t){var e=this.expirationTime;if(t.cacheControl){var r=I(t.cacheControl);r["max-age"]&&(this.expirationTime=Date.now()+1e3*r["max-age"])}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){var i=Date.now(),n=!1;if(this.expirationTime>i)n=!1;else if(e)if(this.expirationTime<e)n=!0;else{var o=this.expirationTime-e;o?this.expirationTime=i+Math.max(o,3e4):n=!0}else n=!0;n?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},Lu.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},Lu.prototype.setFeatureState=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(t).length){var r=this.latestFeatureIndex.loadVTLayers();for(var i in this.buckets){var n=this.buckets[i],o=n.layers[0].sourceLayer||"_geojsonTileLayer",a=r[o],s=t[o];a&&s&&0!==Object.keys(s).length&&(n.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{}),e&&e.style&&(this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(i).queryRadius(n))))}}},Lu.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},Lu.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<F.now()},Lu.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},Lu.prototype.setHoldDuration=function(t){this.symbolFadeHoldUntil=F.now()+t},Lu.prototype.setDependencies=function(t,e){for(var r={},i=0,n=e;i<n.length;i+=1)r[n[i]]=!0;this.dependencies[t]=r},Lu.prototype.hasDependency=function(t,e){for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=this.dependencies[n];if(o)for(var a=0,s=e;a<s.length;a+=1)if(o[s[a]])return!0}return!1},t.Actor=uu,t.AlphaImage=No,t.CanonicalTileID=xu,t.CollisionBoxArray=Cn,t.Color=Jt,t.DEMData=Eu,t.DataConstantProperty=Ki,t.DictionaryCoder=Iu,t.EXTENT=co,t.ErrorEvent=Tt,t.EvaluationParameters=Ui,t.Event=Et,t.Evented=It,t.FeatureIndex=ku,t.FillBucket=ka,t.FillExtrusionBucket=Wa,t.ImageAtlas=qs,t.ImagePosition=Ns,t.LineBucket=ns,t.LngLat=hu,t.LngLatBounds=pu,t.MercatorCoordinate=vu,t.ONE_EM=24,t.OverscaledTileID=wu,t.Point=n,t.Point$1=n,t.ProgramConfiguration=ao,t.Properties=$i,t.Protobuf=vs,t.RGBAImage=jo,t.RequestManager=Z,t.ResourceType=ht,t.SegmentVector=Nn,t.SourceFeatureState=Cu,t.StructArrayLayout1ui2=Tn,t.StructArrayLayout2i4=sn,t.StructArrayLayout2ui4=En,t.StructArrayLayout3ui6=Sn,t.StructArrayLayout4i8=ln,t.SymbolBucket=Xl,t.Texture=su,t.Tile=Lu,t.Transitionable=ji,t.Uniform1f=Wn,t.Uniform1i=Xn,t.Uniform2f=Kn,t.Uniform3f=Hn,t.Uniform4f=Jn,t.UniformColor=Yn,t.UniformMatrix4f=$n,t.UnwrappedTileID=bu,t.ValidationError=zt,t.WritingMode=Zs,t.ZoomHistory=gi,t.addDynamicAttributes=jl,t.asyncAll=function(t,e,r){if(!t.length)return r(null,[]);var i=t.length,n=new Array(t.length),o=null;t.forEach((function(t,a){e(t,(function(t,e){t&&(o=t),n[a]=e,0==--i&&r(o,n)}))}))},t.bezier=s,t.bindAll=y,t.browser=F,t.cacheEntryPossiblyAdded=function(t){++pt>lt&&(t.getActor().send("enforceCacheSizeLimit",st),pt=0)},t.clamp=u,t.clearTileCache=function(t){var e=self.caches.delete(at);t&&e.catch(t).then((function(){return t()}))},t.clone=function(t){var e=new Lo(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=x,t.config=O,t.create=function(){var t=new Lo(16);return Lo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=function(){var t=new Lo(9);return Lo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},t.create$2=function(){var t=new Lo(4);return Lo!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=Er,t.createLayout=on,t.createStyleLayer=function(t){return"custom"===t.type?new eu(t):new ru[t.type](t)},t.deepEqual=a,t.ease=l,t.emitValidationErrors=li,t.endsWith=_,t.enforceCacheSizeLimit=function(t){ut(),$&&$.then((function(e){e.keys().then((function(r){for(var i=0;i<r.length-t;i++)e.delete(r[i])}))}))},t.evaluateSizeForFeature=sl,t.evaluateSizeForZoom=ll,t.evaluateVariableOffset=Ll,t.evented=Bi,t.extend=p,t.featureFilter=Fr,t.filterObject=v,t.fromRotation=function(t,e){var r=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=r,t[2]=0,t[3]=-r,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.getAnchorAlignment=el,t.getAnchorJustification=Dl,t.getArrayBuffer=vt,t.getImage=bt,t.getJSON=function(t,e){return gt(p(t,{type:"json"}),e)},t.getRTLTextPluginStatus=Ri,t.getReferrer=dt,t.getVideo=function(t,e){var r,i,n=self.document.createElement("video");n.muted=!0,n.onloadstart=function(){e(null,n)};for(var o=0;o<t.length;o++){var a=self.document.createElement("source");r=t[o],i=void 0,(i=self.document.createElement("a")).href=r,(i.protocol!==self.document.location.protocol||i.host!==self.document.location.host)&&(n.crossOrigin="Anonymous"),a.src=t[o],n.appendChild(a)}return{cancel:function(){}}},t.identity=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.invert=function(t,e){var r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],p=e[9],h=e[10],f=e[11],d=e[12],m=e[13],y=e[14],_=e[15],g=r*s-i*a,v=r*l-n*a,x=r*u-o*a,b=i*l-n*s,w=i*u-o*s,S=n*u-o*l,E=c*m-p*d,T=c*y-h*d,I=c*_-f*d,A=p*y-h*m,z=p*_-f*m,C=h*_-f*y,k=g*C-v*z+x*A+b*I-w*T+S*E;return k?(k=1/k,t[0]=(s*C-l*z+u*A)*k,t[1]=(n*z-i*C-o*A)*k,t[2]=(m*S-y*w+_*b)*k,t[3]=(h*w-p*S-f*b)*k,t[4]=(l*I-a*C-u*T)*k,t[5]=(r*C-n*I+o*T)*k,t[6]=(y*x-d*S-_*v)*k,t[7]=(c*S-h*x+f*v)*k,t[8]=(a*z-s*I+u*E)*k,t[9]=(i*I-r*z-o*E)*k,t[10]=(d*w-m*x+_*g)*k,t[11]=(p*x-c*w-f*g)*k,t[12]=(s*T-a*A-l*E)*k,t[13]=(r*A-i*T+n*E)*k,t[14]=(m*v-d*b-y*g)*k,t[15]=(c*b-p*v+h*g)*k,t):null},t.isChar=vi,t.isMapboxURL=G,t.keysDifference=function(t,e){var r=[];for(var i in t)i in e||r.push(i);return r},t.makeRequest=gt,t.mapObject=g,t.mercatorXfromLng=mu,t.mercatorYfromLat=yu,t.mercatorZfromAltitude=_u,t.multiply=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],p=e[8],h=e[9],f=e[10],d=e[11],m=e[12],y=e[13],_=e[14],g=e[15],v=r[0],x=r[1],b=r[2],w=r[3];return t[0]=v*i+x*s+b*p+w*m,t[1]=v*n+x*l+b*h+w*y,t[2]=v*o+x*u+b*f+w*_,t[3]=v*a+x*c+b*d+w*g,v=r[4],x=r[5],b=r[6],w=r[7],t[4]=v*i+x*s+b*p+w*m,t[5]=v*n+x*l+b*h+w*y,t[6]=v*o+x*u+b*f+w*_,t[7]=v*a+x*c+b*d+w*g,v=r[8],x=r[9],b=r[10],w=r[11],t[8]=v*i+x*s+b*p+w*m,t[9]=v*n+x*l+b*h+w*y,t[10]=v*o+x*u+b*f+w*_,t[11]=v*a+x*c+b*d+w*g,v=r[12],x=r[13],b=r[14],w=r[15],t[12]=v*i+x*s+b*p+w*m,t[13]=v*n+x*l+b*h+w*y,t[14]=v*o+x*u+b*f+w*_,t[15]=v*a+x*c+b*d+w*g,t},t.mvt=qa,t.number=Se,t.ortho=function(t,e,r,i,n,o,a){var s=1/(e-r),l=1/(i-n),u=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*l,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*u,t[11]=0,t[12]=(e+r)*s,t[13]=(n+i)*l,t[14]=(a+o)*u,t[15]=1,t},t.parseGlyphPBF=function(t){return new vs(t).readFields(Fs,[])},t.pbf=vs,t.performSymbolLayout=function(t,e,r,i,o,a){t.createArrays();var s=512*t.overscaling;t.tilePixelRatio=co/s,t.compareText={},t.iconsNeedLinear=!1;var l=t.layers[0].layout,u=t.layers[0]._unevaluatedLayout._values,c={};if("composite"===t.textSizeData.kind){var p=t.textSizeData,h=p.minZoom,f=p.maxZoom;c.compositeTextSizes=[u["text-size"].possiblyEvaluate(new Ui(h)),u["text-size"].possiblyEvaluate(new Ui(f))]}if("composite"===t.iconSizeData.kind){var d=t.iconSizeData,m=d.minZoom,y=d.maxZoom;c.compositeIconSizes=[u["icon-size"].possiblyEvaluate(new Ui(m)),u["icon-size"].possiblyEvaluate(new Ui(y))]}c.layoutTextSize=u["text-size"].possiblyEvaluate(new Ui(t.zoom+1)),c.layoutIconSize=u["icon-size"].possiblyEvaluate(new Ui(t.zoom+1)),c.textMaxSize=u["text-size"].possiblyEvaluate(new Ui(18));for(var _=24*l.get("text-line-height"),g="map"===l.get("text-rotation-alignment")&&"point"!==l.get("symbol-placement"),v=l.get("text-keep-upright"),x=l.get("text-size"),b=function(){var a=E[S],s=l.get("text-font").evaluate(a,{}).join(","),u=x.evaluate(a,{}),p=c.layoutTextSize.evaluate(a,{}),h=c.layoutIconSize.evaluate(a,{}),f={horizontal:{},vertical:void 0},d=a.text,m=[0,0];if(d){var y=d.toString(),b=24*l.get("text-letter-spacing").evaluate(a,{}),T=function(t){for(var e=0,r=t;e<r.length;e+=1)if(!bi(r[e].charCodeAt(0)))return!1;return!0}(y)?b:0,I=l.get("text-anchor").evaluate(a,{}),A=l.get("text-variable-anchor");if(!A){var z=l.get("text-radial-offset").evaluate(a,{});m=z?Ll(I,[24*z,Ml]):l.get("text-offset").evaluate(a,{}).map((function(t){return 24*t}))}var C=g?"center":l.get("text-justify").evaluate(a,{}),k=l.get("symbol-placement"),P="point"===k?24*l.get("text-max-width").evaluate(a,{}):0,M=function(){t.allowVerticalPlacement&&xi(y)&&(f.vertical=Ws(d,e,r,o,s,P,_,I,"left",T,m,Zs.vertical,!0,k,p,u))};if(!g&&A){for(var L="auto"===C?A.map((function(t){return Dl(t)})):[C],D=!1,B=0;B<L.length;B++){var R=L[B];if(!f.horizontal[R])if(D)f.horizontal[R]=f.horizontal[0];else{var F=Ws(d,e,r,o,s,P,_,"center",R,T,m,Zs.horizontal,!1,k,p,u);F&&(f.horizontal[R]=F,D=1===F.positionedLines.length)}}M()}else{"auto"===C&&(C=Dl(I));var O=Ws(d,e,r,o,s,P,_,I,C,T,m,Zs.horizontal,!1,k,p,u);O&&(f.horizontal[C]=O),M(),xi(y)&&g&&v&&(f.vertical=Ws(d,e,r,o,s,P,_,I,C,T,m,Zs.vertical,!1,k,p,u))}}var U=void 0,V=!1;if(a.icon&&a.icon.name){var N=i[a.icon.name];N&&(U=function(t,e,r){var i=el(r),n=i.horizontalAlign,o=i.verticalAlign,a=e[0],s=e[1],l=a-t.displaySize[0]*n,u=l+t.displaySize[0],c=s-t.displaySize[1]*o;return{image:t,top:c,bottom:c+t.displaySize[1],left:l,right:u}}(o[a.icon.name],l.get("icon-offset").evaluate(a,{}),l.get("icon-anchor").evaluate(a,{})),V=N.sdf,void 0===t.sdfIcons?t.sdfIcons=N.sdf:t.sdfIcons!==N.sdf&&w("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),N.pixelRatio!==t.pixelRatio?t.iconsNeedLinear=!0:0!==l.get("icon-rotate").constantOr(1)&&(t.iconsNeedLinear=!0))}var j=Fl(f.horizontal)||f.vertical;t.iconsInText=!!j&&j.iconsInText,(j||U)&&function(t,e,r,i,o,a,s,l,u,c){var p=a.textMaxSize.evaluate(e,{});void 0===p&&(p=s);var h,f=t.layers[0].layout,d=f.get("icon-offset").evaluate(e,{}),m=Fl(r.horizontal),y=s/24,_=t.tilePixelRatio*y,g=t.tilePixelRatio*p/24,v=t.tilePixelRatio*l,x=t.tilePixelRatio*f.get("symbol-spacing"),b=f.get("text-padding")*t.tilePixelRatio,S=f.get("icon-padding")*t.tilePixelRatio,E=f.get("text-max-angle")/180*Math.PI,T="map"===f.get("text-rotation-alignment")&&"point"!==f.get("symbol-placement"),I="map"===f.get("icon-rotation-alignment")&&"point"!==f.get("symbol-placement"),A=f.get("symbol-placement"),z=x/2,C=f.get("icon-text-fit");i&&"none"!==C&&(t.allowVerticalPlacement&&r.vertical&&(h=il(i,r.vertical,C,f.get("icon-text-fit-padding"),d,y)),m&&(i=il(i,m,C,f.get("icon-text-fit-padding"),d,y)));var k=function(n,s){s.x<0||s.x>=co||s.y<0||s.y>=co||function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m,y,_,g,v,x,b,S){var E,T,I,A,z,C=t.addToLineVertexArray(e,r),k=0,P=0,M=0,L=0,D=-1,B=-1,R={},F=Cl(""),O=0,U=0;if(void 0===s._unevaluatedLayout.getValue("text-radial-offset")?(O=(E=s.layout.get("text-offset").evaluate(x,{}).map((function(t){return 24*t})))[0],U=E[1]):(O=24*s.layout.get("text-radial-offset").evaluate(x,{}),U=Ml),t.allowVerticalPlacement&&i.vertical){var V=s.layout.get("text-rotate").evaluate(x,{})+90,N=i.vertical;A=new bl(l,r,e,u,c,p,N,h,f,d,t.overscaling,V),a&&(z=new bl(l,r,e,u,c,p,a,y,_,d,t.overscaling,V))}if(n){var j=s.layout.get("icon-rotate").evaluate(x,{}),q="none"!==s.layout.get("icon-text-fit"),Z=yl(n,j,S,q),G=a?yl(a,j,S,q):void 0;I=new bl(l,r,e,u,c,p,n,y,_,!1,t.overscaling,j),k=4*Z.length;var X=t.iconSizeData,W=null;"source"===X.kind?(W=[ol*s.layout.get("icon-size").evaluate(x,{})])[0]>Bl&&w(t.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'):"composite"===X.kind&&((W=[ol*b.compositeIconSizes[0].evaluate(x,{}),ol*b.compositeIconSizes[1].evaluate(x,{})])[0]>Bl||W[1]>Bl)&&w(t.layerIds[0]+': Value for "icon-size" is >= 255. Reduce your "icon-size".'),t.addSymbols(t.icon,Z,W,v,g,x,!1,e,C.lineStartIndex,C.lineLength,-1),D=t.icon.placedSymbolArray.length-1,G&&(P=4*G.length,t.addSymbols(t.icon,G,W,v,g,x,Zs.vertical,e,C.lineStartIndex,C.lineLength,-1),B=t.icon.placedSymbolArray.length-1)}for(var K in i.horizontal){var H=i.horizontal[K];if(!T){F=Cl(H.text);var J=s.layout.get("text-rotate").evaluate(x,{});T=new bl(l,r,e,u,c,p,H,h,f,d,t.overscaling,J)}var Y=1===H.positionedLines.length;if(M+=Rl(t,e,H,o,s,d,x,m,C,i.vertical?Zs.horizontal:Zs.horizontalOnly,Y?Object.keys(i.horizontal):[K],R,D,b),Y)break}i.vertical&&(L+=Rl(t,e,i.vertical,o,s,d,x,m,C,Zs.vertical,["vertical"],R,B,b));var Q=T?T.boxStartIndex:t.collisionBoxArray.length,$=T?T.boxEndIndex:t.collisionBoxArray.length,tt=A?A.boxStartIndex:t.collisionBoxArray.length,et=A?A.boxEndIndex:t.collisionBoxArray.length,rt=I?I.boxStartIndex:t.collisionBoxArray.length,it=I?I.boxEndIndex:t.collisionBoxArray.length,nt=z?z.boxStartIndex:t.collisionBoxArray.length,ot=z?z.boxEndIndex:t.collisionBoxArray.length;t.glyphOffsetArray.length>=Xl.MAX_GLYPHS&&w("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),t.symbolInstances.emplaceBack(e.x,e.y,R.right>=0?R.right:-1,R.center>=0?R.center:-1,R.left>=0?R.left:-1,R.vertical||-1,D,B,F,Q,$,tt,et,rt,it,nt,ot,u,M,L,k,P,0,h,O,U)}(t,s,n,r,i,o,h,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,_,b,T,u,v,S,I,d,e,a,c)};if("line"===A)for(var P=0,M=function(t,e,r,i,o){for(var a=[],s=0;s<t.length;s++)for(var l=t[s],u=void 0,c=0;c<l.length-1;c++){var p=l[c],h=l[c+1];p.x<0&&h.x<0||(p.x<0?p=new n(0,p.y+(h.y-p.y)*((0-p.x)/(h.x-p.x)))._round():h.x<0&&(h=new n(0,p.y+(h.y-p.y)*((0-p.x)/(h.x-p.x)))._round()),p.y<0&&h.y<0||(p.y<0?p=new n(p.x+(h.x-p.x)*((0-p.y)/(h.y-p.y)),0)._round():h.y<0&&(h=new n(p.x+(h.x-p.x)*((0-p.y)/(h.y-p.y)),0)._round()),p.x>=i&&h.x>=i||(p.x>=i?p=new n(i,p.y+(h.y-p.y)*((i-p.x)/(h.x-p.x)))._round():h.x>=i&&(h=new n(i,p.y+(h.y-p.y)*((i-p.x)/(h.x-p.x)))._round()),p.y>=o&&h.y>=o||(p.y>=o?p=new n(p.x+(h.x-p.x)*((o-p.y)/(h.y-p.y)),o)._round():h.y>=o&&(h=new n(p.x+(h.x-p.x)*((o-p.y)/(h.y-p.y)),o)._round()),u&&p.equals(u[u.length-1])||(u=[p],a.push(u)),u.push(h)))))}return a}(e.geometry,0,0,co,co);P<M.length;P+=1)for(var L=M[P],D=0,B=ml(L,x,E,r.vertical||m,i,24,g,t.overscaling,co);D<B.length;D+=1){var R=B[D];m&&Ol(t,m.text,z,R)||k(L,R)}else if("line-center"===A)for(var F=0,O=e.geometry;F<O.length;F+=1){var U=O[F];if(U.length>1){var V=dl(U,E,r.vertical||m,i,24,g);V&&k(U,V)}}else if("Polygon"===e.type)for(var N=0,j=Ia(e.geometry,0);N<j.length;N+=1){var q=j[N],Z=El(q,16);k(q[0],new nl(Z.x,Z.y,0))}else if("LineString"===e.type)for(var G=0,X=e.geometry;G<X.length;G+=1){var W=X[G];k(W,new nl(W[0].x,W[0].y,0))}else if("Point"===e.type)for(var K=0,H=e.geometry;K<H.length;K+=1)for(var J=0,Y=H[K];J<Y.length;J+=1){var Q=Y[J];k([Q],new nl(Q.x,Q.y,0))}}(t,a,f,U,i,c,p,h,m,V)},S=0,E=t.features;S<E.length;S+=1)b();a&&t.generateCollisionDebugBuffers()},t.perspective=function(t,e,r,i,n){var o,a=1/Math.tan(e/2);return t[0]=a/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=n&&n!==1/0?(o=1/(i-n),t[10]=(n+i)*o,t[14]=2*n*i*o):(t[10]=-1,t[14]=-2*i),t},t.pick=function(t,e){for(var r={},i=0;i<e.length;i++){var n=e[i];n in t&&(r[n]=t[n])}return r},t.plugin=Oi,t.polygonIntersectsPolygon=yo,t.postMapLoadEvent=ot,t.postTurnstileEvent=it,t.potpack=Vs,t.rasterBoundsAttributes=Tu,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.register=fi,t.registerForPluginStateChange=function(t){return t({pluginStatus:Pi,pluginURL:Mi}),Bi.on("pluginStateChange",t),t},t.rotate=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=Math.sin(r),l=Math.cos(r);return t[0]=i*l+o*s,t[1]=n*l+a*s,t[2]=i*-s+o*l,t[3]=n*-s+a*l,t},t.rotateX=function(t,e,r){var i=Math.sin(r),n=Math.cos(r),o=e[4],a=e[5],s=e[6],l=e[7],u=e[8],c=e[9],p=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*n+u*i,t[5]=a*n+c*i,t[6]=s*n+p*i,t[7]=l*n+h*i,t[8]=u*n-o*i,t[9]=c*n-a*i,t[10]=p*n-s*i,t[11]=h*n-l*i,t},t.rotateZ=function(t,e,r){var i=Math.sin(r),n=Math.cos(r),o=e[0],a=e[1],s=e[2],l=e[3],u=e[4],c=e[5],p=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*n+u*i,t[1]=a*n+c*i,t[2]=s*n+p*i,t[3]=l*n+h*i,t[4]=u*n-o*i,t[5]=c*n-a*i,t[6]=p*n-s*i,t[7]=h*n-l*i,t},t.scale=function(t,e,r){var i=r[0],n=r[1],o=r[2];return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.setCacheLimits=function(t,e){st=t,lt=e},t.setRTLTextPlugin=function(t,e,r){if(void 0===r&&(r=!1),Pi===Ai||Pi===zi||Pi===Ci)throw new Error("setRTLTextPlugin cannot be called multiple times.");Mi=F.resolveURL(t),Pi=Ai,ki=e,Di(),r||Fi()},t.sphericalToCartesian=function(t){var e=t[0],r=t[1],i=t[2];return r+=90,r*=Math.PI/180,i*=Math.PI/180,{x:e*Math.cos(r)*Math.sin(i),y:e*Math.sin(r)*Math.sin(i),z:e*Math.cos(i)}},t.styleSpec=At,t.symbolSize=ul,t.transformMat3=function(t,e,r){var i=e[0],n=e[1],o=e[2];return t[0]=i*r[0]+n*r[3]+o*r[6],t[1]=i*r[1]+n*r[4]+o*r[7],t[2]=i*r[2]+n*r[5]+o*r[8],t},t.transformMat4=Do,t.translate=function(t,e,r){var i,n,o,a,s,l,u,c,p,h,f,d,m=r[0],y=r[1],_=r[2];return e===t?(t[12]=e[0]*m+e[4]*y+e[8]*_+e[12],t[13]=e[1]*m+e[5]*y+e[9]*_+e[13],t[14]=e[2]*m+e[6]*y+e[10]*_+e[14],t[15]=e[3]*m+e[7]*y+e[11]*_+e[15]):(i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],p=e[8],h=e[9],f=e[10],d=e[11],t[0]=i,t[1]=n,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t[6]=u,t[7]=c,t[8]=p,t[9]=h,t[10]=f,t[11]=d,t[12]=i*m+s*y+p*_+e[12],t[13]=n*m+l*y+h*_+e[13],t[14]=o*m+u*y+f*_+e[14],t[15]=a*m+c*y+d*_+e[15]),t},t.triggerPluginCompletionEvent=Li,t.uniqueId=f,t.validateCustomStyleLayer=function(t){var e=[],r=t.id;return void 0===r&&e.push({message:"layers."+r+': missing required property "id"'}),void 0===t.render&&e.push({message:"layers."+r+': missing required method "render"'}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:"layers."+r+': property "renderingMode" must be either "2d" or "3d"'}),e},t.validateLight=oi,t.validateStyle=ni,t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.vectorTile=qa,t.version="1.6.1",t.warnOnce=w,t.webpSupported=U,t.window=self,t.wrap=c})),i(0,(function(t){function e(t){var r=typeof t;if("number"===r||"boolean"===r||"string"===r||null==t)return JSON.stringify(t);if(Array.isArray(t)){for(var i="[",n=0,o=t;n<o.length;n+=1)i+=e(o[n])+",";return i+"]"}for(var a=Object.keys(t).sort(),s="{",l=0;l<a.length;l++)s+=JSON.stringify(a[l])+":"+e(t[a[l]])+",";return s+"}"}function r(r){for(var i="",n=0,o=t.refProperties;n<o.length;n+=1)i+="/"+e(r[o[n]]);return i}var i=function(t){this.keyCache={},t&&this.replace(t)};i.prototype.replace=function(t){this._layerConfigs={},this._layers={},this.update(t,[])},i.prototype.update=function(e,i){for(var n=this,o=0,a=e;o<a.length;o+=1){var s=a[o];this._layerConfigs[s.id]=s;var l=this._layers[s.id]=t.createStyleLayer(s);l._featureFilter=t.featureFilter(l.filter),this.keyCache[s.id]&&delete this.keyCache[s.id]}for(var u=0,c=i;u<c.length;u+=1){var p=c[u];delete this.keyCache[p],delete this._layerConfigs[p],delete this._layers[p]}this.familiesBySource={};for(var h=0,f=function(t,e){for(var i={},n=0;n<t.length;n++){var o=e&&e[t[n].id]||r(t[n]);e&&(e[t[n].id]=o);var a=i[o];a||(a=i[o]=[]),a.push(t[n])}var s=[];for(var l in i)s.push(i[l]);return s}(t.values(this._layerConfigs),this.keyCache);h<f.length;h+=1){var d=f[h].map((function(t){return n._layers[t.id]})),m=d[0];if("none"!==m.visibility){var y=m.source||"",_=this.familiesBySource[y];_||(_=this.familiesBySource[y]={});var g=m.sourceLayer||"_geojsonTileLayer",v=_[g];v||(v=_[g]=[]),v.push(d)}}};var n=function(e){var r={},i=[];for(var n in e){var o=e[n],a=r[n]={};for(var s in o){var l=o[+s];if(l&&0!==l.bitmap.width&&0!==l.bitmap.height){var u={x:0,y:0,w:l.bitmap.width+2,h:l.bitmap.height+2};i.push(u),a[s]={rect:u,metrics:l.metrics}}}}var c=t.potpack(i),p=c.w,h=c.h,f=new t.AlphaImage({width:p||1,height:h||1});for(var d in e){var m=e[d];for(var y in m){var _=m[+y];if(_&&0!==_.bitmap.width&&0!==_.bitmap.height){var g=r[d][y].rect;t.AlphaImage.copy(_.bitmap,f,{x:0,y:0},{x:g.x+1,y:g.y+1},_.bitmap)}}}this.image=f,this.positions=r};t.register("GlyphAtlas",n);var o=function(e){this.tileID=new t.OverscaledTileID(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.uid=e.uid,this.zoom=e.zoom,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies};function a(e,r,i){for(var n=new t.EvaluationParameters(r),o=0,a=e;o<a.length;o+=1)a[o].recalculate(n,i)}o.prototype.parse=function(e,r,i,o,s){var l=this;this.status="parsing",this.data=e,this.collisionBoxArray=new t.CollisionBoxArray;var u=new t.DictionaryCoder(Object.keys(e.layers).sort()),c=new t.FeatureIndex(this.tileID);c.bucketLayerIDs=[];var p,h,f,d,m={},y={featureIndex:c,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:i},_=r.familiesBySource[this.source];for(var g in _){var v=e.layers[g];if(v){1===v.version&&t.warnOnce('Vector tile source "'+this.source+'" layer "'+g+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var x=u.encode(g),b=[],w=0;w<v.length;w++){var S=v.feature(w);b.push({feature:S,index:w,sourceLayerIndex:x})}for(var E=0,T=_[g];E<T.length;E+=1){var I=T[E],A=I[0];A.minzoom&&this.zoom<Math.floor(A.minzoom)||A.maxzoom&&this.zoom>=A.maxzoom||"none"!==A.visibility&&(a(I,this.zoom,i),(m[A.id]=A.createBucket({index:c.bucketLayerIDs.length,layers:I,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:x,sourceID:this.source})).populate(b,y),c.bucketLayerIDs.push(I.map((function(t){return t.id}))))}}}var z=t.mapObject(y.glyphDependencies,(function(t){return Object.keys(t).map(Number)}));Object.keys(z).length?o.send("getGlyphs",{uid:this.uid,stacks:z},(function(t,e){p||(p=t,h=e,P.call(l))})):h={};var C=Object.keys(y.iconDependencies);C.length?o.send("getImages",{icons:C,source:this.source,tileID:this.tileID,type:"icons"},(function(t,e){p||(p=t,f=e,P.call(l))})):f={};var k=Object.keys(y.patternDependencies);function P(){if(p)return s(p);if(h&&f&&d){var e=new n(h),r=new t.ImageAtlas(f,d);for(var o in m){var l=m[o];l instanceof t.SymbolBucket?(a(l.layers,this.zoom,i),t.performSymbolLayout(l,h,e.positions,f,r.iconPositions,this.showCollisionBoxes)):l.hasPattern&&(l instanceof t.LineBucket||l instanceof t.FillBucket||l instanceof t.FillExtrusionBucket)&&(a(l.layers,this.zoom,i),l.addFeatures(y,r.patternPositions))}this.status="done",s(null,{buckets:t.values(m).filter((function(t){return!t.isEmpty()})),featureIndex:c,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:r,glyphMap:this.returnDependencies?h:null,iconMap:this.returnDependencies?f:null,glyphPositions:this.returnDependencies?e.positions:null})}}k.length?o.send("getImages",{icons:k,source:this.source,tileID:this.tileID,type:"patterns"},(function(t,e){p||(p=t,d=e,P.call(l))})):d={},P.call(this)};var s="undefined"!=typeof performance,l={getEntriesByName:function(t){return!!(s&&performance&&performance.getEntriesByName)&&performance.getEntriesByName(t)},mark:function(t){return!!(s&&performance&&performance.mark)&&performance.mark(t)},measure:function(t,e,r){return!!(s&&performance&&performance.measure)&&performance.measure(t,e,r)},clearMarks:function(t){return!!(s&&performance&&performance.clearMarks)&&performance.clearMarks(t)},clearMeasures:function(t){return!!(s&&performance&&performance.clearMeasures)&&performance.clearMeasures(t)}},u=function(t){this._marks={start:[t.url,"start"].join("#"),end:[t.url,"end"].join("#"),measure:t.url.toString()},l.mark(this._marks.start)};function c(e,r){var i=t.getArrayBuffer(e.request,(function(e,i,n,o){e?r(e):i&&r(null,{vectorTile:new t.vectorTile.VectorTile(new t.pbf(i)),rawData:i,cacheControl:n,expires:o})}));return function(){i.cancel(),r()}}u.prototype.finish=function(){l.mark(this._marks.end);var t=l.getEntriesByName(this._marks.measure);return 0===t.length&&(l.measure(this._marks.measure,this._marks.start,this._marks.end),t=l.getEntriesByName(this._marks.measure),l.clearMarks(this._marks.start),l.clearMarks(this._marks.end),l.clearMeasures(this._marks.measure)),t},l.Performance=u;var p=function(t,e,r,i){this.actor=t,this.layerIndex=e,this.availableImages=r,this.loadVectorData=i||c,this.loading={},this.loaded={}};p.prototype.loadTile=function(e,r){var i=this,n=e.uid;this.loading||(this.loading={});var a=!!(e&&e.request&&e.request.collectResourceTiming)&&new l.Performance(e.request),s=this.loading[n]=new o(e);s.abort=this.loadVectorData(e,(function(e,o){if(delete i.loading[n],e||!o)return s.status="done",i.loaded[n]=s,r(e);var l=o.rawData,u={};o.expires&&(u.expires=o.expires),o.cacheControl&&(u.cacheControl=o.cacheControl);var c={};if(a){var p=a.finish();p&&(c.resourceTiming=JSON.parse(JSON.stringify(p)))}s.vectorTile=o.vectorTile,s.parse(o.vectorTile,i.layerIndex,i.availableImages,i.actor,(function(e,i){if(e||!i)return r(e);r(null,t.extend({rawTileData:l.slice(0)},i,u,c))})),i.loaded=i.loaded||{},i.loaded[n]=s}))},p.prototype.reloadTile=function(t,e){var r=this,i=this.loaded,n=t.uid,o=this;if(i&&i[n]){var a=i[n];a.showCollisionBoxes=t.showCollisionBoxes;var s=function(t,i){var n=a.reloadCallback;n&&(delete a.reloadCallback,a.parse(a.vectorTile,o.layerIndex,r.availableImages,o.actor,n)),e(t,i)};"parsing"===a.status?a.reloadCallback=s:"done"===a.status&&(a.vectorTile?a.parse(a.vectorTile,this.layerIndex,this.availableImages,this.actor,s):s())}},p.prototype.abortTile=function(t,e){var r=this.loading,i=t.uid;r&&r[i]&&r[i].abort&&(r[i].abort(),delete r[i]),e()},p.prototype.removeTile=function(t,e){var r=this.loaded,i=t.uid;r&&r[i]&&delete r[i],e()};var h=function(){this.loaded={}};h.prototype.loadTile=function(e,r){var i=e.uid,n=e.encoding,o=e.rawImageData,a=new t.DEMData(i,o,n);this.loaded=this.loaded||{},this.loaded[i]=a,r(null,a)},h.prototype.removeTile=function(t){var e=this.loaded,r=t.uid;e&&e[r]&&delete e[r]};var f=6378137;function d(t){var e=0;if(t&&t.length>0){e+=Math.abs(m(t[0]));for(var r=1;r<t.length;r++)e-=Math.abs(m(t[r]))}return e}function m(t){var e,r,i,n,o,a,s=0,l=t.length;if(l>2){for(a=0;a<l;a++)a===l-2?(i=l-2,n=l-1,o=0):a===l-1?(i=l-1,n=0,o=1):(i=a,n=a+1,o=a+2),e=t[i],r=t[n],s+=(y(t[o][0])-y(e[0]))*Math.sin(y(r[1]));s=s*f*f/2}return s}function y(t){return t*Math.PI/180}var _={geometry:function t(e){var r,i=0;switch(e.type){case"Polygon":return d(e.coordinates);case"MultiPolygon":for(r=0;r<e.coordinates.length;r++)i+=d(e.coordinates[r]);return i;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(r=0;r<e.geometries.length;r++)i+=t(e.geometries[r]);return i}},ring:m};function g(t,e){return function(r){return t(r,e)}}function v(t,e){e=!!e,t[0]=x(t[0],e);for(var r=1;r<t.length;r++)t[r]=x(t[r],!e);return t}function x(t,e){return function(t){return _.ring(t)>=0}(t)===e?t:t.reverse()}var b=t.vectorTile.VectorTileFeature.prototype.toGeoJSON,w=function(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};w.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],r=0,i=this._feature.geometry;r<i.length;r+=1){var n=i[r];e.push([new t.Point$1(n[0],n[1])])}return e}for(var o=[],a=0,s=this._feature.geometry;a<s.length;a+=1){for(var l=[],u=0,c=s[a];u<c.length;u+=1){var p=c[u];l.push(new t.Point$1(p[0],p[1]))}o.push(l)}return o},w.prototype.toGeoJSON=function(t,e,r){return b.call(this,t,e,r)};var S=function(e){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=t.EXTENT,this.length=e.length,this._features=e};S.prototype.feature=function(t){return new w(this._features[t])};var E=t.vectorTile.VectorTileFeature,T=I;function I(t,e){this.options=e||{},this.features=t,this.length=t.length}function A(t,e){this.id="number"==typeof t.id?t.id:void 0,this.type=t.type,this.rawGeometry=1===t.type?[t.geometry]:t.geometry,this.properties=t.tags,this.extent=e||4096}I.prototype.feature=function(t){return new A(this.features[t],this.options.extent)},A.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var r=0;r<e.length;r++){for(var i=e[r],n=[],o=0;o<i.length;o++)n.push(new t.Point$1(i[o][0],i[o][1]));this.geometry.push(n)}return this.geometry},A.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var t=this.geometry,e=1/0,r=-1/0,i=1/0,n=-1/0,o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.length;s++){var l=a[s];e=Math.min(e,l.x),r=Math.max(r,l.x),i=Math.min(i,l.y),n=Math.max(n,l.y)}return[e,i,r,n]},A.prototype.toGeoJSON=E.prototype.toGeoJSON;var z=P,C=P,k=T;function P(e){var r=new t.pbf;return function(t,e){for(var r in t.layers)e.writeMessage(3,M,t.layers[r])}(e,r),r.finish()}function M(t,e){var r;e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);var i={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<t.length;r++)i.feature=t.feature(r),e.writeMessage(2,L,i);var n=i.keys;for(r=0;r<n.length;r++)e.writeStringField(3,n[r]);var o=i.values;for(r=0;r<o.length;r++)e.writeMessage(4,O,o[r])}function L(t,e){var r=t.feature;void 0!==r.id&&e.writeVarintField(1,r.id),e.writeMessage(2,D,t),e.writeVarintField(3,r.type),e.writeMessage(4,F,r)}function D(t,e){var r=t.feature,i=t.keys,n=t.values,o=t.keycache,a=t.valuecache;for(var s in r.properties){var l=o[s];void 0===l&&(i.push(s),l=i.length-1,o[s]=l),e.writeVarint(l);var u=r.properties[s],c=typeof u;"string"!==c&&"boolean"!==c&&"number"!==c&&(u=JSON.stringify(u));var p=c+":"+u,h=a[p];void 0===h&&(n.push(u),h=n.length-1,a[p]=h),e.writeVarint(h)}}function B(t,e){return(e<<3)+(7&t)}function R(t){return t<<1^t>>31}function F(t,e){for(var r=t.loadGeometry(),i=t.type,n=0,o=0,a=r.length,s=0;s<a;s++){var l=r[s],u=1;1===i&&(u=l.length),e.writeVarint(B(1,u));for(var c=3===i?l.length-1:l.length,p=0;p<c;p++){1===p&&1!==i&&e.writeVarint(B(2,c-1));var h=l[p].x-n,f=l[p].y-o;e.writeVarint(R(h)),e.writeVarint(R(f)),n+=h,o+=f}3===i&&e.writeVarint(B(7,1))}}function O(t,e){var r=typeof t;"string"===r?e.writeStringField(1,t):"boolean"===r?e.writeBooleanField(7,t):"number"===r&&(t%1!=0?e.writeDoubleField(3,t):t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t))}function U(t,e,r,i){V(t,r,i),V(e,2*r,2*i),V(e,2*r+1,2*i+1)}function V(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function N(t,e,r,i){var n=t-r,o=e-i;return n*n+o*o}z.fromVectorTileJs=C,z.fromGeojsonVt=function(t,e){e=e||{};var r={};for(var i in t)r[i]=new T(t[i].features,e),r[i].name=i,r[i].version=e.version,r[i].extent=e.extent;return P({layers:r})},z.GeoJSONWrapper=k;var j=function(t){return t[0]},q=function(t){return t[1]},Z=function(t,e,r,i,n){void 0===e&&(e=j),void 0===r&&(r=q),void 0===i&&(i=64),void 0===n&&(n=Float64Array),this.nodeSize=i,this.points=t;for(var o=t.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(t.length),s=this.coords=new n(2*t.length),l=0;l<t.length;l++)a[l]=l,s[2*l]=e(t[l]),s[2*l+1]=r(t[l]);!function t(e,r,i,n,o,a){if(!(o-n<=i)){var s=n+o>>1;!function t(e,r,i,n,o,a){for(;o>n;){if(o-n>600){var s=o-n+1,l=i-n+1,u=Math.log(s),c=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1);t(e,r,i,Math.max(n,Math.floor(i-l*c/s+p)),Math.min(o,Math.floor(i+(s-l)*c/s+p)),a)}var h=r[2*i+a],f=n,d=o;for(U(e,r,n,i),r[2*o+a]>h&&U(e,r,n,o);f<d;){for(U(e,r,f,d),f++,d--;r[2*f+a]<h;)f++;for(;r[2*d+a]>h;)d--}r[2*n+a]===h?U(e,r,n,d):U(e,r,++d,o),d<=i&&(n=d+1),i<=d&&(o=d-1)}}(e,r,s,n,o,a%2),t(e,r,i,n,s-1,a+1),t(e,r,i,s+1,o,a+1)}}(a,s,i,0,a.length-1,0)};Z.prototype.range=function(t,e,r,i){return function(t,e,r,i,n,o,a){for(var s,l,u=[0,t.length-1,0],c=[];u.length;){var p=u.pop(),h=u.pop(),f=u.pop();if(h-f<=a)for(var d=f;d<=h;d++)s=e[2*d],l=e[2*d+1],s>=r&&s<=n&&l>=i&&l<=o&&c.push(t[d]);else{var m=Math.floor((f+h)/2);s=e[2*m],l=e[2*m+1],s>=r&&s<=n&&l>=i&&l<=o&&c.push(t[m]);var y=(p+1)%2;(0===p?r<=s:i<=l)&&(u.push(f),u.push(m-1),u.push(y)),(0===p?n>=s:o>=l)&&(u.push(m+1),u.push(h),u.push(y))}}return c}(this.ids,this.coords,t,e,r,i,this.nodeSize)},Z.prototype.within=function(t,e,r){return function(t,e,r,i,n,o){for(var a=[0,t.length-1,0],s=[],l=n*n;a.length;){var u=a.pop(),c=a.pop(),p=a.pop();if(c-p<=o)for(var h=p;h<=c;h++)N(e[2*h],e[2*h+1],r,i)<=l&&s.push(t[h]);else{var f=Math.floor((p+c)/2),d=e[2*f],m=e[2*f+1];N(d,m,r,i)<=l&&s.push(t[f]);var y=(u+1)%2;(0===u?r-n<=d:i-n<=m)&&(a.push(p),a.push(f-1),a.push(y)),(0===u?r+n>=d:i+n>=m)&&(a.push(f+1),a.push(c),a.push(y))}}return s}(this.ids,this.coords,t,e,r,this.nodeSize)};var G={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:function(t){return t}},X=function(t){this.options=$(Object.create(G),t),this.trees=new Array(this.options.maxZoom+1)};function W(t,e,r,i,n){return{x:t,y:e,zoom:1/0,id:r,parentId:-1,numPoints:i,properties:n}}function K(t,e){var r=t.geometry.coordinates,i=r[0],n=r[1];return{x:Y(i),y:Q(n),zoom:1/0,index:e,parentId:-1}}function H(t){return{type:"Feature",id:t.id,properties:J(t),geometry:{type:"Point",coordinates:[(i=t.x,360*(i-.5)),(e=t.y,r=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(r))/Math.PI-90)]}};var e,r,i}function J(t){var e=t.numPoints,r=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return $($({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:r})}function Y(t){return t/360+.5}function Q(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function $(t,e){for(var r in e)t[r]=e[r];return t}function tt(t){return t.x}function et(t){return t.y}function rt(t,e,r,i,n,o){var a=n-r,s=o-i;if(0!==a||0!==s){var l=((t-r)*a+(e-i)*s)/(a*a+s*s);l>1?(r=n,i=o):l>0&&(r+=a*l,i+=s*l)}return(a=t-r)*a+(s=e-i)*s}function it(t,e,r,i){var n={id:void 0===t?null:t,type:e,geometry:r,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,r=t.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)nt(t,e);else if("Polygon"===r||"MultiLineString"===r)for(var i=0;i<e.length;i++)nt(t,e[i]);else if("MultiPolygon"===r)for(i=0;i<e.length;i++)for(var n=0;n<e[i].length;n++)nt(t,e[i][n])}(n),n}function nt(t,e){for(var r=0;r<e.length;r+=3)t.minX=Math.min(t.minX,e[r]),t.minY=Math.min(t.minY,e[r+1]),t.maxX=Math.max(t.maxX,e[r]),t.maxY=Math.max(t.maxY,e[r+1])}function ot(t,e,r,i){if(e.geometry){var n=e.geometry.coordinates,o=e.geometry.type,a=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),s=[],l=e.id;if(r.promoteId?l=e.properties[r.promoteId]:r.generateId&&(l=i||0),"Point"===o)at(n,s);else if("MultiPoint"===o)for(var u=0;u<n.length;u++)at(n[u],s);else if("LineString"===o)st(n,s,a,!1);else if("MultiLineString"===o){if(r.lineMetrics){for(u=0;u<n.length;u++)s=[],st(n[u],s,a,!1),t.push(it(l,"LineString",s,e.properties));return}lt(n,s,a,!1)}else if("Polygon"===o)lt(n,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(u=0;u<e.geometry.geometries.length;u++)ot(t,{id:l,geometry:e.geometry.geometries[u],properties:e.properties},r,i);return}throw new Error("Input data is not a valid GeoJSON object.")}for(u=0;u<n.length;u++){var c=[];lt(n[u],c,a,!0),s.push(c)}}t.push(it(l,o,s,e.properties))}}function at(t,e){e.push(ut(t[0])),e.push(ct(t[1])),e.push(0)}function st(t,e,r,i){for(var n,o,a=0,s=0;s<t.length;s++){var l=ut(t[s][0]),u=ct(t[s][1]);e.push(l),e.push(u),e.push(0),s>0&&(a+=i?(n*u-l*o)/2:Math.sqrt(Math.pow(l-n,2)+Math.pow(u-o,2))),n=l,o=u}var c=e.length-3;e[2]=1,function t(e,r,i,n){for(var o,a=n,s=i-r>>1,l=i-r,u=e[r],c=e[r+1],p=e[i],h=e[i+1],f=r+3;f<i;f+=3){var d=rt(e[f],e[f+1],u,c,p,h);if(d>a)o=f,a=d;else if(d===a){var m=Math.abs(f-s);m<l&&(o=f,l=m)}}a>n&&(o-r>3&&t(e,r,o,n),e[o+2]=a,i-o>3&&t(e,o,i,n))}(e,0,c,r),e[c+2]=1,e.size=Math.abs(a),e.start=0,e.end=e.size}function lt(t,e,r,i){for(var n=0;n<t.length;n++){var o=[];st(t[n],o,r,i),e.push(o)}}function ut(t){return t/360+.5}function ct(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function pt(t,e,r,i,n,o,a,s){if(i/=e,o>=(r/=e)&&a<i)return t;if(a<r||o>=i)return null;for(var l=[],u=0;u<t.length;u++){var c=t[u],p=c.geometry,h=c.type,f=0===n?c.minX:c.minY,d=0===n?c.maxX:c.maxY;if(f>=r&&d<i)l.push(c);else if(!(d<r||f>=i)){var m=[];if("Point"===h||"MultiPoint"===h)ht(p,m,r,i,n);else if("LineString"===h)ft(p,m,r,i,n,!1,s.lineMetrics);else if("MultiLineString"===h)mt(p,m,r,i,n,!1);else if("Polygon"===h)mt(p,m,r,i,n,!0);else if("MultiPolygon"===h)for(var y=0;y<p.length;y++){var _=[];mt(p[y],_,r,i,n,!0),_.length&&m.push(_)}if(m.length){if(s.lineMetrics&&"LineString"===h){for(y=0;y<m.length;y++)l.push(it(c.id,h,m[y],c.tags));continue}"LineString"!==h&&"MultiLineString"!==h||(1===m.length?(h="LineString",m=m[0]):h="MultiLineString"),"Point"!==h&&"MultiPoint"!==h||(h=3===m.length?"Point":"MultiPoint"),l.push(it(c.id,h,m,c.tags))}}}return l.length?l:null}function ht(t,e,r,i,n){for(var o=0;o<t.length;o+=3){var a=t[o+n];a>=r&&a<=i&&(e.push(t[o]),e.push(t[o+1]),e.push(t[o+2]))}}function ft(t,e,r,i,n,o,a){for(var s,l,u=dt(t),c=0===n?_t:gt,p=t.start,h=0;h<t.length-3;h+=3){var f=t[h],d=t[h+1],m=t[h+2],y=t[h+3],_=t[h+4],g=0===n?f:d,v=0===n?y:_,x=!1;a&&(s=Math.sqrt(Math.pow(f-y,2)+Math.pow(d-_,2))),g<r?v>r&&(l=c(u,f,d,y,_,r),a&&(u.start=p+s*l)):g>i?v<i&&(l=c(u,f,d,y,_,i),a&&(u.start=p+s*l)):yt(u,f,d,m),v<r&&g>=r&&(l=c(u,f,d,y,_,r),x=!0),v>i&&g<=i&&(l=c(u,f,d,y,_,i),x=!0),!o&&x&&(a&&(u.end=p+s*l),e.push(u),u=dt(t)),a&&(p+=s)}var b=t.length-3;f=t[b],d=t[b+1],m=t[b+2],(g=0===n?f:d)>=r&&g<=i&&yt(u,f,d,m),b=u.length-3,o&&b>=3&&(u[b]!==u[0]||u[b+1]!==u[1])&&yt(u,u[0],u[1],u[2]),u.length&&e.push(u)}function dt(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function mt(t,e,r,i,n,o){for(var a=0;a<t.length;a++)ft(t[a],e,r,i,n,o,!1)}function yt(t,e,r,i){t.push(e),t.push(r),t.push(i)}function _t(t,e,r,i,n,o){var a=(o-e)/(i-e);return t.push(o),t.push(r+(n-r)*a),t.push(1),a}function gt(t,e,r,i,n,o){var a=(o-r)/(n-r);return t.push(e+(i-e)*a),t.push(o),t.push(1),a}function vt(t,e){for(var r=[],i=0;i<t.length;i++){var n,o=t[i],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)n=xt(o.geometry,e);else if("MultiLineString"===a||"Polygon"===a){n=[];for(var s=0;s<o.geometry.length;s++)n.push(xt(o.geometry[s],e))}else if("MultiPolygon"===a)for(n=[],s=0;s<o.geometry.length;s++){for(var l=[],u=0;u<o.geometry[s].length;u++)l.push(xt(o.geometry[s][u],e));n.push(l)}r.push(it(o.id,a,n,o.tags))}return r}function xt(t,e){var r=[];r.size=t.size,void 0!==t.start&&(r.start=t.start,r.end=t.end);for(var i=0;i<t.length;i+=3)r.push(t[i]+e,t[i+1],t[i+2]);return r}function bt(t,e){if(t.transformed)return t;var r,i,n,o=1<<t.z,a=t.x,s=t.y;for(r=0;r<t.features.length;r++){var l=t.features[r],u=l.geometry,c=l.type;if(l.geometry=[],1===c)for(i=0;i<u.length;i+=2)l.geometry.push(wt(u[i],u[i+1],e,o,a,s));else for(i=0;i<u.length;i++){var p=[];for(n=0;n<u[i].length;n+=2)p.push(wt(u[i][n],u[i][n+1],e,o,a,s));l.geometry.push(p)}}return t.transformed=!0,t}function wt(t,e,r,i,n,o){return[Math.round(r*(t*i-n)),Math.round(r*(e*i-o))]}function St(t,e,r,i,n){for(var o=e===n.maxZoom?0:n.tolerance/((1<<e)*n.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:i,z:e,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<t.length;s++){a.numFeatures++,Et(a,t[s],o,n);var l=t[s].minX,u=t[s].minY,c=t[s].maxX,p=t[s].maxY;l<a.minX&&(a.minX=l),u<a.minY&&(a.minY=u),c>a.maxX&&(a.maxX=c),p>a.maxY&&(a.maxY=p)}return a}function Et(t,e,r,i){var n=e.geometry,o=e.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<n.length;s+=3)a.push(n[s]),a.push(n[s+1]),t.numPoints++,t.numSimplified++;else if("LineString"===o)Tt(a,n,t,r,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<n.length;s++)Tt(a,n[s],t,r,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var l=0;l<n.length;l++){var u=n[l];for(s=0;s<u.length;s++)Tt(a,u[s],t,r,!0,0===s)}if(a.length){var c=e.tags||null;if("LineString"===o&&i.lineMetrics){for(var p in c={},e.tags)c[p]=e.tags[p];c.mapbox_clip_start=n.start/n.size,c.mapbox_clip_end=n.end/n.size}var h={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:c};null!==e.id&&(h.id=e.id),t.features.push(h)}}function Tt(t,e,r,i,n,o){var a=i*i;if(i>0&&e.size<(n?a:i))r.numPoints+=e.length/3;else{for(var s=[],l=0;l<e.length;l+=3)(0===i||e[l+2]>a)&&(r.numSimplified++,s.push(e[l]),s.push(e[l+1])),r.numPoints++;n&&function(t,e){for(var r=0,i=0,n=t.length,o=n-2;i<n;o=i,i+=2)r+=(t[i]-t[o])*(t[i+1]+t[o+1]);if(r>0===e)for(i=0,n=t.length;i<n/2;i+=2){var a=t[i],s=t[i+1];t[i]=t[n-2-i],t[i+1]=t[n-1-i],t[n-2-i]=a,t[n-1-i]=s}}(s,o),t.push(s)}}function It(t,e){var r=(e=this.options=function(t,e){for(var r in e)t[r]=e[r];return t}(Object.create(this.options),e)).debug;if(r&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=function(t,e){var r=[];if("FeatureCollection"===t.type)for(var i=0;i<t.features.length;i++)ot(r,t.features[i],e,i);else"Feature"===t.type?ot(r,t,e):ot(r,{geometry:t},e);return r}(t,e);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(i=function(t,e){var r=e.buffer/e.extent,i=t,n=pt(t,1,-1-r,r,0,-1,2,e),o=pt(t,1,1-r,2+r,0,-1,2,e);return(n||o)&&(i=pt(t,1,-r,1+r,0,-1,2,e)||[],n&&(i=vt(n,1).concat(i)),o&&(i=i.concat(vt(o,-1)))),i}(i,e)).length&&this.splitTile(i,0,0,0),r&&(i.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function At(t,e,r){return 32*((1<<t)*r+e)+t}function zt(t,e){var r=t.tileID.canonical;if(!this._geoJSONIndex)return e(null,null);var i=this._geoJSONIndex.getTile(r.z,r.x,r.y);if(!i)return e(null,null);var n=new S(i.features),o=z(n);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),e(null,{vectorTile:n,rawData:o.buffer})}X.prototype.load=function(t){var e=this.options,r=e.log,i=e.minZoom,n=e.maxZoom,o=e.nodeSize;r&&console.time("total time");var a="prepare "+t.length+" points";r&&console.time(a),this.points=t;for(var s=[],l=0;l<t.length;l++)t[l].geometry&&s.push(K(t[l],l));this.trees[n+1]=new Z(s,tt,et,o,Float32Array),r&&console.timeEnd(a);for(var u=n;u>=i;u--){var c=+Date.now();s=this._cluster(s,u),this.trees[u]=new Z(s,tt,et,o,Float32Array),r&&console.log("z%d: %d clusters in %dms",u,s.length,+Date.now()-c)}return r&&console.timeEnd("total time"),this},X.prototype.getClusters=function(t,e){var r=((t[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,t[1])),n=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)r=-180,n=180;else if(r>n){var a=this.getClusters([r,i,180,o],e),s=this.getClusters([-180,i,n,o],e);return a.concat(s)}for(var l=this.trees[this._limitZoom(e)],u=[],c=0,p=l.range(Y(r),Q(o),Y(n),Q(i));c<p.length;c+=1){var h=p[c],f=l.points[h];u.push(f.numPoints?H(f):this.points[f.index])}return u},X.prototype.getChildren=function(t){var e=this._getOriginId(t),r=this._getOriginZoom(t),i="No cluster with the specified id.",n=this.trees[r];if(!n)throw new Error(i);var o=n.points[e];if(!o)throw new Error(i);for(var a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),s=[],l=0,u=n.within(o.x,o.y,a);l<u.length;l+=1){var c=u[l],p=n.points[c];p.parentId===t&&s.push(p.numPoints?H(p):this.points[p.index])}if(0===s.length)throw new Error(i);return s},X.prototype.getLeaves=function(t,e,r){e=e||10,r=r||0;var i=[];return this._appendLeaves(i,t,e,r,0),i},X.prototype.getTile=function(t,e,r){var i=this.trees[this._limitZoom(t)],n=Math.pow(2,t),o=this.options,a=o.extent,s=o.radius/a,l=(r-s)/n,u=(r+1+s)/n,c={features:[]};return this._addTileFeatures(i.range((e-s)/n,l,(e+1+s)/n,u),i.points,e,r,n,c),0===e&&this._addTileFeatures(i.range(1-s/n,l,1,u),i.points,n,r,n,c),e===n-1&&this._addTileFeatures(i.range(0,l,s/n,u),i.points,-1,r,n,c),c.features.length?c:null},X.prototype.getClusterExpansionZoom=function(t){for(var e=this._getOriginZoom(t)-1;e<=this.options.maxZoom;){var r=this.getChildren(t);if(e++,1!==r.length)break;t=r[0].properties.cluster_id}return e},X.prototype._appendLeaves=function(t,e,r,i,n){for(var o=0,a=this.getChildren(e);o<a.length;o+=1){var s=a[o],l=s.properties;if(l&&l.cluster?n+l.point_count<=i?n+=l.point_count:n=this._appendLeaves(t,l.cluster_id,r,i,n):n<i?n++:t.push(s),t.length===r)break}return n},X.prototype._addTileFeatures=function(t,e,r,i,n,o){for(var a=0,s=t;a<s.length;a+=1){var l=e[s[a]],u=l.numPoints,c={type:1,geometry:[[Math.round(this.options.extent*(l.x*n-r)),Math.round(this.options.extent*(l.y*n-i))]],tags:u?J(l):this.points[l.index].properties},p=void 0;u?p=l.id:this.options.generateId?p=l.index:this.points[l.index].id&&(p=this.points[l.index].id),void 0!==p&&(c.id=p),o.features.push(c)}},X.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(t,this.options.maxZoom+1))},X.prototype._cluster=function(t,e){for(var r=[],i=this.options,n=i.radius,o=i.extent,a=i.reduce,s=n/(o*Math.pow(2,e)),l=0;l<t.length;l++){var u=t[l];if(!(u.zoom<=e)){u.zoom=e;for(var c=this.trees[e+1],p=c.within(u.x,u.y,s),h=u.numPoints||1,f=u.x*h,d=u.y*h,m=a&&h>1?this._map(u,!0):null,y=(l<<5)+(e+1)+this.points.length,_=0,g=p;_<g.length;_+=1){var v=g[_],x=c.points[v];if(!(x.zoom<=e)){x.zoom=e;var b=x.numPoints||1;f+=x.x*b,d+=x.y*b,h+=b,x.parentId=y,a&&(m||(m=this._map(u,!0)),a(m,this._map(x)))}}1===h?r.push(u):(u.parentId=y,r.push(W(f/h,d/h,y,h,m)))}}return r},X.prototype._getOriginId=function(t){return t-this.points.length>>5},X.prototype._getOriginZoom=function(t){return(t-this.points.length)%32},X.prototype._map=function(t,e){if(t.numPoints)return e?$({},t.properties):t.properties;var r=this.points[t.index].properties,i=this.options.map(r);return e&&i===r?$({},i):i},It.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},It.prototype.splitTile=function(t,e,r,i,n,o,a){for(var s=[t,e,r,i],l=this.options,u=l.debug;s.length;){i=s.pop(),r=s.pop(),e=s.pop(),t=s.pop();var c=1<<e,p=At(e,r,i),h=this.tiles[p];if(!h&&(u>1&&console.time("creation"),h=this.tiles[p]=St(t,e,r,i,l),this.tileCoords.push({z:e,x:r,y:i}),u)){u>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,r,i,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var f="z"+e;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(h.source=t,n){if(e===l.maxZoom||e===n)continue;var d=1<<n-e;if(r!==Math.floor(o/d)||i!==Math.floor(a/d))continue}else if(e===l.indexMaxZoom||h.numPoints<=l.indexMaxPoints)continue;if(h.source=null,0!==t.length){u>1&&console.time("clipping");var m,y,_,g,v,x,b=.5*l.buffer/l.extent,w=.5-b,S=.5+b,E=1+b;m=y=_=g=null,v=pt(t,c,r-b,r+S,0,h.minX,h.maxX,l),x=pt(t,c,r+w,r+E,0,h.minX,h.maxX,l),t=null,v&&(m=pt(v,c,i-b,i+S,1,h.minY,h.maxY,l),y=pt(v,c,i+w,i+E,1,h.minY,h.maxY,l),v=null),x&&(_=pt(x,c,i-b,i+S,1,h.minY,h.maxY,l),g=pt(x,c,i+w,i+E,1,h.minY,h.maxY,l),x=null),u>1&&console.timeEnd("clipping"),s.push(m||[],e+1,2*r,2*i),s.push(y||[],e+1,2*r,2*i+1),s.push(_||[],e+1,2*r+1,2*i),s.push(g||[],e+1,2*r+1,2*i+1)}}},It.prototype.getTile=function(t,e,r){var i=this.options,n=i.extent,o=i.debug;if(t<0||t>24)return null;var a=1<<t,s=At(t,e=(e%a+a)%a,r);if(this.tiles[s])return bt(this.tiles[s],n);o>1&&console.log("drilling down to z%d-%d-%d",t,e,r);for(var l,u=t,c=e,p=r;!l&&u>0;)u--,c=Math.floor(c/2),p=Math.floor(p/2),l=this.tiles[At(u,c,p)];return l&&l.source?(o>1&&console.log("found parent tile z%d-%d-%d",u,c,p),o>1&&console.time("drilling down"),this.splitTile(l.source,u,c,p,t,e,r),o>1&&console.timeEnd("drilling down"),this.tiles[s]?bt(this.tiles[s],n):null):null};var Ct=function(e){function r(t,r,i,n){e.call(this,t,r,i,zt),n&&(this.loadGeoJSON=n)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadData=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=e,this._pendingLoadDataParams=t,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},r.prototype._loadData=function(){var e=this;if(this._pendingCallback&&this._pendingLoadDataParams){var r=this._pendingCallback,i=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var n=!!(i&&i.request&&i.request.collectResourceTiming)&&new l.Performance(i.request);this.loadGeoJSON(i,(function(o,a){if(o||!a)return r(o);if("object"!=typeof a)return r(new Error("Input data given to '"+i.source+"' is not a valid GeoJSON object."));!function t(e,r){switch(e&&e.type||null){case"FeatureCollection":return e.features=e.features.map(g(t,r)),e;case"GeometryCollection":return e.geometries=e.geometries.map(g(t,r)),e;case"Feature":return e.geometry=t(e.geometry,r),e;case"Polygon":case"MultiPolygon":return function(t,e){return"Polygon"===t.type?t.coordinates=v(t.coordinates,e):"MultiPolygon"===t.type&&(t.coordinates=t.coordinates.map(g(v,e))),t}(e,r);default:return e}}(a,!0);try{e._geoJSONIndex=i.cluster?new X(function(e){var r=e.superclusterOptions,i=e.clusterProperties;if(!i||!r)return r;for(var n={},o={},a={accumulated:null,zoom:0},s={properties:null},l=Object.keys(i),u=0,c=l;u<c.length;u+=1){var p=c[u],h=i[p],f=h[0],d=h[1],m=t.createExpression(d),y=t.createExpression("string"==typeof f?[f,["accumulated"],["get",p]]:f);n[p]=m.value,o[p]=y.value}return r.map=function(t){s.properties=t;for(var e={},r=0,i=l;r<i.length;r+=1){var o=i[r];e[o]=n[o].evaluate(a,s)}return e},r.reduce=function(t,e){s.properties=e;for(var r=0,i=l;r<i.length;r+=1){var n=i[r];a.accumulated=t[n],t[n]=o[n].evaluate(a,s)}},r}(i)).load(a.features):function(t,e){return new It(t,e)}(a,i.geojsonVtOptions)}catch(o){return r(o)}e.loaded={};var s={};if(n){var l=n.finish();l&&(s.resourceTiming={},s.resourceTiming[i.source]=JSON.parse(JSON.stringify(l)))}r(null,s)}))}},r.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},r.prototype.reloadTile=function(t,r){var i=this.loaded,n=t.uid;return i&&i[n]?e.prototype.reloadTile.call(this,t,r):this.loadTile(t,r)},r.prototype.loadGeoJSON=function(e,r){if(e.request)t.getJSON(e.request,r);else{if("string"!=typeof e.data)return r(new Error("Input data given to '"+e.source+"' is not a valid GeoJSON object."));try{return r(null,JSON.parse(e.data))}catch(t){return r(new Error("Input data given to '"+e.source+"' is not a valid GeoJSON object."))}}},r.prototype.removeSource=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),e()},r.prototype.getClusterExpansionZoom=function(t,e){e(null,this._geoJSONIndex.getClusterExpansionZoom(t.clusterId))},r.prototype.getClusterChildren=function(t,e){e(null,this._geoJSONIndex.getChildren(t.clusterId))},r.prototype.getClusterLeaves=function(t,e){e(null,this._geoJSONIndex.getLeaves(t.clusterId,t.limit,t.offset))},r}(p),kt=function(e){var r=this;this.self=e,this.actor=new t.Actor(e,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:p,geojson:Ct},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(t,e){if(r.workerSourceTypes[t])throw new Error('Worker source with name "'+t+'" already registered.');r.workerSourceTypes[t]=e},this.self.registerRTLTextPlugin=function(e){if(t.plugin.isParsed())throw new Error("RTL text plugin already registered.");t.plugin.applyArabicShaping=e.applyArabicShaping,t.plugin.processBidirectionalText=e.processBidirectionalText,t.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}};return kt.prototype.setReferrer=function(t,e){this.referrer=e},kt.prototype.setImages=function(t,e,r){this.availableImages[t]=e,r()},kt.prototype.setLayers=function(t,e,r){this.getLayerIndex(t).replace(e),r()},kt.prototype.updateLayers=function(t,e,r){this.getLayerIndex(t).update(e.layers,e.removedIds),r()},kt.prototype.loadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).loadTile(e,r)},kt.prototype.loadDEMTile=function(t,e,r){this.getDEMWorkerSource(t,e.source).loadTile(e,r)},kt.prototype.reloadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).reloadTile(e,r)},kt.prototype.abortTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).abortTile(e,r)},kt.prototype.removeTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).removeTile(e,r)},kt.prototype.removeDEMTile=function(t,e){this.getDEMWorkerSource(t,e.source).removeTile(e)},kt.prototype.removeSource=function(t,e,r){if(this.workerSources[t]&&this.workerSources[t][e.type]&&this.workerSources[t][e.type][e.source]){var i=this.workerSources[t][e.type][e.source];delete this.workerSources[t][e.type][e.source],void 0!==i.removeSource?i.removeSource(e,r):r()}},kt.prototype.loadWorkerSource=function(t,e,r){try{this.self.importScripts(e.url),r()}catch(t){r(t.toString())}},kt.prototype.syncRTLPluginState=function(e,r,i){try{t.plugin.setState(r);var n=t.plugin.getPluginURL();if(t.plugin.isLoaded()&&!t.plugin.isParsed()&&null!=n){this.self.importScripts(n);var o=t.plugin.isParsed();i(o?void 0:new Error("RTL Text Plugin failed to import scripts from "+n),o)}}catch(t){i(t.toString())}},kt.prototype.getAvailableImages=function(t){var e=this.availableImages[t];return e||(e=[]),e},kt.prototype.getLayerIndex=function(t){var e=this.layerIndexes[t];return e||(e=this.layerIndexes[t]=new i),e},kt.prototype.getWorkerSource=function(t,e,r){var i=this;if(this.workerSources[t]||(this.workerSources[t]={}),this.workerSources[t][e]||(this.workerSources[t][e]={}),!this.workerSources[t][e][r]){var n={send:function(e,r,n){i.actor.send(e,r,n,t)}};this.workerSources[t][e][r]=new this.workerSourceTypes[e](n,this.getLayerIndex(t),this.getAvailableImages(t))}return this.workerSources[t][e][r]},kt.prototype.getDEMWorkerSource=function(t,e){return this.demWorkerSources[t]||(this.demWorkerSources[t]={}),this.demWorkerSources[t][e]||(this.demWorkerSources[t][e]=new h),this.demWorkerSources[t][e]},kt.prototype.enforceCacheSizeLimit=function(e,r){t.enforceCacheSizeLimit(r)},"undefined"!=typeof WorkerGlobalScope&&void 0!==t.window&&t.window instanceof WorkerGlobalScope&&(t.window.worker=new kt(t.window)),kt})),i(0,(function(t){var e=t.createCommonjsModule((function(t){function e(t){return!!("undefined"!=typeof window&&"undefined"!=typeof document&&Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray&&Function.prototype&&Function.prototype.bind&&Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions&&"JSON"in window&&"parse"in JSON&&"stringify"in JSON&&function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,r=new Blob([""],{type:"text/javascript"}),i=URL.createObjectURL(r);try{e=new Worker(i),t=!0}catch(e){t=!1}return e&&e.terminate(),URL.revokeObjectURL(i),t}()&&"Uint8ClampedArray"in window&&ArrayBuffer.isView&&function(t){return void 0===r[t]&&(r[t]=function(t){var r=document.createElement("canvas"),i=Object.create(e.webGLContextAttributes);return i.failIfMajorPerformanceCaveat=t,r.probablySupportsContext?r.probablySupportsContext("webgl",i)||r.probablySupportsContext("experimental-webgl",i):r.supportsContext?r.supportsContext("webgl",i)||r.supportsContext("experimental-webgl",i):r.getContext("webgl",i)||r.getContext("experimental-webgl",i)}(t)),r[t]}(t&&t.failIfMajorPerformanceCaveat))}t.exports?t.exports=e:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=e);var r={};e.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),r={create:function(e,r,i){var n=t.window.document.createElement(e);return void 0!==r&&(n.className=r),i&&i.appendChild(n),n},createNS:function(e,r){return t.window.document.createElementNS(e,r)}},i=t.window.document.documentElement.style;function n(t){if(!i)return t[0];for(var e=0;e<t.length;e++)if(t[e]in i)return t[e];return t[0]}var o,a=n(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);r.disableDrag=function(){i&&a&&(o=i[a],i[a]="none")},r.enableDrag=function(){i&&a&&(i[a]=o)};var s=n(["transform","WebkitTransform"]);r.setTransform=function(t,e){t.style[s]=e};var l=!1;try{var u=Object.defineProperty({},"passive",{get:function(){l=!0}});t.window.addEventListener("test",u,u),t.window.removeEventListener("test",u,u)}catch(t){l=!1}r.addEventListener=function(t,e,r,i){void 0===i&&(i={}),"passive"in i&&l?t.addEventListener(e,r,i):t.addEventListener(e,r,i.capture)},r.removeEventListener=function(t,e,r,i){void 0===i&&(i={}),"passive"in i&&l?t.removeEventListener(e,r,i):t.removeEventListener(e,r,i.capture)};var c=function(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener("click",c,!0)};function p(t){var e=t.userImage;return!!(e&&e.render&&e.render())&&(t.data.replace(new Uint8Array(e.data.buffer)),!0)}r.suppressClick=function(){t.window.addEventListener("click",c,!0),t.window.setTimeout((function(){t.window.removeEventListener("click",c,!0)}),0)},r.mousePos=function(e,r){var i=e.getBoundingClientRect(),n=t.window.TouchEvent&&r instanceof t.window.TouchEvent?r.touches[0]:r;return new t.Point(n.clientX-i.left-e.clientLeft,n.clientY-i.top-e.clientTop)},r.touchPos=function(e,r){for(var i=e.getBoundingClientRect(),n=[],o="touchend"===r.type?r.changedTouches:r.touches,a=0;a<o.length;a++)n.push(new t.Point(o[a].clientX-i.left-e.clientLeft,o[a].clientY-i.top-e.clientTop));return n},r.mouseButton=function(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button},r.remove=function(t){t.parentNode&&t.parentNode.removeChild(t)};var h=function(e){function r(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.isLoaded=function(){return this.loaded},r.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,r=this.requestors;e<r.length;e+=1){var i=r[e],n=i.ids,o=i.callback;this._notify(n,o)}this.requestors=[]}},r.prototype.getImage=function(t){return this.images[t]},r.prototype.addImage=function(t,e){this._validate(t,e)&&(this.images[t]=e)},r.prototype._validate=function(e,r){var i=!0;return this._validateStretch(r.stretchX,r.data&&r.data.width)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchX" value'))),i=!1),this._validateStretch(r.stretchY,r.data&&r.data.height)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "stretchY" value'))),i=!1),this._validateContent(r.content,r)||(this.fire(new t.ErrorEvent(new Error('Image "'+e+'" has invalid "content" value'))),i=!1),i},r.prototype._validateStretch=function(t,e){if(!t)return!0;for(var r=0,i=0,n=t;i<n.length;i+=1){var o=n[i];if(o[0]<r||o[1]<o[0]||e<o[1])return!1;r=o[1]}return!0},r.prototype._validateContent=function(t,e){return!(t&&(4!==t.length||t[0]<0||e.data.width<t[0]||t[1]<0||e.data.height<t[1]||t[2]<0||e.data.width<t[2]||t[3]<0||e.data.height<t[3]||t[2]<t[0]||t[3]<t[1]))},r.prototype.updateImage=function(t,e){var r=this.images[t];e.version=r.version+1,this.images[t]=e,this.updatedImages[t]=!0},r.prototype.removeImage=function(t){var e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()},r.prototype.listImages=function(){return Object.keys(this.images)},r.prototype.getImages=function(t,e){var r=!0;if(!this.isLoaded())for(var i=0,n=t;i<n.length;i+=1){var o=n[i];this.images[o]||(r=!1)}this.isLoaded()||r?this._notify(t,e):this.requestors.push({ids:t,callback:e})},r.prototype._notify=function(e,r){for(var i={},n=0,o=e;n<o.length;n+=1){var a=o[n];this.images[a]||this.fire(new t.Event("styleimagemissing",{id:a}));var s=this.images[a];s?i[a]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,stretchX:s.stretchX,stretchY:s.stretchY,content:s.content,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:t.warnOnce('Image "'+a+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}r(null,i)},r.prototype.getPixelSize=function(){var t=this.atlasImage;return{width:t.width,height:t.height}},r.prototype.getPattern=function(e){var r=this.patterns[e],i=this.getImage(e);if(!i)return null;if(r&&r.position.version===i.version)return r.position;if(r)r.position.version=i.version;else{var n={w:i.data.width+2,h:i.data.height+2,x:0,y:0},o=new t.ImagePosition(n,i);this.patterns[e]={bin:n,position:o}}return this._updatePatternAtlas(),this.patterns[e].position},r.prototype.bind=function(e){var r=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,r.RGBA),this.atlasTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)},r.prototype._updatePatternAtlas=function(){var e=[];for(var r in this.patterns)e.push(this.patterns[r].bin);var i=t.potpack(e),n=i.w,o=i.h,a=this.atlasImage;for(var s in a.resize({width:n||1,height:o||1}),this.patterns){var l=this.patterns[s].bin,u=l.x+1,c=l.y+1,p=this.images[s].data,h=p.width,f=p.height;t.RGBAImage.copy(p,a,{x:0,y:0},{x:u,y:c},{width:h,height:f}),t.RGBAImage.copy(p,a,{x:0,y:f-1},{x:u,y:c-1},{width:h,height:1}),t.RGBAImage.copy(p,a,{x:0,y:0},{x:u,y:c+f},{width:h,height:1}),t.RGBAImage.copy(p,a,{x:h-1,y:0},{x:u-1,y:c},{width:1,height:f}),t.RGBAImage.copy(p,a,{x:0,y:0},{x:u+h,y:c},{width:1,height:f})}this.dirty=!0},r.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},r.prototype.dispatchRenderCallbacks=function(t){for(var e=0,r=t;e<r.length;e+=1){var i=r[e];if(!this.callbackDispatchedThisFrame[i]){this.callbackDispatchedThisFrame[i]=!0;var n=this.images[i];p(n)&&this.updateImage(i,n)}}},r}(t.Evented),f=y,d=y,m=1e20;function y(t,e,r,i,n,o){this.fontSize=t||24,this.buffer=void 0===e?3:e,this.cutoff=i||.25,this.fontFamily=n||"sans-serif",this.fontWeight=o||"normal",this.radius=r||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function _(t,e,r,i,n,o,a){for(var s=0;s<e;s++){for(var l=0;l<r;l++)i[l]=t[l*e+s];for(g(i,n,o,a,r),l=0;l<r;l++)t[l*e+s]=n[l]}for(l=0;l<r;l++){for(s=0;s<e;s++)i[s]=t[l*e+s];for(g(i,n,o,a,e),s=0;s<e;s++)t[l*e+s]=Math.sqrt(n[s])}}function g(t,e,r,i,n){r[0]=0,i[0]=-m,i[1]=+m;for(var o=1,a=0;o<n;o++){for(var s=(t[o]+o*o-(t[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);s<=i[a];)a--,s=(t[o]+o*o-(t[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);r[++a]=o,i[a]=s,i[a+1]=+m}for(o=0,a=0;o<n;o++){for(;i[a+1]<o;)a++;e[o]=(o-r[a])*(o-r[a])+t[r[a]]}}y.prototype.draw=function(t){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(t,this.buffer,this.middle);for(var e=this.ctx.getImageData(0,0,this.size,this.size),r=new Uint8ClampedArray(this.size*this.size),i=0;i<this.size*this.size;i++){var n=e.data[4*i+3]/255;this.gridOuter[i]=1===n?0:0===n?m:Math.pow(Math.max(0,.5-n),2),this.gridInner[i]=1===n?m:0===n?0:Math.pow(Math.max(0,n-.5),2)}for(_(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),_(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),i=0;i<this.size*this.size;i++){var o=this.gridOuter[i]-this.gridInner[i];r[i]=Math.max(0,Math.min(255,Math.round(255-255*(o/this.radius+this.cutoff))))}return r},f.default=d;var v=function(t,e){this.requestManager=t,this.localIdeographFontFamily=e,this.entries={}};v.prototype.setURL=function(t){this.url=t},v.prototype.getGlyphs=function(e,r){var i=this,n=[];for(var o in e)for(var a=0,s=e[o];a<s.length;a+=1){var l=s[a];n.push({stack:o,id:l})}t.asyncAll(n,(function(t,e){var r=t.stack,n=t.id,o=i.entries[r];o||(o=i.entries[r]={glyphs:{},requests:{}});var a=o.glyphs[n];if(void 0===a){if(a=i._tinySDF(o,r,n))return o.glyphs[n]=a,void e(null,{stack:r,id:n,glyph:a});var s=Math.floor(n/256);if(256*s>65535)e(new Error("glyphs > 65535 not supported"));else{var l=o.requests[s];l||(l=o.requests[s]=[],v.loadGlyphRange(r,s,i.url,i.requestManager,(function(t,e){if(e)for(var r in e)i._doesCharSupportLocalGlyph(+r)||(o.glyphs[+r]=e[+r]);for(var n=0,a=l;n<a.length;n+=1)(0,a[n])(t,e);delete o.requests[s]}))),l.push((function(t,i){t?e(t):i&&e(null,{stack:r,id:n,glyph:i[n]||null})}))}}else e(null,{stack:r,id:n,glyph:a})}),(function(t,e){if(t)r(t);else if(e){for(var i={},n=0,o=e;n<o.length;n+=1){var a=o[n],s=a.stack,l=a.id,u=a.glyph;(i[s]||(i[s]={}))[l]=u&&{id:u.id,bitmap:u.bitmap.clone(),metrics:u.metrics}}r(null,i)}}))},v.prototype._doesCharSupportLocalGlyph=function(e){return!!this.localIdeographFontFamily&&(t.isChar["CJK Unified Ideographs"](e)||t.isChar["Hangul Syllables"](e)||t.isChar.Hiragana(e)||t.isChar.Katakana(e))},v.prototype._tinySDF=function(e,r,i){var n=this.localIdeographFontFamily;if(n&&this._doesCharSupportLocalGlyph(i)){var o=e.tinySDF;if(!o){var a="400";/bold/i.test(r)?a="900":/medium/i.test(r)?a="500":/light/i.test(r)&&(a="200"),o=e.tinySDF=new v.TinySDF(24,3,8,.25,n,a)}return{id:i,bitmap:new t.AlphaImage({width:30,height:30},o.draw(String.fromCharCode(i))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},v.loadGlyphRange=function(e,r,i,n,o){var a=256*r,s=a+255,l=n.transformRequest(n.normalizeGlyphsURL(i).replace("{fontstack}",e).replace("{range}",a+"-"+s),t.ResourceType.Glyphs);t.getArrayBuffer(l,(function(e,r){if(e)o(e);else if(r){for(var i={},n=0,a=t.parseGlyphPBF(r);n<a.length;n+=1){var s=a[n];i[s.id]=s}o(null,i)}}))},v.TinySDF=f;var x=function(){this.specification=t.styleSpec.light.position};x.prototype.possiblyEvaluate=function(e,r){return t.sphericalToCartesian(e.expression.evaluate(r))},x.prototype.interpolate=function(e,r,i){return{x:t.number(e.x,r.x,i),y:t.number(e.y,r.y,i),z:t.number(e.z,r.z,i)}};var b=new t.Properties({anchor:new t.DataConstantProperty(t.styleSpec.light.anchor),position:new x,color:new t.DataConstantProperty(t.styleSpec.light.color),intensity:new t.DataConstantProperty(t.styleSpec.light.intensity)}),w=function(e){function r(r){e.call(this),this._transitionable=new t.Transitionable(b),this.setLight(r),this._transitioning=this._transitionable.untransitioned()}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getLight=function(){return this._transitionable.serialize()},r.prototype.setLight=function(e,r){if(void 0===r&&(r={}),!this._validate(t.validateLight,e,r))for(var i in e){var n=e[i];t.endsWith(i,"-transition")?this._transitionable.setTransition(i.slice(0,-"-transition".length),n):this._transitionable.setValue(i,n)}},r.prototype.updateTransitions=function(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)},r.prototype.hasTransition=function(){return this._transitioning.hasTransition()},r.prototype.recalculate=function(t){this.properties=this._transitioning.possiblyEvaluate(t)},r.prototype._validate=function(e,r,i){return(!i||!1!==i.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:t.styleSpec})))},r}(t.Evented),S=function(t,e){this.width=t,this.height=e,this.nextRow=0,this.bytes=4,this.data=new Uint8Array(this.width*this.height*this.bytes),this.positions={}};S.prototype.getDash=function(t,e){var r=t.join(",")+String(e);return this.positions[r]||(this.positions[r]=this.addDash(t,e)),this.positions[r]},S.prototype.addDash=function(e,r){var i=r?7:0,n=2*i+1;if(this.nextRow+n>this.height)return t.warnOnce("LineAtlas out of space"),null;for(var o=0,a=0;a<e.length;a++)o+=e[a];for(var s=this.width/o,l=s/2,u=e.length%2==1,c=-i;c<=i;c++)for(var p=this.nextRow+i+c,h=this.width*p,f=u?-e[e.length-1]:0,d=e[0],m=1,y=0;y<this.width;y++){for(;d<y/s;)f=d,d+=e[m],u&&m===e.length-1&&(d+=e[0]),m++;var _=Math.abs(y-f*s),g=Math.abs(y-d*s),v=Math.min(_,g),x=m%2==1,b=void 0;if(r){var w=i?c/i*(l+1):0;if(x){var S=l-Math.abs(w);b=Math.sqrt(v*v+S*S)}else b=l-Math.sqrt(v*v+w*w)}else b=(x?1:-1)*v;this.data[3+4*(h+y)]=Math.max(0,Math.min(255,b+128))}var E={y:(this.nextRow+i+.5)/this.height,height:2*i/this.height,width:o};return this.nextRow+=n,this.dirty=!0,E},S.prototype.bind=function(t){var e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.RGBA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,this.width,this.height,0,e.RGBA,e.UNSIGNED_BYTE,this.data))};var E=function e(r,i){this.workerPool=r,this.actors=[],this.currentActor=0,this.id=t.uniqueId();for(var n=this.workerPool.acquire(this.id),o=0;o<n.length;o++){var a=n[o],s=new e.Actor(a,i,this.id);s.name="Worker "+o,this.actors.push(s)}};function T(e,r,i){var n=function(n,o){if(n)return i(n);if(o){var a=t.pick(t.extend(o,e),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);o.vector_layers&&(a.vectorLayers=o.vector_layers,a.vectorLayerIds=a.vectorLayers.map((function(t){return t.id}))),e.url&&(a.tiles=r.canonicalizeTileset(a,e.url)),i(null,a)}};return e.url?t.getJSON(r.transformRequest(r.normalizeSourceURL(e.url),t.ResourceType.Source),n):t.browser.frame((function(){return n(null,e)}))}E.prototype.broadcast=function(e,r,i){i=i||function(){},t.asyncAll(this.actors,(function(t,i){t.send(e,r,i)}),i)},E.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},E.prototype.remove=function(){this.actors.forEach((function(t){t.remove()})),this.actors=[],this.workerPool.release(this.id)},E.Actor=t.Actor;var I=function(e,r,i){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=r||0,this.maxzoom=i||24};I.prototype.validateBounds=function(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]},I.prototype.contains=function(e){var r=Math.pow(2,e.z),i=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*r),n=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*r),o=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*r),a=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*r);return e.x>=i&&e.x<o&&e.y>=n&&e.y<a};var A=function(e){function r(r,i,n,o){if(e.call(this),this.id=r,this.dispatcher=n,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,t.extend(this,t.pick(i,["url","scheme","tileSize"])),this._options=t.extend({type:"vector"},i),this._collectResourceTiming=i.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(o)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=T(this._options,this.map._requestManager,(function(r,i){e._tileJSONRequest=null,e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):i&&(t.extend(e,i),i.bounds&&(e.tileBounds=new I(i.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(i.tiles,e.map._requestManager._customAccessToken),t.postMapLoadEvent(i.tiles,e.map._getMapId(),e.map._requestManager._skuToken,e.map._requestManager._customAccessToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.loadTile=function(e,r){var i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,null),n={request:this.map._requestManager.transformRequest(i,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};function o(i,n){return delete e.request,e.aborted?r(null):i&&404!==i.status?r(i):(n&&n.resourceTiming&&(e.resourceTiming=n.resourceTiming),this.map._refreshExpiredTiles&&n&&e.setExpiryData(n),e.loadVectorData(n,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),r(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}n.request.collectResourceTiming=this._collectResourceTiming,e.actor&&"expired"!==e.state?"loading"===e.state?e.reloadCallback=r:e.request=e.actor.send("reloadTile",n,o.bind(this)):(e.actor=this.dispatcher.getActor(),e.request=e.actor.send("loadTile",n,o.bind(this)))},r.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send("abortTile",{uid:t.uid,type:this.type,source:this.id},void 0)},r.prototype.unloadTile=function(t){t.unloadVectorData(),t.clearMask(),t.actor&&t.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id},void 0)},r.prototype.hasTransition=function(){return!1},r}(t.Evented),z=function(e){function r(r,i,n,o){e.call(this),this.id=r,this.dispatcher=n,this.setEventedParent(o),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.extend({type:"raster"},i),t.extend(this,t.pick(i,["url","scheme","tileSize"]))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=T(this._options,this.map._requestManager,(function(r,i){e._tileJSONRequest=null,e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):i&&(t.extend(e,i),i.bounds&&(e.tileBounds=new I(i.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(i.tiles),t.postMapLoadEvent(i.tiles,e.map._getMapId(),e.map._requestManager._skuToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.loadTile=function(e,r){var i=this,n=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);e.request=t.getImage(this.map._requestManager.transformRequest(n,t.ResourceType.Tile),(function(n,o){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(n)e.state="errored",r(n);else if(o){i.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=i.map.painter.context,s=a.gl;e.texture=i.map.painter.getTileTexture(o.width),e.texture?e.texture.update(o,{useMipmap:!0}):(e.texture=new t.Texture(a,o,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),a.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,a.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,a.extTextureFilterAnisotropicMax)),e.state="loaded",t.cacheEntryPossiblyAdded(i.dispatcher),r(null)}}))},r.prototype.abortTile=function(t,e){t.request&&(t.request.cancel(),delete t.request),e()},r.prototype.unloadTile=function(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),t.clearMask(),e()},r.prototype.hasTransition=function(){return!1},r}(t.Evented),C=function(e){function r(r,i,n,o){e.call(this,r,i,n,o),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({type:"raster-dem"},i),this.encoding=i.encoding||"mapbox"}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},r.prototype.loadTile=function(e,r){var i=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);function n(t,i){t&&(e.state="errored",r(t)),i&&(e.dem=i,e.needsHillshadePrepare=!0,e.state="loaded",r(null))}e.request=t.getImage(this.map._requestManager.transformRequest(i,t.ResourceType.Tile),function(i,o){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(i)e.state="errored",r(i);else if(o){this.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=t.browser.getImageData(o,1),s={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:a,encoding:this.encoding};e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send("loadDEMTile",s,n.bind(this)))}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID)},r.prototype._getNeighboringTiles=function(e){var r=e.canonical,i=Math.pow(2,r.z),n=(r.x-1+i)%i,o=0===r.x?e.wrap-1:e.wrap,a=(r.x+1+i)%i,s=r.x+1===i?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y).key]={backfilled:!1},r.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y-1).key]={backfilled:!1}),r.y+1<i&&(l[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y+1).key]={backfilled:!1}),l},r.prototype.unloadTile=function(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.clearMask(),t.state="unloaded",t.actor&&t.actor.send("removeDEMTile",{uid:t.uid,source:this.id})},r}(z),k=function(e){function r(r,i,n,o){e.call(this),this.id=r,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=n.getActor(),this.setEventedParent(o),this._data=i.data,this._options=t.extend({},i),this._collectResourceTiming=i.collectResourceTiming,this._resourceTiming=[],void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution);var a=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:i.cluster||!1,geojsonVtOptions:{buffer:(void 0!==i.buffer?i.buffer:128)*a,tolerance:(void 0!==i.tolerance?i.tolerance:.375)*a,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1},superclusterOptions:{maxZoom:void 0!==i.clusterMaxZoom?Math.min(i.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:t.EXTENT,radius:(i.clusterRadius||50)*a,log:!1,generateId:i.generateId||!1},clusterProperties:i.clusterProperties},i.workerOptions)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(r){if(r)e.fire(new t.ErrorEvent(r));else{var i={dataType:"source",sourceDataType:"metadata"};e._collectResourceTiming&&e._resourceTiming&&e._resourceTiming.length>0&&(i.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event("data",i))}}))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setData=function(e){var r=this;return this._data=e,this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(e){if(e)r.fire(new t.ErrorEvent(e));else{var i={dataType:"source",sourceDataType:"content"};r._collectResourceTiming&&r._resourceTiming&&r._resourceTiming.length>0&&(i.resourceTiming=r._resourceTiming,r._resourceTiming=[]),r.fire(new t.Event("data",i))}})),this},r.prototype.getClusterExpansionZoom=function(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this},r.prototype.getClusterChildren=function(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this},r.prototype.getClusterLeaves=function(t,e,r,i){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:r},i),this},r.prototype._updateWorkerData=function(e){var r=this;this._loaded=!1;var i=t.extend({},this.workerOptions),n=this._data;"string"==typeof n?(i.request=this.map._requestManager.transformRequest(t.browser.resolveURL(n),t.ResourceType.Source),i.request.collectResourceTiming=this._collectResourceTiming):i.data=JSON.stringify(n),this.actor.send(this.type+".loadData",i,(function(t,n){r._removed||n&&n.abandoned||(r._loaded=!0,n&&n.resourceTiming&&n.resourceTiming[r.id]&&(r._resourceTiming=n.resourceTiming[r.id].slice(0)),r.actor.send(r.type+".coalesce",{source:i.source},null),e(t))}))},r.prototype.loaded=function(){return this._loaded},r.prototype.loadTile=function(e,r){var i=this,n=e.actor?"reloadTile":"loadTile";e.actor=this.actor;var o={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};e.request=this.actor.send(n,o,(function(t,o){return delete e.request,e.unloadVectorData(),e.aborted?r(null):t?r(t):(e.loadVectorData(o,i.map.painter,"reloadTile"===n),r(null))}))},r.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0},r.prototype.unloadTile=function(t){t.unloadVectorData(),t.clearMask(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id})},r.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id})},r.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},r.prototype.hasTransition=function(){return!1},r}(t.Evented),P=function(e){function r(t,r,i,n){e.call(this),this.id=t,this.dispatcher=i,this.coordinates=r.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(n),this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(e,r){var i=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),(function(n,o){i._loaded=!0,n?i.fire(new t.ErrorEvent(n)):o&&(i.image=o,e&&(i.coordinates=e),r&&r(),i._finishLoading())}))},r.prototype.loaded=function(){return this._loaded},r.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null})),this):this},r.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setCoordinates=function(e){var r=this;this.coordinates=e;var i=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var r=1/0,i=1/0,n=-1/0,o=-1/0,a=0,s=e;a<s.length;a+=1){var l=s[a];r=Math.min(r,l.x),i=Math.min(i,l.y),n=Math.max(n,l.x),o=Math.max(o,l.y)}var u=n-r,c=o-i,p=Math.max(u,c),h=Math.max(0,Math.floor(-Math.log(p)/Math.LN2)),f=Math.pow(2,h);return new t.CanonicalTileID(h,Math.floor((r+n)/2*f),Math.floor((i+o)/2*f))}(i),this.minzoom=this.maxzoom=this.tileID.z;var n=i.map((function(t){return r.tileID.getTilePoint(t)._round()}));return this._boundsArray=new t.StructArrayLayout4i8,this._boundsArray.emplaceBack(n[0].x,n[0].y,0,0),this._boundsArray.emplaceBack(n[1].x,n[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(n[3].x,n[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(n[2].x,n[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this},r.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,r=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new t.Texture(e,this.image,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var n=this.tiles[i];"loaded"!==n.state&&(n.state="loaded",n.texture=this.texture)}}},r.prototype.loadTile=function(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null))},r.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return!1},r}(t.Evented),M=function(e){function r(t,r,i,n){e.call(this,t,r,i,n),this.roundZoom=!0,this.type="video",this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this._loaded=!1;var r=this.options;this.urls=[];for(var i=0,n=r.urls;i<n.length;i+=1){var o=n[i];this.urls.push(this.map._requestManager.transformRequest(o,t.ResourceType.Source).url)}t.getVideo(this.urls,(function(r,i){e._loaded=!0,r?e.fire(new t.ErrorEvent(r)):i&&(e.video=i,e.video.loop=!0,e.video.addEventListener("playing",(function(){e.map.triggerRepaint()})),e.map&&e.video.play(),e._finishLoading())}))},r.prototype.pause=function(){this.video&&this.video.pause()},r.prototype.play=function(){this.video&&this.video.play()},r.prototype.seek=function(e){if(this.video){var r=this.video.seekable;e<r.start(0)||e>r.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError("sources."+this.id,null,"Playback for this video can be set only between the "+r.start(0)+" and "+r.end(0)+"-second mark."))):this.video.currentTime=e}},r.prototype.getVideo=function(){return this.video},r.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},r.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,r=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),r.texSubImage2D(r.TEXTURE_2D,0,0,0,r.RGBA,r.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var n=this.tiles[i];"loaded"!==n.state&&(n.state="loaded",n.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this.video&&!this.video.paused},r}(P),L=function(e){function r(r,i,n,o){e.call(this,r,i,n,o),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return"number"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},r.prototype.getCanvas=function(){return this.canvas},r.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()},r.prototype.onRemove=function(){this.pause()},r.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var r=this.map.painter.context,i=r.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=r.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(r,this.canvas,i.RGBA,{premultiply:!0}),this.tiles){var o=this.tiles[n];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this._playing},r.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];t<e.length;t+=1){var r=e[t];if(isNaN(r)||r<=0)return!0}return!1},r}(P),D={vector:A,raster:z,"raster-dem":C,geojson:k,video:M,image:P,canvas:L};function B(e,r){var i=t.identity([]);return t.translate(i,i,[1,1,0]),t.scale(i,i,[.5*e.width,.5*e.height,1]),t.multiply(i,i,e.calculatePosMatrix(r.toUnwrapped()))}function R(t,e,r,i,n){var o=function(t,e,r){if(t)for(var i=0,n=t;i<n.length;i+=1){var o=e[n[i]];if(o&&o.source===r&&"fill-extrusion"===o.type)return!0}else for(var a in e){var s=e[a];if(s.source===r&&"fill-extrusion"===s.type)return!0}return!1}(i&&i.layers,e,t.id),a=n.maxPitchScaleFactor(),s=t.tilesIn(r,a,o);s.sort(F);for(var l=[],u=0,c=s;u<c.length;u+=1){var p=c[u];l.push({wrappedTileID:p.tileID.wrapped().key,queryResults:p.tile.queryRenderedFeatures(e,t._state,p.queryGeometry,p.cameraQueryGeometry,p.scale,i,n,a,B(t.transform,p.tileID))})}var h=function(t){for(var e={},r={},i=0,n=t;i<n.length;i+=1){var o=n[i],a=o.queryResults,s=o.wrappedTileID,l=r[s]=r[s]||{};for(var u in a)for(var c=a[u],p=l[u]=l[u]||{},h=e[u]=e[u]||[],f=0,d=c;f<d.length;f+=1){var m=d[f];p[m.featureIndex]||(p[m.featureIndex]=!0,h.push(m))}}return e}(l);for(var f in h)h[f].forEach((function(e){var r=e.feature,i=t.getFeatureState(r.layer["source-layer"],r.id);r.source=r.layer.source,r.layer["source-layer"]&&(r.sourceLayer=r.layer["source-layer"]),r.state=i}));return h}function F(t,e){var r=t.tileID,i=e.tileID;return r.overscaledZ-i.overscaledZ||r.canonical.y-i.canonical.y||r.wrap-i.wrap||r.canonical.x-i.canonical.x}var O=function(t,e){this.max=t,this.onRemove=e,this.reset()};O.prototype.reset=function(){for(var t in this.data)for(var e=0,r=this.data[t];e<r.length;e+=1){var i=r[e];i.timeout&&clearTimeout(i.timeout),this.onRemove(i.value)}return this.data={},this.order=[],this},O.prototype.add=function(t,e,r){var i=this,n=t.wrapped().key;void 0===this.data[n]&&(this.data[n]=[]);var o={value:e,timeout:void 0};if(void 0!==r&&(o.timeout=setTimeout((function(){i.remove(t,o)}),r)),this.data[n].push(o),this.order.push(n),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},O.prototype.has=function(t){return t.wrapped().key in this.data},O.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},O.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},O.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},O.prototype.remove=function(t,e){if(!this.has(t))return this;var r=t.wrapped().key,i=void 0===e?0:this.data[r].indexOf(e),n=this.data[r][i];return this.data[r].splice(i,1),n.timeout&&clearTimeout(n.timeout),0===this.data[r].length&&delete this.data[r],this.onRemove(n.value),this.order.splice(this.order.indexOf(r),1),this},O.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this},O.prototype.filter=function(t){var e=[];for(var r in this.data)for(var i=0,n=this.data[r];i<n.length;i+=1){var o=n[i];t(o.value)||e.push(o)}for(var a=0,s=e;a<s.length;a+=1){var l=s[a];this.remove(l.value.tileID,l)}};var U=function(t,e,r){this.context=t;var i=t.gl;this.buffer=i.createBuffer(),this.dynamicDraw=Boolean(r),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),i.bufferData(i.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};U.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},U.prototype.updateData=function(t){var e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)},U.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var V={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},N=function(t,e,r,i){this.length=e.length,this.attributes=r,this.itemSize=e.bytesPerElement,this.dynamicDraw=i,this.context=t;var n=t.gl;this.buffer=n.createBuffer(),t.bindVertexBuffer.set(this.buffer),n.bufferData(n.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?n.DYNAMIC_DRAW:n.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};N.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},N.prototype.updateData=function(t){var e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)},N.prototype.enableAttributes=function(t,e){for(var r=0;r<this.attributes.length;r++){var i=this.attributes[r],n=e.attributes[i.name];void 0!==n&&t.enableVertexAttribArray(n)}},N.prototype.setVertexAttribPointers=function(t,e,r){for(var i=0;i<this.attributes.length;i++){var n=this.attributes[i],o=e.attributes[n.name];void 0!==o&&t.vertexAttribPointer(o,n.components,t[V[n.type]],!1,this.itemSize,n.offset+this.itemSize*(r||0))}},N.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var j=function(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};j.prototype.get=function(){return this.current},j.prototype.set=function(t){},j.prototype.getDefault=function(){return this.default},j.prototype.setDefault=function(){this.set(this.default)};var q=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(j),Z=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 1},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)},e}(j),G=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)},e}(j),X=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[!0,!0,!0,!0]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(j),W=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)},e}(j),K=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 255},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)},e}(j),H=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},e.prototype.set=function(t){var e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1)},e}(j),J=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1)},e}(j),Y=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}},e}(j),Q=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[0,1]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)},e}(j),$=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}},e}(j),tt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.LESS},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)},e}(j),et=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}},e}(j),rt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.ONE,t.ZERO]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)},e}(j),it=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(j),nt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.FUNC_ADD},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)},e}(j),ot=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}},e}(j),at=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.BACK},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)},e}(j),st=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.CCW},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)},e}(j),lt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)},e}(j),ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.TEXTURE0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)},e}(j),ct=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(j),pt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}},e}(j),ht=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(j),ft=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}},e}(j),dt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}},e}(j),mt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){var e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1},e}(j),yt=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)},e}(j),_t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 4},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}},e}(j),gt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}},e}(j),vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}},e}(j),xt=function(t){function e(e,r){t.call(this,e),this.context=e,this.parent=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e}(j),bt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setDirty=function(){this.dirty=!0},e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}},e}(xt),wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(xt),St=function(t,e,r){this.context=t,this.width=e,this.height=r;var i=t.gl,n=this.framebuffer=i.createFramebuffer();this.colorAttachment=new bt(t,n),this.depthAttachment=new wt(t,n)};St.prototype.destroy=function(){var t=this.context.gl,e=this.colorAttachment.get();e&&t.deleteTexture(e);var r=this.depthAttachment.get();r&&t.deleteRenderbuffer(r),t.deleteFramebuffer(this.framebuffer)};var Et=function(t,e,r){this.func=t,this.mask=e,this.range=r};Et.ReadOnly=!1,Et.ReadWrite=!0,Et.disabled=new Et(519,Et.ReadOnly,[0,1]);var Tt=function(t,e,r,i,n,o){this.test=t,this.ref=e,this.mask=r,this.fail=i,this.depthFail=n,this.pass=o};Tt.disabled=new Tt({func:519,mask:0},0,0,7680,7680,7680);var It=function(t,e,r){this.blendFunction=t,this.blendColor=e,this.mask=r};It.disabled=new It(It.Replace=[1,0],t.Color.transparent,[!1,!1,!1,!1]),It.unblended=new It(It.Replace,t.Color.transparent,[!0,!0,!0,!0]),It.alphaBlended=new It([1,771],t.Color.transparent,[!0,!0,!0,!0]);var At=function(t,e,r){this.enable=t,this.mode=e,this.frontFace=r};At.disabled=new At(!1,1029,2305),At.backCCW=new At(!0,1029,2305);var zt=function(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new q(this),this.clearDepth=new Z(this),this.clearStencil=new G(this),this.colorMask=new X(this),this.depthMask=new W(this),this.stencilMask=new K(this),this.stencilFunc=new H(this),this.stencilOp=new J(this),this.stencilTest=new Y(this),this.depthRange=new Q(this),this.depthTest=new $(this),this.depthFunc=new tt(this),this.blend=new et(this),this.blendFunc=new rt(this),this.blendColor=new it(this),this.blendEquation=new nt(this),this.cullFace=new ot(this),this.cullFaceSide=new at(this),this.frontFace=new st(this),this.program=new lt(this),this.activeTexture=new ut(this),this.viewport=new ct(this),this.bindFramebuffer=new pt(this),this.bindRenderbuffer=new ht(this),this.bindTexture=new ft(this),this.bindVertexBuffer=new dt(this),this.bindElementBuffer=new mt(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new yt(this),this.pixelStoreUnpack=new _t(this),this.pixelStoreUnpackPremultiplyAlpha=new gt(this),this.pixelStoreUnpackFlipY=new vt(this),this.extTextureFilterAnisotropic=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&t.getExtension("OES_texture_half_float_linear"),this.extTimerQuery=t.getExtension("EXT_disjoint_timer_query")};zt.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault()},zt.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},zt.prototype.createIndexBuffer=function(t,e){return new U(this,t,e)},zt.prototype.createVertexBuffer=function(t,e,r){return new N(this,t,e,r)},zt.prototype.createRenderbuffer=function(t,e,r){var i=this.gl,n=i.createRenderbuffer();return this.bindRenderbuffer.set(n),i.renderbufferStorage(i.RENDERBUFFER,t,e,r),this.bindRenderbuffer.set(null),n},zt.prototype.createFramebuffer=function(t,e){return new St(this,t,e)},zt.prototype.clear=function(t){var e=t.color,r=t.depth,i=this.gl,n=0;e&&(n|=i.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==r&&(n|=i.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(r),this.depthMask.set(!0)),i.clear(n)},zt.prototype.setCullFace=function(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))},zt.prototype.setDepthMode=function(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1)},zt.prototype.setStencilMode=function(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)},zt.prototype.setColorMode=function(e){t.deepEqual(e.blendFunction,It.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask)},zt.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var Ct=function(e){function r(r,i,n){var o=this;e.call(this),this.id=r,this.dispatcher=n,this.on("data",(function(t){"source"===t.dataType&&"metadata"===t.sourceDataType&&(o._sourceLoaded=!0),o._sourceLoaded&&!o._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(o.reload(),o.transform&&o.update(o.transform))})),this.on("error",(function(){o._sourceErrored=!0})),this._source=function(e,r,i,n){var o=new D[r.type](e,r,i,n);if(o.id!==e)throw new Error("Expected Source id to be "+e+" instead of "+o.id);return t.bindAll(["load","abort","unload","serialize","prepare"],o),o}(r,i,n,this),this._tiles={},this._cache=new O(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._coveredTiles={},this._state=new t.SourceFeatureState}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.onAdd=function(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t)},r.prototype.onRemove=function(t){this._source&&this._source.onRemove&&this._source.onRemove(t)},r.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var t in this._tiles){var e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0},r.prototype.getSource=function(){return this._source},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){if(this._paused){var t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform)}},r.prototype._loadTile=function(t,e){return this._source.loadTile(t,e)},r.prototype._unloadTile=function(t){if(this._source.unloadTile)return this._source.unloadTile(t,(function(){}))},r.prototype._abortTile=function(t){if(this._source.abortTile)return this._source.abortTile(t,(function(){}))},r.prototype.serialize=function(){return this._source.serialize()},r.prototype.prepare=function(t){for(var e in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var r=this._tiles[e];r.upload(t),r.prepare(this.map.style.imageManager)}},r.prototype.getIds=function(){return Object.keys(this._tiles).map(Number).sort(kt)},r.prototype.getRenderableIds=function(e){var r=this,i=[];for(var n in this._tiles)this._isIdRenderable(+n,e)&&i.push(+n);return e?i.sort((function(e,i){var n=r._tiles[e].tileID,o=r._tiles[i].tileID,a=new t.Point(n.canonical.x,n.canonical.y)._rotate(r.transform.angle),s=new t.Point(o.canonical.x,o.canonical.y)._rotate(r.transform.angle);return n.overscaledZ-o.overscaledZ||s.y-a.y||s.x-a.x})):i.sort(kt)},r.prototype.hasRenderableParent=function(t){var e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)},r.prototype._isIdRenderable=function(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())},r.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var t in this._cache.reset(),this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(t,"reloading")},r.prototype._reloadTile=function(t,e){var r=this._tiles[t];r&&("loading"!==r.state&&(r.state=e),this._loadTile(r,this._tileLoaded.bind(this,r,t,e)))},r.prototype._tileLoaded=function(e,r,i,n){if(n)return e.state="errored",void(404!==n.status?this._source.fire(new t.ErrorEvent(n,{tile:e})):this.update(this.transform));e.timeAdded=t.browser.now(),"expired"===i&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(r,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new t.Event("data",{dataType:"source",tile:e,coord:e.tileID}))},r.prototype._backfillDEM=function(t){for(var e=this.getRenderableIds(),r=0;r<e.length;r++){var i=e[r];if(t.neighboringTiles&&t.neighboringTiles[i]){var n=this.getTileByID(i);o(t,n),o(n,t)}}function o(t,e){t.needsHillshadePrepare=!0;var r=e.tileID.canonical.x-t.tileID.canonical.x,i=e.tileID.canonical.y-t.tileID.canonical.y,n=Math.pow(2,t.tileID.canonical.z),o=e.tileID.key;0===r&&0===i||Math.abs(i)>1||(Math.abs(r)>1&&(1===Math.abs(r+n)?r+=n:1===Math.abs(r-n)&&(r-=n)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,r,i),t.neighboringTiles&&t.neighboringTiles[o]&&(t.neighboringTiles[o].backfilled=!0)))}},r.prototype.getTile=function(t){return this.getTileByID(t.key)},r.prototype.getTileByID=function(t){return this._tiles[t]},r.prototype._retainLoadedChildren=function(t,e,r,i){for(var n in this._tiles){var o=this._tiles[n];if(!(i[n]||!o.hasData()||o.tileID.overscaledZ<=e||o.tileID.overscaledZ>r)){for(var a=o.tileID;o&&o.tileID.overscaledZ>e+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var l=a;l.overscaledZ>e;)if(t[(l=l.scaledTo(l.overscaledZ-1)).key]){i[a.key]=a;break}}}},r.prototype.findLoadedParent=function(t,e){for(var r=t.overscaledZ-1;r>=e;r--){var i=t.scaledTo(r);if(!i)return;var n=String(i.key),o=this._tiles[n];if(o&&o.hasData())return o;if(this._cache.has(i))return this._cache.get(i)}},r.prototype.updateCacheSize=function(t){var e=(Math.ceil(t.width/this._source.tileSize)+1)*(Math.ceil(t.height/this._source.tileSize)+1),r=Math.floor(5*e),i="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(i)},r.prototype.handleWrapJump=function(t){var e=(t-(void 0===this._prevLng?t:this._prevLng))/360,r=Math.round(e);if(this._prevLng=t,r){var i={};for(var n in this._tiles){var o=this._tiles[n];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+r),i[o.tileID.key]=o}for(var a in this._tiles=i,this._timers)clearTimeout(this._timers[a]),delete this._timers[a];for(var s in this._tiles){var l=this._tiles[s];this._setTileReloadTimer(s,l)}}},r.prototype.update=function(e){var i=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var n;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?n=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(n=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(n=n.filter((function(t){return i._source.hasTile(t)})))):n=[];var o=e.coveringZoomLevel(this._source),a=Math.max(o-r.maxOverzooming,this._source.minzoom),s=Math.max(o+r.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(n,o);if(Pt(this._source.type)){for(var u={},c={},p=0,h=Object.keys(l);p<h.length;p+=1){var f=h[p],d=l[f],m=this._tiles[f];if(m&&!(m.fadeEndTime&&m.fadeEndTime<=t.browser.now())){var y=this.findLoadedParent(d,a);y&&(this._addTile(y.tileID),u[y.tileID.key]=y.tileID),c[f]=d}}for(var _ in this._retainLoadedChildren(c,o,s,l),u)l[_]||(this._coveredTiles[_]=!0,l[_]=u[_])}for(var g in l)this._tiles[g].clearFadeHold();for(var v=0,x=t.keysDifference(this._tiles,l);v<x.length;v+=1){var b=x[v],w=this._tiles[b];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(b)}}},r.prototype.releaseSymbolFadeTiles=function(){for(var t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t)},r.prototype._updateRetainedTiles=function(t,e){for(var i={},n={},o=Math.max(e-r.maxOverzooming,this._source.minzoom),a=Math.max(e+r.maxUnderzooming,this._source.minzoom),s={},l=0,u=t;l<u.length;l+=1){var c=u[l],p=this._addTile(c);i[c.key]=c,p.hasData()||e<this._source.maxzoom&&(s[c.key]=c)}this._retainLoadedChildren(s,e,a,i);for(var h=0,f=t;h<f.length;h+=1){var d=f[h],m=this._tiles[d.key];if(!m.hasData()){if(e+1>this._source.maxzoom){var y=d.children(this._source.maxzoom)[0],_=this.getTile(y);if(_&&_.hasData()){i[y.key]=y;continue}}else{var g=d.children(this._source.maxzoom);if(i[g[0].key]&&i[g[1].key]&&i[g[2].key]&&i[g[3].key])continue}for(var v=m.wasRequested(),x=d.overscaledZ-1;x>=o;--x){var b=d.scaledTo(x);if(n[b.key])break;if(n[b.key]=!0,!(m=this.getTile(b))&&v&&(m=this._addTile(b)),m&&(i[b.key]=b,v=m.wasRequested(),m.hasData()))break}}}return i},r.prototype._addTile=function(e){var r=this._tiles[e.key];if(r)return r;(r=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,r),r.tileID=e,this._state.initializeTileState(r,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,r)));var i=Boolean(r);return i||(r=new t.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(r,this._tileLoaded.bind(this,r,e.key,r.state))),r?(r.uses++,this._tiles[e.key]=r,i||this._source.fire(new t.Event("dataloading",{tile:r,coord:r.tileID,dataType:"source"})),r):null},r.prototype._setTileReloadTimer=function(t,e){var r=this;t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);var i=e.getExpiryTimeout();i&&(this._timers[t]=setTimeout((function(){r._reloadTile(t,"expired"),delete r._timers[t]}),i))},r.prototype._removeTile=function(t){var e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()&&"reloading"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))},r.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset()},r.prototype.tilesIn=function(e,r,i){var n=this,o=[],a=this.transform;if(!a)return o;for(var s=i?a.getCameraQueryGeometry(e):e,l=e.map((function(t){return a.pointCoordinate(t)})),u=s.map((function(t){return a.pointCoordinate(t)})),c=this.getIds(),p=1/0,h=1/0,f=-1/0,d=-1/0,m=0,y=u;m<y.length;m+=1){var _=y[m];p=Math.min(p,_.x),h=Math.min(h,_.y),f=Math.max(f,_.x),d=Math.max(d,_.y)}for(var g=function(e){var i=n._tiles[c[e]];if(!i.holdingForFade()){var s=i.tileID,m=Math.pow(2,a.zoom-i.tileID.overscaledZ),y=r*i.queryPadding*t.EXTENT/i.tileSize/m,_=[s.getTilePoint(new t.MercatorCoordinate(p,h)),s.getTilePoint(new t.MercatorCoordinate(f,d))];if(_[0].x-y<t.EXTENT&&_[0].y-y<t.EXTENT&&_[1].x+y>=0&&_[1].y+y>=0){var g=l.map((function(t){return s.getTilePoint(t)})),v=u.map((function(t){return s.getTilePoint(t)}));o.push({tile:i,tileID:s,queryGeometry:g,cameraQueryGeometry:v,scale:m})}}},v=0;v<c.length;v++)g(v);return o},r.prototype.getVisibleCoordinates=function(t){for(var e=this,r=this.getRenderableIds(t).map((function(t){return e._tiles[t].tileID})),i=0,n=r;i<n.length;i+=1){var o=n[i];o.posMatrix=this.transform.calculatePosMatrix(o.toUnwrapped())}return r},r.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Pt(this._source.type))for(var e in this._tiles){var r=this._tiles[e];if(void 0!==r.fadeEndTime&&r.fadeEndTime>=t.browser.now())return!0}return!1},r.prototype.setFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.updateState(t,e,r)},r.prototype.removeFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.removeFeatureState(t,e,r)},r.prototype.getFeatureState=function(t,e){return t=t||"_geojsonTileLayer",this._state.getState(t,e)},r.prototype.setDependencies=function(t,e,r){var i=this._tiles[t];i&&i.setDependencies(e,r)},r.prototype.reloadTilesForDependencies=function(t,e){for(var r in this._tiles)this._tiles[r].hasDependency(t,e)&&this._reloadTile(r,"reloading");this._cache.filter((function(r){return!r.hasDependency(t,e)}))},r}(t.Evented);function kt(t,e){return t%32-e%32||e-t}function Pt(t){return"raster"===t||"image"===t||"video"===t}function Mt(){return new t.window.Worker(en.workerUrl)}Ct.maxOverzooming=10,Ct.maxUnderzooming=3;var Lt=function(){this.active={}};Lt.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length<Lt.workerCount;)this.workers.push(new Mt);return this.active[t]=!0,this.workers.slice()},Lt.prototype.release=function(t){delete this.active[t],0===Object.keys(this.active).length&&(this.workers.forEach((function(t){t.terminate()})),this.workers=null)};var Dt,Bt=Math.floor(t.browser.hardwareConcurrency/2);function Rt(e,r){var i={};for(var n in e)"ref"!==n&&(i[n]=e[n]);return t.refProperties.forEach((function(t){t in r&&(i[t]=r[t])})),i}function Ft(t){t=t.slice();for(var e=Object.create(null),r=0;r<t.length;r++)e[t[r].id]=t[r];for(var i=0;i<t.length;i++)"ref"in t[i]&&(t[i]=Rt(t[i],e[t[i].ref]));return t}Lt.workerCount=Math.max(Math.min(Bt,6),1);var Ot={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function Ut(t,e,r){r.push({command:Ot.addSource,args:[t,e[t]]})}function Vt(t,e,r){e.push({command:Ot.removeSource,args:[t]}),r[t]=!0}function Nt(t,e,r,i){Vt(t,r,i),Ut(t,e,r)}function jt(e,r,i){var n;for(n in e[i])if(e[i].hasOwnProperty(n)&&"data"!==n&&!t.deepEqual(e[i][n],r[i][n]))return!1;for(n in r[i])if(r[i].hasOwnProperty(n)&&"data"!==n&&!t.deepEqual(e[i][n],r[i][n]))return!1;return!0}function qt(e,r,i,n,o,a){var s;for(s in r=r||{},e=e||{})e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||i.push({command:a,args:[n,s,r[s],o]}));for(s in r)r.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||i.push({command:a,args:[n,s,r[s],o]}))}function Zt(t){return t.id}function Gt(t,e){return t[e.id]=e,t}var Xt=function(t,e,r){var i=this.boxCells=[],n=this.circleCells=[];this.xCellCount=Math.ceil(t/r),this.yCellCount=Math.ceil(e/r);for(var o=0;o<this.xCellCount*this.yCellCount;o++)i.push([]),n.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0};function Wt(e,r,i,n,o){var a=t.create();return r?(t.scale(a,a,[1/o,1/o,1]),i||t.rotateZ(a,a,n.angle)):t.multiply(a,n.labelPlaneMatrix,e),a}function Kt(e,r,i,n,o){if(r){var a=t.clone(e);return t.scale(a,a,[o,o,1]),i||t.rotateZ(a,a,-n.angle),a}return n.glCoordMatrix}function Ht(e,r){var i=[e.x,e.y,0,1];oe(i,i,r);var n=i[3];return{point:new t.Point(i[0]/n,i[1]/n),signedDistanceFromCamera:n}}function Jt(t,e){var r=t[0]/t[3],i=t[1]/t[3];return r>=-e[0]&&r<=e[0]&&i>=-e[1]&&i<=e[1]}function Yt(e,r,i,n,o,a,s,l){var u=n?e.textSizeData:e.iconSizeData,c=t.evaluateSizeForZoom(u,i.transform.zoom),p=[256/i.width*2+1,256/i.height*2+1],h=n?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;h.clear();for(var f=e.lineVertexArray,d=n?e.text.placedSymbolArray:e.icon.placedSymbolArray,m=i.transform.width/i.transform.height,y=!1,_=0;_<d.length;_++){var g=d.get(_);if(g.hidden||g.writingMode===t.WritingMode.vertical&&!y)ne(g.numGlyphs,h);else{y=!1;var v=[g.anchorX,g.anchorY,0,1];if(t.transformMat4(v,v,r),Jt(v,p)){var x=.5+v[3]/i.transform.cameraToCenterDistance*.5,b=t.evaluateSizeForFeature(u,c,g),w=s?b*x:b/x,S=new t.Point(g.anchorX,g.anchorY),E=Ht(S,o).point,T={},I=te(g,w,!1,l,r,o,a,e.glyphOffsetArray,f,h,E,S,T,m);y=I.useVertical,(I.notEnoughRoom||y||I.needsFlipping&&te(g,w,!0,l,r,o,a,e.glyphOffsetArray,f,h,E,S,T,m).notEnoughRoom)&&ne(g.numGlyphs,h)}else ne(g.numGlyphs,h)}}n?e.text.dynamicLayoutVertexBuffer.updateData(h):e.icon.dynamicLayoutVertexBuffer.updateData(h)}function Qt(t,e,r,i,n,o,a,s,l,u,c,p){var h=s.glyphStartIndex+s.numGlyphs,f=s.lineStartIndex,d=s.lineStartIndex+s.lineLength,m=e.getoffsetX(s.glyphStartIndex),y=e.getoffsetX(h-1),_=re(t*m,r,i,n,o,a,s.segment,f,d,l,u,c,p);if(!_)return null;var g=re(t*y,r,i,n,o,a,s.segment,f,d,l,u,c,p);return g?{first:_,last:g}:null}function $t(e,r,i,n){return e===t.WritingMode.horizontal&&Math.abs(i.y-r.y)>Math.abs(i.x-r.x)*n?{useVertical:!0}:(e===t.WritingMode.vertical?r.y<i.y:r.x>i.x)?{needsFlipping:!0}:null}function te(e,r,i,n,o,a,s,l,u,c,p,h,f,d){var m,y=r/24,_=e.lineOffsetX*y,g=e.lineOffsetY*y;if(e.numGlyphs>1){var v=e.glyphStartIndex+e.numGlyphs,x=e.lineStartIndex,b=e.lineStartIndex+e.lineLength,w=Qt(y,l,_,g,i,p,h,e,u,a,f,!1);if(!w)return{notEnoughRoom:!0};var S=Ht(w.first.point,s).point,E=Ht(w.last.point,s).point;if(n&&!i){var T=$t(e.writingMode,S,E,d);if(T)return T}m=[w.first];for(var I=e.glyphStartIndex+1;I<v-1;I++)m.push(re(y*l.getoffsetX(I),_,g,i,p,h,e.segment,x,b,u,a,f,!1));m.push(w.last)}else{if(n&&!i){var A=Ht(h,o).point,z=e.lineStartIndex+e.segment+1,C=new t.Point(u.getx(z),u.gety(z)),k=Ht(C,o),P=k.signedDistanceFromCamera>0?k.point:ee(h,C,A,1,o),M=$t(e.writingMode,A,P,d);if(M)return M}var L=re(y*l.getoffsetX(e.glyphStartIndex),_,g,i,p,h,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,u,a,f,!1);if(!L)return{notEnoughRoom:!0};m=[L]}for(var D=0,B=m;D<B.length;D+=1){var R=B[D];t.addDynamicAttributes(c,R.point,R.angle)}return{}}function ee(t,e,r,i,n){var o=Ht(t.add(t.sub(e)._unit()),n).point,a=r.sub(o);return r.add(a._mult(i/a.mag()))}function re(e,r,i,n,o,a,s,l,u,c,p,h,f){var d=n?e-r:e+r,m=d>0?1:-1,y=0;n&&(m*=-1,y=Math.PI),m<0&&(y+=Math.PI);for(var _=m>0?l+s:l+s+1,g=_,v=o,x=o,b=0,w=0,S=Math.abs(d);b+w<=S;){if((_+=m)<l||_>=u)return null;if(x=v,void 0===(v=h[_])){var E=new t.Point(c.getx(_),c.gety(_)),T=Ht(E,p);if(T.signedDistanceFromCamera>0)v=h[_]=T.point;else{var I=_-m;v=ee(0===b?a:new t.Point(c.getx(I),c.gety(I)),E,x,S-b+1,p)}}b+=w,w=x.dist(v)}var A=(S-b)/w,z=v.sub(x),C=z.mult(A)._add(x);return C._add(z._unit()._perp()._mult(i*m)),{point:C,angle:y+Math.atan2(v.y-x.y,v.x-x.x),tileDistance:f?{prevTileDistance:_-m===g?0:c.gettileUnitDistanceFromAnchor(_-m),lastSegmentViewportDistance:S-b}:null}}Xt.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Xt.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},Xt.prototype.insertCircle=function(t,e,r,i){this._forEachCell(e-i,r-i,e+i,r+i,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(r),this.circles.push(i)},Xt.prototype._insertBoxCell=function(t,e,r,i,n,o){this.boxCells[n].push(o)},Xt.prototype._insertCircleCell=function(t,e,r,i,n,o){this.circleCells[n].push(o)},Xt.prototype._query=function(t,e,r,i,n,o){if(r<0||t>this.width||i<0||e>this.height)return!n&&[];var a=[];if(t<=0&&e<=0&&this.width<=r&&this.height<=i){if(n)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var u=this.circles[3*l],c=this.circles[3*l+1],p=this.circles[3*l+2];a.push({key:this.circleKeys[l],x1:u-p,y1:c-p,x2:u+p,y2:c+p})}return o?a.filter(o):a}var h={hitTest:n,seenUids:{box:{},circle:{}}};return this._forEachCell(t,e,r,i,this._queryCell,a,h,o),n?a.length>0:a},Xt.prototype._queryCircle=function(t,e,r,i,n){var o=t-r,a=t+r,s=e-r,l=e+r;if(a<0||o>this.width||l<0||s>this.height)return!i&&[];var u=[],c={hitTest:i,circle:{x:t,y:e,radius:r},seenUids:{box:{},circle:{}}};return this._forEachCell(o,s,a,l,this._queryCellCircle,u,c,n),i?u.length>0:u},Xt.prototype.query=function(t,e,r,i,n){return this._query(t,e,r,i,!1,n)},Xt.prototype.hitTest=function(t,e,r,i,n){return this._query(t,e,r,i,!0,n)},Xt.prototype.hitTestCircle=function(t,e,r,i){return this._queryCircle(t,e,r,!0,i)},Xt.prototype._queryCell=function(t,e,r,i,n,o,a,s){var l=a.seenUids,u=this.boxCells[n];if(null!==u)for(var c=this.bboxes,p=0,h=u;p<h.length;p+=1){var f=h[p];if(!l.box[f]){l.box[f]=!0;var d=4*f;if(t<=c[d+2]&&e<=c[d+3]&&r>=c[d+0]&&i>=c[d+1]&&(!s||s(this.boxKeys[f]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[f],x1:c[d],y1:c[d+1],x2:c[d+2],y2:c[d+3]})}}}var m=this.circleCells[n];if(null!==m)for(var y=this.circles,_=0,g=m;_<g.length;_+=1){var v=g[_];if(!l.circle[v]){l.circle[v]=!0;var x=3*v;if(this._circleAndRectCollide(y[x],y[x+1],y[x+2],t,e,r,i)&&(!s||s(this.circleKeys[v]))){if(a.hitTest)return o.push(!0),!0;var b=y[x],w=y[x+1],S=y[x+2];o.push({key:this.circleKeys[v],x1:b-S,y1:w-S,x2:b+S,y2:w+S})}}}},Xt.prototype._queryCellCircle=function(t,e,r,i,n,o,a,s){var l=a.circle,u=a.seenUids,c=this.boxCells[n];if(null!==c)for(var p=this.bboxes,h=0,f=c;h<f.length;h+=1){var d=f[h];if(!u.box[d]){u.box[d]=!0;var m=4*d;if(this._circleAndRectCollide(l.x,l.y,l.radius,p[m+0],p[m+1],p[m+2],p[m+3])&&(!s||s(this.boxKeys[d])))return o.push(!0),!0}}var y=this.circleCells[n];if(null!==y)for(var _=this.circles,g=0,v=y;g<v.length;g+=1){var x=v[g];if(!u.circle[x]){u.circle[x]=!0;var b=3*x;if(this._circlesCollide(_[b],_[b+1],_[b+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[x])))return o.push(!0),!0}}},Xt.prototype._forEachCell=function(t,e,r,i,n,o,a,s){for(var l=this._convertToXCellCoord(t),u=this._convertToYCellCoord(e),c=this._convertToXCellCoord(r),p=this._convertToYCellCoord(i),h=l;h<=c;h++)for(var f=u;f<=p;f++){var d=this.xCellCount*f+h;if(n.call(this,t,e,r,i,d,o,a,s))return}},Xt.prototype._convertToXCellCoord=function(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))},Xt.prototype._convertToYCellCoord=function(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))},Xt.prototype._circlesCollide=function(t,e,r,i,n,o){var a=i-t,s=n-e,l=r+o;return l*l>a*a+s*s},Xt.prototype._circleAndRectCollide=function(t,e,r,i,n,o,a){var s=(o-i)/2,l=Math.abs(t-(i+s));if(l>s+r)return!1;var u=(a-n)/2,c=Math.abs(e-(n+u));if(c>u+r)return!1;if(l<=s||c<=u)return!0;var p=l-s,h=c-u;return p*p+h*h<=r*r};var ie=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ne(t,e){for(var r=0;r<t;r++){var i=e.length;e.resize(i+4),e.float32.set(ie,3*i)}}function oe(t,e,r){var i=e[0],n=e[1];return t[0]=r[0]*i+r[4]*n+r[12],t[1]=r[1]*i+r[5]*n+r[13],t[3]=r[3]*i+r[7]*n+r[15],t}var ae=function(t,e,r){void 0===e&&(e=new Xt(t.width+200,t.height+200,25)),void 0===r&&(r=new Xt(t.width+200,t.height+200,25)),this.transform=t,this.grid=e,this.ignoredGrid=r,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+100,this.screenBottomBoundary=t.height+100,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200};function se(t,e,r){t[e+4]=r?1:0}function le(e,r,i){return r*(t.EXTENT/(e.tileSize*Math.pow(2,i-e.tileID.overscaledZ)))}ae.prototype.placeCollisionBox=function(t,e,r,i,n){var o=this.projectAndGetPerspectiveRatio(i,t.anchorPointX,t.anchorPointY),a=r*o.perspectiveRatio,s=t.x1*a+o.point.x,l=t.y1*a+o.point.y,u=t.x2*a+o.point.x,c=t.y2*a+o.point.y;return!this.isInsideGrid(s,l,u,c)||!e&&this.grid.hitTest(s,l,u,c,n)?{box:[],offscreen:!1}:{box:[s,l,u,c],offscreen:this.isOffscreen(s,l,u,c)}},ae.prototype.approximateTileDistance=function(t,e,r,i,n){var o=n?1:i/this.pitchfactor,a=t.lastSegmentViewportDistance*r;return t.prevTileDistance+a+(o-1)*a*Math.abs(Math.sin(e))},ae.prototype.placeCollisionCircles=function(e,r,i,n,o,a,s,l,u,c,p,h,f){var d=[],m=this.projectAnchor(u,o.anchorX,o.anchorY),y=l/24,_=o.lineOffsetX*l,g=o.lineOffsetY*l,v=new t.Point(o.anchorX,o.anchorY),x=Qt(y,s,_,g,!1,Ht(v,c).point,v,o,a,c,{},!0),b=!1,w=!1,S=!0,E=m.perspectiveRatio*n,T=1/(n*i),I=0,A=0;x&&(I=this.approximateTileDistance(x.first.tileDistance,x.first.angle,T,m.cameraDistance,h),A=this.approximateTileDistance(x.last.tileDistance,x.last.angle,T,m.cameraDistance,h));for(var z=0;z<e.length;z+=5){var C=e[z],k=e[z+1],P=e[z+2],M=e[z+3];if(!x||M<-I||M>A)se(e,z,!1);else{var L=this.projectPoint(u,C,k),D=P*E;if(d.length>0){var B=L.x-d[d.length-4],R=L.y-d[d.length-3];if(D*D*2>B*B+R*R&&z+8<e.length){var F=e[z+8];if(F>-I&&F<A){se(e,z,!1);continue}}}var O=z/5;d.push(L.x,L.y,D,O),se(e,z,!0);var U=L.x-D,V=L.y-D,N=L.x+D,j=L.y+D;if(S=S&&this.isOffscreen(U,V,N,j),w=w||this.isInsideGrid(U,V,N,j),!r&&this.grid.hitTestCircle(L.x,L.y,D,f)){if(!p)return{circles:[],offscreen:!1};b=!0}}}return{circles:b||!w?[]:d,offscreen:S}},ae.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var r=[],i=1/0,n=1/0,o=-1/0,a=-1/0,s=0,l=e;s<l.length;s+=1){var u=l[s],c=new t.Point(u.x+100,u.y+100);i=Math.min(i,c.x),n=Math.min(n,c.y),o=Math.max(o,c.x),a=Math.max(a,c.y),r.push(c)}for(var p={},h={},f=0,d=this.grid.query(i,n,o,a).concat(this.ignoredGrid.query(i,n,o,a));f<d.length;f+=1){var m=d[f],y=m.key;if(void 0===p[y.bucketInstanceId]&&(p[y.bucketInstanceId]={}),!p[y.bucketInstanceId][y.featureIndex]){var _=[new t.Point(m.x1,m.y1),new t.Point(m.x2,m.y1),new t.Point(m.x2,m.y2),new t.Point(m.x1,m.y2)];t.polygonIntersectsPolygon(r,_)&&(p[y.bucketInstanceId][y.featureIndex]=!0,void 0===h[y.bucketInstanceId]&&(h[y.bucketInstanceId]=[]),h[y.bucketInstanceId].push(y.featureIndex))}}return h},ae.prototype.insertCollisionBox=function(t,e,r,i,n){var o={bucketInstanceId:r,featureIndex:i,collisionGroupID:n};(e?this.ignoredGrid:this.grid).insert(o,t[0],t[1],t[2],t[3])},ae.prototype.insertCollisionCircles=function(t,e,r,i,n){for(var o=e?this.ignoredGrid:this.grid,a={bucketInstanceId:r,featureIndex:i,collisionGroupID:n},s=0;s<t.length;s+=4)o.insertCircle(a,t[s],t[s+1],t[s+2])},ae.prototype.projectAnchor=function(t,e,r){var i=[e,r,0,1];return oe(i,i,t),{perspectiveRatio:.5+this.transform.cameraToCenterDistance/i[3]*.5,cameraDistance:i[3]}},ae.prototype.projectPoint=function(e,r,i){var n=[r,i,0,1];return oe(n,n,e),new t.Point((n[0]/n[3]+1)/2*this.transform.width+100,(-n[1]/n[3]+1)/2*this.transform.height+100)},ae.prototype.projectAndGetPerspectiveRatio=function(e,r,i){var n=[r,i,0,1];return oe(n,n,e),{point:new t.Point((n[0]/n[3]+1)/2*this.transform.width+100,(-n[1]/n[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/n[3]*.5}},ae.prototype.isOffscreen=function(t,e,r,i){return r<100||t>=this.screenRightBoundary||i<100||e>this.screenBottomBoundary},ae.prototype.isInsideGrid=function(t,e,r,i){return r>=0&&t<this.gridRightBoundary&&i>=0&&e<this.gridBottomBoundary};var ue=function(t,e,r,i){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):i&&r?1:0,this.placed=r};ue.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var ce=function(t,e,r,i,n){this.text=new ue(t?t.text:null,e,r,n),this.icon=new ue(t?t.icon:null,e,i,n)};ce.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var pe=function(t,e,r){this.text=t,this.icon=e,this.skipFade=r},he=function(t,e,r,i,n){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=r,this.bucketIndex=i,this.tileID=n},fe=function(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}};function de(e,r,i,n,o){var a=t.getAnchorAlignment(e),s=-(a.horizontalAlign-.5)*r,l=-(a.verticalAlign-.5)*i,u=t.evaluateVariableOffset(e,n);return new t.Point(s+u[0]*o,l+u[1]*o)}function me(e,r,i,n,o,a){var s=e.x1,l=e.x2,u=e.y1,c=e.y2,p=e.anchorPointX,h=e.anchorPointY,f=new t.Point(r,i);return n&&f._rotate(o?a:-a),{x1:s+f.x,y1:u+f.y,x2:l+f.x,y2:c+f.y,anchorPointX:p,anchorPointY:h}}fe.prototype.get=function(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){var e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:function(t){return t.collisionGroupID===e}}}return this.collisionGroups[t]};var ye=function(t,e,r,i){this.transform=t.clone(),this.collisionIndex=new ae(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new fe(r),this.prevPlacement=i,i&&(i.prevPlacement=void 0),this.placedOrientations={}};function _e(t,e,r,i,n){t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0)}ye.prototype.placeLayerTile=function(e,r,i,n){var o=r.getBucket(e),a=r.latestFeatureIndex;if(o&&a&&e.id===o.layerIds[0]){var s=r.collisionBoxArray,l=o.layers[0].layout,u=Math.pow(2,this.transform.zoom-r.tileID.overscaledZ),c=r.tileSize/t.EXTENT,p=this.transform.calculatePosMatrix(r.tileID.toUnwrapped()),h=Wt(p,"map"===l.get("text-pitch-alignment"),"map"===l.get("text-rotation-alignment"),this.transform,le(r,1,this.transform.zoom)),f=Wt(p,"map"===l.get("icon-pitch-alignment"),"map"===l.get("icon-rotation-alignment"),this.transform,le(r,1,this.transform.zoom));this.retainedQueryData[o.bucketInstanceId]=new he(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,r.tileID),this.placeLayerBucket(o,p,h,f,u,c,i,r.holdingForFade(),n,s)}},ye.prototype.attemptAnchorPlacement=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d){var m,y=[p.textOffset0,p.textOffset1],_=de(t,r,i,y,n),g=this.collisionIndex.placeCollisionBox(me(e,_.x,_.y,o,a,this.transform.angle),c,s,l,u.predicate);if(!d||0!==this.collisionIndex.placeCollisionBox(me(d,_.x,_.y,o,a,this.transform.angle),c,s,l,u.predicate).box.length)return g.box.length>0?(this.prevPlacement&&this.prevPlacement.variableOffsets[p.crossTileID]&&this.prevPlacement.placements[p.crossTileID]&&this.prevPlacement.placements[p.crossTileID].text&&(m=this.prevPlacement.variableOffsets[p.crossTileID].anchor),this.variableOffsets[p.crossTileID]={textOffset:y,width:r,height:i,anchor:t,textBoxScale:n,prevAnchor:m},this.markUsedJustification(h,t,p,f),h.allowVerticalPlacement&&(this.markUsedOrientation(h,f,p),this.placedOrientations[p.crossTileID]=f),{shift:_,placedGlyphBoxes:g}):void 0},ye.prototype.placeLayerBucket=function(e,r,i,n,o,a,s,l,u,c){var p=this,h=e.layers[0].layout,f=t.evaluateSizeForZoom(e.textSizeData,this.transform.zoom),d=h.get("text-optional"),m=h.get("icon-optional"),y=h.get("text-allow-overlap"),_=h.get("icon-allow-overlap"),g=y&&(_||!e.hasIconData()||m),v=_&&(y||!e.hasTextData()||d),x=this.collisionGroups.get(e.sourceID),b="map"===h.get("text-rotation-alignment"),w="map"===h.get("text-pitch-alignment"),S="none"!==h.get("icon-text-fit"),E="viewport-y"===h.get("symbol-z-order");!e.collisionArrays&&c&&e.deserializeCollisionBoxes(c);var T=function(n,c){if(!u[n.crossTileID])if(l)p.placements[n.crossTileID]=new pe(!1,!1,!1);else{var E,T=!1,I=!1,A=!0,z=null,C={box:null,offscreen:null},k={box:null,offscreen:null},P=null,M=null,L=0,D=0,B=0;c.textFeatureIndex&&(L=c.textFeatureIndex),c.verticalTextFeatureIndex&&(D=c.verticalTextFeatureIndex);var R=c.textBox;if(R){var F=function(r){var i=t.WritingMode.horizontal;if(e.allowVerticalPlacement&&!r&&p.prevPlacement){var o=p.prevPlacement.placedOrientations[n.crossTileID];o&&(p.placedOrientations[n.crossTileID]=o,i=o,p.markUsedOrientation(e,i,n))}return i},O=function(r,i){if(e.allowVerticalPlacement&&n.numVerticalGlyphVertices>0&&c.verticalTextBox)for(var o=0,a=e.writingModes;o<a.length&&(a[o]===t.WritingMode.vertical?(C=i(),k=C):C=r(),!(C&&C.box&&C.box.length));o+=1);else C=r()};if(h.get("text-variable-anchor")){var U=h.get("text-variable-anchor");if(p.prevPlacement&&p.prevPlacement.variableOffsets[n.crossTileID]){var V=p.prevPlacement.variableOffsets[n.crossTileID];U.indexOf(V.anchor)>0&&(U=U.filter((function(t){return t!==V.anchor}))).unshift(V.anchor)}var N=function(t,i,o){for(var s=t.x2-t.x1,l=t.y2-t.y1,u=n.textBoxScale,c=S&&!_?i:null,h={box:[],offscreen:!1},f=y?2*U.length:U.length,d=0;d<f;++d){var m=U[d%U.length],g=d>=U.length,v=p.attemptAnchorPlacement(m,t,s,l,u,b,w,a,r,x,g,n,e,o,c);if(v&&(h=v.placedGlyphBoxes)&&h.box&&h.box.length){T=!0,z=v.shift;break}}return h};O((function(){return N(R,c.iconBox,t.WritingMode.horizontal)}),(function(){var r=c.verticalTextBox,i=C&&C.box&&C.box.length;return e.allowVerticalPlacement&&!i&&n.numVerticalGlyphVertices>0&&r?N(r,c.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),C&&(T=C.box,A=C.offscreen);var j=F(C&&C.box);if(!T&&p.prevPlacement){var q=p.prevPlacement.variableOffsets[n.crossTileID];q&&(p.variableOffsets[n.crossTileID]=q,p.markUsedJustification(e,q.anchor,n,j))}}else{var Z=function(t,i){var o=p.collisionIndex.placeCollisionBox(t,h.get("text-allow-overlap"),a,r,x.predicate);return o&&o.box&&o.box.length&&(p.markUsedOrientation(e,i,n),p.placedOrientations[n.crossTileID]=i),o};O((function(){return Z(R,t.WritingMode.horizontal)}),(function(){var r=c.verticalTextBox;return e.allowVerticalPlacement&&n.numVerticalGlyphVertices>0&&r?Z(r,t.WritingMode.vertical):{box:null,offscreen:null}})),F(C&&C.box&&C.box.length)}}T=(E=C)&&E.box&&E.box.length>0,A=E&&E.offscreen;var G=c.textCircles;if(G){var X=e.text.placedSymbolArray.get(n.centerJustifiedTextSymbolIndex),W=t.evaluateSizeForFeature(e.textSizeData,f,X);P=p.collisionIndex.placeCollisionCircles(G,h.get("text-allow-overlap"),o,a,X,e.lineVertexArray,e.glyphOffsetArray,W,r,i,s,w,x.predicate),T=h.get("text-allow-overlap")||P.circles.length>0,A=A&&P.offscreen}if(c.iconFeatureIndex&&(B=c.iconFeatureIndex),c.iconBox){var K=function(t){var e=S&&z?me(t,z.x,z.y,b,w,p.transform.angle):t;return p.collisionIndex.placeCollisionBox(e,h.get("icon-allow-overlap"),a,r,x.predicate)};I=k&&k.box&&k.box.length&&c.verticalIconBox?(M=K(c.verticalIconBox)).box.length>0:(M=K(c.iconBox)).box.length>0,A=A&&M.offscreen}var H=d||0===n.numHorizontalGlyphVertices&&0===n.numVerticalGlyphVertices,J=m||0===n.numIconVertices;H||J?J?H||(I=I&&T):T=I&&T:I=T=I&&T,T&&E&&E.box&&(k&&k.box&&D?p.collisionIndex.insertCollisionBox(E.box,h.get("text-ignore-placement"),e.bucketInstanceId,D,x.ID):p.collisionIndex.insertCollisionBox(E.box,h.get("text-ignore-placement"),e.bucketInstanceId,L,x.ID)),I&&M&&p.collisionIndex.insertCollisionBox(M.box,h.get("icon-ignore-placement"),e.bucketInstanceId,B,x.ID),T&&P&&p.collisionIndex.insertCollisionCircles(P.circles,h.get("text-ignore-placement"),e.bucketInstanceId,L,x.ID),p.placements[n.crossTileID]=new pe(T||g,I||v,A||e.justReloaded),u[n.crossTileID]=!0}};if(E)for(var I=e.getSortedSymbolIndexes(this.transform.angle),A=I.length-1;A>=0;--A){var z=I[A];T(e.symbolInstances.get(z),e.collisionArrays[z])}else for(var C=0;C<e.symbolInstances.length;++C)T(e.symbolInstances.get(C),e.collisionArrays[C]);e.justReloaded=!1},ye.prototype.markUsedJustification=function(e,r,i,n){var o,a={left:i.leftJustifiedTextSymbolIndex,center:i.centerJustifiedTextSymbolIndex,right:i.rightJustifiedTextSymbolIndex};o=n===t.WritingMode.vertical?i.verticalPlacedTextSymbolIndex:a[t.getAnchorJustification(r)];for(var s=0,l=[i.leftJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.rightJustifiedTextSymbolIndex,i.verticalPlacedTextSymbolIndex];s<l.length;s+=1){var u=l[s];u>=0&&(e.text.placedSymbolArray.get(u).crossTileID=o>=0&&u!==o?0:i.crossTileID)}},ye.prototype.markUsedOrientation=function(e,r,i){for(var n=r===t.WritingMode.horizontal||r===t.WritingMode.horizontalOnly?r:0,o=r===t.WritingMode.vertical?r:0,a=0,s=[i.leftJustifiedTextSymbolIndex,i.centerJustifiedTextSymbolIndex,i.rightJustifiedTextSymbolIndex];a<s.length;a+=1){var l=s[a];e.text.placedSymbolArray.get(l).placedOrientation=n}i.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(i.verticalPlacedTextSymbolIndex).placedOrientation=o)},ye.prototype.commit=function(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;var e=this.prevPlacement,r=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;var i=e?e.symbolFadeChange(t):1,n=e?e.opacities:{},o=e?e.variableOffsets:{},a=e?e.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],u=n[s];u?(this.opacities[s]=new ce(u,i,l.text,l.icon),r=r||l.text!==u.text.placed||l.icon!==u.icon.placed):(this.opacities[s]=new ce(null,i,l.text,l.icon,l.skipFade),r=r||l.text||l.icon)}for(var c in n){var p=n[c];if(!this.opacities[c]){var h=new ce(p,i,!1,!1);h.isHidden()||(this.opacities[c]=h,r=r||p.text.placed||p.icon.placed)}}for(var f in o)this.variableOffsets[f]||!this.opacities[f]||this.opacities[f].isHidden()||(this.variableOffsets[f]=o[f]);for(var d in a)this.placedOrientations[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.placedOrientations[d]=a[d]);r?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)},ye.prototype.updateLayerOpacities=function(t,e){for(var r={},i=0,n=e;i<n.length;i+=1){var o=n[i],a=o.getBucket(t);a&&o.latestFeatureIndex&&t.id===a.layerIds[0]&&this.updateBucketOpacities(a,r,o.collisionBoxArray)}},ye.prototype.updateBucketOpacities=function(e,r,i){var n=this;e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear(),e.hasIconCollisionCircleData()&&e.iconCollisionCircle.collisionVertexArray.clear(),e.hasTextCollisionCircleData()&&e.textCollisionCircle.collisionVertexArray.clear();var o=e.layers[0].layout,a=new ce(null,0,!1,!1,!0),s=o.get("text-allow-overlap"),l=o.get("icon-allow-overlap"),u=o.get("text-variable-anchor"),c="map"===o.get("text-rotation-alignment"),p="map"===o.get("text-pitch-alignment"),h="none"!==o.get("icon-text-fit"),f=new ce(null,0,s&&(l||!e.hasIconData()||o.get("icon-optional")),l&&(s||!e.hasTextData()||o.get("text-optional")),!0);!e.collisionArrays&&i&&(e.hasIconCollisionBoxData()||e.hasIconCollisionCircleData()||e.hasTextCollisionBoxData()||e.hasTextCollisionCircleData())&&e.deserializeCollisionBoxes(i);for(var d=function(t,e,r){for(var i=0;i<e/4;i++)t.opacityVertexArray.emplaceBack(r)},m=function(i){var o=e.symbolInstances.get(i),s=o.numHorizontalGlyphVertices,l=o.numVerticalGlyphVertices,m=o.crossTileID,y=r[m],_=n.opacities[m];y?_=a:_||(_=f,n.opacities[m]=_),r[m]=!0;var g=s>0||l>0,v=o.numIconVertices>0,x=n.placedOrientations[o.crossTileID],b=x===t.WritingMode.vertical,w=x===t.WritingMode.horizontal||x===t.WritingMode.horizontalOnly;if(g){var S=Te(_.text),E=b?Ie:S;d(e.text,s,E);var T=w?Ie:S;d(e.text,l,T);var I=_.text.isHidden();[o.rightJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.leftJustifiedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=I||b?1:0)})),o.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).hidden=I||w?1:0);var A=n.variableOffsets[o.crossTileID];A&&n.markUsedJustification(e,A.anchor,o,x);var z=n.placedOrientations[o.crossTileID];z&&(n.markUsedJustification(e,"left",o,z),n.markUsedOrientation(e,z,o))}if(v){var C=Te(_.icon),k=!(h&&o.verticalPlacedIconSymbolIndex&&b);if(o.placedIconSymbolIndex>=0){var P=k?C:Ie;d(e.icon,o.numIconVertices,P),e.icon.placedSymbolArray.get(o.placedIconSymbolIndex).hidden=_.icon.isHidden()}if(o.verticalPlacedIconSymbolIndex>=0){var M=k?Ie:C;d(e.icon,o.numVerticalIconVertices,M),e.icon.placedSymbolArray.get(o.verticalPlacedIconSymbolIndex).hidden=_.icon.isHidden()}}if(e.hasIconCollisionBoxData()||e.hasIconCollisionCircleData()||e.hasTextCollisionBoxData()||e.hasTextCollisionCircleData()){var L=e.collisionArrays[i];if(L){var D=new t.Point(0,0);if(L.textBox||L.verticalTextBox){var B=!0;if(u){var R=n.variableOffsets[m];R?(D=de(R.anchor,R.width,R.height,R.textOffset,R.textBoxScale),c&&D._rotate(p?n.transform.angle:-n.transform.angle)):B=!1}L.textBox&&_e(e.textCollisionBox.collisionVertexArray,_.text.placed,!B||b,D.x,D.y),L.verticalTextBox&&_e(e.textCollisionBox.collisionVertexArray,_.text.placed,!B||w,D.x,D.y)}var F=Boolean(!w&&L.verticalIconBox);L.iconBox&&_e(e.iconCollisionBox.collisionVertexArray,_.icon.placed,F,h?D.x:0,h?D.y:0),L.verticalIconBox&&_e(e.iconCollisionBox.collisionVertexArray,_.icon.placed,!F,h?D.x:0,h?D.y:0);var O=L.textCircles;if(O&&e.hasTextCollisionCircleData())for(var U=0;U<O.length;U+=5){var V=y||0===O[U+4];_e(e.textCollisionCircle.collisionVertexArray,_.text.placed,V)}}}},y=0;y<e.symbolInstances.length;y++)m(y);e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.hasIconCollisionCircleData()&&e.iconCollisionCircle.collisionVertexBuffer&&e.iconCollisionCircle.collisionVertexBuffer.updateData(e.iconCollisionCircle.collisionVertexArray),e.hasTextCollisionCircleData()&&e.textCollisionCircle.collisionVertexBuffer&&e.textCollisionCircle.collisionVertexBuffer.updateData(e.textCollisionCircle.collisionVertexArray)},ye.prototype.symbolFadeChange=function(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},ye.prototype.zoomAdjustment=function(t){return Math.max(0,(this.transform.zoom-t)/1.5)},ye.prototype.hasTransitions=function(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration},ye.prototype.stillRecent=function(t,e){var r=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*r>t},ye.prototype.setStale=function(){this.stale=!0};var ge=Math.pow(2,25),ve=Math.pow(2,24),xe=Math.pow(2,17),be=Math.pow(2,16),we=Math.pow(2,9),Se=Math.pow(2,8),Ee=Math.pow(2,1);function Te(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,r=Math.floor(127*t.opacity);return r*ge+e*ve+r*xe+e*be+r*we+e*Se+r*Ee+e}var Ie=0,Ae=function(){this._currentTileIndex=0,this._seenCrossTileIDs={}};Ae.prototype.continuePlacement=function(t,e,r,i,n){for(;this._currentTileIndex<t.length;){var o=t[this._currentTileIndex];if(e.placeLayerTile(i,o,r,this._seenCrossTileIDs),this._currentTileIndex++,n())return!0}};var ze=function(t,e,r,i,n,o,a){this.placement=new ye(t,n,o,a),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=r,this._showCollisionBoxes=i,this._done=!1};ze.prototype.isDone=function(){return this._done},ze.prototype.continuePlacement=function(e,r,i){for(var n=this,o=t.browser.now(),a=function(){var e=t.browser.now()-o;return!n._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var s=r[e[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new Ae),this._inProgressLayer.continuePlacement(i[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},ze.prototype.commit=function(t){return this.placement.commit(t),this.placement};var Ce=512/t.EXTENT/2,ke=function(t,e,r){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=r;for(var i=0;i<e.length;i++){var n=e.get(i),o=n.key;this.indexedSymbolInstances[o]||(this.indexedSymbolInstances[o]=[]),this.indexedSymbolInstances[o].push({crossTileID:n.crossTileID,coord:this.getScaledCoordinates(n,t)})}};ke.prototype.getScaledCoordinates=function(e,r){var i=r.canonical.z-this.tileID.canonical.z,n=Ce/Math.pow(2,i);return{x:Math.floor((r.canonical.x*t.EXTENT+e.anchorX)*n),y:Math.floor((r.canonical.y*t.EXTENT+e.anchorY)*n)}},ke.prototype.findMatches=function(t,e,r){for(var i=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z),n=0;n<t.length;n++){var o=t.get(n);if(!o.crossTileID){var a=this.indexedSymbolInstances[o.key];if(a)for(var s=this.getScaledCoordinates(o,e),l=0,u=a;l<u.length;l+=1){var c=u[l];if(Math.abs(c.coord.x-s.x)<=i&&Math.abs(c.coord.y-s.y)<=i&&!r[c.crossTileID]){r[c.crossTileID]=!0,o.crossTileID=c.crossTileID;break}}}}};var Pe=function(){this.maxCrossTileID=0};Pe.prototype.generate=function(){return++this.maxCrossTileID};var Me=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};Me.prototype.handleWrapJump=function(t){var e=Math.round((t-this.lng)/360);if(0!==e)for(var r in this.indexes){var i=this.indexes[r],n={};for(var o in i){var a=i[o];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+e),n[a.tileID.key]=a}this.indexes[r]=n}this.lng=t},Me.prototype.addBucket=function(t,e,r){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(var i=0;i<e.symbolInstances.length;i++)e.symbolInstances.get(i).crossTileID=0;this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});var n=this.usedCrossTileIDs[t.overscaledZ];for(var o in this.indexes){var a=this.indexes[o];if(Number(o)>t.overscaledZ)for(var s in a){var l=a[s];l.tileID.isChildOf(t)&&l.findMatches(e.symbolInstances,t,n)}else{var u=a[t.scaledTo(Number(o)).key];u&&u.findMatches(e.symbolInstances,t,n)}}for(var c=0;c<e.symbolInstances.length;c++){var p=e.symbolInstances.get(c);p.crossTileID||(p.crossTileID=r.generate(),n[p.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new ke(t,e.symbolInstances,e.bucketInstanceId),!0},Me.prototype.removeBucketCrossTileIDs=function(t,e){for(var r in e.indexedSymbolInstances)for(var i=0,n=e.indexedSymbolInstances[r];i<n.length;i+=1){var o=n[i];delete this.usedCrossTileIDs[t][o.crossTileID]}},Me.prototype.removeStaleBuckets=function(t){var e=!1;for(var r in this.indexes){var i=this.indexes[r];for(var n in i)t[i[n].bucketInstanceId]||(this.removeBucketCrossTileIDs(r,i[n]),delete i[n],e=!0)}return e};var Le=function(){this.layerIndexes={},this.crossTileIDs=new Pe,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Le.prototype.addLayer=function(t,e,r){var i=this.layerIndexes[t.id];void 0===i&&(i=this.layerIndexes[t.id]=new Me);var n=!1,o={};i.handleWrapJump(r);for(var a=0,s=e;a<s.length;a+=1){var l=s[a],u=l.getBucket(t);u&&t.id===u.layerIds[0]&&(u.bucketInstanceId||(u.bucketInstanceId=++this.maxBucketInstanceId),i.addBucket(l.tileID,u,this.crossTileIDs)&&(n=!0),o[u.bucketInstanceId]=!0)}return i.removeStaleBuckets(o)&&(n=!0),n},Le.prototype.pruneUnusedLayers=function(t){var e={};for(var r in t.forEach((function(t){e[t]=!0})),this.layerIndexes)e[r]||delete this.layerIndexes[r]};var De=function(e,r){return t.emitValidationErrors(e,r&&r.filter((function(t){return"source.canvas"!==t.identifier})))},Be=t.pick(Ot,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Re=t.pick(Ot,["setCenter","setZoom","setBearing","setPitch"]),Fe=function(e){function r(i,n){var o=this;void 0===n&&(n={}),e.call(this),this.map=i,this.dispatcher=new E((Dt||(Dt=new Lt),Dt),this),this.imageManager=new h,this.imageManager.setEventedParent(this),this.glyphManager=new v(i._requestManager,n.localIdeographFontFamily),this.lineAtlas=new S(256,512),this.crossTileSymbolIndex=new Le,this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());var a=this;this._rtlTextPluginCallback=r.registerForPluginStateChange((function(e){var r={pluginStatus:e.pluginStatus,pluginURL:e.pluginURL};a.dispatcher.broadcast("syncRTLPluginState",r,(function(e,r){if(t.triggerPluginCompletionEvent(e),r&&r.every((function(t){return t})))for(var i in a.sourceCaches)a.sourceCaches[i].reload()}))})),this.on("data",(function(t){if("source"===t.dataType&&"metadata"===t.sourceDataType){var e=o.sourceCaches[t.sourceId];if(e){var r=e.getSource();if(r&&r.vectorLayerIds)for(var i in o._layers){var n=o._layers[i];n.source===r.id&&o._validateLayer(n)}}}}))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadURL=function(e,r){var i=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"}));var n="boolean"==typeof r.validate?r.validate:!t.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,r.accessToken);var o=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(o,(function(e,r){i._request=null,e?i.fire(new t.ErrorEvent(e)):r&&i._load(r,n)}))},r.prototype.loadJSON=function(e,r){var i=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.browser.frame((function(){i._request=null,i._load(e,!1!==r.validate)}))},r.prototype._load=function(e,r){var i=this;if(!r||!De(this,t.validateStyle(e))){for(var n in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(n,e.sources[n],{validate:!1});e.sprite?this._spriteRequest=function(e,r,i){var n,o,a,s=t.browser.devicePixelRatio>1?"@2x":"",l=t.getJSON(r.transformRequest(r.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),(function(t,e){l=null,a||(a=t,n=e,c())})),u=t.getImage(r.transformRequest(r.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),(function(t,e){u=null,a||(a=t,o=e,c())}));function c(){if(a)i(a);else if(n&&o){var e=t.browser.getImageData(o),r={};for(var s in n){var l=n[s],u=l.width,c=l.height,p=l.x,h=l.y,f=l.sdf,d=l.pixelRatio,m=l.stretchX,y=l.stretchY,_=l.content,g=new t.RGBAImage({width:u,height:c});t.RGBAImage.copy(e,g,{x:p,y:h},{x:0,y:0},{width:u,height:c}),r[s]={data:g,pixelRatio:d,sdf:f,stretchX:m,stretchY:y,content:_}}i(null,r)}}return{cancel:function(){l&&(l.cancel(),l=null),u&&(u.cancel(),u=null)}}}(e.sprite,this.map._requestManager,(function(e,r){if(i._spriteRequest=null,e)i.fire(new t.ErrorEvent(e));else if(r)for(var n in r)i.imageManager.addImage(n,r[n]);i.imageManager.setLoaded(!0),i.dispatcher.broadcast("setImages",i.imageManager.listImages()),i.fire(new t.Event("data",{dataType:"style"}))})):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);var o=Ft(this.stylesheet.layers);this._order=o.map((function(t){return t.id})),this._layers={};for(var a=0,s=o;a<s.length;a+=1){var l=s[a];(l=t.createStyleLayer(l)).setEventedParent(this,{layer:{id:l.id}}),this._layers[l.id]=l}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"))}},r.prototype._validateLayer=function(e){var r=this.sourceCaches[e.source];if(r){var i=e.sourceLayer;if(i){var n=r.getSource();("geojson"===n.type||n.vectorLayerIds&&-1===n.vectorLayerIds.indexOf(i))&&this.fire(new t.ErrorEvent(new Error('Source layer "'+i+'" does not exist on source "'+n.id+'" as specified by style layer "'+e.id+'"')))}}},r.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},r.prototype._serializeLayers=function(t){for(var e=[],r=0,i=t;r<i.length;r+=1){var n=i[r],o=this._layers[n];"custom"!==o.type&&e.push(o.serialize())}return e},r.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(var e in this._layers)if(this._layers[e].hasTransition())return!0;return!1},r.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},r.prototype.update=function(e){if(this._loaded){var r=this._changed;if(this._changed){var i=Object.keys(this._updatedLayers),n=Object.keys(this._removedLayers);for(var o in(i.length||n.length)&&this._updateWorkerLayers(i,n),this._updatedSources){var a=this._updatedSources[o];"reload"===a?this._reloadSource(o):"clear"===a&&this._clearSource(o)}for(var s in this._updateTilesForChangedImages(),this._updatedPaintProps)this._layers[s].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}for(var l in this.sourceCaches)this.sourceCaches[l].used=!1;for(var u=0,c=this._order;u<c.length;u+=1){var p=c[u],h=this._layers[p];h.recalculate(e,this.imageManager.listImages()),!h.isHidden(e.zoom)&&h.source&&(this.sourceCaches[h.source].used=!0)}this.light.recalculate(e),this.z=e.zoom,r&&this.fire(new t.Event("data",{dataType:"style"}))}},r.prototype._updateTilesForChangedImages=function(){var t=Object.keys(this._changedImages);if(t.length){for(var e in this.sourceCaches)this.sourceCaches[e].reloadTilesForDependencies(["icons","patterns"],t);this._changedImages={}}},r.prototype._updateWorkerLayers=function(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e})},r.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={}},r.prototype.setState=function(e){var r=this;if(this._checkLoaded(),De(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=Ft(e.layers);var i=function(e,r){if(!e)return[{command:Ot.setStyle,args:[r]}];var i=[];try{if(!t.deepEqual(e.version,r.version))return[{command:Ot.setStyle,args:[r]}];t.deepEqual(e.center,r.center)||i.push({command:Ot.setCenter,args:[r.center]}),t.deepEqual(e.zoom,r.zoom)||i.push({command:Ot.setZoom,args:[r.zoom]}),t.deepEqual(e.bearing,r.bearing)||i.push({command:Ot.setBearing,args:[r.bearing]}),t.deepEqual(e.pitch,r.pitch)||i.push({command:Ot.setPitch,args:[r.pitch]}),t.deepEqual(e.sprite,r.sprite)||i.push({command:Ot.setSprite,args:[r.sprite]}),t.deepEqual(e.glyphs,r.glyphs)||i.push({command:Ot.setGlyphs,args:[r.glyphs]}),t.deepEqual(e.transition,r.transition)||i.push({command:Ot.setTransition,args:[r.transition]}),t.deepEqual(e.light,r.light)||i.push({command:Ot.setLight,args:[r.light]});var n={},o=[];!function(e,r,i,n){var o;for(o in r=r||{},e=e||{})e.hasOwnProperty(o)&&(r.hasOwnProperty(o)||Vt(o,i,n));for(o in r)r.hasOwnProperty(o)&&(e.hasOwnProperty(o)?t.deepEqual(e[o],r[o])||("geojson"===e[o].type&&"geojson"===r[o].type&&jt(e,r,o)?i.push({command:Ot.setGeoJSONSourceData,args:[o,r[o].data]}):Nt(o,r,i,n)):Ut(o,r,i))}(e.sources,r.sources,o,n);var a=[];e.layers&&e.layers.forEach((function(t){n[t.source]?i.push({command:Ot.removeLayer,args:[t.id]}):a.push(t)})),i=i.concat(o),function(e,r,i){r=r||[];var n,o,a,s,l,u,c,p=(e=e||[]).map(Zt),h=r.map(Zt),f=e.reduce(Gt,{}),d=r.reduce(Gt,{}),m=p.slice(),y=Object.create(null);for(n=0,o=0;n<p.length;n++)a=p[n],d.hasOwnProperty(a)?o++:(i.push({command:Ot.removeLayer,args:[a]}),m.splice(m.indexOf(a,o),1));for(n=0,o=0;n<h.length;n++)a=h[h.length-1-n],m[m.length-1-n]!==a&&(f.hasOwnProperty(a)?(i.push({command:Ot.removeLayer,args:[a]}),m.splice(m.lastIndexOf(a,m.length-o),1)):o++,u=m[m.length-n],i.push({command:Ot.addLayer,args:[d[a],u]}),m.splice(m.length-n,0,a),y[a]=!0);for(n=0;n<h.length;n++)if(s=f[a=h[n]],l=d[a],!y[a]&&!t.deepEqual(s,l))if(t.deepEqual(s.source,l.source)&&t.deepEqual(s["source-layer"],l["source-layer"])&&t.deepEqual(s.type,l.type)){for(c in qt(s.layout,l.layout,i,a,null,Ot.setLayoutProperty),qt(s.paint,l.paint,i,a,null,Ot.setPaintProperty),t.deepEqual(s.filter,l.filter)||i.push({command:Ot.setFilter,args:[a,l.filter]}),t.deepEqual(s.minzoom,l.minzoom)&&t.deepEqual(s.maxzoom,l.maxzoom)||i.push({command:Ot.setLayerZoomRange,args:[a,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(c)&&"layout"!==c&&"paint"!==c&&"filter"!==c&&"metadata"!==c&&"minzoom"!==c&&"maxzoom"!==c&&(0===c.indexOf("paint.")?qt(s[c],l[c],i,a,c.slice(6),Ot.setPaintProperty):t.deepEqual(s[c],l[c])||i.push({command:Ot.setLayerProperty,args:[a,c,l[c]]}));for(c in l)l.hasOwnProperty(c)&&!s.hasOwnProperty(c)&&"layout"!==c&&"paint"!==c&&"filter"!==c&&"metadata"!==c&&"minzoom"!==c&&"maxzoom"!==c&&(0===c.indexOf("paint.")?qt(s[c],l[c],i,a,c.slice(6),Ot.setPaintProperty):t.deepEqual(s[c],l[c])||i.push({command:Ot.setLayerProperty,args:[a,c,l[c]]}))}else i.push({command:Ot.removeLayer,args:[a]}),u=m[m.lastIndexOf(a)+1],i.push({command:Ot.addLayer,args:[l,u]})}(a,r.layers,i)}catch(t){console.warn("Unable to compute style diff:",t),i=[{command:Ot.setStyle,args:[r]}]}return i}(this.serialize(),e).filter((function(t){return!(t.command in Re)}));if(0===i.length)return!1;var n=i.filter((function(t){return!(t.command in Be)}));if(n.length>0)throw new Error("Unimplemented: "+n.map((function(t){return t.command})).join(", ")+".");return i.forEach((function(t){"setTransition"!==t.command&&r[t.command].apply(r,t.args)})),this.stylesheet=e,!0},r.prototype.addImage=function(e,r){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(e,r),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e)},r.prototype.getImage=function(t){return this.imageManager.getImage(t)},r.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(e),this._changedImages[e]=!0,this._changed=!0,this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},r.prototype.addSource=function(e,r,i){var n=this;if(void 0===i&&(i={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!r.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(r).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(r.type)>=0&&this._validate(t.validateStyle.source,"sources."+e,r,null,i))){this.map&&this.map._collectResourceTiming&&(r.collectResourceTiming=!0);var o=this.sourceCaches[e]=new Ct(e,r,this.dispatcher);o.style=this,o.setEventedParent(this,(function(){return{isSourceLoaded:n.loaded(),source:o.serialize(),sourceId:e}})),o.onAdd(this.map),this._changed=!0}},r.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var r in this._layers)if(this._layers[r].source===e)return this.fire(new t.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+r+'" is using it.')));var i=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],i.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.clearTiles(),i.onRemove&&i.onRemove(this.map),this._changed=!0},r.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0},r.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},r.prototype.addLayer=function(e,r,i){void 0===i&&(i={}),this._checkLoaded();var n=e.id;if(this.getLayer(n))this.fire(new t.ErrorEvent(new Error('Layer with id "'+n+'" already exists on this map')));else{var o;if("custom"===e.type){if(De(this,t.validateCustomStyleLayer(e)))return;o=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(n,e.source),e=t.clone$1(e),e=t.extend(e,{source:n})),this._validate(t.validateStyle.layer,"layers."+n,e,{arrayIndex:-1},i))return;o=t.createStyleLayer(e),this._validateLayer(o),o.setEventedParent(this,{layer:{id:n}})}var a=r?this._order.indexOf(r):this._order.length;if(r&&-1===a)this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.')));else{if(this._order.splice(a,0,n),this._layerOrderChanged=!0,this._layers[n]=o,this._removedLayers[n]&&o.source&&"custom"!==o.type){var s=this._removedLayers[n];delete this._removedLayers[n],s.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",this.sourceCaches[o.source].pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map)}}},r.prototype.moveLayer=function(e,r){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==r){var i=this._order.indexOf(e);this._order.splice(i,1);var n=r?this._order.indexOf(r):this._order.length;r&&-1===n?this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.'))):(this._order.splice(n,0,e),this._layerOrderChanged=!0)}}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")))},r.prototype.removeLayer=function(e){this._checkLoaded();var r=this._layers[e];if(r){r.setEventedParent(null);var i=this._order.indexOf(e);this._order.splice(i,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=r,delete this._layers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],r.onRemove&&r.onRemove(this.map)}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")))},r.prototype.getLayer=function(t){return this._layers[t]},r.prototype.setLayerZoomRange=function(e,r,i){this._checkLoaded();var n=this.getLayer(e);n?n.minzoom===r&&n.maxzoom===i||(null!=r&&(n.minzoom=r),null!=i&&(n.maxzoom=i),this._updateLayer(n)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")))},r.prototype.setFilter=function(e,r,i){void 0===i&&(i={}),this._checkLoaded();var n=this.getLayer(e);if(n){if(!t.deepEqual(n.filter,r))return null==r?(n.filter=void 0,void this._updateLayer(n)):void(this._validate(t.validateStyle.filter,"layers."+n.id+".filter",r,null,i)||(n.filter=t.clone$1(r),this._updateLayer(n)))}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")))},r.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},r.prototype.setLayoutProperty=function(e,r,i,n){void 0===n&&(n={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getLayoutProperty(r),i)||(o.setLayoutProperty(r,i,n),this._updateLayer(o)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getLayoutProperty=function(e,r){var i=this.getLayer(e);if(i)return i.getLayoutProperty(r);this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")))},r.prototype.setPaintProperty=function(e,r,i,n){void 0===n&&(n={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getPaintProperty(r),i)||(o.setPaintProperty(r,i,n)&&this._updateLayer(o),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},r.prototype.setFeatureState=function(e,r){this._checkLoaded();var i=e.source,n=e.sourceLayer,o=this.sourceCaches[i],a=parseInt(e.id,10);if(void 0!==o){var s=o.getSource().type;"geojson"===s&&n?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||n?isNaN(a)||a<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative."))):o.setFeatureState(n,a,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},r.prototype.removeFeatureState=function(e,r){this._checkLoaded();var i=e.source,n=this.sourceCaches[i];if(void 0!==n){var o=n.getSource().type,a="vector"===o?e.sourceLayer:void 0,s=parseInt(e.id,10);"vector"!==o||a?void 0!==e.id&&isNaN(s)||s<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be non-negative."))):r&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):n.removeFeatureState(a,s,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},r.prototype.getFeatureState=function(e){this._checkLoaded();var r=e.source,i=e.sourceLayer,n=this.sourceCaches[r],o=parseInt(e.id,10);if(void 0!==n)if("vector"!==n.getSource().type||i){if(!(isNaN(o)||o<0))return n.getFeatureState(i,o);this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative.")))}else this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));else this.fire(new t.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},r.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},r.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},r.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&"raster"!==this.sourceCaches[t.source].getSource().type&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0},r.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,r=function(t){return"fill-extrusion"===e._layers[t].type},i={},n=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(r(a)){i[a]=o;for(var s=0,l=t;s<l.length;s+=1){var u=l[s][a];if(u)for(var c=0,p=u;c<p.length;c+=1){var h=p[c];n.push(h)}}}}n.sort((function(t,e){return e.intersectionZ-t.intersectionZ}));for(var f=[],d=this._order.length-1;d>=0;d--){var m=this._order[d];if(r(m))for(var y=n.length-1;y>=0;y--){var _=n[y].feature;if(i[_.layer.id]<d)break;f.push(_),n.pop()}else for(var g=0,v=t;g<v.length;g+=1){var x=v[g][m];if(x)for(var b=0,w=x;b<w.length;b+=1){var S=w[b];f.push(S.feature)}}}return f},r.prototype.queryRenderedFeatures=function(e,r,i){r&&r.filter&&this._validate(t.validateStyle.filter,"queryRenderedFeatures.filter",r.filter,null,r);var n={};if(r&&r.layers){if(!Array.isArray(r.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var o=0,a=r.layers;o<a.length;o+=1){var s=a[o],l=this._layers[s];if(!l)return this.fire(new t.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];n[l.source]=!0}}var u=[];for(var c in this.sourceCaches)r.layers&&!n[c]||u.push(R(this.sourceCaches[c],this._layers,e,r,i));return this.placement&&u.push(function(t,e,r,i,n,o){for(var a={},s=n.queryRenderedSymbols(r),l=[],u=0,c=Object.keys(s).map(Number);u<c.length;u+=1){var p=c[u];l.push(o[p])}l.sort(F);for(var h=function(){var e=d[f],r=e.featureIndex.lookupSymbolFeatures(s[e.bucketInstanceId],e.bucketIndex,e.sourceLayerIndex,i.filter,i.layers,t);for(var n in r){var o=a[n]=a[n]||[],l=r[n];l.sort((function(t,r){var i=e.featureSortOrder;if(i){var n=i.indexOf(t.featureIndex);return i.indexOf(r.featureIndex)-n}return r.featureIndex-t.featureIndex}));for(var u=0,c=l;u<c.length;u+=1){var p=c[u];o.push(p)}}},f=0,d=l;f<d.length;f+=1)h();var m=function(r){a[r].forEach((function(i){var n=i.feature,o=t[r],a=e[o.source].getFeatureState(n.layer["source-layer"],n.id);n.source=n.layer.source,n.layer["source-layer"]&&(n.sourceLayer=n.layer["source-layer"]),n.state=a}))};for(var y in a)m(y);return a}(this._layers,this.sourceCaches,e,r,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(u)},r.prototype.querySourceFeatures=function(e,r){r&&r.filter&&this._validate(t.validateStyle.filter,"querySourceFeatures.filter",r.filter,null,r);var i=this.sourceCaches[e];return i?function(t,e){for(var r=t.getRenderableIds().map((function(e){return t.getTileByID(e)})),i=[],n={},o=0;o<r.length;o++){var a=r[o],s=a.tileID.canonical.key;n[s]||(n[s]=!0,a.querySourceFeatures(i,e))}return i}(i,r):[]},r.prototype.addSourceType=function(t,e,i){return r.getSourceType(t)?i(new Error('A source type called "'+t+'" already exists.')):(r.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},i):i(null,null))},r.prototype.getLight=function(){return this.light.getLight()},r.prototype.setLight=function(e,r){void 0===r&&(r={}),this._checkLoaded();var i=this.light.getLight(),n=!1;for(var o in e)if(!t.deepEqual(e[o],i[o])){n=!0;break}if(n){var a={now:t.browser.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,r),this.light.updateTransitions(a)}},r.prototype._validate=function(e,r,i,n,o){return void 0===o&&(o={}),(!o||!1!==o.validate)&&De(this,e.call(t.validateStyle,t.extend({key:r,style:this.serialize(),value:i,styleSpec:t.styleSpec},n)))},r.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginStateChange",this._rtlTextPluginCallback),this._layers)this._layers[e].setEventedParent(null);for(var r in this.sourceCaches)this.sourceCaches[r].clearTiles(),this.sourceCaches[r].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove()},r.prototype._clearSource=function(t){this.sourceCaches[t].clearTiles()},r.prototype._reloadSource=function(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload()},r.prototype._updateSources=function(t){for(var e in this.sourceCaches)this.sourceCaches[e].update(t)},r.prototype._generateCollisionBoxes=function(){for(var t in this.sourceCaches)this._reloadSource(t)},r.prototype._updatePlacement=function(e,r,i,n){for(var o=!1,a=!1,s={},l=0,u=this._order;l<u.length;l+=1){var c=u[l],p=this._layers[c];if("symbol"===p.type){if(!s[p.source]){var h=this.sourceCaches[p.source];s[p.source]=h.getRenderableIds(!0).map((function(t){return h.getTileByID(t)})).sort((function(t,e){return e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)}))}var f=this.crossTileSymbolIndex.addLayer(p,s[p.source],e.center.lng);o=o||f}}this.crossTileSymbolIndex.pruneUnusedLayers(this._order);var d=this._layerOrderChanged||0===i;if((d||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.browser.now(),e.zoom))&&(this.pauseablePlacement=new ze(e,this._order,d,r,i,n,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,s),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.browser.now()),a=!0),o&&this.pauseablePlacement.placement.setStale()),a||o)for(var m=0,y=this._order;m<y.length;m+=1){var _=y[m],g=this._layers[_];"symbol"===g.type&&this.placement.updateLayerOpacities(g,s[g.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.browser.now())},r.prototype._releaseSymbolFadeTiles=function(){for(var t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles()},r.prototype.getImages=function(t,e,r){this.imageManager.getImages(e.icons,r),this._updateTilesForChangedImages();var i=this.sourceCaches[e.source];i&&i.setDependencies(e.tileID.key,e.type,e.icons)},r.prototype.getGlyphs=function(t,e,r){this.glyphManager.getGlyphs(e.stacks,r)},r.prototype.getResource=function(e,r,i){return t.makeRequest(r,i)},r}(t.Evented);Fe.getSourceType=function(t){return D[t]},Fe.setSourceType=function(t,e){D[t]=e},Fe.registerForPluginStateChange=t.registerForPluginStateChange;var Oe=t.createLayout([{name:"a_pos",type:"Int16",components:2}]),Ue=pr("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),Ve=pr("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ne=pr("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),je=pr("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),qe=pr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ze=pr("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Ge=pr("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),Xe=pr("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),We=pr("uniform float u_overscale_factor;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {float alpha=0.5;vec4 color=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {color=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {color*=.2;}float extrude_scale_length=length(v_extrude_scale);float extrude_length=length(v_extrude)*extrude_scale_length;float stroke_width=15.0*extrude_scale_length/u_overscale_factor;float radius=v_radius*extrude_scale_length;float distance_to_edge=abs(extrude_length-radius);float opacity_t=smoothstep(-stroke_width,0.0,-distance_to_edge);gl_FragColor=opacity_t*color;}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);highp float padding_factor=1.2;gl_Position.xy+=a_extrude*u_extrude_scale*padding_factor*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;v_radius=abs(a_extrude.y);v_extrude=a_extrude*padding_factor;v_extrude_scale=u_extrude_scale*u_camera_to_center_distance*collision_perspective_ratio;}"),Ke=pr("uniform highp vec4 u_color;void main() {gl_FragColor=u_color;}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),He=pr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),Je=pr("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Ye=pr("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Qe=pr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),$e=pr("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),tr=pr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec4 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),er=pr("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),rr=pr("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),ir=pr("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),nr=pr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define MAX_LINE_DISTANCE 32767.0\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),or=pr("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec4 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x,1.0);float x_b=mod(v_linesofar/pattern_size_b.x,1.0);float y_a=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_a.y+2.0)/2.0)/pattern_size_a.y);float y_b=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_b.y+2.0)/2.0)/pattern_size_b.y);vec2 pos_a=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,vec2(x_a,y_a));vec2 pos_b=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,vec2(x_b,y_b));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);}"),ar=pr("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),sr=pr("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),lr=pr("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),ur=pr("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}"),cr=pr("#define SDF_PX 8.0\n#define SDF 1.0\n#define ICON 0.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\nreturn;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;varying vec4 v_data0;varying vec4 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}");function pr(t,e){var r=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,i={};return{fragmentSource:t=t.replace(r,(function(t,e,r,n,o){return i[o]=!0,"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nvarying "+r+" "+n+" "+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n"})),vertexSource:e=e.replace(r,(function(t,e,r,n,o){var a="float"===n?"vec2":"vec4",s=o.match(/color/)?"color":a;return i[o]?"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\nvarying "+r+" "+n+" "+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = a_"+o+";\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = unpack_mix_"+s+"(a_"+o+", u_"+o+"_t);\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float u_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = a_"+o+";\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = unpack_mix_"+s+"(a_"+o+", u_"+o+"_t);\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n"}))}}var hr=Object.freeze({__proto__:null,prelude:Ue,background:Ve,backgroundPattern:Ne,circle:je,clippingMask:qe,heatmap:Ze,heatmapTexture:Ge,collisionBox:Xe,collisionCircle:We,debug:Ke,fill:He,fillOutline:Je,fillOutlinePattern:Ye,fillPattern:Qe,fillExtrusion:$e,fillExtrusionPattern:tr,hillshadePrepare:er,hillshade:rr,line:ir,lineGradient:nr,linePattern:or,lineSDF:ar,raster:sr,symbolIcon:lr,symbolSDF:ur,symbolTextAndIcon:cr}),fr=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};fr.prototype.bind=function(t,e,r,i,n,o,a,s){this.context=t;for(var l=this.boundPaintVertexBuffers.length!==i.length,u=0;!l&&u<i.length;u++)this.boundPaintVertexBuffers[u]!==i[u]&&(l=!0);var c=!this.vao||this.boundProgram!==e||this.boundLayoutVertexBuffer!==r||l||this.boundIndexBuffer!==n||this.boundVertexOffset!==o||this.boundDynamicVertexBuffer!==a||this.boundDynamicVertexBuffer2!==s;!t.extVertexArrayObject||c?this.freshBind(e,r,i,n,o,a,s):(t.bindVertexArrayOES.set(this.vao),a&&a.bind(),n&&n.dynamicDraw&&n.bind(),s&&s.bind())},fr.prototype.freshBind=function(t,e,r,i,n,o,a){var s,l=t.numAttributes,u=this.context,c=u.gl;if(u.extVertexArrayObject)this.vao&&this.destroy(),this.vao=u.extVertexArrayObject.createVertexArrayOES(),u.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=r,this.boundIndexBuffer=i,this.boundVertexOffset=n,this.boundDynamicVertexBuffer=o,this.boundDynamicVertexBuffer2=a;else{s=u.currentNumAttributes||0;for(var p=l;p<s;p++)c.disableVertexAttribArray(p)}e.enableAttributes(c,t);for(var h=0,f=r;h<f.length;h+=1)f[h].enableAttributes(c,t);o&&o.enableAttributes(c,t),a&&a.enableAttributes(c,t),e.bind(),e.setVertexAttribPointers(c,t,n);for(var d=0,m=r;d<m.length;d+=1){var y=m[d];y.bind(),y.setVertexAttribPointers(c,t,n)}o&&(o.bind(),o.setVertexAttribPointers(c,t,n)),i&&i.bind(),a&&(a.bind(),a.setVertexAttribPointers(c,t,n)),u.currentNumAttributes=l},fr.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var dr=function(t,e,r,i,n){var o=t.gl;this.program=o.createProgram();var a=r.defines();n&&a.push("#define OVERDRAW_INSPECTOR;");var s=a.concat(Ue.fragmentSource,e.fragmentSource).join("\n"),l=a.concat(Ue.vertexSource,e.vertexSource).join("\n"),u=o.createShader(o.FRAGMENT_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(u,s),o.compileShader(u),o.attachShader(this.program,u);var c=o.createShader(o.VERTEX_SHADER);if(o.isContextLost())this.failedToCreate=!0;else{o.shaderSource(c,l),o.compileShader(c),o.attachShader(this.program,c);for(var p=r.layoutAttributes||[],h=0;h<p.length;h++)o.bindAttribLocation(this.program,h,p[h].name);o.linkProgram(this.program),this.numAttributes=o.getProgramParameter(this.program,o.ACTIVE_ATTRIBUTES),this.attributes={};for(var f={},d=0;d<this.numAttributes;d++){var m=o.getActiveAttrib(this.program,d);m&&(this.attributes[m.name]=o.getAttribLocation(this.program,m.name))}for(var y=o.getProgramParameter(this.program,o.ACTIVE_UNIFORMS),_=0;_<y;_++){var g=o.getActiveUniform(this.program,_);g&&(f[g.name]=o.getUniformLocation(this.program,g.name))}this.fixedUniforms=i(t,f),this.binderUniforms=r.getUniforms(t,f)}}};function mr(e,r,i){var n=1/le(i,1,r.transform.tileZoom),o=Math.pow(2,i.tileID.overscaledZ),a=i.tileSize*Math.pow(2,r.transform.tileZoom)/o,s=a*(i.tileID.canonical.x+i.tileID.wrap*o),l=a*i.tileID.canonical.y;return{u_image:0,u_texsize:i.imageAtlasTexture.size,u_scale:[t.browser.devicePixelRatio,n,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[s>>16,l>>16],u_pixel_coord_lower:[65535&s,65535&l]}}dr.prototype.draw=function(t,e,r,i,n,o,a,s,l,u,c,p,h,f,d,m){var y,_=t.gl;if(!this.failedToCreate){for(var g in t.program.set(this.program),t.setDepthMode(r),t.setStencilMode(i),t.setColorMode(n),t.setCullFace(o),this.fixedUniforms)this.fixedUniforms[g].set(a[g]);f&&f.setUniforms(t,this.binderUniforms,p,{zoom:h});for(var v=(y={},y[_.LINES]=2,y[_.TRIANGLES]=3,y[_.LINE_STRIP]=1,y)[e],x=0,b=c.get();x<b.length;x+=1){var w=b[x],S=w.vaos||(w.vaos={});(S[s]||(S[s]=new fr)).bind(t,this,l,f?f.getPaintVertexBuffers():[],u,w.vertexOffset,d,m),_.drawElements(e,w.primitiveLength*v,_.UNSIGNED_SHORT,w.primitiveOffset*v*2)}}};var yr=function(e,r,i,n){var o=r.style.light,a=o.properties.get("position"),s=[a.x,a.y,a.z],l=t.create$1();"viewport"===o.properties.get("anchor")&&t.fromRotation(l,-r.transform.angle),t.transformMat3(s,s,l);var u=o.properties.get("color");return{u_matrix:e,u_lightpos:s,u_lightintensity:o.properties.get("intensity"),u_lightcolor:[u.r,u.g,u.b],u_vertical_gradient:+i,u_opacity:n}},_r=function(e,r,i,n,o,a,s){return t.extend(yr(e,r,i,n),mr(a,r,s),{u_height_factor:-Math.pow(2,o.overscaledZ)/s.tileSize/8})},gr=function(t){return{u_matrix:t}},vr=function(e,r,i,n){return t.extend(gr(e),mr(i,r,n))},xr=function(t,e){return{u_matrix:t,u_world:e}},br=function(e,r,i,n,o){return t.extend(vr(e,r,i,n),{u_world:o})},wr=function(e,r,i,n){var o,a,s=e.transform;if("map"===n.paint.get("circle-pitch-alignment")){var l=le(i,1,s.zoom);o=!0,a=[l,l]}else o=!1,a=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===n.paint.get("circle-pitch-scale")),u_matrix:e.translatePosMatrix(r.posMatrix,i,n.paint.get("circle-translate"),n.paint.get("circle-translate-anchor")),u_pitch_with_map:+o,u_device_pixel_ratio:t.browser.devicePixelRatio,u_extrude_scale:a}},Sr=function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,r.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,r.u_overscale_factor)}},Er=function(t,e,r){var i=le(r,1,e.zoom),n=Math.pow(2,e.zoom-r.tileID.overscaledZ),o=r.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:i,u_extrude_scale:[e.pixelsToGLUnits[0]/(i*n),e.pixelsToGLUnits[1]/(i*n)],u_overscale_factor:o}},Tr=function(t,e){return{u_matrix:t,u_color:e}},Ir=function(t){return{u_matrix:t}},Ar=function(t,e,r,i){return{u_matrix:t,u_extrude_scale:le(e,1,r),u_intensity:i}};function zr(e,r){var i=Math.pow(2,r.canonical.z),n=r.canonical.y;return[new t.MercatorCoordinate(0,n/i).toLngLat().lat,new t.MercatorCoordinate(0,(n+1)/i).toLngLat().lat]}var Cr=function(e,r,i){var n=e.transform;return{u_matrix:Dr(e,r,i),u_ratio:1/le(r,1,n.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_units_to_pixels:[1/n.pixelsToGLUnits[0],1/n.pixelsToGLUnits[1]]}},kr=function(e,r,i){return t.extend(Cr(e,r,i),{u_image:0})},Pr=function(e,r,i,n){var o=e.transform,a=Lr(r,o);return{u_matrix:Dr(e,r,i),u_texsize:r.imageAtlasTexture.size,u_ratio:1/le(r,1,o.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_image:0,u_scale:[t.browser.devicePixelRatio,a,n.fromScale,n.toScale],u_fade:n.t,u_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]]}},Mr=function(e,r,i,n,o){var a=e.transform,s=e.lineAtlas,l=Lr(r,a),u="round"===i.layout.get("line-cap"),c=s.getDash(n.from,u),p=s.getDash(n.to,u),h=c.width*o.fromScale,f=p.width*o.toScale;return t.extend(Cr(e,r,i),{u_patternscale_a:[l/h,-c.height/2],u_patternscale_b:[l/f,-p.height/2],u_sdfgamma:s.width/(256*Math.min(h,f)*t.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:c.y,u_tex_y_b:p.y,u_mix:o.t})};function Lr(t,e){return 1/le(t,1,e.tileZoom)}function Dr(t,e,r){return t.translatePosMatrix(e.tileID.posMatrix,e,r.paint.get("line-translate"),r.paint.get("line-translate-anchor"))}var Br=function(t,e,r,i,n){return{u_matrix:t,u_tl_parent:e,u_scale_parent:r,u_buffer_scale:1,u_fade_t:i.mix,u_opacity:i.opacity*n.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:n.paint.get("raster-brightness-min"),u_brightness_high:n.paint.get("raster-brightness-max"),u_saturation_factor:(a=n.paint.get("raster-saturation"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(o=n.paint.get("raster-contrast"),o>0?1/(1-o):1+o),u_spin_weights:Rr(n.paint.get("raster-hue-rotate"))};var o,a};function Rr(t){t*=Math.PI/180;var e=Math.sin(t),r=Math.cos(t);return[(2*r+1)/3,(-Math.sqrt(3)*e-r+1)/3,(Math.sqrt(3)*e-r+1)/3]}var Fr=function(t,e,r,i,n,o,a,s,l,u){var c=n.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:c.cameraToCenterDistance,u_pitch:c.pitch/360*2*Math.PI,u_rotate_symbol:+r,u_aspect_ratio:c.width/c.height,u_fade_change:n.options.fadeDuration?n.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+i,u_texsize:u,u_texture:0}},Or=function(e,r,i,n,o,a,s,l,u,c,p){var h=o.transform;return t.extend(Fr(e,r,i,n,o,a,s,l,u,c),{u_gamma_scale:n?Math.cos(h._pitch)*h.cameraToCenterDistance:1,u_device_pixel_ratio:t.browser.devicePixelRatio,u_is_halo:+p})},Ur=function(e,r,i,n,o,a,s,l,u,c){return t.extend(Or(e,r,i,n,o,a,s,l,!0,u,!0),{u_texsize_icon:c,u_texture_icon:1})},Vr=function(t,e,r){return{u_matrix:t,u_opacity:e,u_color:r}},Nr=function(e,r,i,n,o,a){return t.extend(function(t,e,r,i){var n=r.imageManager.getPattern(t.from.toString()),o=r.imageManager.getPattern(t.to.toString()),a=r.imageManager.getPixelSize(),s=a.width,l=a.height,u=Math.pow(2,i.tileID.overscaledZ),c=i.tileSize*Math.pow(2,r.transform.tileZoom)/u,p=c*(i.tileID.canonical.x+i.tileID.wrap*u),h=c*i.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:n.tl,u_pattern_br_a:n.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,l],u_mix:e.t,u_pattern_size_a:n.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/le(i,1,r.transform.tileZoom),u_pixel_coord_upper:[p>>16,h>>16],u_pixel_coord_lower:[65535&p,65535&h]}}(n,a,i,o),{u_matrix:e,u_opacity:r})},jr={fillExtrusion:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fillExtrusionPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,r.u_height_factor),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fill:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},fillPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},fillOutline:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world)}},fillOutlinePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},circle:function(e,r){return{u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,r.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},collisionBox:Sr,collisionCircle:Sr,debug:function(e,r){return{u_color:new t.UniformColor(e,r.u_color),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},clippingMask:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmap:function(e,r){return{u_extrude_scale:new t.Uniform1f(e,r.u_extrude_scale),u_intensity:new t.Uniform1f(e,r.u_intensity),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmapTexture:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_color_ramp:new t.Uniform1i(e,r.u_color_ramp),u_opacity:new t.Uniform1f(e,r.u_opacity)}},hillshade:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_latrange:new t.Uniform2f(e,r.u_latrange),u_light:new t.Uniform2f(e,r.u_light),u_shadow:new t.UniformColor(e,r.u_shadow),u_highlight:new t.UniformColor(e,r.u_highlight),u_accent:new t.UniformColor(e,r.u_accent)}},hillshadePrepare:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_dimension:new t.Uniform2f(e,r.u_dimension),u_zoom:new t.Uniform1f(e,r.u_zoom),u_maxzoom:new t.Uniform1f(e,r.u_maxzoom),u_unpack:new t.Uniform4f(e,r.u_unpack)}},line:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels)}},lineGradient:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_image:new t.Uniform1i(e,r.u_image)}},linePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_texsize:new t.Uniform2f(e,r.u_texsize),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_image:new t.Uniform1i(e,r.u_image),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},lineSDF:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,r.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,r.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,r.u_sdfgamma),u_image:new t.Uniform1i(e,r.u_image),u_tex_y_a:new t.Uniform1f(e,r.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,r.u_tex_y_b),u_mix:new t.Uniform1f(e,r.u_mix)}},raster:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_tl_parent:new t.Uniform2f(e,r.u_tl_parent),u_scale_parent:new t.Uniform1f(e,r.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,r.u_buffer_scale),u_fade_t:new t.Uniform1f(e,r.u_fade_t),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image0:new t.Uniform1i(e,r.u_image0),u_image1:new t.Uniform1i(e,r.u_image1),u_brightness_low:new t.Uniform1f(e,r.u_brightness_low),u_brightness_high:new t.Uniform1f(e,r.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,r.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,r.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,r.u_spin_weights)}},symbolIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture)}},symbolSDF:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_is_halo:new t.Uniform1f(e,r.u_is_halo)}},symbolTextAndIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,r.u_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texsize_icon:new t.Uniform2f(e,r.u_texsize_icon),u_texture:new t.Uniform1i(e,r.u_texture),u_texture_icon:new t.Uniform1i(e,r.u_texture_icon),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_is_halo:new t.Uniform1f(e,r.u_is_halo)}},background:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_color:new t.UniformColor(e,r.u_color)}},backgroundPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image:new t.Uniform1i(e,r.u_image),u_pattern_tl_a:new t.Uniform2f(e,r.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,r.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,r.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,r.u_pattern_br_b),u_texsize:new t.Uniform2f(e,r.u_texsize),u_mix:new t.Uniform1f(e,r.u_mix),u_pattern_size_a:new t.Uniform2f(e,r.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,r.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,r.u_scale_a),u_scale_b:new t.Uniform1f(e,r.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,r.u_tile_units_to_pixels)}}};function qr(e,r){for(var i=e.sort((function(t,e){return t.tileID.isLessThan(e.tileID)?-1:e.tileID.isLessThan(t.tileID)?1:0})),n=0;n<i.length;n++){var o={},a=i[n],s=i.slice(n+1);Zr(a.tileID.wrapped(),a.tileID,s,new t.OverscaledTileID(0,a.tileID.wrap+1,0,0,0),o),a.setMask(o,r)}}function Zr(e,r,i,n,o){for(var a=0;a<i.length;a++){var s=i[a];if(n.isLessThan(s.tileID))break;if(r.key===s.tileID.key)return;if(s.tileID.isChildOf(r)){for(var l=r.children(1/0),u=0;u<l.length;u++)Zr(e,l[u],i.slice(a),n,o);return}}var c=r.overscaledZ-e.overscaledZ,p=new t.CanonicalTileID(c,r.canonical.x-(e.canonical.x<<c),r.canonical.y-(e.canonical.y<<c));o[p.key]=o[p.key]||p}function Gr(t,e,r,i,n,o,a,s){for(var l=t.context,u=l.gl,c=n?t.useProgram("collisionCircle"):t.useProgram("collisionBox"),p=0;p<i.length;p++){var h=i[p],f=e.getTile(h),d=f.getBucket(r);if(d){var m=n?s?d.textCollisionCircle:d.iconCollisionCircle:s?d.textCollisionBox:d.iconCollisionBox;if(m){var y=h.posMatrix;0===o[0]&&0===o[1]||(y=t.translatePosMatrix(h.posMatrix,f,o,a)),c.draw(l,n?u.TRIANGLES:u.LINES,Et.disabled,Tt.disabled,t.colorModeForRenderPass(),At.disabled,Er(y,t.transform,f),r.id,m.layoutVertexBuffer,m.indexBuffer,m.segments,null,t.transform.zoom,null,null,m.collisionVertexBuffer)}}}}function Xr(t,e,r,i,n,o,a){Gr(t,e,r,i,!1,n,o,a),Gr(t,e,r,i,!0,n,o,a)}var Wr=t.identity(new Float32Array(16));function Kr(e,r,i,n,o,a){var s=t.getAnchorAlignment(e),l=-(s.horizontalAlign-.5)*r,u=-(s.verticalAlign-.5)*i,c=t.evaluateVariableOffset(e,n);return new t.Point((l/o+c[0])*a,(u/o+c[1])*a)}function Hr(e,r,i,n,o,a,s,l,u,c,p){var h=e.text.placedSymbolArray,f=e.text.dynamicLayoutVertexArray,d=e.icon.dynamicLayoutVertexArray,m={};f.clear();for(var y=0;y<h.length;y++){var _=h.get(y),g=e.allowVerticalPlacement&&!_.placedOrientation,v=_.hidden||!_.crossTileID||g?null:n[_.crossTileID];if(v){var x=new t.Point(_.anchorX,_.anchorY),b=Ht(x,i?l:s),w=.5+a.cameraToCenterDistance/b.signedDistanceFromCamera*.5,S=o.evaluateSizeForFeature(e.textSizeData,c,_)*w/t.ONE_EM;i&&(S*=e.tilePixelRatio/u);for(var E=v.width,T=v.height,I=Kr(v.anchor,E,T,v.textOffset,v.textBoxScale,S),A=i?Ht(x.add(I),s).point:b.point.add(r?I.rotate(-a.angle):I),z=e.allowVerticalPlacement&&_.placedOrientation===t.WritingMode.vertical?Math.PI/2:0,C=0;C<_.numGlyphs;C++)t.addDynamicAttributes(f,A,z);p&&_.associatedIconIndex>=0&&(m[_.associatedIconIndex]={shiftedAnchor:A,angle:z})}else ne(_.numGlyphs,f)}if(p){d.clear();for(var k=e.icon.placedSymbolArray,P=0;P<k.length;P++){var M=k.get(P);if(M.hidden)ne(M.numGlyphs,d);else{var L=m[P];if(L)for(var D=0;D<M.numGlyphs;D++)t.addDynamicAttributes(d,L.shiftedAnchor,L.angle);else ne(M.numGlyphs,d)}}e.icon.dynamicLayoutVertexBuffer.updateData(d)}e.text.dynamicLayoutVertexBuffer.updateData(f)}function Jr(t,e,r){return r.iconsInText&&e?"symbolTextAndIcon":t?"symbolSDF":"symbolIcon"}function Yr(e,r,i,n,o,a,s,l,u,c,p,h){for(var f,d,m=e.context,y=m.gl,_=e.transform,g="map"===l,v="map"===u,x=g&&"point"!==i.layout.get("symbol-placement"),b=g&&!v&&!x,w=void 0!==i.layout.get("symbol-sort-key").constantOr(1),S=e.depthModeForSublayer(0,Et.ReadOnly),E=i.layout.get("text-variable-anchor"),T=[],I=0,A=n;I<A.length;I+=1){var z=A[I],C=r.getTile(z),k=C.getBucket(i);if(k){var P=o?k.text:k.icon;if(P&&P.segments.get().length){var M=P.programConfigurations.get(i.id),L=o||k.sdfIcons,D=o?k.textSizeData:k.iconSizeData,B=v||0!==_.pitch;f||(f=e.useProgram(Jr(L,o,k),M),d=t.evaluateSizeForZoom(D,_.zoom));var R=void 0,F=[0,0],O=void 0,U=void 0,V=null,N=void 0;if(o){if(O=C.glyphAtlasTexture,U=y.LINEAR,R=C.glyphAtlasTexture.size,k.iconsInText){F=C.imageAtlasTexture.size,V=C.imageAtlasTexture;var j="composite"===D.kind||"camera"===D.kind;N=B||e.options.rotating||e.options.zooming||j?y.LINEAR:y.NEAREST}}else{var q=1!==i.layout.get("icon-size").constantOr(0)||k.iconsNeedLinear;O=C.imageAtlasTexture,U=L||e.options.rotating||e.options.zooming||q||B?y.LINEAR:y.NEAREST,R=C.imageAtlasTexture.size}var Z=le(C,1,e.transform.zoom),G=Wt(z.posMatrix,v,g,e.transform,Z),X=Kt(z.posMatrix,v,g,e.transform,Z),W=E&&k.hasTextData(),K="none"!==i.layout.get("icon-text-fit")&&W&&k.hasIconData();x&&Yt(k,z.posMatrix,e,o,G,X,v,c);var H=e.translatePosMatrix(z.posMatrix,C,a,s),J=x||o&&E||K?Wr:G,Y=e.translatePosMatrix(X,C,a,s,!0),Q=L&&0!==i.paint.get(o?"text-halo-width":"icon-halo-width").constantOr(1),$={program:f,buffers:P,uniformValues:L?k.iconsInText?Ur(D.kind,d,b,v,e,H,J,Y,R,F):Or(D.kind,d,b,v,e,H,J,Y,o,R,!0):Fr(D.kind,d,b,v,e,H,J,Y,o,R),atlasTexture:O,atlasTextureIcon:V,atlasInterpolation:U,atlasInterpolationIcon:N,isSDF:L,hasHalo:Q};if(w)for(var tt=0,et=P.segments.get();tt<et.length;tt+=1){var rt=et[tt];T.push({segments:new t.SegmentVector([rt]),sortKey:rt.sortKey,state:$})}else T.push({segments:P.segments,sortKey:0,state:$})}}}w&&T.sort((function(t,e){return t.sortKey-e.sortKey}));for(var it=0,nt=T;it<nt.length;it+=1){var ot=nt[it],at=ot.state;if(m.activeTexture.set(y.TEXTURE0),at.atlasTexture.bind(at.atlasInterpolation,y.CLAMP_TO_EDGE),at.atlasTextureIcon&&(m.activeTexture.set(y.TEXTURE1),at.atlasTextureIcon&&at.atlasTextureIcon.bind(at.atlasInterpolationIcon,y.CLAMP_TO_EDGE)),at.isSDF){var st=at.uniformValues;at.hasHalo&&(st.u_is_halo=1,Qr(at.buffers,ot.segments,i,e,at.program,S,p,h,st)),st.u_is_halo=0}Qr(at.buffers,ot.segments,i,e,at.program,S,p,h,at.uniformValues)}}function Qr(t,e,r,i,n,o,a,s,l){var u=i.context,c=u.gl;n.draw(u,c.TRIANGLES,o,a,s,At.disabled,l,r.id,t.layoutVertexBuffer,t.indexBuffer,e,r.paint,i.transform.zoom,t.programConfigurations.get(r.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer)}function $r(t,e,r,i,n,o,a){var s,l,u,c,p,h=t.context.gl,f=r.paint.get("fill-pattern"),d=f&&f.constantOr(1),m=r.getCrossfadeParameters();a?(l=d&&!r.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=h.LINES):(l=d?"fillPattern":"fill",s=h.TRIANGLES);for(var y=0,_=i;y<_.length;y+=1){var g=_[y],v=e.getTile(g);if(!d||v.patternsLoaded()){var x=v.getBucket(r);if(x){var b=x.programConfigurations.get(r.id),w=t.useProgram(l,b);d&&(t.context.activeTexture.set(h.TEXTURE0),v.imageAtlasTexture.bind(h.LINEAR,h.CLAMP_TO_EDGE),b.updatePatternPaintBuffers(m));var S=f.constantOr(null);if(S&&v.imageAtlas){var E=v.imageAtlas,T=E.patternPositions[S.to.toString()],I=E.patternPositions[S.from.toString()];T&&I&&b.setConstantPatternPositions(T,I)}var A=t.translatePosMatrix(g.posMatrix,v,r.paint.get("fill-translate"),r.paint.get("fill-translate-anchor"));if(a){c=x.indexBuffer2,p=x.segments2;var z=[h.drawingBufferWidth,h.drawingBufferHeight];u="fillOutlinePattern"===l&&d?br(A,t,m,v,z):xr(A,z)}else c=x.indexBuffer,p=x.segments,u=d?vr(A,t,m,v):gr(A);w.draw(t.context,s,n,t.stencilModeForClipping(g),o,At.disabled,u,r.id,x.layoutVertexBuffer,c,p,r.paint,t.transform.zoom,b)}}}}function ti(t,e,r,i,n,o,a){for(var s=t.context,l=s.gl,u=r.paint.get("fill-extrusion-pattern"),c=u.constantOr(1),p=r.getCrossfadeParameters(),h=r.paint.get("fill-extrusion-opacity"),f=0,d=i;f<d.length;f+=1){var m=d[f],y=e.getTile(m),_=y.getBucket(r);if(_){var g=_.programConfigurations.get(r.id),v=t.useProgram(c?"fillExtrusionPattern":"fillExtrusion",g);c&&(t.context.activeTexture.set(l.TEXTURE0),y.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),g.updatePatternPaintBuffers(p));var x=u.constantOr(null);if(x&&y.imageAtlas){var b=y.imageAtlas,w=b.patternPositions[x.to.toString()],S=b.patternPositions[x.from.toString()];w&&S&&g.setConstantPatternPositions(w,S)}var E=t.translatePosMatrix(m.posMatrix,y,r.paint.get("fill-extrusion-translate"),r.paint.get("fill-extrusion-translate-anchor")),T=r.paint.get("fill-extrusion-vertical-gradient"),I=c?_r(E,t,T,h,m,p,y):yr(E,t,T,h);v.draw(s,s.gl.TRIANGLES,n,o,a,At.backCCW,I,r.id,_.layoutVertexBuffer,_.indexBuffer,_.segments,r.paint,t.transform.zoom,g)}}}function ei(t,e,r,i,n,o){var a=t.context,s=a.gl,l=e.fbo;if(l){var u=t.useProgram("hillshade");a.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,l.colorAttachment.get());var c=function(t,e,r){var i=r.paint.get("hillshade-shadow-color"),n=r.paint.get("hillshade-highlight-color"),o=r.paint.get("hillshade-accent-color"),a=r.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===r.paint.get("hillshade-illumination-anchor")&&(a-=t.transform.angle);var s=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(e.tileID.toUnwrapped(),s),u_image:0,u_latrange:zr(0,e.tileID),u_light:[r.paint.get("hillshade-exaggeration"),a],u_shadow:i,u_highlight:n,u_accent:o}}(t,e,r);e.maskedBoundsBuffer&&e.maskedIndexBuffer&&e.segments?u.draw(a,s.TRIANGLES,i,n,o,At.disabled,c,r.id,e.maskedBoundsBuffer,e.maskedIndexBuffer,e.segments):u.draw(a,s.TRIANGLES,i,n,o,At.disabled,c,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}}function ri(e,r,i,n,o,a,s){var l=e.context,u=l.gl,c=r.dem;if(c&&c.data){var p=c.dim,h=c.stride,f=c.getPixels();if(l.activeTexture.set(u.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),r.demTexture=r.demTexture||e.getTileTexture(h),r.demTexture){var d=r.demTexture;d.update(f,{premultiply:!1}),d.bind(u.NEAREST,u.CLAMP_TO_EDGE)}else r.demTexture=new t.Texture(l,f,u.RGBA,{premultiply:!1}),r.demTexture.bind(u.NEAREST,u.CLAMP_TO_EDGE);l.activeTexture.set(u.TEXTURE0);var m=r.fbo;if(!m){var y=new t.Texture(l,{width:p,height:p,data:null},u.RGBA);y.bind(u.LINEAR,u.CLAMP_TO_EDGE),(m=r.fbo=l.createFramebuffer(p,p)).colorAttachment.set(y.texture)}l.bindFramebuffer.set(m.framebuffer),l.viewport.set([0,0,p,p]),e.useProgram("hillshadePrepare").draw(l,u.TRIANGLES,o,a,s,At.disabled,function(e,r,i){var n=r.stride,o=t.create();return t.ortho(o,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(o,o,[0,-t.EXTENT,0]),{u_matrix:o,u_image:1,u_dimension:[n,n],u_zoom:e.overscaledZ,u_maxzoom:i,u_unpack:r.getUnpackVector()}}(r.tileID,c,n),i.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),r.needsHillshadePrepare=!1}}function ii(e,r,i,n,o){var a=n.paint.get("raster-fade-duration");if(a>0){var s=t.browser.now(),l=(s-e.timeAdded)/a,u=r?(s-r.timeAdded)/a:-1,c=i.getSource(),p=o.coveringZoomLevel({tileSize:c.tileSize,roundZoom:c.roundZoom}),h=!r||Math.abs(r.tileID.overscaledZ-p)>Math.abs(e.tileID.overscaledZ-p),f=h&&e.refreshedUponExpiration?1:t.clamp(h?l:1-u,0,1);return e.refreshedUponExpiration&&l>=1&&(e.refreshedUponExpiration=!1),r?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}function ni(e,r,i){var n=e.context,o=n.gl,a=i.posMatrix,s=e.useProgram("debug"),l=Et.disabled,u=Tt.disabled,c=e.colorModeForRenderPass(),p="$debug";s.draw(n,o.LINE_STRIP,l,u,c,At.disabled,Tr(a,t.Color.red),p,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);var h=r.getTileByID(i.key).latestRawTileData,f=h&&h.byteLength||0,d=Math.floor(f/1024),m=r.getTile(i).tileSize,y=512/Math.min(m,512),_=i.canonical.toString();i.overscaledZ!==i.canonical.z&&(_+=" => "+i.overscaledZ);for(var g=function(t,e,r,i){i=i||1;var n,o,a,s,l,u,c,p,h=[];for(n=0,o=t.length;n<o;n++)if(l=oi[t[n]]){for(p=null,a=0,s=l[1].length;a<s;a+=2)-1===l[1][a]&&-1===l[1][a+1]?p=null:(u=e+l[1][a]*i,c=r-l[1][a+1]*i,p&&h.push(p.x,p.y,u,c),p={x:u,y:c});e+=l[0]*i}return h}(_+" "+d+"kb",50,200*y,5*y),v=new t.StructArrayLayout2i4,x=new t.StructArrayLayout2ui4,b=0;b<g.length;b+=2)v.emplaceBack(g[b],g[b+1]),x.emplaceBack(b,b+1);for(var w=n.createVertexBuffer(v,Oe.members),S=n.createIndexBuffer(x),E=t.SegmentVector.simpleSegment(0,0,v.length/2,v.length/2),T=t.EXTENT/(Math.pow(2,e.transform.zoom-i.overscaledZ)*m*y),I=[],A=-1;A<=1;A++)for(var z=-1;z<=1&&(0!==A||0!==z);z++)I.push([A,z]);for(var C=0;C<I.length;C++){var k=I[C];s.draw(n,o.LINES,l,u,c,At.disabled,Tr(t.translate([],a,[T*k[0],T*k[1],0]),t.Color.white),p,w,S,E)}s.draw(n,o.LINES,l,u,c,At.disabled,Tr(a,t.Color.black),p,w,S,E),w.destroy(),S.destroy(),E.destroy()}var oi={" ":[16,[]],"!":[10,[5,21,5,7,-1,-1,5,2,4,1,5,0,6,1,5,2]],'"':[16,[4,21,4,14,-1,-1,12,21,12,14]],"#":[21,[11,25,4,-7,-1,-1,17,25,10,-7,-1,-1,4,12,18,12,-1,-1,3,6,17,6]],$:[20,[8,25,8,-4,-1,-1,12,25,12,-4,-1,-1,17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],"%":[24,[21,21,3,0,-1,-1,8,21,10,19,10,17,9,15,7,14,5,14,3,16,3,18,4,20,6,21,8,21,10,20,13,19,16,19,19,20,21,21,-1,-1,17,7,15,6,14,4,14,2,16,0,18,0,20,1,21,3,21,5,19,7,17,7]],"&":[26,[23,12,23,13,22,14,21,14,20,13,19,11,17,6,15,3,13,1,11,0,7,0,5,1,4,2,3,4,3,6,4,8,5,9,12,13,13,14,14,16,14,18,13,20,11,21,9,20,8,18,8,16,9,13,11,10,16,3,18,1,20,0,22,0,23,1,23,2]],"'":[10,[5,19,4,20,5,21,6,20,6,18,5,16,4,15]],"(":[14,[11,25,9,23,7,20,5,16,4,11,4,7,5,2,7,-2,9,-5,11,-7]],")":[14,[3,25,5,23,7,20,9,16,10,11,10,7,9,2,7,-2,5,-5,3,-7]],"*":[16,[8,21,8,9,-1,-1,3,18,13,12,-1,-1,13,18,3,12]],"+":[26,[13,18,13,0,-1,-1,4,9,22,9]],",":[10,[6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"-":[26,[4,9,22,9]],".":[10,[5,2,4,1,5,0,6,1,5,2]],"/":[22,[20,25,2,-7]],0:[20,[9,21,6,20,4,17,3,12,3,9,4,4,6,1,9,0,11,0,14,1,16,4,17,9,17,12,16,17,14,20,11,21,9,21]],1:[20,[6,17,8,18,11,21,11,0]],2:[20,[4,16,4,17,5,19,6,20,8,21,12,21,14,20,15,19,16,17,16,15,15,13,13,10,3,0,17,0]],3:[20,[5,21,16,21,10,13,13,13,15,12,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],4:[20,[13,21,3,7,18,7,-1,-1,13,21,13,0]],5:[20,[15,21,5,21,4,12,5,13,8,14,11,14,14,13,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],6:[20,[16,18,15,20,12,21,10,21,7,20,5,17,4,12,4,7,5,3,7,1,10,0,11,0,14,1,16,3,17,6,17,7,16,10,14,12,11,13,10,13,7,12,5,10,4,7]],7:[20,[17,21,7,0,-1,-1,3,21,17,21]],8:[20,[8,21,5,20,4,18,4,16,5,14,7,13,11,12,14,11,16,9,17,7,17,4,16,2,15,1,12,0,8,0,5,1,4,2,3,4,3,7,4,9,6,11,9,12,13,13,15,14,16,16,16,18,15,20,12,21,8,21]],9:[20,[16,14,15,11,13,9,10,8,9,8,6,9,4,11,3,14,3,15,4,18,6,20,9,21,10,21,13,20,15,18,16,14,16,9,15,4,13,1,10,0,8,0,5,1,4,3]],":":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,5,2,4,1,5,0,6,1,5,2]],";":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"<":[24,[20,18,4,9,20,0]],"=":[26,[4,12,22,12,-1,-1,4,6,22,6]],">":[24,[4,18,20,9,4,0]],"?":[18,[3,16,3,17,4,19,5,20,7,21,11,21,13,20,14,19,15,17,15,15,14,13,13,12,9,10,9,7,-1,-1,9,2,8,1,9,0,10,1,9,2]],"@":[27,[18,13,17,15,15,16,12,16,10,15,9,14,8,11,8,8,9,6,11,5,14,5,16,6,17,8,-1,-1,12,16,10,14,9,11,9,8,10,6,11,5,-1,-1,18,16,17,8,17,6,19,5,21,5,23,7,24,10,24,12,23,15,22,17,20,19,18,20,15,21,12,21,9,20,7,19,5,17,4,15,3,12,3,9,4,6,5,4,7,2,9,1,12,0,15,0,18,1,20,2,21,3,-1,-1,19,16,18,8,18,6,19,5]],A:[18,[9,21,1,0,-1,-1,9,21,17,0,-1,-1,4,7,14,7]],B:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,-1,-1,4,11,13,11,16,10,17,9,18,7,18,4,17,2,16,1,13,0,4,0]],C:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5]],D:[21,[4,21,4,0,-1,-1,4,21,11,21,14,20,16,18,17,16,18,13,18,8,17,5,16,3,14,1,11,0,4,0]],E:[19,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11,-1,-1,4,0,17,0]],F:[18,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11]],G:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,18,8,-1,-1,13,8,18,8]],H:[22,[4,21,4,0,-1,-1,18,21,18,0,-1,-1,4,11,18,11]],I:[8,[4,21,4,0]],J:[16,[12,21,12,5,11,2,10,1,8,0,6,0,4,1,3,2,2,5,2,7]],K:[21,[4,21,4,0,-1,-1,18,21,4,7,-1,-1,9,12,18,0]],L:[17,[4,21,4,0,-1,-1,4,0,16,0]],M:[24,[4,21,4,0,-1,-1,4,21,12,0,-1,-1,20,21,12,0,-1,-1,20,21,20,0]],N:[22,[4,21,4,0,-1,-1,4,21,18,0,-1,-1,18,21,18,0]],O:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21]],P:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,14,17,12,16,11,13,10,4,10]],Q:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21,-1,-1,12,4,18,-2]],R:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,4,11,-1,-1,11,11,18,0]],S:[20,[17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],T:[16,[8,21,8,0,-1,-1,1,21,15,21]],U:[22,[4,21,4,6,5,3,7,1,10,0,12,0,15,1,17,3,18,6,18,21]],V:[18,[1,21,9,0,-1,-1,17,21,9,0]],W:[24,[2,21,7,0,-1,-1,12,21,7,0,-1,-1,12,21,17,0,-1,-1,22,21,17,0]],X:[20,[3,21,17,0,-1,-1,17,21,3,0]],Y:[18,[1,21,9,11,9,0,-1,-1,17,21,9,11]],Z:[20,[17,21,3,0,-1,-1,3,21,17,21,-1,-1,3,0,17,0]],"[":[14,[4,25,4,-7,-1,-1,5,25,5,-7,-1,-1,4,25,11,25,-1,-1,4,-7,11,-7]],"\\":[14,[0,21,14,-3]],"]":[14,[9,25,9,-7,-1,-1,10,25,10,-7,-1,-1,3,25,10,25,-1,-1,3,-7,10,-7]],"^":[16,[6,15,8,18,10,15,-1,-1,3,12,8,17,13,12,-1,-1,8,17,8,0]],_:[16,[0,-2,16,-2]],"`":[10,[6,21,5,20,4,18,4,16,5,15,6,16,5,17]],a:[19,[15,14,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],b:[19,[4,21,4,0,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],c:[18,[15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],d:[19,[15,21,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],e:[18,[3,8,15,8,15,10,14,12,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],f:[12,[10,21,8,21,6,20,5,17,5,0,-1,-1,2,14,9,14]],g:[19,[15,14,15,-2,14,-5,13,-6,11,-7,8,-7,6,-6,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],h:[19,[4,21,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],i:[8,[3,21,4,20,5,21,4,22,3,21,-1,-1,4,14,4,0]],j:[10,[5,21,6,20,7,21,6,22,5,21,-1,-1,6,14,6,-3,5,-6,3,-7,1,-7]],k:[17,[4,21,4,0,-1,-1,14,14,4,4,-1,-1,8,8,15,0]],l:[8,[4,21,4,0]],m:[30,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0,-1,-1,15,10,18,13,20,14,23,14,25,13,26,10,26,0]],n:[19,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],o:[19,[8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3,16,6,16,8,15,11,13,13,11,14,8,14]],p:[19,[4,14,4,-7,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],q:[19,[15,14,15,-7,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],r:[13,[4,14,4,0,-1,-1,4,8,5,11,7,13,9,14,12,14]],s:[17,[14,11,13,13,10,14,7,14,4,13,3,11,4,9,6,8,11,7,13,6,14,4,14,3,13,1,10,0,7,0,4,1,3,3]],t:[12,[5,21,5,4,6,1,8,0,10,0,-1,-1,2,14,9,14]],u:[19,[4,14,4,4,5,1,7,0,10,0,12,1,15,4,-1,-1,15,14,15,0]],v:[16,[2,14,8,0,-1,-1,14,14,8,0]],w:[22,[3,14,7,0,-1,-1,11,14,7,0,-1,-1,11,14,15,0,-1,-1,19,14,15,0]],x:[17,[3,14,14,0,-1,-1,14,14,3,0]],y:[16,[2,14,8,0,-1,-1,14,14,8,0,6,-4,4,-6,2,-7,1,-7]],z:[17,[14,14,3,0,-1,-1,3,14,14,14,-1,-1,3,0,14,0]],"{":[14,[9,25,7,24,6,23,5,21,5,19,6,17,7,16,8,14,8,12,6,10,-1,-1,7,24,6,22,6,20,7,18,8,17,9,15,9,13,8,11,4,9,8,7,9,5,9,3,8,1,7,0,6,-2,6,-4,7,-6,-1,-1,6,8,8,6,8,4,7,2,6,1,5,-1,5,-3,6,-5,7,-6,9,-7]],"|":[8,[4,25,4,-7]],"}":[14,[5,25,7,24,8,23,9,21,9,19,8,17,7,16,6,14,6,12,8,10,-1,-1,7,24,8,22,8,20,7,18,6,17,5,15,5,13,6,11,10,9,6,7,5,5,5,3,6,1,7,0,8,-2,8,-4,7,-6,-1,-1,8,8,6,6,6,4,7,2,8,1,9,-1,9,-3,8,-5,7,-6,5,-7]],"~":[24,[3,6,3,8,4,11,6,12,8,12,10,11,14,8,16,7,18,7,20,8,21,10,-1,-1,3,8,4,10,6,11,8,11,10,10,14,7,16,6,18,6,20,7,21,10,21,12]]},ai={symbol:function(e,r,i,n,o){if("translucent"===e.renderPass){var a=Tt.disabled,s=e.colorModeForRenderPass();i.layout.get("text-variable-anchor")&&function(e,r,i,n,o,a,s){for(var l=r.transform,u="map"===o,c="map"===a,p=0,h=e;p<h.length;p+=1){var f=h[p],d=n.getTile(f),m=d.getBucket(i);if(m&&m.text&&m.text.segments.get().length){var y=m.textSizeData,_=t.evaluateSizeForZoom(y,l.zoom),g=le(d,1,r.transform.zoom),v=Wt(f.posMatrix,c,u,r.transform,g),x="none"!==i.layout.get("icon-text-fit")&&m.hasIconData();if(_){var b=Math.pow(2,l.zoom-d.tileID.overscaledZ);Hr(m,u,c,s,t.symbolSize,l,v,f.posMatrix,b,_,x)}}}}(n,e,i,r,i.layout.get("text-rotation-alignment"),i.layout.get("text-pitch-alignment"),o),0!==i.paint.get("icon-opacity").constantOr(1)&&Yr(e,r,i,n,!1,i.paint.get("icon-translate"),i.paint.get("icon-translate-anchor"),i.layout.get("icon-rotation-alignment"),i.layout.get("icon-pitch-alignment"),i.layout.get("icon-keep-upright"),a,s),0!==i.paint.get("text-opacity").constantOr(1)&&Yr(e,r,i,n,!0,i.paint.get("text-translate"),i.paint.get("text-translate-anchor"),i.layout.get("text-rotation-alignment"),i.layout.get("text-pitch-alignment"),i.layout.get("text-keep-upright"),a,s),r.map.showCollisionBoxes&&(Xr(e,r,i,n,i.paint.get("text-translate"),i.paint.get("text-translate-anchor"),!0),Xr(e,r,i,n,i.paint.get("icon-translate"),i.paint.get("icon-translate-anchor"),!1))}},circle:function(e,r,i,n){if("translucent"===e.renderPass){var o=i.paint.get("circle-opacity"),a=i.paint.get("circle-stroke-width"),s=i.paint.get("circle-stroke-opacity"),l=void 0!==i.layout.get("circle-sort-key").constantOr(1);if(0!==o.constantOr(1)||0!==a.constantOr(1)&&0!==s.constantOr(1)){for(var u=e.context,c=u.gl,p=e.depthModeForSublayer(0,Et.ReadOnly),h=Tt.disabled,f=e.colorModeForRenderPass(),d=[],m=0;m<n.length;m++){var y=n[m],_=r.getTile(y),g=_.getBucket(i);if(g){var v=g.programConfigurations.get(i.id),x={programConfiguration:v,program:e.useProgram("circle",v),layoutVertexBuffer:g.layoutVertexBuffer,indexBuffer:g.indexBuffer,uniformValues:wr(e,y,_,i)};if(l)for(var b=0,w=g.segments.get();b<w.length;b+=1){var S=w[b];d.push({segments:new t.SegmentVector([S]),sortKey:S.sortKey,state:x})}else d.push({segments:g.segments,sortKey:0,state:x})}}l&&d.sort((function(t,e){return t.sortKey-e.sortKey}));for(var E=0,T=d;E<T.length;E+=1){var I=T[E],A=I.state,z=A.programConfiguration,C=A.program,k=A.layoutVertexBuffer,P=A.indexBuffer,M=A.uniformValues,L=I.segments;C.draw(u,c.TRIANGLES,p,h,f,At.disabled,M,i.id,k,P,L,i.paint,e.transform.zoom,z)}}}},heatmap:function(e,r,i,n){if(0!==i.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){var o=e.context,a=o.gl,s=e.depthModeForSublayer(0,Et.ReadOnly),l=Tt.disabled,u=new It([a.ONE,a.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,r){var i=t.gl;t.activeTexture.set(i.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);var n=r.heatmapFbo;if(n)i.bindTexture(i.TEXTURE_2D,n.colorAttachment.get()),t.bindFramebuffer.set(n.framebuffer);else{var o=i.createTexture();i.bindTexture(i.TEXTURE_2D,o),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),n=r.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4),function t(e,r,i,n){var o=e.gl;o.texImage2D(o.TEXTURE_2D,0,o.RGBA,r.width/4,r.height/4,0,o.RGBA,e.extTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:o.UNSIGNED_BYTE,null),n.colorAttachment.set(i),e.extTextureHalfFloat&&o.checkFramebufferStatus(o.FRAMEBUFFER)!==o.FRAMEBUFFER_COMPLETE&&(e.extTextureHalfFloat=null,n.colorAttachment.setDirty(),t(e,r,i,n))}(t,e,o,n)}}(o,e,i),o.clear({color:t.Color.transparent});for(var c=0;c<n.length;c++){var p=n[c];if(!r.hasRenderableParent(p)){var h=r.getTile(p),f=h.getBucket(i);if(f){var d=f.programConfigurations.get(i.id),m=e.useProgram("heatmap",d),y=e.transform.zoom;m.draw(o,a.TRIANGLES,s,l,u,At.disabled,Ar(p.posMatrix,h,y,i.paint.get("heatmap-intensity")),i.id,f.layoutVertexBuffer,f.indexBuffer,f.segments,i.paint,e.transform.zoom,d)}}}o.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,r){var i=e.context,n=i.gl,o=r.heatmapFbo;if(o){i.activeTexture.set(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,o.colorAttachment.get()),i.activeTexture.set(n.TEXTURE1);var a=r.colorRampTexture;a||(a=r.colorRampTexture=new t.Texture(i,r.colorRamp,n.RGBA)),a.bind(n.LINEAR,n.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(i,n.TRIANGLES,Et.disabled,Tt.disabled,e.colorModeForRenderPass(),At.disabled,function(e,r,i,n){var o=t.create();t.ortho(o,0,e.width,e.height,0,0,1);var a=e.context.gl;return{u_matrix:o,u_world:[a.drawingBufferWidth,a.drawingBufferHeight],u_image:i,u_color_ramp:n,u_opacity:r.paint.get("heatmap-opacity")}}(e,r,0,1),r.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,r.paint,e.transform.zoom)}}(e,i))},line:function(e,r,i,n){if("translucent"===e.renderPass){var o=i.paint.get("line-opacity"),a=i.paint.get("line-width");if(0!==o.constantOr(1)&&0!==a.constantOr(1)){var s=e.depthModeForSublayer(0,Et.ReadOnly),l=e.colorModeForRenderPass(),u=i.paint.get("line-dasharray"),c=i.paint.get("line-pattern"),p=c.constantOr(1),h=i.paint.get("line-gradient"),f=i.getCrossfadeParameters(),d=u?"lineSDF":p?"linePattern":h?"lineGradient":"line",m=e.context,y=m.gl,_=!0;if(h){m.activeTexture.set(y.TEXTURE0);var g=i.gradientTexture;if(!i.gradient)return;g||(g=i.gradientTexture=new t.Texture(m,i.gradient,y.RGBA)),g.bind(y.LINEAR,y.CLAMP_TO_EDGE)}for(var v=0,x=n;v<x.length;v+=1){var b=x[v],w=r.getTile(b);if(!p||w.patternsLoaded()){var S=w.getBucket(i);if(S){var E=S.programConfigurations.get(i.id),T=e.context.program.get(),I=e.useProgram(d,E),A=_||I.program!==T,z=c.constantOr(null);if(z&&w.imageAtlas){var C=w.imageAtlas,k=C.patternPositions[z.to.toString()],P=C.patternPositions[z.from.toString()];k&&P&&E.setConstantPatternPositions(k,P)}var M=u?Mr(e,w,i,u,f):p?Pr(e,w,i,f):h?kr(e,w,i):Cr(e,w,i);u&&(A||e.lineAtlas.dirty)?(m.activeTexture.set(y.TEXTURE0),e.lineAtlas.bind(m)):p&&(m.activeTexture.set(y.TEXTURE0),w.imageAtlasTexture.bind(y.LINEAR,y.CLAMP_TO_EDGE),E.updatePatternPaintBuffers(f)),I.draw(m,y.TRIANGLES,s,e.stencilModeForClipping(b),l,At.disabled,M,i.id,S.layoutVertexBuffer,S.indexBuffer,S.segments,i.paint,e.transform.zoom,E),_=!1}}}}}},fill:function(e,r,i,n){var o=i.paint.get("fill-color"),a=i.paint.get("fill-opacity");if(0!==a.constantOr(1)){var s=e.colorModeForRenderPass(),l=i.paint.get("fill-pattern"),u=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===o.constantOr(t.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(e.renderPass===u){var c=e.depthModeForSublayer(1,"opaque"===e.renderPass?Et.ReadWrite:Et.ReadOnly);$r(e,r,i,n,c,s,!1)}if("translucent"===e.renderPass&&i.paint.get("fill-antialias")){var p=e.depthModeForSublayer(i.getPaintProperty("fill-outline-color")?2:0,Et.ReadOnly);$r(e,r,i,n,p,s,!0)}}},"fill-extrusion":function(t,e,r,i){var n=r.paint.get("fill-extrusion-opacity");if(0!==n&&"translucent"===t.renderPass){var o=new Et(t.context.gl.LEQUAL,Et.ReadWrite,t.depthRangeFor3D);if(1!==n||r.paint.get("fill-extrusion-pattern").constantOr(1))ti(t,e,r,i,o,Tt.disabled,It.disabled),ti(t,e,r,i,o,t.stencilModeFor3D(),t.colorModeForRenderPass());else{var a=t.colorModeForRenderPass();ti(t,e,r,i,o,Tt.disabled,a)}}},hillshade:function(t,e,r,i){if("offscreen"===t.renderPass||"translucent"===t.renderPass){for(var n=t.context,o=e.getSource().maxzoom,a=t.depthModeForSublayer(0,Et.ReadOnly),s=Tt.disabled,l=t.colorModeForRenderPass(),u=0,c=i;u<c.length;u+=1){var p=c[u],h=e.getTile(p);h.needsHillshadePrepare&&"offscreen"===t.renderPass?ri(t,h,r,o,a,s,l):"translucent"===t.renderPass&&ei(t,h,r,a,s,l)}n.viewport.set([0,0,t.width,t.height])}},raster:function(t,e,r,i){if("translucent"===t.renderPass&&0!==r.paint.get("raster-opacity"))for(var n=t.context,o=n.gl,a=e.getSource(),s=t.useProgram("raster"),l=Tt.disabled,u=t.colorModeForRenderPass(),c=i.length&&i[0].overscaledZ,p=!t.options.moving,h=0,f=i;h<f.length;h+=1){var d=f[h],m=t.depthModeForSublayer(d.overscaledZ-c,1===r.paint.get("raster-opacity")?Et.ReadWrite:Et.ReadOnly,o.LESS),y=e.getTile(d),_=t.transform.calculatePosMatrix(d.toUnwrapped(),p);y.registerFadeDuration(r.paint.get("raster-fade-duration"));var g=e.findLoadedParent(d,0),v=ii(y,g,e,r,t.transform),x=void 0,b=void 0,w="nearest"===r.paint.get("raster-resampling")?o.NEAREST:o.LINEAR;n.activeTexture.set(o.TEXTURE0),y.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),n.activeTexture.set(o.TEXTURE1),g?(g.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),x=Math.pow(2,g.tileID.overscaledZ-y.tileID.overscaledZ),b=[y.tileID.canonical.x*x%1,y.tileID.canonical.y*x%1]):y.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST);var S=Br(_,b||[0,0],x||1,v,r);a instanceof P?s.draw(n,o.TRIANGLES,m,l,u,At.disabled,S,r.id,a.boundsBuffer,t.quadTriangleIndexBuffer,a.boundsSegments):y.maskedBoundsBuffer&&y.maskedIndexBuffer&&y.segments?s.draw(n,o.TRIANGLES,m,l,u,At.disabled,S,r.id,y.maskedBoundsBuffer,y.maskedIndexBuffer,y.segments,r.paint,t.transform.zoom):s.draw(n,o.TRIANGLES,m,l,u,At.disabled,S,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}},background:function(t,e,r){var i=r.paint.get("background-color"),n=r.paint.get("background-opacity");if(0!==n){var o=t.context,a=o.gl,s=t.transform,l=s.tileSize,u=r.paint.get("background-pattern");if(!t.isPatternMissing(u)){var c=!u&&1===i.a&&1===n&&t.opaquePassEnabledForLayer()?"opaque":"translucent";if(t.renderPass===c){var p=Tt.disabled,h=t.depthModeForSublayer(0,"opaque"===c?Et.ReadWrite:Et.ReadOnly),f=t.colorModeForRenderPass(),d=t.useProgram(u?"backgroundPattern":"background"),m=s.coveringTiles({tileSize:l});u&&(o.activeTexture.set(a.TEXTURE0),t.imageManager.bind(t.context));for(var y=r.getCrossfadeParameters(),_=0,g=m;_<g.length;_+=1){var v=g[_],x=t.transform.calculatePosMatrix(v.toUnwrapped()),b=u?Nr(x,n,t,u,{tileID:v,tileSize:l},y):Vr(x,n,i);d.draw(o,a.TRIANGLES,h,p,f,At.disabled,b,r.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments)}}}}},debug:function(t,e,r){for(var i=0;i<r.length;i++)ni(t,e,r[i])},custom:function(t,e,r){var i=t.context,n=r.implementation;if("offscreen"===t.renderPass){var o=n.prerender;o&&(t.setCustomLayerDefaults(),i.setColorMode(t.colorModeForRenderPass()),o.call(n,i.gl,t.transform.customLayerMatrix()),i.setDirty(),t.setBaseState())}else if("translucent"===t.renderPass){t.setCustomLayerDefaults(),i.setColorMode(t.colorModeForRenderPass()),i.setStencilMode(Tt.disabled);var a="3d"===n.renderingMode?new Et(t.context.gl.LEQUAL,Et.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,Et.ReadOnly);i.setDepthMode(a),n.render(i.gl,t.transform.customLayerMatrix()),i.setDirty(),t.setBaseState(),i.bindFramebuffer.set(null)}}},si=function(e,r){this.context=new zt(e),this.transform=r,this._tileTextures={},this.setup(),this.numSublayers=Ct.maxUnderzooming+Ct.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.depthRboNeedsClear=!0,this.emptyProgramConfiguration=new t.ProgramConfiguration,this.crossTileSymbolIndex=new Le,this.gpuTimers={}};function li(t,e){if(t.y>e.y){var r=t;t=e,e=r}return{x0:t.x,y0:t.y,x1:e.x,y1:e.y,dx:e.x-t.x,dy:e.y-t.y}}function ui(t,e,r,i,n){var o=Math.max(r,Math.floor(e.y0)),a=Math.min(i,Math.ceil(e.y1));if(t.x0===e.x0&&t.y0===e.y0?t.x0+e.dy/t.dy*t.dx<e.x1:t.x1-e.dy/t.dy*t.dx<e.x0){var s=t;t=e,e=s}for(var l=t.dx/t.dy,u=e.dx/e.dy,c=t.dx>0,p=e.dx<0,h=o;h<a;h++){var f=l*Math.max(0,Math.min(t.dy,h+c-t.y0))+t.x0,d=u*Math.max(0,Math.min(e.dy,h+p-e.y0))+e.x0;n(Math.floor(d),Math.ceil(f),h)}}function ci(t,e,r,i,n,o){var a,s=li(t,e),l=li(e,r),u=li(r,t);s.dy>l.dy&&(a=s,s=l,l=a),s.dy>u.dy&&(a=s,s=u,u=a),l.dy>u.dy&&(a=l,l=u,u=a),s.dy&&ui(u,s,i,n,o),l.dy&&ui(u,l,i,n,o)}si.prototype.resize=function(e,r){var i=this.context.gl;if(this.width=e*t.browser.devicePixelRatio,this.height=r*t.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var n=0,o=this.style._order;n<o.length;n+=1){var a=o[n];this.style._layers[a].resize()}this.depthRbo&&(i.deleteRenderbuffer(this.depthRbo),this.depthRbo=null)},si.prototype.setup=function(){var e=this.context,r=new t.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(t.EXTENT,0),r.emplaceBack(0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(r,Oe.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);var i=new t.StructArrayLayout2i4;i.emplaceBack(0,0),i.emplaceBack(t.EXTENT,0),i.emplaceBack(0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(i,Oe.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);var n=new t.StructArrayLayout4i8;n.emplaceBack(0,0,0,0),n.emplaceBack(t.EXTENT,0,t.EXTENT,0),n.emplaceBack(0,t.EXTENT,0,t.EXTENT),n.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(n,t.rasterBoundsAttributes.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);var o=new t.StructArrayLayout2i4;o.emplaceBack(0,0),o.emplaceBack(1,0),o.emplaceBack(0,1),o.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(o,Oe.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);var a=new t.StructArrayLayout1ui2;a.emplaceBack(0),a.emplaceBack(1),a.emplaceBack(3),a.emplaceBack(2),a.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(a);var s=new t.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(s);var l=this.context.gl;this.stencilClearMode=new Tt({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO)},si.prototype.clearStencil=function(){var e=this.context,r=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var i=t.create();t.ortho(i,0,this.width,this.height,0,0,1),t.scale(i,i,[r.drawingBufferWidth,r.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,r.TRIANGLES,Et.disabled,this.stencilClearMode,It.disabled,At.disabled,Ir(i),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},si.prototype._renderTileClippingMasks=function(t,e){if(this.currentStencilSource!==t.source&&t.isTileClipped()&&e&&e.length){this.currentStencilSource=t.source;var r=this.context,i=r.gl;this.nextStencilID+e.length>256&&this.clearStencil(),r.setColorMode(It.disabled),r.setDepthMode(Et.disabled);var n=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=e;o<a.length;o+=1){var s=a[o],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;n.draw(r,i.TRIANGLES,Et.disabled,new Tt({func:i.ALWAYS,mask:0},l,255,i.KEEP,i.KEEP,i.REPLACE),It.disabled,At.disabled,Ir(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},si.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new Tt({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},si.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new Tt({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},si.prototype.colorModeForRenderPass=function(){var e=this.context.gl;return this._showOverdrawInspector?new It([e.CONSTANT_COLOR,e.ONE],new t.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):"opaque"===this.renderPass?It.unblended:It.alphaBlended},si.prototype.depthModeForSublayer=function(t,e,r){if(!this.opaquePassEnabledForLayer())return Et.disabled;var i=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new Et(r||this.context.gl.LEQUAL,e,[i,i])},si.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},si.prototype.render=function(e,r){var i=this;this.style=e,this.options=r,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.browser.now()),this.imageManager.beginFrame();var n=this.style._order,o=this.style.sourceCaches;for(var a in o){var s=o[a];s.used&&s.prepare(this.context)}var l,u,c={},p={},h={};for(var f in o){var d=o[f];c[f]=d.getVisibleCoordinates(),p[f]=c[f].slice().reverse(),h[f]=d.getVisibleCoordinates(!0).reverse()}for(var m in o){var y=o[m],_=y.getSource();if("raster"===_.type||"raster-dem"===_.type){for(var g=[],v=0,x=c[m];v<x.length;v+=1){var b=x[v];g.push(y.getTile(b))}qr(g,this.context)}}this.opaquePassCutoff=1/0;for(var w=0;w<n.length;w++){var S=n[w];if(this.style._layers[S].is3D()){this.opaquePassCutoff=w;break}}this.renderPass="offscreen",this.depthRboNeedsClear=!0;for(var E=0,T=n;E<T.length;E+=1){var I=T[E],A=this.style._layers[I];if(A.hasOffscreenPass()&&!A.isHidden(this.transform.zoom)){var z=p[A.source];("custom"===A.type||z.length)&&this.renderLayer(this,o[A.source],A,z)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:r.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=r.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=n.length-1;this.currentLayer>=0;this.currentLayer--){var C=this.style._layers[n[this.currentLayer]],k=o[C.source],P=c[C.source];this._renderTileClippingMasks(C,P),this.renderLayer(this,k,C,P)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<n.length;this.currentLayer++){var M=this.style._layers[n[this.currentLayer]],L=o[M.source],D=("symbol"===M.type?h:p)[M.source];this._renderTileClippingMasks(M,c[M.source]),this.renderLayer(this,L,M,D)}this.options.showTileBoundaries&&(t.values(this.style._layers).forEach((function(t){t.source&&!t.isHidden(i.transform.zoom)&&(t.source!==(u&&u.id)&&(u=i.style.sourceCaches[t.source]),(!l||l.getSource().maxzoom<u.getSource().maxzoom)&&(l=u))})),l&&ai.debug(this,l,l.getVisibleCoordinates())),this.context.setDefault()},si.prototype.setupOffscreenDepthRenderbuffer=function(){var t=this.context;this.depthRbo||(this.depthRbo=t.createRenderbuffer(t.gl.DEPTH_COMPONENT16,this.width,this.height))},si.prototype.renderLayer=function(t,e,r,i){r.isHidden(this.transform.zoom)||("background"===r.type||"custom"===r.type||i.length)&&(this.id=r.id,this.gpuTimingStart(r),ai[r.type](t,e,r,i,this.style.placement.variableOffsets),this.gpuTimingEnd())},si.prototype.gpuTimingStart=function(t){if(this.options.gpuTiming){var e=this.context.extTimerQuery,r=this.gpuTimers[t.id];r||(r=this.gpuTimers[t.id]={calls:0,cpuTime:0,query:e.createQueryEXT()}),r.calls++,e.beginQueryEXT(e.TIME_ELAPSED_EXT,r.query)}},si.prototype.gpuTimingEnd=function(){if(this.options.gpuTiming){var t=this.context.extTimerQuery;t.endQueryEXT(t.TIME_ELAPSED_EXT)}},si.prototype.collectGpuTimers=function(){var t=this.gpuTimers;return this.gpuTimers={},t},si.prototype.queryGpuTimers=function(t){var e={};for(var r in t){var i=t[r],n=this.context.extTimerQuery,o=n.getQueryObjectEXT(i.query,n.QUERY_RESULT_EXT)/1e6;n.deleteQueryEXT(i.query),e[r]=o}return e},si.prototype.translatePosMatrix=function(e,r,i,n,o){if(!i[0]&&!i[1])return e;var a=o?"map"===n?this.transform.angle:0:"viewport"===n?-this.transform.angle:0;if(a){var s=Math.sin(a),l=Math.cos(a);i=[i[0]*l-i[1]*s,i[0]*s+i[1]*l]}var u=[o?i[0]:le(r,i[0],this.transform.zoom),o?i[1]:le(r,i[1],this.transform.zoom),0],c=new Float32Array(16);return t.translate(c,e,u),c},si.prototype.saveTileTexture=function(t){var e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]},si.prototype.getTileTexture=function(t){var e=this._tileTextures[t];return e&&e.length>0?e.pop():null},si.prototype.isPatternMissing=function(t){if(!t)return!1;var e=this.imageManager.getPattern(t.from.toString()),r=this.imageManager.getPattern(t.to.toString());return!e||!r},si.prototype.useProgram=function(t,e){void 0===e&&(e=this.emptyProgramConfiguration),this.cache=this.cache||{};var r=""+t+(e.cacheKey||"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[r]||(this.cache[r]=new dr(this.context,hr[t],e,jr[t],this._showOverdrawInspector)),this.cache[r]},si.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},si.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)};var pi=function(e,r,i,n,o){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===o||o,this._minZoom=e||0,this._maxZoom=r||22,this._minPitch=null==i?0:i,this._maxPitch=null==n?60:n,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._posMatrixCache={},this._alignedPosMatrixCache={}},hi={minZoom:{configurable:!0},maxZoom:{configurable:!0},minPitch:{configurable:!0},maxPitch:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerPoint:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};pi.prototype.clone=function(){var t=new pi(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._calcMatrices(),t},hi.minZoom.get=function(){return this._minZoom},hi.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))},hi.maxZoom.get=function(){return this._maxZoom},hi.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))},hi.minPitch.get=function(){return this._minPitch},hi.minPitch.set=function(t){this._minPitch!==t&&(this._minPitch=t,this.pitch=Math.max(this.pitch,t))},hi.maxPitch.get=function(){return this._maxPitch},hi.maxPitch.set=function(t){this._maxPitch!==t&&(this._maxPitch=t,this.pitch=Math.min(this.pitch,t))},hi.renderWorldCopies.get=function(){return this._renderWorldCopies},hi.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t},hi.worldSize.get=function(){return this.tileSize*this.scale},hi.centerPoint.get=function(){return this.size._div(2)},hi.size.get=function(){return new t.Point(this.width,this.height)},hi.bearing.get=function(){return-this.angle/Math.PI*180},hi.bearing.set=function(e){var r=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==r&&(this._unmodified=!1,this.angle=r,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},hi.pitch.get=function(){return this._pitch/Math.PI*180},hi.pitch.set=function(e){var r=t.clamp(e,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==r&&(this._unmodified=!1,this._pitch=r,this._calcMatrices())},hi.fov.get=function(){return this._fov/Math.PI*180},hi.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())},hi.zoom.get=function(){return this._zoom},hi.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())},hi.center.get=function(){return this._center},hi.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())},pi.prototype.coveringZoomLevel=function(t){var e=(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize));return Math.max(0,e)},pi.prototype.getVisibleUnwrappedCoordinates=function(e){var r=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var i=this.pointCoordinate(new t.Point(0,0)),n=this.pointCoordinate(new t.Point(this.width,0)),o=this.pointCoordinate(new t.Point(this.width,this.height)),a=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(i.x,n.x,o.x,a.x)),l=Math.floor(Math.max(i.x,n.x,o.x,a.x)),u=s-1;u<=l+1;u++)0!==u&&r.push(new t.UnwrappedTileID(u,e));return r},pi.prototype.coveringTiles=function(e){var r=this.coveringZoomLevel(e),i=r;if(void 0!==e.minzoom&&r<e.minzoom)return[];void 0!==e.maxzoom&&r>e.maxzoom&&(r=e.maxzoom);var n=t.MercatorCoordinate.fromLngLat(this.center),o=Math.pow(2,r),a=new t.Point(o*n.x-.5,o*n.y-.5);return function(e,r,i,n){void 0===n&&(n=!0);var o=1<<e,a={};function s(r,s,l){var u,c,p,h;if(l>=0&&l<=o)for(u=r;u<s;u++)c=Math.floor(u/o),p=(u%o+o)%o,0!==c&&!0!==n||(h=new t.OverscaledTileID(i,c,e,p,l),a[h.key]=h)}var l=r.map((function(e){return new t.Point(e.x,e.y)._mult(o)}));return ci(l[0],l[1],l[2],0,o,s),ci(l[2],l[3],l[0],0,o,s),Object.keys(a).map((function(t){return a[t]}))}(r,[this.pointCoordinate(new t.Point(0,0)),this.pointCoordinate(new t.Point(this.width,0)),this.pointCoordinate(new t.Point(this.width,this.height)),this.pointCoordinate(new t.Point(0,this.height))],e.reparseOverscaled?i:r,this._renderWorldCopies).sort((function(t,e){return a.dist(t.canonical)-a.dist(e.canonical)}))},pi.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()},hi.unmodified.get=function(){return this._unmodified},pi.prototype.zoomScale=function(t){return Math.pow(2,t)},pi.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},pi.prototype.project=function(e){var r=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(r)*this.worldSize)},pi.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},hi.point.get=function(){return this.project(this.center)},pi.prototype.setLocationAtPoint=function(e,r){var i=this.pointCoordinate(r),n=this.pointCoordinate(this.centerPoint),o=this.locationCoordinate(e),a=new t.MercatorCoordinate(o.x-(i.x-n.x),o.y-(i.y-n.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},pi.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},pi.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},pi.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},pi.prototype.coordinateLocation=function(t){return t.toLngLat()},pi.prototype.pointCoordinate=function(e){var r=[e.x,e.y,0,1],i=[e.x,e.y,1,1];t.transformMat4(r,r,this.pixelMatrixInverse),t.transformMat4(i,i,this.pixelMatrixInverse);var n=r[3],o=i[3],a=r[0]/n,s=i[0]/o,l=r[1]/n,u=i[1]/o,c=r[2]/n,p=i[2]/o,h=c===p?0:(0-c)/(p-c);return new t.MercatorCoordinate(t.number(a,s,h)/this.worldSize,t.number(l,u,h)/this.worldSize)},pi.prototype.coordinatePoint=function(e){var r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix),new t.Point(r[0]/r[3],r[1]/r[3])},pi.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},pi.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},pi.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},pi.prototype.calculatePosMatrix=function(e,r){void 0===r&&(r=!1);var i=e.key,n=r?this._alignedPosMatrixCache:this._posMatrixCache;if(n[i])return n[i];var o=e.canonical,a=this.worldSize/this.zoomScale(o.z),s=o.x+Math.pow(2,o.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[s*a,o.y*a,0]),t.scale(l,l,[a/t.EXTENT,a/t.EXTENT,1]),t.multiply(l,r?this.alignedProjMatrix:this.projMatrix,l),n[i]=new Float32Array(l),n[i]},pi.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},pi.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,r,i,n,o=-90,a=90,s=-180,l=180,u=this.size,c=this._unmodified;if(this.latRange){var p=this.latRange;o=t.mercatorYfromLat(p[1])*this.worldSize,e=(a=t.mercatorYfromLat(p[0])*this.worldSize)-o<u.y?u.y/(a-o):0}if(this.lngRange){var h=this.lngRange;s=t.mercatorXfromLng(h[0])*this.worldSize,r=(l=t.mercatorXfromLng(h[1])*this.worldSize)-s<u.x?u.x/(l-s):0}var f=this.point,d=Math.max(r||0,e||0);if(d)return this.center=this.unproject(new t.Point(r?(l+s)/2:f.x,e?(a+o)/2:f.y)),this.zoom+=this.scaleZoom(d),this._unmodified=c,void(this._constraining=!1);if(this.latRange){var m=f.y,y=u.y/2;m-y<o&&(n=o+y),m+y>a&&(n=a-y)}if(this.lngRange){var _=f.x,g=u.x/2;_-g<s&&(i=s+g),_+g>l&&(i=l-g)}void 0===i&&void 0===n||(this.center=this.unproject(new t.Point(void 0!==i?i:f.x,void 0!==n?n:f.y))),this._unmodified=c,this._constraining=!1}},pi.prototype._calcMatrices=function(){if(this.height){this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var e=this._fov/2,r=Math.PI/2+this._pitch,i=Math.sin(e)*this.cameraToCenterDistance/Math.sin(Math.PI-r-e),n=this.point,o=n.x,a=n.y,s=1.01*(Math.cos(Math.PI/2-this._pitch)*i+this.cameraToCenterDistance),l=this.height/50,u=new Float64Array(16);t.perspective(u,this._fov,this.width/this.height,l,s),t.scale(u,u,[1,-1,1]),t.translate(u,u,[0,0,-this.cameraToCenterDistance]),t.rotateX(u,u,this._pitch),t.rotateZ(u,u,this.angle),t.translate(u,u,[-o,-a,0]),this.mercatorMatrix=t.scale([],u,[this.worldSize,this.worldSize,this.worldSize]),t.scale(u,u,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=u;var c=this.width%2/2,p=this.height%2/2,h=Math.cos(this.angle),f=Math.sin(this.angle),d=o-Math.round(o)+h*c+f*p,m=a-Math.round(a)+h*p+f*c,y=new Float64Array(u);if(t.translate(y,y,[d>.5?d-1:d,m>.5?m-1:m,0]),this.alignedProjMatrix=y,u=t.create(),t.scale(u,u,[this.width/2,-this.height/2,1]),t.translate(u,u,[1,-1,0]),this.labelPlaneMatrix=u,u=t.create(),t.scale(u,u,[1,-1,1]),t.translate(u,u,[-1,-1,0]),t.scale(u,u,[2/this.width,2/this.height,1]),this.glCoordMatrix=u,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(u=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=u,this._posMatrixCache={},this._alignedPosMatrixCache={}}},pi.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix)[3]/this.cameraToCenterDistance},pi.prototype.getCameraPoint=function(){var e=this._pitch,r=Math.tan(e)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,r))},pi.prototype.getCameraQueryGeometry=function(e){var r=this.getCameraPoint();if(1===e.length)return[e[0],r];for(var i=r.x,n=r.y,o=r.x,a=r.y,s=0,l=e;s<l.length;s+=1){var u=l[s];i=Math.min(i,u.x),n=Math.min(n,u.y),o=Math.max(o,u.x),a=Math.max(a,u.y)}return[new t.Point(i,n),new t.Point(o,n),new t.Point(o,a),new t.Point(i,a),new t.Point(i,n)]},Object.defineProperties(pi.prototype,hi);var fi=function(e){var r,i,n,o;this._hashName=e&&encodeURIComponent(e),t.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(r=this._updateHashUnthrottled.bind(this),i=!1,n=null,o=function(){n=null,i&&(r(),n=setTimeout(o,300),i=!1)},function(){return i=!0,n||o(),n})};fi.prototype.addTo=function(e){return this._map=e,t.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},fi.prototype.remove=function(){return t.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},fi.prototype.getHashString=function(e){var r=this._map.getCenter(),i=Math.round(100*this._map.getZoom())/100,n=Math.ceil((i*Math.LN2+Math.log(512/360/.5))/Math.LN10),o=Math.pow(10,n),a=Math.round(r.lng*o)/o,s=Math.round(r.lat*o)/o,l=this._map.getBearing(),u=this._map.getPitch(),c="";if(c+=e?"/"+a+"/"+s+"/"+i:i+"/"+s+"/"+a,(l||u)&&(c+="/"+Math.round(10*l)/10),u&&(c+="/"+Math.round(u)),this._hashName){var p=this._hashName,h=!1,f=t.window.location.hash.slice(1).split("&").map((function(t){var e=t.split("=")[0];return e===p?(h=!0,e+"="+c):t})).filter((function(t){return t}));return h||f.push(p+"="+c),"#"+f.join("&")}return"#"+c},fi.prototype._getCurrentHash=function(){var e,r=this,i=t.window.location.hash.replace("#","");return this._hashName?(i.split("&").map((function(t){return t.split("=")})).forEach((function(t){t[0]===r._hashName&&(e=t)})),(e&&e[1]||"").split("/")):i.split("/")},fi.prototype._onHashChange=function(){var t=this._getCurrentHash();return t.length>=3&&!t.some((function(t){return isNaN(t)}))&&(this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:+(t[3]||0),pitch:+(t[4]||0)}),!0)},fi.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{t.window.history.replaceState(t.window.history.state,"",e)}catch(t){}};var di=function(e){function i(i,n,o,a){void 0===a&&(a={});var s=r.mousePos(n.getCanvasContainer(),o),l=n.unproject(s);e.call(this,i,t.extend({point:s,lngLat:l,originalEvent:o},a)),this._defaultPrevented=!1,this.target=n}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={defaultPrevented:{configurable:!0}};return i.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(i.prototype,n),i}(t.Event),mi=function(e){function i(i,n,o){var a=r.touchPos(n.getCanvasContainer(),o),s=a.map((function(t){return n.unproject(t)})),l=a.reduce((function(t,e,r,i){return t.add(e.div(i.length))}),new t.Point(0,0)),u=n.unproject(l);e.call(this,i,{points:a,point:l,lngLats:s,lngLat:u,originalEvent:o}),this._defaultPrevented=!1}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={defaultPrevented:{configurable:!0}};return i.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(i.prototype,n),i}(t.Event),yi=function(t){function e(e,r,i){t.call(this,e,{originalEvent:i}),this._defaultPrevented=!1}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,r),e}(t.Event),_i=function(e){this._map=e,this._el=e.getCanvasContainer(),this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,t.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};_i.prototype.setZoomRate=function(t){this._defaultZoomRate=t},_i.prototype.setWheelZoomRate=function(t){this._wheelZoomRate=t},_i.prototype.isEnabled=function(){return!!this._enabled},_i.prototype.isActive=function(){return!!this._active},_i.prototype.isZooming=function(){return!!this._zooming},_i.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around)},_i.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},_i.prototype.onWheel=function(e){if(this.isEnabled()){var r=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,i=t.browser.now(),n=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==r&&r%4.000244140625==0?this._type="wheel":0!==r&&Math.abs(r)<4?this._type="trackpad":n>400?(this._type=null,this._lastValue=r,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(n*r)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,r+=this._lastValue)),e.shiftKey&&r&&(r/=4),this._type&&(this._lastWheelEvent=e,this._delta-=r,this.isActive()||this._start(e)),e.preventDefault()}},_i.prototype._onTimeout=function(t){this._type="wheel",this._delta-=this._lastValue,this.isActive()||this._start(t)},_i.prototype._start=function(e){if(this._delta){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0,this._map.fire(new t.Event("movestart",{originalEvent:e})),this._map.fire(new t.Event("zoomstart",{originalEvent:e}))),this._finishTimeout&&clearTimeout(this._finishTimeout);var i=r.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(i)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame))}},_i.prototype._onScrollFrame=function(){var e=this;if(this._frameId=null,this.isActive()){var r=this._map.transform;if(0!==this._delta){var i="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,n=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==n&&(n=1/n);var o="number"==typeof this._targetZoom?r.zoomScale(this._targetZoom):r.scale;this._targetZoom=Math.min(r.maxZoom,Math.max(r.minZoom,r.scaleZoom(o*n))),"wheel"===this._type&&(this._startZoom=r.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a="number"==typeof this._targetZoom?this._targetZoom:r.zoom,s=this._startZoom,l=this._easing,u=!1;if("wheel"===this._type&&s&&l){var c=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),p=l(c);r.zoom=t.number(s,a,p),c<1?this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame)):u=!0}else r.zoom=a,u=!0;r.setLocationAtPoint(this._around,this._aroundPoint),this._map.fire(new t.Event("move",{originalEvent:this._lastWheelEvent})),this._map.fire(new t.Event("zoom",{originalEvent:this._lastWheelEvent})),u&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._map.fire(new t.Event("zoomend",{originalEvent:e._lastWheelEvent})),e._map.fire(new t.Event("moveend",{originalEvent:e._lastWheelEvent})),delete e._targetZoom}),200))}},_i.prototype._smoothOutEasing=function(e){var r=t.ease;if(this._prevEase){var i=this._prevEase,n=(t.browser.now()-i.start)/i.duration,o=i.easing(n+.01)-i.easing(n),a=.27/Math.sqrt(o*o+1e-4)*.01,s=Math.sqrt(.0729-a*a);r=t.bezier(a,s,.25,1)}return this._prevEase={start:t.browser.now(),duration:e,easing:r},r};var gi=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=r.clickTolerance||1,t.bindAll(["_onMouseMove","_onMouseUp","_onKeyDown"],this)};gi.prototype.isEnabled=function(){return!!this._enabled},gi.prototype.isActive=function(){return!!this._active},gi.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},gi.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},gi.prototype.onMouseDown=function(e){this.isEnabled()&&e.shiftKey&&0===e.button&&(t.window.document.addEventListener("mousemove",this._onMouseMove,!1),t.window.document.addEventListener("keydown",this._onKeyDown,!1),t.window.document.addEventListener("mouseup",this._onMouseUp,!1),r.disableDrag(),this._startPos=this._lastPos=r.mousePos(this._el,e),this._active=!0)},gi.prototype._onMouseMove=function(t){var e=r.mousePos(this._el,t);if(!(this._lastPos.equals(e)||!this._box&&e.dist(this._startPos)<this._clickTolerance)){var i=this._startPos;this._lastPos=e,this._box||(this._box=r.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));var n=Math.min(i.x,e.x),o=Math.max(i.x,e.x),a=Math.min(i.y,e.y),s=Math.max(i.y,e.y);r.setTransform(this._box,"translate("+n+"px,"+a+"px)"),this._box.style.width=o-n+"px",this._box.style.height=s-a+"px"}},gi.prototype._onMouseUp=function(e){if(0===e.button){var i=this._startPos,n=r.mousePos(this._el,e);this._finish(),r.suppressClick(),i.x===n.x&&i.y===n.y?this._fireEvent("boxzoomcancel",e):this._map.fitScreenCoordinates(i,n,this._map.getBearing(),{linear:!0}).fire(new t.Event("boxzoomend",{originalEvent:e}))}},gi.prototype._onKeyDown=function(t){27===t.keyCode&&(this._finish(),this._fireEvent("boxzoomcancel",t))},gi.prototype._finish=function(){this._active=!1,t.window.document.removeEventListener("mousemove",this._onMouseMove,!1),t.window.document.removeEventListener("keydown",this._onKeyDown,!1),t.window.document.removeEventListener("mouseup",this._onMouseUp,!1),this._container.classList.remove("mapboxgl-crosshair"),this._box&&(r.remove(this._box),this._box=null),r.enableDrag(),delete this._startPos,delete this._lastPos},gi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,{originalEvent:r}))};var vi=t.bezier(0,0,.25,1),xi=function(e,r){this._map=e,this._el=r.element||e.getCanvasContainer(),this._state="disabled",this._button=r.button||"right",this._bearingSnap=r.bearingSnap||0,this._pitchWithRotate=!1!==r.pitchWithRotate,t.bindAll(["onMouseDown","_onMouseMove","_onMouseUp","_onBlur","_onDragFrame"],this)};xi.prototype.isEnabled=function(){return"disabled"!==this._state},xi.prototype.isActive=function(){return"active"===this._state},xi.prototype.enable=function(){this.isEnabled()||(this._state="enabled")},xi.prototype.disable=function(){if(this.isEnabled())switch(this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend"),this._pitchWithRotate&&this._fireEvent("pitchend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled"}},xi.prototype.onMouseDown=function(e){if("enabled"===this._state){var i="touchstart"===e.type;if(i)this._startTime=Date.now();else if("right"===this._button){if(this._eventButton=r.mouseButton(e),this._eventButton!==(e.ctrlKey?0:2))return}else{if(e.ctrlKey||0!==r.mouseButton(e))return;this._eventButton=0}r.disableDrag(),i?(t.window.document.addEventListener("touchmove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("touchend",this._onMouseUp)):(t.window.document.addEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("mouseup",this._onMouseUp)),t.window.addEventListener("blur",this._onBlur),this._state="pending",this._inertia=[[t.browser.now(),this._map.getBearing()]],this._startPos=this._prevPos=this._lastPos=r.mousePos(this._el,e),this._center=this._map.transform.centerPoint,e.preventDefault()}},xi.prototype._onMouseMove=function(t){var e=r.mousePos(this._el,t);this._lastPos.equals(e)||(this._lastMoveEvent=t,this._lastPos=e,"pending"===this._state&&(this._state="active",this._fireEvent("rotatestart",t),this._fireEvent("movestart",t),this._pitchWithRotate&&this._fireEvent("pitchstart",t)),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)))},xi.prototype._onDragFrame=function(){this._frameId=null;var e=this._lastMoveEvent;if(e){var r=this._map.transform,i=this._prevPos,n=this._lastPos,o=.8*(i.x-n.x),a=-.5*(i.y-n.y),s=r.bearing-o,l=r.pitch-a,u=this._inertia,c=u[u.length-1];this._drainInertiaBuffer(),u.push([t.browser.now(),this._map._normalizeBearing(s,c[1])]);var p=r.bearing;if(r.bearing=s,this._pitchWithRotate){var h=r.pitch;r.pitch=l,r.pitch!==h&&this._fireEvent("pitch",e)}r.bearing!==p&&this._fireEvent("rotate",e),this._fireEvent("move",e),delete this._lastMoveEvent,this._prevPos=this._lastPos}},xi.prototype._onMouseUp=function(t){if("touchend"===t.type&&this._startPos===this._lastPos&&Date.now()-this._startTime<300&&this._el.click(),r.mouseButton(t)===this._eventButton)switch(this._state){case"active":this._state="enabled",r.suppressClick(),this._unbind(),this._deactivate(),this._inertialRotate(t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._onBlur=function(t){switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend",t),this._pitchWithRotate&&this._fireEvent("pitchend",t),this._fireEvent("moveend",t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._unbind=function(){t.window.document.removeEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("mouseup",this._onMouseUp),t.window.document.removeEventListener("touchmove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("touchend",this._onMouseUp),t.window.removeEventListener("blur",this._onBlur),r.enableDrag()},xi.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._prevPos,delete this._lastPos},xi.prototype._inertialRotate=function(t){var e=this;this._fireEvent("rotateend",t),this._drainInertiaBuffer();var r=this._map,i=r.getBearing(),n=this._inertia,o=function(){Math.abs(i)<e._bearingSnap?r.resetNorth({noMoveStart:!0},{originalEvent:t}):e._fireEvent("moveend",t),e._pitchWithRotate&&e._fireEvent("pitchend",t)};if(n.length<2)o();else{var a=n[0],s=n[n.length-1],l=n[n.length-2],u=r._normalizeBearing(i,l[1]),c=s[1]-a[1],p=c<0?-1:1,h=(s[0]-a[0])/1e3;if(0!==c&&0!==h){var f=Math.abs(c*(.25/h));f>180&&(f=180);var d=f/180;u+=p*f*(d/2),Math.abs(r._normalizeBearing(u,0))<this._bearingSnap&&(u=r._normalizeBearing(0,u)),r.rotateTo(u,{duration:1e3*d,easing:vi,noMoveStart:!0},{originalEvent:t})}else o()}},xi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},xi.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>0&&r-e[0][0]>160;)e.shift()};var bi={linearity:.3,easing:t.bezier(0,0,.3,1),maxSpeed:1400,deceleration:2500},wi=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._state="disabled",this._clickTolerance=r.clickTolerance||1,this._inertiaOptions=bi,t.bindAll(["_onMove","_onMouseUp","_onTouchEnd","_onBlur","_onDragFrame"],this)};wi.prototype.isEnabled=function(){return"disabled"!==this._state},wi.prototype.isActive=function(){return"active"===this._state},wi.prototype.enable=function(e){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-drag-pan"),this._state="enabled",this._inertiaOptions=t.extend(bi,e))},wi.prototype.disable=function(){if(this.isEnabled())switch(this._el.classList.remove("mapboxgl-touch-drag-pan"),this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("dragend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled"}},wi.prototype.onMouseDown=function(e){"enabled"===this._state&&(e.ctrlKey||0!==r.mouseButton(e)||(r.addEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),r.addEventListener(t.window.document,"mouseup",this._onMouseUp),this._start(e)))},wi.prototype.onTouchStart=function(e){this.isEnabled()&&(e.touches&&e.touches.length>1&&("pending"===this._state||"active"===this._state)||(r.addEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),r.addEventListener(t.window.document,"touchend",this._onTouchEnd),this._start(e)))},wi.prototype._start=function(e){t.window.addEventListener("blur",this._onBlur),this._state="pending",this._startPos=this._mouseDownPos=this._prevPos=this._lastPos=r.mousePos(this._el,e),this._startTouch=this._lastTouch=t.window.TouchEvent&&e instanceof t.window.TouchEvent?r.touchPos(this._el,e):null,this._inertia=[[t.browser.now(),this._startPos]]},wi.prototype._touchesMatch=function(t,e){return!(!t||!e||t.length!==e.length)&&t.every((function(t,r){return e[r]===t}))},wi.prototype._onMove=function(e){e.preventDefault();var i=t.window.TouchEvent&&e instanceof t.window.TouchEvent?r.touchPos(this._el,e):null,n=r.mousePos(this._el,e);(i?this._touchesMatch(this._lastTouch,i):this._lastPos.equals(n))||"pending"===this._state&&n.dist(this._mouseDownPos)<this._clickTolerance||(this._lastMoveEvent=e,this._lastPos=n,this._lastTouch=i,this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),this._lastPos]),"pending"===this._state&&(this._state="active",this._shouldStart=!0),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)))},wi.prototype._onDragFrame=function(){this._frameId=null;var t=this._lastMoveEvent;if(t)if(this._map.touchZoomRotate.isActive())this._abort(t);else if(this._shouldStart&&(this._fireEvent("dragstart",t),this._fireEvent("movestart",t),this._shouldStart=!1),this.isActive()){var e=this._map.transform;e.setLocationAtPoint(e.pointLocation(this._prevPos),this._lastPos),this._fireEvent("drag",t),this._fireEvent("move",t),this._prevPos=this._lastPos,delete this._lastMoveEvent}},wi.prototype._onMouseUp=function(t){if(0===r.mouseButton(t))switch(this._state){case"active":this._state="enabled",r.suppressClick(),this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind()}},wi.prototype._onTouchEnd=function(t){if(t.touches&&0!==t.touches.length)switch(this._state){case"pending":case"active":break;case"enabled":this.onTouchStart(t)}else switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind();break;case"enabled":this._unbind()}},wi.prototype._abort=function(e){switch(this._state){case"active":this._state="enabled",this._shouldStart||(this._fireEvent("dragend",e),this._fireEvent("moveend",e)),this._unbind(),this._deactivate(),t.window.TouchEvent&&e instanceof t.window.TouchEvent&&e.touches.length>1&&r.addEventListener(t.window.document,"touchend",this._onTouchEnd);break;case"pending":this._state="enabled",this._unbind();break;case"enabled":this._unbind()}},wi.prototype._onBlur=function(t){this._abort(t)},wi.prototype._unbind=function(){r.removeEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),r.removeEventListener(t.window.document,"touchend",this._onTouchEnd),r.removeEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),r.removeEventListener(t.window.document,"mouseup",this._onMouseUp),r.removeEventListener(t.window,"blur",this._onBlur)},wi.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._prevPos,delete this._mouseDownPos,delete this._lastPos,delete this._startTouch,delete this._lastTouch,delete this._shouldStart},wi.prototype._inertialPan=function(t){this._fireEvent("dragend",t),this._drainInertiaBuffer();var e=this._inertia;if(e.length<2)this._fireEvent("moveend",t);else{var r=e[e.length-1],i=e[0],n=r[1].sub(i[1]),o=(r[0]-i[0])/1e3;if(0===o||r[1].equals(i[1]))this._fireEvent("moveend",t);else{var a=this._inertiaOptions,s=a.linearity,l=a.easing,u=a.maxSpeed,c=a.deceleration,p=n.mult(s/o),h=p.mag();h>u&&(h=u,p._unit()._mult(h));var f=h/(c*s),d=p.mult(-f/2);this._map.panBy(d,{duration:1e3*f,easing:l,noMoveStart:!0},{originalEvent:t})}}},wi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},wi.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>0&&r-e[0][0]>160;)e.shift()};var Si=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onKeyDown"],this)};function Ei(t){return t*(2-t)}Si.prototype.isEnabled=function(){return!!this._enabled},Si.prototype.enable=function(){this.isEnabled()||(this._el.addEventListener("keydown",this._onKeyDown,!1),this._enabled=!0)},Si.prototype.disable=function(){this.isEnabled()&&(this._el.removeEventListener("keydown",this._onKeyDown),this._enabled=!1)},Si.prototype._onKeyDown=function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e=0,r=0,i=0,n=0,o=0;switch(t.keyCode){case 61:case 107:case 171:case 187:e=1;break;case 189:case 109:case 173:e=-1;break;case 37:t.shiftKey?r=-1:(t.preventDefault(),n=-1);break;case 39:t.shiftKey?r=1:(t.preventDefault(),n=1);break;case 38:t.shiftKey?i=1:(t.preventDefault(),o=-1);break;case 40:t.shiftKey?i=-1:(o=1,t.preventDefault());break;default:return}var a=this._map,s=a.getZoom(),l={duration:300,delayEndEvents:500,easing:Ei,zoom:e?Math.round(s)+e*(t.shiftKey?2:1):s,bearing:a.getBearing()+15*r,pitch:a.getPitch()+10*i,offset:[100*-n,100*-o],center:a.getCenter()};a.easeTo(l,{originalEvent:t})}};var Ti=function(e){this._map=e,t.bindAll(["_onDblClick","_onZoomEnd"],this)};Ti.prototype.isEnabled=function(){return!!this._enabled},Ti.prototype.isActive=function(){return!!this._active},Ti.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Ti.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Ti.prototype.onTouchStart=function(t){var e=this;if(this.isEnabled()&&!(t.points.length>1))if(this._tapped){var r=t.points[0],i=this._tappedPoint;if(i&&i.dist(r)<=30){t.originalEvent.preventDefault();var n=function(){e._tapped&&e._zoom(t),e._map.off("touchcancel",o),e._resetTapped()},o=function(){e._map.off("touchend",n),e._resetTapped()};this._map.once("touchend",n),this._map.once("touchcancel",o)}else this._resetTapped()}else this._tappedPoint=t.points[0],this._tapped=setTimeout((function(){e._tapped=null,e._tappedPoint=null}),300)},Ti.prototype._resetTapped=function(){clearTimeout(this._tapped),this._tapped=null,this._tappedPoint=null},Ti.prototype.onDblClick=function(t){this.isEnabled()&&(t.originalEvent.preventDefault(),this._zoom(t))},Ti.prototype._zoom=function(t){this._active=!0,this._map.on("zoomend",this._onZoomEnd),this._map.zoomTo(this._map.getZoom()+(t.originalEvent.shiftKey?-1:1),{around:t.lngLat},t)},Ti.prototype._onZoomEnd=function(){this._active=!1,this._map.off("zoomend",this._onZoomEnd)};var Ii=t.bezier(0,0,.15,1),Ai=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onMove","_onEnd","_onTouchFrame"],this)};Ai.prototype.isEnabled=function(){return!!this._enabled},Ai.prototype.enable=function(t){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-zoom-rotate"),this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around)},Ai.prototype.disable=function(){this.isEnabled()&&(this._el.classList.remove("mapboxgl-touch-zoom-rotate"),this._enabled=!1)},Ai.prototype.disableRotation=function(){this._rotationDisabled=!0},Ai.prototype.enableRotation=function(){this._rotationDisabled=!1},Ai.prototype.isActive=function(){return this.isEnabled()&&!!this._gestureIntent},Ai.prototype.onStart=function(e){if(this.isEnabled()&&2===e.touches.length){var i=r.mousePos(this._el,e.touches[0]),n=r.mousePos(this._el,e.touches[1]),o=i.add(n).div(2);this._startVec=i.sub(n),this._startAround=this._map.transform.pointLocation(o),this._gestureIntent=void 0,this._inertia=[],r.addEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),r.addEventListener(t.window.document,"touchend",this._onEnd)}},Ai.prototype._getTouchEventData=function(t){var e=r.mousePos(this._el,t.touches[0]),i=r.mousePos(this._el,t.touches[1]),n=e.sub(i);return{vec:n,center:e.add(i).div(2),scale:n.mag()/this._startVec.mag(),bearing:this._rotationDisabled?0:180*n.angleWith(this._startVec)/Math.PI}},Ai.prototype._onMove=function(e){if(2===e.touches.length){var r=this._getTouchEventData(e),i=r.vec,n=r.scale,o=r.bearing;if(!this._gestureIntent){var a=this._rotationDisabled&&1!==n||Math.abs(1-n)>.15;Math.abs(o)>10?this._gestureIntent="rotate":a&&(this._gestureIntent="zoom"),this._gestureIntent&&(this._map.fire(new t.Event(this._gestureIntent+"start",{originalEvent:e})),this._map.fire(new t.Event("movestart",{originalEvent:e})),this._startVec=i)}this._lastTouchEvent=e,this._frameId||(this._frameId=this._map._requestRenderFrame(this._onTouchFrame)),e.preventDefault()}},Ai.prototype._onTouchFrame=function(){this._frameId=null;var e=this._gestureIntent;if(e){var r=this._map.transform;this._startScale||(this._startScale=r.scale,this._startBearing=r.bearing);var i=this._getTouchEventData(this._lastTouchEvent),n=i.center,o=i.bearing,a=i.scale,s=r.pointLocation(n),l=r.locationPoint(s);"rotate"===e&&(r.bearing=this._startBearing+o),r.zoom=r.scaleZoom(this._startScale*a),r.setLocationAtPoint(this._startAround,l),this._map.fire(new t.Event(e,{originalEvent:this._lastTouchEvent})),this._map.fire(new t.Event("move",{originalEvent:this._lastTouchEvent})),this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),a,n])}},Ai.prototype._onEnd=function(e){r.removeEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),r.removeEventListener(t.window.document,"touchend",this._onEnd);var i=this._gestureIntent,n=this._startScale;if(this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._gestureIntent,delete this._startScale,delete this._startBearing,delete this._lastTouchEvent,i){this._map.fire(new t.Event(i+"end",{originalEvent:e})),this._drainInertiaBuffer();var o=this._inertia,a=this._map;if(o.length<2)a.snapToNorth({},{originalEvent:e});else{var s=o[o.length-1],l=o[0],u=a.transform.scaleZoom(n*s[1]),c=a.transform.scaleZoom(n*l[1]),p=u-c,h=(s[0]-l[0])/1e3,f=s[2];if(0!==h&&u!==c){var d=.15*p/h;Math.abs(d)>2.5&&(d=d>0?2.5:-2.5);var m=1e3*Math.abs(d/(12*.15)),y=u+d*m/2e3;a.easeTo({zoom:y,duration:m,easing:Ii,around:this._aroundCenter?a.getCenter():a.unproject(f),noMoveStart:!0},{originalEvent:e})}else a.snapToNorth({},{originalEvent:e})}}},Ai.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>2&&r-e[0][0]>160;)e.shift()};var zi={scrollZoom:_i,boxZoom:gi,dragRotate:xi,dragPan:wi,keyboard:Si,doubleClickZoom:Ti,touchZoomRotate:Ai},Ci=function(e){function r(r,i){e.call(this),this._moving=!1,this._zooming=!1,this.transform=r,this._bearingSnap=i.bearingSnap,t.bindAll(["_renderFrameCallback"],this)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getCenter=function(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)},r.prototype.setCenter=function(t,e){return this.jumpTo({center:t},e)},r.prototype.panBy=function(e,r,i){return e=t.Point.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},r),i)},r.prototype.panTo=function(e,r,i){return this.easeTo(t.extend({center:e},r),i)},r.prototype.getZoom=function(){return this.transform.zoom},r.prototype.setZoom=function(t,e){return this.jumpTo({zoom:t},e),this},r.prototype.zoomTo=function(e,r,i){return this.easeTo(t.extend({zoom:e},r),i)},r.prototype.zoomIn=function(t,e){return this.zoomTo(this.getZoom()+1,t,e),this},r.prototype.zoomOut=function(t,e){return this.zoomTo(this.getZoom()-1,t,e),this},r.prototype.getBearing=function(){return this.transform.bearing},r.prototype.setBearing=function(t,e){return this.jumpTo({bearing:t},e),this},r.prototype.rotateTo=function(e,r,i){return this.easeTo(t.extend({bearing:e},r),i)},r.prototype.resetNorth=function(e,r){return this.rotateTo(0,t.extend({duration:1e3},e),r),this},r.prototype.resetNorthPitch=function(e,r){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),r),this},r.prototype.snapToNorth=function(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this},r.prototype.getPitch=function(){return this.transform.pitch},r.prototype.setPitch=function(t,e){return this.jumpTo({pitch:t},e),this},r.prototype.cameraForBounds=function(e,r){return e=t.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,r)},r.prototype._cameraForBoxAndBearing=function(e,r,i,n){if("number"==typeof(n=t.extend({padding:{top:0,bottom:0,right:0,left:0},offset:[0,0],maxZoom:this.transform.maxZoom},n)).padding){var o=n.padding;n.padding={top:o,bottom:o,right:o,left:o}}if(t.deepEqual(Object.keys(n.padding).sort((function(t,e){return t<e?-1:t>e?1:0})),["bottom","left","right","top"])){var a=this.transform,s=a.project(t.LngLat.convert(e)),l=a.project(t.LngLat.convert(r)),u=s.rotate(-i*Math.PI/180),c=l.rotate(-i*Math.PI/180),p=new t.Point(Math.max(u.x,c.x),Math.max(u.y,c.y)),h=new t.Point(Math.min(u.x,c.x),Math.min(u.y,c.y)),f=p.sub(h),d=(a.width-n.padding.left-n.padding.right)/f.x,m=(a.height-n.padding.top-n.padding.bottom)/f.y;if(!(m<0||d<0)){var y=Math.min(a.scaleZoom(a.scale*Math.min(d,m)),n.maxZoom),_=t.Point.convert(n.offset),g=(n.padding.left-n.padding.right)/2,v=(n.padding.top-n.padding.bottom)/2,x=new t.Point(_.x+g,_.y+v).mult(a.scale/a.zoomScale(y));return{center:a.unproject(s.add(l).div(2).sub(x)),zoom:y,bearing:i}}t.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")}else t.warnOnce("options.padding must be a positive number, or an Object with keys 'bottom', 'left', 'right', 'top'")},r.prototype.fitBounds=function(t,e,r){return this._fitInternal(this.cameraForBounds(t,e),e,r)},r.prototype.fitScreenCoordinates=function(e,r,i,n,o){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)),this.transform.pointLocation(t.Point.convert(r)),i,n),n,o)},r.prototype._fitInternal=function(e,r,i){return e?(r=t.extend(e,r)).linear?this.easeTo(r,i):this.flyTo(r,i):this},r.prototype.jumpTo=function(e,r){this.stop();var i=this.transform,n=!1,o=!1,a=!1;return"zoom"in e&&i.zoom!==+e.zoom&&(n=!0,i.zoom=+e.zoom),void 0!==e.center&&(i.center=t.LngLat.convert(e.center)),"bearing"in e&&i.bearing!==+e.bearing&&(o=!0,i.bearing=+e.bearing),"pitch"in e&&i.pitch!==+e.pitch&&(a=!0,i.pitch=+e.pitch),this.fire(new t.Event("movestart",r)).fire(new t.Event("move",r)),n&&this.fire(new t.Event("zoomstart",r)).fire(new t.Event("zoom",r)).fire(new t.Event("zoomend",r)),o&&this.fire(new t.Event("rotatestart",r)).fire(new t.Event("rotate",r)).fire(new t.Event("rotateend",r)),a&&this.fire(new t.Event("pitchstart",r)).fire(new t.Event("pitch",r)).fire(new t.Event("pitchend",r)),this.fire(new t.Event("moveend",r))},r.prototype.easeTo=function(e,r){var i=this;this.stop(),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||!e.essential&&t.browser.prefersReducedMotion)&&(e.duration=0);var n=this.transform,o=this.getZoom(),a=this.getBearing(),s=this.getPitch(),l="zoom"in e?+e.zoom:o,u="bearing"in e?this._normalizeBearing(e.bearing,a):a,c="pitch"in e?+e.pitch:s,p=n.centerPoint.add(t.Point.convert(e.offset)),h=n.pointLocation(p),f=t.LngLat.convert(e.center||h);this._normalizeCenter(f);var d,m,y=n.project(h),_=n.project(f).sub(y),g=n.zoomScale(l-o);return e.around&&(d=t.LngLat.convert(e.around),m=n.locationPoint(d)),this._zooming=l!==o,this._rotating=a!==u,this._pitching=c!==s,this._prepareEase(r,e.noMoveStart),clearTimeout(this._easeEndTimeoutID),this._ease((function(e){if(i._zooming&&(n.zoom=t.number(o,l,e)),i._rotating&&(n.bearing=t.number(a,u,e)),i._pitching&&(n.pitch=t.number(s,c,e)),d)n.setLocationAtPoint(d,m);else{var h=n.zoomScale(n.zoom-o),f=l>o?Math.min(2,g):Math.max(.5,g),v=Math.pow(f,1-e),x=n.unproject(y.add(_.mult(e*v)).mult(h));n.setLocationAtPoint(n.renderWorldCopies?x.wrap():x,p)}i._fireMoveEvents(r)}),(function(){e.delayEndEvents?i._easeEndTimeoutID=setTimeout((function(){return i._afterEase(r)}),e.delayEndEvents):i._afterEase(r)}),e),this},r.prototype._prepareEase=function(e,r){this._moving=!0,r||this.fire(new t.Event("movestart",e)),this._zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&this.fire(new t.Event("pitchstart",e))},r.prototype._fireMoveEvents=function(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e))},r.prototype._afterEase=function(e){var r=this._zooming,i=this._rotating,n=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,r&&this.fire(new t.Event("zoomend",e)),i&&this.fire(new t.Event("rotateend",e)),n&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))},r.prototype.flyTo=function(e,r){var i=this;if(!e.essential&&t.browser.prefersReducedMotion){var n=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(n,r)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var o=this.transform,a=this.getZoom(),s=this.getBearing(),l=this.getPitch(),u="zoom"in e?t.clamp(+e.zoom,o.minZoom,o.maxZoom):a,c="bearing"in e?this._normalizeBearing(e.bearing,s):s,p="pitch"in e?+e.pitch:l,h=o.zoomScale(u-a),f=o.centerPoint.add(t.Point.convert(e.offset)),d=o.pointLocation(f),m=t.LngLat.convert(e.center||d);this._normalizeCenter(m);var y=o.project(d),_=o.project(m).sub(y),g=e.curve,v=Math.max(o.width,o.height),x=v/h,b=_.mag();if("minZoom"in e){var w=t.clamp(Math.min(e.minZoom,a,u),o.minZoom,o.maxZoom),S=v/o.zoomScale(w-a);g=Math.sqrt(S/b*2)}var E=g*g;function T(t){var e=(x*x-v*v+(t?-1:1)*E*E*b*b)/(2*(t?x:v)*E*b);return Math.log(Math.sqrt(e*e+1)-e)}function I(t){return(Math.exp(t)-Math.exp(-t))/2}function A(t){return(Math.exp(t)+Math.exp(-t))/2}var z=T(0),C=function(t){return A(z)/A(z+g*t)},k=function(t){return v*((A(z)*(I(e=z+g*t)/A(e))-I(z))/E)/b;var e},P=(T(1)-z)/g;if(Math.abs(b)<1e-6||!isFinite(P)){if(Math.abs(v-x)<1e-6)return this.easeTo(e,r);var M=x<v?-1:1;P=Math.abs(Math.log(x/v))/g,k=function(){return 0},C=function(t){return Math.exp(M*g*t)}}if("duration"in e)e.duration=+e.duration;else{var L="screenSpeed"in e?+e.screenSpeed/g:+e.speed;e.duration=1e3*P/L}return e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=s!==c,this._pitching=p!==l,this._prepareEase(r,!1),this._ease((function(e){var n=e*P,h=1/C(n);o.zoom=1===e?u:a+o.scaleZoom(h),i._rotating&&(o.bearing=t.number(s,c,e)),i._pitching&&(o.pitch=t.number(l,p,e));var d=1===e?m:o.unproject(y.add(_.mult(k(n))).mult(h));o.setLocationAtPoint(o.renderWorldCopies?d.wrap():d,f),i._fireMoveEvents(r)}),(function(){return i._afterEase(r)}),e),this},r.prototype.isEasing=function(){return!!this._easeFrameId},r.prototype.stop=function(){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var t=this._onEaseEnd;delete this._onEaseEnd,t.call(this)}return this},r.prototype._ease=function(e,r,i){!1===i.animate||0===i.duration?(e(1),r()):(this._easeStart=t.browser.now(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=r,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},r.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},r.prototype._normalizeBearing=function(e,r){e=t.wrap(e,-180,180);var i=Math.abs(e-r);return Math.abs(e-360-r)<i&&(e-=360),Math.abs(e+360-r)<i&&(e+=360),e},r.prototype._normalizeCenter=function(t){var e=this.transform;if(e.renderWorldCopies&&!e.lngRange){var r=t.lng-e.center.lng;t.lng+=r>180?-360:r<-180?360:0}},r}(t.Evented),ki=function(e){void 0===e&&(e={}),this.options=e,t.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};ki.prototype.getDefaultPosition=function(){return"bottom-right"},ki.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),e&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===e&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},ki.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0,this._attribHTML=void 0},ki.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){var i=r.reduce((function(t,e,i){return e.value&&(t+=e.key+"="+e.value+(i<r.length-1?"&":"")),t}),"?");e.href=t.config.FEEDBACK_URL+"/"+i+(this._map._hash?this._map._hash.getHashString(!0):""),e.rel="noopener nofollow"}},ki.prototype._updateData=function(t){!t||"metadata"!==t.sourceDataType&&"style"!==t.dataType||(this._updateAttributions(),this._updateEditLink())},ki.prototype._updateAttributions=function(){if(this._map.style){var t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((function(t){return"string"!=typeof t?"":t}))):"string"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}var r=this._map.style.sourceCaches;for(var i in r){var n=r[i];if(n.used){var o=n.getSource();o.attribution&&t.indexOf(o.attribution)<0&&t.push(o.attribution)}}t.sort((function(t,e){return t.length-e.length}));var a=(t=t.filter((function(e,r){for(var i=r+1;i<t.length;i++)if(t[i].indexOf(e)>=0)return!1;return!0}))).join(" | ");a!==this._attribHTML&&(this._attribHTML=a,t.length?(this._innerContainer.innerHTML=a,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null)}},ki.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var Pi=function(){t.bindAll(["_updateLogo"],this),t.bindAll(["_updateCompact"],this)};Pi.prototype.onAdd=function(t){this._map=t,this._container=r.create("div","mapboxgl-ctrl");var e=r.create("a","mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener nofollow",e.href="https://www.mapbox.com/",e.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),e.setAttribute("rel","noopener nofollow"),this._container.appendChild(e),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Pi.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},Pi.prototype.getDefaultPosition=function(){return"bottom-left"},Pi.prototype._updateLogo=function(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},Pi.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t)if(t[e].getSource().mapbox_logo)return!0;return!1}},Pi.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact")}};var Mi=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Mi.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},Mi.prototype.remove=function(t){for(var e=this._currentlyRunning,r=0,i=e?this._queue.concat(e):this._queue;r<i.length;r+=1){var n=i[r];if(n.id===t)return void(n.cancelled=!0)}},Mi.prototype.run=function(){var t=this._currentlyRunning=this._queue;this._queue=[];for(var e=0,r=t;e<r.length;e+=1){var i=r[e];if(!i.cancelled&&(i.callback(),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},Mi.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var Li={"FullscreenControl.Enter":"Enter fullscreen","FullscreenControl.Exit":"Exit fullscreen","GeolocateControl.FindMyLocation":"Find my location","GeolocateControl.LocationNotAvailable":"Location not available","LogoControl.Title":"Mapbox logo","NavigationControl.ResetBearing":"Reset bearing to north","NavigationControl.ZoomIn":"Zoom in","NavigationControl.ZoomOut":"Zoom out","ScaleControl.Feet":"ft","ScaleControl.Meters":"m","ScaleControl.Kilometers":"km","ScaleControl.Miles":"mi","ScaleControl.NauticalMiles":"nm"},Di=t.window.HTMLImageElement,Bi=t.window.HTMLElement,Ri={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:-2,maxZoom:22,minPitch:0,maxPitch:60,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,bearingSnap:7,clickTolerance:3,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},Fi=function(i){function n(e){var n=this;if(null!=(e=t.extend({},Ri,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(null!=e.minPitch&&null!=e.maxPitch&&e.minPitch>e.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(null!=e.minPitch&&e.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(null!=e.maxPitch&&e.maxPitch>60)throw new Error("maxPitch must be less than or equal to 60");var o=new pi(e.minZoom,e.maxZoom,e.minPitch,e.maxPitch,e.renderWorldCopies);if(i.call(this,o,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new Mi,this._controls=[],this._mapId=t.uniqueId(),this._locale=t.extend({},Li,e.locale),this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken),"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof Bi))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return n._update(!1)})),this.on("moveend",(function(){return n._update(!1)})),this.on("zoom",(function(){return n._update(!0)})),void 0!==t.window&&(t.window.addEventListener("online",this._onWindowOnline,!1),t.window.addEventListener("resize",this._onWindowResize,!1)),function(t,e){var i=t.getCanvasContainer(),n=null,o=!1,a=null;for(var s in zi)t[s]=new zi[s](t,e),e.interactive&&e[s]&&t[s].enable(e[s]);r.addEventListener(i,"mouseout",(function(e){t.fire(new di("mouseout",t,e))})),r.addEventListener(i,"mousedown",(function(n){o=!0,a=r.mousePos(i,n);var s=new di("mousedown",t,n);t.fire(s),s.defaultPrevented||(e.interactive&&!t.doubleClickZoom.isActive()&&t.stop(),t.boxZoom.onMouseDown(n),t.boxZoom.isActive()||t.dragPan.isActive()||t.dragRotate.onMouseDown(n),t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onMouseDown(n))})),r.addEventListener(i,"mouseup",(function(e){var r=t.dragRotate.isActive();n&&!r&&t.fire(new di("contextmenu",t,n)),n=null,o=!1,t.fire(new di("mouseup",t,e))})),r.addEventListener(i,"mousemove",(function(e){if(!t.dragPan.isActive()&&!t.dragRotate.isActive()){for(var r=e.target;r&&r!==i;)r=r.parentNode;r===i&&t.fire(new di("mousemove",t,e))}})),r.addEventListener(i,"mouseover",(function(e){for(var r=e.target;r&&r!==i;)r=r.parentNode;r===i&&t.fire(new di("mouseover",t,e))})),r.addEventListener(i,"touchstart",(function(r){var i=new mi("touchstart",t,r);t.fire(i),i.defaultPrevented||(e.interactive&&t.stop(),t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onTouchStart(r),t.touchZoomRotate.onStart(r),t.doubleClickZoom.onTouchStart(i))}),{passive:!1}),r.addEventListener(i,"touchmove",(function(e){t.fire(new mi("touchmove",t,e))}),{passive:!1}),r.addEventListener(i,"touchend",(function(e){t.fire(new mi("touchend",t,e))})),r.addEventListener(i,"touchcancel",(function(e){t.fire(new mi("touchcancel",t,e))})),r.addEventListener(i,"click",(function(n){var o=r.mousePos(i,n);(!a||o.equals(a)||o.dist(a)<e.clickTolerance)&&t.fire(new di("click",t,n))})),r.addEventListener(i,"dblclick",(function(e){var r=new di("dblclick",t,e);t.fire(r),r.defaultPrevented||t.doubleClickZoom.onDblClick(r)})),r.addEventListener(i,"contextmenu",(function(e){var r=t.dragRotate.isActive();o||r?o&&(n=e):t.fire(new di("contextmenu",t,e)),(t.dragRotate.isEnabled()||t.listens("contextmenu"))&&e.preventDefault()})),r.addEventListener(i,"wheel",(function(r){e.interactive&&t.stop();var i=new yi("wheel",t,r);t.fire(i),i.defaultPrevented||t.scrollZoom.onWheel(r)}),{passive:!1})}(this,e);var a="string"==typeof e.hash&&e.hash||void 0;this._hash=e.hash&&new fi(a).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new ki({customAttribution:e.customAttribution})),this.addControl(new Pi,e.logoPosition),this.on("style.load",(function(){n.transform.unmodified&&n.jumpTo(n.style.stylesheet)})),this.on("data",(function(e){n._update("style"===e.dataType),n.fire(new t.Event(e.dataType+"data",e))})),this.on("dataloading",(function(e){n.fire(new t.Event(e.dataType+"dataloading",e))}))}i&&(n.__proto__=i),n.prototype=Object.create(i&&i.prototype),n.prototype.constructor=n;var o={showTileBoundaries:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return n.prototype._getMapId=function(){return this._mapId},n.prototype.addControl=function(e,r){if(void 0===r&&e.getDefaultPosition&&(r=e.getDefaultPosition()),void 0===r&&(r="top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var i=e.onAdd(this);this._controls.push(e);var n=this._controlPositions[r];return-1!==r.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},n.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var r=this._controls.indexOf(e);return r>-1&&this._controls.splice(r,1),e.onRemove(this),this},n.prototype.resize=function(e){var r=this._containerDimensions(),i=r[0],n=r[1];return this._resizeCanvas(i,n),this.transform.resize(i,n),this.painter.resize(i,n),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e)).fire(new t.Event("resize",e)).fire(new t.Event("moveend",e)),this},n.prototype.getBounds=function(){return this.transform.getBounds()},n.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},n.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},n.prototype.setMinZoom=function(t){if((t=null==t?-2:t)>=-2&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error("minZoom must be between -2 and the current maxZoom, inclusive")},n.prototype.getMinZoom=function(){return this.transform.minZoom},n.prototype.setMaxZoom=function(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")},n.prototype.getMaxZoom=function(){return this.transform.maxZoom},n.prototype.setMinPitch=function(t){if((t=null==t?0:t)<0)throw new Error("minPitch must be greater than or equal to 0");if(t>=0&&t<=this.transform.maxPitch)return this.transform.minPitch=t,this._update(),this.getPitch()<t&&this.setPitch(t),this;throw new Error("minPitch must be between 0 and the current maxPitch, inclusive")},n.prototype.getMinPitch=function(){return this.transform.minPitch},n.prototype.setMaxPitch=function(t){if((t=null==t?60:t)>60)throw new Error("maxPitch must be less than or equal to 60");if(t>=this.transform.minPitch)return this.transform.maxPitch=t,this._update(),this.getPitch()>t&&this.setPitch(t),this;throw new Error("maxPitch must be greater than the current minPitch")},n.prototype.getMaxPitch=function(){return this.transform.maxPitch},n.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},n.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},n.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},n.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},n.prototype.isMoving=function(){return this._moving||this.dragPan.isActive()||this.dragRotate.isActive()||this.scrollZoom.isActive()},n.prototype.isZooming=function(){return this._zooming||this.scrollZoom.isZooming()},n.prototype.isRotating=function(){return this._rotating||this.dragRotate.isActive()},n.prototype.on=function(t,e,r){var n=this;if(void 0===r)return i.prototype.on.call(this,t,e);var o=function(){var i;if("mouseenter"===t||"mouseover"===t){var o=!1;return{layer:e,listener:r,delegates:{mousemove:function(i){var a=n.getLayer(e)?n.queryRenderedFeatures(i.point,{layers:[e]}):[];a.length?o||(o=!0,r.call(n,new di(t,n,i.originalEvent,{features:a}))):o=!1},mouseout:function(){o=!1}}}}if("mouseleave"===t||"mouseout"===t){var a=!1;return{layer:e,listener:r,delegates:{mousemove:function(i){(n.getLayer(e)?n.queryRenderedFeatures(i.point,{layers:[e]}):[]).length?a=!0:a&&(a=!1,r.call(n,new di(t,n,i.originalEvent)))},mouseout:function(e){a&&(a=!1,r.call(n,new di(t,n,e.originalEvent)))}}}}return{layer:e,listener:r,delegates:(i={},i[t]=function(t){var i=n.getLayer(e)?n.queryRenderedFeatures(t.point,{layers:[e]}):[];i.length&&(t.features=i,r.call(n,t),delete t.features)},i)}}();for(var a in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(o),o.delegates)this.on(a,o.delegates[a]);return this},n.prototype.off=function(t,e,r){if(void 0===r)return i.prototype.off.call(this,t,e);if(this._delegatedListeners&&this._delegatedListeners[t])for(var n=this._delegatedListeners[t],o=0;o<n.length;o++){var a=n[o];if(a.layer===e&&a.listener===r){for(var s in a.delegates)this.off(s,a.delegates[s]);return n.splice(o,1),this}}return this},n.prototype.queryRenderedFeatures=function(e,r){if(!this.style)return[];var i;if(void 0!==r||void 0===e||e instanceof t.Point||Array.isArray(e)||(r=e,e=void 0),r=r||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.Point||"number"==typeof e[0])i=[t.Point.convert(e)];else{var n=t.Point.convert(e[0]),o=t.Point.convert(e[1]);i=[n,new t.Point(o.x,n.y),o,new t.Point(n.x,o.y),n]}return this.style.queryRenderedFeatures(i,r,this.transform)},n.prototype.querySourceFeatures=function(t,e){return this.style.querySourceFeatures(t,e)},n.prototype.setStyle=function(e,r){return!1!==(r=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},r)).diff&&r.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,r),this):(this._localIdeographFontFamily=r.localIdeographFontFamily,this._updateStyle(e,r))},n.prototype._getUIString=function(t){var e=this._locale[t];if(null==e)throw new Error("Missing UI string '"+t+"'");return e},n.prototype._updateStyle=function(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new Fe(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)},n.prototype._diffStyle=function(e,r){var i=this;if("string"==typeof e){var n=this._requestManager.normalizeStyleURL(e),o=this._requestManager.transformRequest(n,t.ResourceType.Style);t.getJSON(o,(function(e,n){e?i.fire(new t.ErrorEvent(e)):n&&i._updateDiff(n,r)}))}else"object"==typeof e&&this._updateDiff(e,r)},n.prototype._updateDiff=function(e,r){try{this.style.setState(e)&&this._update(!0)}catch(i){t.warnOnce("Unable to perform style diff: "+(i.message||i.error||i)+". Rebuilding the style from scratch."),this._updateStyle(e,r)}},n.prototype.getStyle=function(){if(this.style)return this.style.serialize()},n.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():t.warnOnce("There is no style added to the map.")},n.prototype.addSource=function(t,e){return this.style.addSource(t,e),this._update(!0)},n.prototype.isSourceLoaded=function(e){var r=this.style&&this.style.sourceCaches[e];if(void 0!==r)return r.loaded();this.fire(new t.ErrorEvent(new Error("There is no source with ID '"+e+"'")))},n.prototype.areTilesLoaded=function(){var t=this.style&&this.style.sourceCaches;for(var e in t){var r=t[e]._tiles;for(var i in r){var n=r[i];if("loaded"!==n.state&&"errored"!==n.state)return!1}}return!0},n.prototype.addSourceType=function(t,e,r){return this.style.addSourceType(t,e,r)},n.prototype.removeSource=function(t){return this.style.removeSource(t),this._update(!0)},n.prototype.getSource=function(t){return this.style.getSource(t)},n.prototype.addImage=function(e,r,i){void 0===i&&(i={});var n=i.pixelRatio;void 0===n&&(n=1);var o=i.sdf;void 0===o&&(o=!1);var a=i.stretchX,s=i.stretchY,l=i.content;if(r instanceof Di){var u=t.browser.getImageData(r),c=u.width,p=u.height,h=u.data;this.style.addImage(e,{data:new t.RGBAImage({width:c,height:p},h),pixelRatio:n,stretchX:a,stretchY:s,content:l,sdf:o,version:0})}else{if(void 0===r.width||void 0===r.height)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var f=r.width,d=r.height,m=r.data,y=r;this.style.addImage(e,{data:new t.RGBAImage({width:f,height:d},new Uint8Array(m)),pixelRatio:n,stretchX:a,stretchY:s,content:l,sdf:o,version:0,userImage:y}),y.onAdd&&y.onAdd(this,e)}},n.prototype.updateImage=function(e,r){var i=this.style.getImage(e);if(!i)return this.fire(new t.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var n=r instanceof Di?t.browser.getImageData(r):r,o=n.width,a=n.height,s=n.data;if(void 0===o||void 0===a)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(o!==i.data.width||a!==i.data.height)return this.fire(new t.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));var l=!(r instanceof Di);i.data.replace(s,l),this.style.updateImage(e,i)},n.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)},n.prototype.removeImage=function(t){this.style.removeImage(t)},n.prototype.loadImage=function(e,r){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),r)},n.prototype.listImages=function(){return this.style.listImages()},n.prototype.addLayer=function(t,e){return this.style.addLayer(t,e),this._update(!0)},n.prototype.moveLayer=function(t,e){return this.style.moveLayer(t,e),this._update(!0)},n.prototype.removeLayer=function(t){return this.style.removeLayer(t),this._update(!0)},n.prototype.getLayer=function(t){return this.style.getLayer(t)},n.prototype.setLayerZoomRange=function(t,e,r){return this.style.setLayerZoomRange(t,e,r),this._update(!0)},n.prototype.setFilter=function(t,e,r){return void 0===r&&(r={}),this.style.setFilter(t,e,r),this._update(!0)},n.prototype.getFilter=function(t){return this.style.getFilter(t)},n.prototype.setPaintProperty=function(t,e,r,i){return void 0===i&&(i={}),this.style.setPaintProperty(t,e,r,i),this._update(!0)},n.prototype.getPaintProperty=function(t,e){return this.style.getPaintProperty(t,e)},n.prototype.setLayoutProperty=function(t,e,r,i){return void 0===i&&(i={}),this.style.setLayoutProperty(t,e,r,i),this._update(!0)},n.prototype.getLayoutProperty=function(t,e){return this.style.getLayoutProperty(t,e)},n.prototype.setLight=function(t,e){return void 0===e&&(e={}),this.style.setLight(t,e),this._update(!0)},n.prototype.getLight=function(){return this.style.getLight()},n.prototype.setFeatureState=function(t,e){return this.style.setFeatureState(t,e),this._update()},n.prototype.removeFeatureState=function(t,e){return this.style.removeFeatureState(t,e),this._update()},n.prototype.getFeatureState=function(t){return this.style.getFeatureState(t)},n.prototype.getContainer=function(){return this._container},n.prototype.getCanvasContainer=function(){return this._canvasContainer},n.prototype.getCanvas=function(){return this._canvas},n.prototype._containerDimensions=function(){var t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]},n.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&t.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},n.prototype._setupContainer=function(){var t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=r.create("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();var e=this._canvasContainer=r.create("div","mapboxgl-canvas-container",t);this._interactive&&e.classList.add("mapboxgl-interactive"),this._canvas=r.create("canvas","mapboxgl-canvas",e),this._canvas.style.position="absolute",this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var i=this._containerDimensions();this._resizeCanvas(i[0],i[1]);var n=this._controlContainer=r.create("div","mapboxgl-control-container",t),o=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(t){o[t]=r.create("div","mapboxgl-ctrl-"+t,n)}))},n.prototype._resizeCanvas=function(e,r){var i=t.window.devicePixelRatio||1;this._canvas.width=i*e,this._canvas.height=i*r,this._canvas.style.width=e+"px",this._canvas.style.height=r+"px"},n.prototype._setupPainter=function(){var r=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),i=this._canvas.getContext("webgl",r)||this._canvas.getContext("experimental-webgl",r);i?(this.painter=new si(i,this.transform),t.webpSupported.testSupport(i)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")))},n.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}))},n.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}))},n.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},n.prototype._update=function(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this},n.prototype._requestRenderFrame=function(t){return this._update(),this._renderTaskQueue.add(t)},n.prototype._cancelRenderFrame=function(t){this._renderTaskQueue.remove(t)},n.prototype._render=function(){var e,r=this,i=0,n=this.painter.context.extTimerQuery;this.listens("gpu-timing-frame")&&(e=n.createQueryEXT(),n.beginQueryEXT(n.TIME_ELAPSED_EXT,e),i=t.browser.now()),this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run();var o=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var a=this.transform.zoom,s=t.browser.now();this.style.zoomHistory.update(a,s);var l=new t.EvaluationParameters(a,{now:s,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),u=l.crossFadingFactor();1===u&&u===this._crossFadingFactor||(o=!0,this._crossFadingFactor=u),this.style.update(l)}if(this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),gpuTiming:!!this.listens("gpu-timing-layer"),fadeDuration:this._fadeDuration}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||o)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this.listens("gpu-timing-frame")){var c=t.browser.now()-i;n.endQueryEXT(n.TIME_ELAPSED_EXT,e),setTimeout((function(){var i=n.getQueryObjectEXT(e,n.QUERY_RESULT_EXT)/1e6;n.deleteQueryEXT(e),r.fire(new t.Event("gpu-timing-frame",{cpuTime:c,gpuTime:i}))}),50)}if(this.listens("gpu-timing-layer")){var p=this.painter.collectGpuTimers();setTimeout((function(){var e=r.painter.queryGpuTimers(p);r.fire(new t.Event("gpu-timing-layer",{layerTimes:e}))}),50)}return this._sourcesDirty||this._repaint||this._styleDirty||this._placementDirty?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.Event("idle")),this},n.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,r=this._controls;e<r.length;e+=1)r[e].onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener("resize",this._onWindowResize,!1),t.window.removeEventListener("online",this._onWindowOnline,!1));var i=this.painter.context.gl.getExtension("WEBGL_lose_context");i&&i.loseContext(),Oi(this._canvasContainer),Oi(this._controlContainer),Oi(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this.fire(new t.Event("remove"))},n.prototype.triggerRepaint=function(){var e=this;this.style&&!this._frame&&(this._frame=t.browser.frame((function(){e._frame=null,e._render()})))},n.prototype._onWindowOnline=function(){this._update()},n.prototype._onWindowResize=function(t){this._trackResize&&this.resize({originalEvent:t})._update()},o.showTileBoundaries.get=function(){return!!this._showTileBoundaries},o.showTileBoundaries.set=function(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())},o.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},o.showCollisionBoxes.set=function(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())},o.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},o.showOverdrawInspector.set=function(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())},o.repaint.get=function(){return!!this._repaint},o.repaint.set=function(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())},o.vertices.get=function(){return!!this._vertices},o.vertices.set=function(t){this._vertices=t,this._update()},n.prototype._setCacheLimits=function(e,r){t.setCacheLimits(e,r)},o.version.get=function(){return t.version},Object.defineProperties(n.prototype,o),n}(Ci);function Oi(t){t.parentNode&&t.parentNode.removeChild(t)}var Ui={showCompass:!0,showZoom:!0,visualizePitch:!1},Vi=function(e){var i=this;this.options=t.extend({},Ui,e),this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this.options.showZoom&&(t.bindAll(["_setButtonTitle","_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-zoom-in",(function(t){return i._map.zoomIn({},{originalEvent:t})})),r.create("span","mapboxgl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden",!0),this._zoomOutButton=this._createButton("mapboxgl-ctrl-zoom-out",(function(t){return i._map.zoomOut({},{originalEvent:t})})),r.create("span","mapboxgl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden",!0)),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-compass",(function(t){i.options.visualizePitch?i._map.resetNorthPitch({},{originalEvent:t}):i._map.resetNorth({},{originalEvent:t})})),this._compassIcon=r.create("span","mapboxgl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden",!0))};function Ni(e,r,i){if(e=new t.LngLat(e.lng,e.lat),r){var n=new t.LngLat(e.lng-360,e.lat),o=new t.LngLat(e.lng+360,e.lat),a=i.locationPoint(e).distSqr(r);i.locationPoint(n).distSqr(r)<a?e=n:i.locationPoint(o).distSqr(r)<a&&(e=o)}for(;Math.abs(e.lng-i.center.lng)>180;){var s=i.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=i.width&&s.y<=i.height)break;e.lng>i.center.lng?e.lng-=360:e.lng+=360}return e}Vi.prototype._updateZoomButtons=function(){var t=this._map.getZoom();this._zoomInButton.disabled=t===this._map.getMaxZoom(),this._zoomOutButton.disabled=t===this._map.getMinZoom()},Vi.prototype._rotateCompassArrow=function(){var t=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassIcon.style.transform=t},Vi.prototype.onAdd=function(t){return this._map=t,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new xi(t,{button:"left",element:this._compass}),r.addEventListener(this._compass,"mousedown",this._handler.onMouseDown),r.addEventListener(this._compass,"touchstart",this._handler.onMouseDown,{passive:!1}),this._handler.enable()),this._container},Vi.prototype.onRemove=function(){r.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),r.removeEventListener(this._compass,"mousedown",this._handler.onMouseDown),r.removeEventListener(this._compass,"touchstart",this._handler.onMouseDown,{passive:!1}),this._handler.disable(),delete this._handler),delete this._map},Vi.prototype._createButton=function(t,e){var i=r.create("button",t,this._container);return i.type="button",i.addEventListener("click",e),i},Vi.prototype._setButtonTitle=function(t,e){var r=this._map._getUIString("NavigationControl."+e);t.title=r,t.setAttribute("aria-label",r)};var ji={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function qi(t,e,r){var i=t.classList;for(var n in ji)i.remove("mapboxgl-"+r+"-anchor-"+n);i.add("mapboxgl-"+r+"-anchor-"+e)}var Zi,Gi=function(e){function i(i,n){var o=this;if(e.call(this),(i instanceof t.window.HTMLElement||n)&&(i=t.extend({element:i},n)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick","_onKeyPress"],this),this._anchor=i&&i.anchor||"center",this._color=i&&i.color||"#3FB1CE",this._draggable=i&&i.draggable||!1,this._state="inactive",this._rotation=i&&i.rotation||0,this._rotationAlignment=i&&i.rotationAlignment||"auto",this._pitchAlignment=i&&i.pitchAlignment&&"auto"!==i.pitchAlignment?i.pitchAlignment:this._rotationAlignment,i&&i.element)this._element=i.element,this._offset=t.Point.convert(i&&i.offset||[0,0]);else{this._defaultMarker=!0,this._element=r.create("div"),this._element.setAttribute("aria-label","Map marker");var a=r.createNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"display","block"),a.setAttributeNS(null,"height","41px"),a.setAttributeNS(null,"width","27px"),a.setAttributeNS(null,"viewBox","0 0 27 41");var s=r.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"stroke","none"),s.setAttributeNS(null,"stroke-width","1"),s.setAttributeNS(null,"fill","none"),s.setAttributeNS(null,"fill-rule","evenodd");var l=r.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"fill-rule","nonzero");var u=r.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"transform","translate(3.0, 29.0)"),u.setAttributeNS(null,"fill","#000000");for(var c=0,p=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];c<p.length;c+=1){var h=p[c],f=r.createNS("http://www.w3.org/2000/svg","ellipse");f.setAttributeNS(null,"opacity","0.04"),f.setAttributeNS(null,"cx","10.5"),f.setAttributeNS(null,"cy","5.80029008"),f.setAttributeNS(null,"rx",h.rx),f.setAttributeNS(null,"ry",h.ry),u.appendChild(f)}var d=r.createNS("http://www.w3.org/2000/svg","g");d.setAttributeNS(null,"fill",this._color);var m=r.createNS("http://www.w3.org/2000/svg","path");m.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),d.appendChild(m);var y=r.createNS("http://www.w3.org/2000/svg","g");y.setAttributeNS(null,"opacity","0.25"),y.setAttributeNS(null,"fill","#000000");var _=r.createNS("http://www.w3.org/2000/svg","path");_.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),y.appendChild(_);var g=r.createNS("http://www.w3.org/2000/svg","g");g.setAttributeNS(null,"transform","translate(6.0, 7.0)"),g.setAttributeNS(null,"fill","#FFFFFF");var v=r.createNS("http://www.w3.org/2000/svg","g");v.setAttributeNS(null,"transform","translate(8.0, 8.0)");var x=r.createNS("http://www.w3.org/2000/svg","circle");x.setAttributeNS(null,"fill","#000000"),x.setAttributeNS(null,"opacity","0.25"),x.setAttributeNS(null,"cx","5.5"),x.setAttributeNS(null,"cy","5.5"),x.setAttributeNS(null,"r","5.4999962");var b=r.createNS("http://www.w3.org/2000/svg","circle");b.setAttributeNS(null,"fill","#FFFFFF"),b.setAttributeNS(null,"cx","5.5"),b.setAttributeNS(null,"cy","5.5"),b.setAttributeNS(null,"r","5.4999962"),v.appendChild(x),v.appendChild(b),l.appendChild(u),l.appendChild(d),l.appendChild(y),l.appendChild(g),l.appendChild(v),a.appendChild(l),this._element.appendChild(a),this._offset=t.Point.convert(i&&i.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(t){t.preventDefault()})),this._element.addEventListener("mousedown",(function(t){t.preventDefault()})),this._element.addEventListener("focus",(function(){var t=o._map.getContainer();t.scrollTop=0,t.scrollLeft=0})),qi(this._element,this._anchor,"marker"),this._popup=null}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._update),t.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},i.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),r.remove(this._element),this._popup&&this._popup.remove(),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},i.prototype.getElement=function(){return this._element},i.prototype.setPopup=function(t){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),t){if(!("offset"in t.options)){var e=Math.sqrt(Math.pow(13.5,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[e,-1*(24.6+e)],"bottom-right":[-e,-1*(24.6+e)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat),this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this},i.prototype._onKeyPress=function(t){var e=t.code,r=t.charCode||t.keyCode;"Space"!==e&&"Enter"!==e&&32!==r&&13!==r||this.togglePopup()},i.prototype._onMapClick=function(t){var e=t.originalEvent.target,r=this._element;this._popup&&(e===r||r.contains(e))&&this.togglePopup()},i.prototype.getPopup=function(){return this._popup},i.prototype.togglePopup=function(){var t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this},i.prototype._update=function(t){if(this._map){this._map.transform.renderWorldCopies&&(this._lngLat=Ni(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset);var e="";"viewport"===this._rotationAlignment||"auto"===this._rotationAlignment?e="rotateZ("+this._rotation+"deg)":"map"===this._rotationAlignment&&(e="rotateZ("+(this._rotation-this._map.getBearing())+"deg)");var i="";"viewport"===this._pitchAlignment||"auto"===this._pitchAlignment?i="rotateX(0deg)":"map"===this._pitchAlignment&&(i="rotateX("+this._map.getPitch()+"deg)"),t&&"moveend"!==t.type||(this._pos=this._pos.round()),r.setTransform(this._element,ji[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px) "+i+" "+e)}},i.prototype.getOffset=function(){return this._offset},i.prototype.setOffset=function(e){return this._offset=t.Point.convert(e),this._update(),this},i.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag"))},i.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"},i.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},i.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},i.prototype.isDraggable=function(){return this._draggable},i.prototype.setRotation=function(t){return this._rotation=t||0,this._update(),this},i.prototype.getRotation=function(){return this._rotation},i.prototype.setRotationAlignment=function(t){return this._rotationAlignment=t||"auto",this._update(),this},i.prototype.getRotationAlignment=function(){return this._rotationAlignment},i.prototype.setPitchAlignment=function(t){return this._pitchAlignment=t&&"auto"!==t?t:this._rotationAlignment,this._update(),this},i.prototype.getPitchAlignment=function(){return this._pitchAlignment},i}(t.Evented),Xi={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showUserLocation:!0},Wi=function(e){function i(r){e.call(this),this.options=t.extend({},Xi,r),t.bindAll(["_onSuccess","_onError","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.onAdd=function(e){var i;return this._map=e,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),i=this._setupUI,void 0!==Zi?i(Zi):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((function(t){Zi="denied"!==t.state,i(Zi)})):(Zi=!!t.window.navigator.geolocation,i(Zi)),this._container},i.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),r.remove(this._container),this._map=void 0},i.prototype._isOutOfMapMaxBounds=function(t){var e=this._map.getMaxBounds(),r=t.coords;return e&&(r.longitude<e.getWest()||r.longitude>e.getEast()||r.latitude<e.getSouth()||r.latitude>e.getNorth())},i.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}},i.prototype._onSuccess=function(e){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish()},i.prototype._updateCamera=function(e){var r=new t.LngLat(e.coords.longitude,e.coords.latitude),i=e.coords.accuracy,n=this._map.getBearing(),o=t.extend({bearing:n},this.options.fitBoundsOptions);this._map.fitBounds(r.toBounds(i),o,{geolocateSource:!0})},i.prototype._updateMarker=function(t){t?this._userLocationDotMarker.setLngLat([t.coords.longitude,t.coords.latitude]).addTo(this._map):this._userLocationDotMarker.remove()},i.prototype._onError=function(e){if(this.options.trackUserLocation)if(1===e.code){this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;var r=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=r,this._geolocateButton.setAttribute("aria-label",r),void 0!==this._geolocationWatchID&&this._clearWatch()}else this._setErrorState();"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()},i.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},i.prototype._setupUI=function(e){var i=this;if(this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this._geolocateButton=r.create("button","mapboxgl-ctrl-geolocate",this._container),r.create("span","mapboxgl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden",!0),this._geolocateButton.type="button",!1===e){t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled.");var n=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=n,this._geolocateButton.setAttribute("aria-label",n)}else{var o=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=o,this._geolocateButton.setAttribute("aria-label",o)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Gi(this._dotElement),this.options.trackUserLocation&&(this._watchState="OFF")),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(e){var r=e.originalEvent&&"resize"===e.originalEvent.type;e.geolocateSource||"ACTIVE_LOCK"!==i._watchState||r||(i._watchState="BACKGROUND",i._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),i._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),i.fire(new t.Event("trackuserlocationend")))}))},i.prototype.trigger=function(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}"OFF"===this._watchState&&void 0!==this._geolocationWatchID?this._clearWatch():void 0===this._geolocationWatchID&&(this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,this.options.positionOptions))}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},i.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},i}(t.Evented),Ki={maxWidth:100,unit:"metric"},Hi=function(e){this.options=t.extend({},Ki,e),t.bindAll(["_onMove","setUnit"],this)};function Ji(t,e,r){var i,n,o,a,s,l,u=r&&r.maxWidth||100,c=t._container.clientHeight/2,p=(i=t.unproject([0,c]),n=t.unproject([u,c]),o=Math.PI/180,a=i.lat*o,s=n.lat*o,l=Math.sin(a)*Math.sin(s)+Math.cos(a)*Math.cos(s)*Math.cos((n.lng-i.lng)*o),6371e3*Math.acos(Math.min(l,1)));if(r&&"imperial"===r.unit){var h=3.2808*p;h>5280?Yi(e,u,h/5280,t._getUIString("ScaleControl.Miles")):Yi(e,u,h,t._getUIString("ScaleControl.Feet"))}else r&&"nautical"===r.unit?Yi(e,u,p/1852,t._getUIString("ScaleControl.NauticalMiles")):p>=1e3?Yi(e,u,p/1e3,t._getUIString("ScaleControl.Kilometers")):Yi(e,u,p,t._getUIString("ScaleControl.Meters"))}function Yi(t,e,r,i){var n,o,a,s=(n=r,(o=Math.pow(10,(""+Math.floor(n)).length-1))*(a=(a=n/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(a))),l=s/r;t.style.width=e*l+"px",t.innerHTML=s+i}Hi.prototype.getDefaultPosition=function(){return"bottom-left"},Hi.prototype._onMove=function(){Ji(this._map,this._container,this.options)},Hi.prototype.onAdd=function(t){return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Hi.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Hi.prototype.setUnit=function(t){this.options.unit=t,Ji(this._map,this._container,this.options)};var Qi=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in t.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in t.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in t.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in t.window.document&&(this._fullscreenchange="MSFullscreenChange")};Qi.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Qi.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Qi.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},Qi.prototype._setupUI=function(){var e=this._fullscreenButton=r.create("button","mapboxgl-ctrl-fullscreen",this._controlContainer);r.create("span","mapboxgl-ctrl-icon",e).setAttribute("aria-hidden",!0),e.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Qi.prototype._updateTitle=function(){var t=this._getTitle();this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t},Qi.prototype._getTitle=function(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")},Qi.prototype._isFullscreen=function(){return this._fullscreen},Qi.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("mapboxgl-ctrl-shrink"),this._fullscreenButton.classList.toggle("mapboxgl-ctrl-fullscreen"),this._updateTitle())},Qi.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var $i={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},tn=function(e){function i(r){e.call(this),this.options=t.extend(Object.create($i),r),t.bindAll(["_update","_onClickClose","remove"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(e){var r=this;return this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClickClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",(function(t){r._update(t.point)})),this._map.on("mouseup",(function(t){r._update(t.point)})),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new t.Event("open")),this},i.prototype.isOpen=function(){return!!this._map},i.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("click",this._onClickClose),this._map.off("remove",this.remove),this._map.off("mousemove"),delete this._map),this.fire(new t.Event("close")),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove"),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},i.prototype.trackPointer=function(){var t=this;return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",(function(e){t._update(e.point)})),this._map.on("drag",(function(e){t._update(e.point)})),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},i.prototype.getElement=function(){return this._container},i.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},i.prototype.setHTML=function(e){var r,i=t.window.document.createDocumentFragment(),n=t.window.document.createElement("body");for(n.innerHTML=e;r=n.firstChild;)i.appendChild(r);return this.setDOMContent(i)},i.prototype.getMaxWidth=function(){return this._container.style.maxWidth},i.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},i.prototype.setDOMContent=function(t){return this._createContent(),this._content.appendChild(t),this._update(),this},i.prototype.addClassName=function(t){this._container.classList.add(t)},i.prototype.removeClassName=function(t){this._container.classList.remove(t)},i.prototype.toggleClassName=function(t){return this._container.classList.toggle(t)},i.prototype._createContent=function(){this._content&&r.remove(this._content),this._content=r.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClickClose))},i.prototype._update=function(e){var i=this,n=this._lngLat||this._trackPointer;if(this._map&&n&&this._content&&(this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(t){return i._container.classList.add(t)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Ni(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||e)){var o=this._pos=this._trackPointer&&e?e:this._map.project(this._lngLat),a=this.options.anchor,s=function e(r){if(r){if("number"==typeof r){var i=Math.round(Math.sqrt(.5*Math.pow(r,2)));return{center:new t.Point(0,0),top:new t.Point(0,r),"top-left":new t.Point(i,i),"top-right":new t.Point(-i,i),bottom:new t.Point(0,-r),"bottom-left":new t.Point(i,-i),"bottom-right":new t.Point(-i,-i),left:new t.Point(r,0),right:new t.Point(-r,0)}}if(r instanceof t.Point||Array.isArray(r)){var n=t.Point.convert(r);return{center:n,top:n,"top-left":n,"top-right":n,bottom:n,"bottom-left":n,"bottom-right":n,left:n,right:n}}return{center:t.Point.convert(r.center||[0,0]),top:t.Point.convert(r.top||[0,0]),"top-left":t.Point.convert(r["top-left"]||[0,0]),"top-right":t.Point.convert(r["top-right"]||[0,0]),bottom:t.Point.convert(r.bottom||[0,0]),"bottom-left":t.Point.convert(r["bottom-left"]||[0,0]),"bottom-right":t.Point.convert(r["bottom-right"]||[0,0]),left:t.Point.convert(r.left||[0,0]),right:t.Point.convert(r.right||[0,0])}}return e(new t.Point(0,0))}(this.options.offset);if(!a){var l,u=this._container.offsetWidth,c=this._container.offsetHeight;l=o.y+s.bottom.y<c?["top"]:o.y>this._map.transform.height-c?["bottom"]:[],o.x<u/2?l.push("left"):o.x>this._map.transform.width-u/2&&l.push("right"),a=0===l.length?"bottom":l.join("-")}var p=o.add(s[a]).round();r.setTransform(this._container,ji[a]+" translate("+p.x+"px,"+p.y+"px)"),qi(this._container,a,"popup")}},i.prototype._onClickClose=function(){this.remove()},i}(t.Evented),en={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:Fi,NavigationControl:Vi,GeolocateControl:Wi,AttributionControl:ki,ScaleControl:Hi,FullscreenControl:Qi,Popup:tn,Marker:Gi,Style:Fe,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Lt.workerCount},set workerCount(t){Lt.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},clearStorage:function(e){t.clearTileCache(e)},workerUrl:""};return en})),r}()},307:function(t,e,r){}}]);
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css new file mode 100644 index 00000000..6f84cb9e --- /dev/null +++ b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.04e03ac043566852ef07.rtl.css @@ -0,0 +1 @@ +.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:right}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;right:0}.mapboxgl-ctrl-top-right{top:0;left:0}.mapboxgl-ctrl-bottom-left{bottom:0;right:0}.mapboxgl-ctrl-bottom-right{left:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}a.mapboxgl-ctrl-logo{width:88px;height:23px;margin:0 -4px -4px 0;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg opacity='.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg opacity='.9' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='88' height='23' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd'%3E%3Cdefs%3E%3Cpath id='a' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='b' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='c'%3E%3Crect width='100%25' height='100%25' fill='%23fff'/%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/mask%3E%3Cg stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23c)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23b' mask='url(%23c)'/%3E%3C/g%3E%3Cuse xlink:href='%23a'/%3E%3Cuse xlink:href='%23b'/%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-right:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;right:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-close-button{position:absolute;left:0;top:0;border:0;border-radius:3px 0 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{position:absolute;top:0;right:0;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;right:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,.35)}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;right:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.css b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.css deleted file mode 100644 index ff605b61..00000000 --- a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.css +++ /dev/null @@ -1 +0,0 @@ -.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass{cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group{border-radius:4px;overflow:hidden;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}.mapboxgl-ctrl-group>button{width:30px;height:30px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group>button+button{border-top:1px solid #ddd}.mapboxgl-ctrl>button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl>button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-icon,.mapboxgl-ctrl-icon>.mapboxgl-ctrl-compass-arrow{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mapboxgl-ctrl-icon{padding:5px}.mapboxgl-ctrl-icon.mapboxgl-ctrl-icon-disabled{opacity:.25;border-color:#373737}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-out{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9c-.554 0-1 .446-1 1s.446 1 1 1h6c.554 0 1-.446 1-1s-.446-1-1-1z' fill='%23333'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-in{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 6c-.554 0-1 .446-1 1v2H7c-.554 0-1 .446-1 1s.446 1 1 1h2v2c0 .554.446 1 1 1s1-.446 1-1v-2h2c.554 0 1-.446 1-1s-.446-1-1-1h-2V7c0-.554-.446-1-1-1z' fill='%23333'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 010-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 010-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting{animation:mapboxgl-spin 2s linear infinite}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.mapboxgl-ctrl-icon.mapboxgl-ctrl-fullscreen{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4c-.5 0-1 .5-1 1v4h.5l1.277-1.703c1 .763 2.059 1.66 3.114 2.703a30.38 30.38 0 01-3.11 2.707L4.5 11H4v4c0 .5.5 1 1 1h4v-.5l-1.727-1.295a35.498 35.498 0 012.688-3.137 30.312 30.312 0 012.746 3.15L11 15.5v.5h4c.5 0 1-.5 1-1v-4h-.5l-1.295 1.727a35.513 35.513 0 01-3.168-2.717 47.787 47.787 0 013.192-2.705L15.5 9h.5V5c0-.5-.5-1-1-1h-4v.5l1.703 1.277A32.243 32.243 0 019.971 8.92 47.761 47.761 0 017.305 5.77L9 4.5V4H5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-shrink{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.242 3.492a.75.75 0 00-.523 1.29l2.246 2.245L4 8.5V9h4c.5 0 1-.5 1-1V4h-.5L7.018 5.955 4.78 3.72a.75.75 0 00-.539-.227zm11.492 0a.75.75 0 00-.515.227l-2.235 2.234L11.5 4H11v4c0 .5.5 1 1 1h4v-.5l-1.965-1.473 2.246-2.246a.75.75 0 00-.547-1.289zM4 11v.5l1.965 1.473-2.246 2.246A.751.751 0 104.78 16.28l2.246-2.246L8.5 16H9v-4c0-.5-.5-1-1-1H4zm8 0c-.5 0-1 .5-1 1v4h.5l1.473-1.965 2.246 2.246a.751.751 0 101.062-1.062l-2.246-2.246L16 11.5V11h-4z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-compass>.mapboxgl-ctrl-compass-arrow{width:20px;height:20px;margin:5px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' d='M6 9l4-8 4 8z'/%3E%3Cpath fill='%23CCC' d='M6 11l4 8 4-8z'/%3E%3C/svg%3E");background-repeat:no-repeat;display:inline-block}a.mapboxgl-ctrl-logo{width:85px;height:21px;margin:0 0 -3px -3px;display:block;background-repeat:no-repeat;cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84.49 21'%3E%3Cpath class='st0' d='M83.25 14.26c0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.39-1.44 2.39a.34.34 0 01-.3.17h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.68-2.39-3.64a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.36 1.4-2.35a.34.34 0 01.3-.17H83c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.63 2.43 3.67c0 .05.01.09.01.13zM66.24 9.59c-.39-1.88-1.96-3.28-3.84-3.28-1.03 0-2.03.42-2.73 1.18V3.51c0-.13-.1-.23-.23-.23h-1.4c-.13 0-.23.11-.23.23v10.72c0 .13.1.23.23.23h1.4c.13 0 .23-.11.23-.23v-.73c.71.75 1.7 1.18 2.73 1.18 1.88 0 3.45-1.41 3.84-3.29.13-.6.13-1.21 0-1.8zM62.08 13c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51S63.41 13 62.08 13zM71.67 6.32a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19s-1.9-4.17-4.27-4.17zm-.02 6.69c-1.33 0-2.42-1.12-2.42-2.51s1.08-2.52 2.42-2.52c1.33 0 2.42 1.12 2.42 2.51s-1.08 2.51-2.42 2.52z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M62.08 7.98c-1.32 0-2.39 1.11-2.41 2.48v.06c.01 1.38 1.08 2.48 2.41 2.48s2.42-1.12 2.42-2.51-1.09-2.51-2.42-2.51zm0 3.78c-.63 0-1.14-.56-1.17-1.25v-.04c.01-.69.54-1.25 1.17-1.25.63 0 1.17.57 1.17 1.27-.01.71-.52 1.27-1.17 1.27zM71.65 7.98c-1.33 0-2.42 1.12-2.42 2.51S70.32 13 71.65 13s2.42-1.12 2.42-2.51-1.08-2.51-2.42-2.51zm0 3.78c-.64 0-1.17-.57-1.17-1.27 0-.7.53-1.26 1.17-1.26s1.17.57 1.17 1.27c0 .71-.53 1.26-1.17 1.26z' opacity='.35'/%3E%3Cpath class='st0' d='M45.74 6.53h-1.4c-.13 0-.23.11-.23.23v.73c-.71-.75-1.7-1.18-2.73-1.18-2.17 0-3.94 1.87-3.94 4.19s1.77 4.19 3.94 4.19c1.04 0 2.03-.43 2.73-1.19v.73c0 .13.1.23.23.23h1.4c.13 0 .23-.11.23-.23V6.74c0-.12-.09-.22-.22-.22 0 .01 0 .01-.01.01zm-1.62 4C44.11 11.9 43.03 13 41.71 13s-2.42-1.12-2.42-2.51 1.08-2.52 2.4-2.52c1.33 0 2.39 1.11 2.41 2.48l.02.08z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M41.71 7.98c-1.33 0-2.42 1.12-2.42 2.51S40.37 13 41.71 13s2.39-1.11 2.41-2.48v-.06c-.02-1.37-1.09-2.48-2.41-2.48zm-1.16 2.51c0-.7.52-1.27 1.17-1.27.64 0 1.14.56 1.17 1.25v.04c-.01.68-.53 1.24-1.17 1.24-.64 0-1.17-.56-1.17-1.26z' opacity='.35'/%3E%3Cpath class='st0' d='M52.41 6.32c-1.03 0-2.03.42-2.73 1.18v-.75c0-.13-.1-.23-.23-.23h-1.4c-.13 0-.23.11-.23.23v10.72c0 .13.1.23.23.23h1.4c.13 0 .23-.1.23-.23V13.5c.71.75 1.7 1.18 2.74 1.18 2.17 0 3.94-1.87 3.94-4.19s-1.78-4.17-3.95-4.17zm-.33 6.69c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51S53.4 13 52.08 13.01z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M52.08 7.98c-1.32 0-2.39 1.11-2.42 2.48v.06c.03 1.38 1.1 2.48 2.42 2.48s2.41-1.12 2.41-2.51-1.09-2.51-2.41-2.51zm0 3.78c-.63 0-1.14-.56-1.17-1.25v-.04c.01-.69.54-1.25 1.17-1.25.63 0 1.17.58 1.17 1.27s-.53 1.27-1.17 1.27z' opacity='.35'/%3E%3Cpath class='st0' d='M36.08 14.24c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.66c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.48c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V6.74c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.66c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.17z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M84.34 13.59l-.07-.13-1.96-2.99 1.94-2.95c.44-.67.26-1.56-.41-2.02-.02 0-.03 0-.04-.01-.23-.15-.5-.22-.78-.22h-1.61c-.56 0-1.08.29-1.37.78l-.32.55-.34-.56c-.29-.48-.81-.77-1.38-.77h-1.6c-.6 0-1.13.37-1.35.92a5.59 5.59 0 00-7.26.45c-.35.34-.65.72-.89 1.14-.9-1.62-2.58-2.72-4.5-2.72-.5 0-1.01.07-1.48.23V3.51c0-.82-.66-1.48-1.47-1.48h-1.4c-.81 0-1.47.66-1.47 1.47v3.75a5.12 5.12 0 00-4.17-2.19c-.74 0-1.46.16-2.12.47-.24-.17-.54-.26-.84-.26h-1.4c-.45 0-.87.21-1.15.56a1.498 1.498 0 00-1.16-.55h-1.39c-.3 0-.6.09-.84.26-.67-.3-1.39-.46-2.12-.46-1.83 0-3.43 1-4.37 2.5-.2-.46-.48-.89-.83-1.25-.8-.81-1.89-1.25-3.02-1.25h-.01c-.89.01-1.75.33-2.46.88-.74-.57-1.64-.88-2.57-.88h-.03c-.29 0-.58.03-.86.11-.28.06-.56.16-.82.28-.21-.12-.45-.18-.7-.18h-1.4c-.82 0-1.47.66-1.47 1.47v7.5c0 .82.66 1.47 1.47 1.47h1.4c.82 0 1.48-.66 1.48-1.48V9.79c.03-.36.23-.59.36-.59.18 0 .38.18.38.47v4.57c0 .82.66 1.47 1.47 1.47h1.41c.82 0 1.47-.66 1.47-1.47l-.01-4.57c.06-.32.25-.47.35-.47.18 0 .38.18.38.47v4.57c0 .82.66 1.47 1.47 1.47h1.41c.82 0 1.47-.66 1.47-1.47v-.38a5.068 5.068 0 004.06 2.06c.74 0 1.46-.16 2.12-.47.24.17.54.26.84.26h1.39c.3 0 .6-.09.84-.26v2.01c0 .82.66 1.47 1.47 1.47h1.4c.82 0 1.47-.66 1.47-1.47v-1.77c.48.15.99.23 1.49.22 1.7 0 3.22-.87 4.17-2.2v.52c0 .82.66 1.47 1.47 1.47h1.4c.3 0 .6-.09.84-.26.66.31 1.39.47 2.12.47 1.92 0 3.6-1.1 4.49-2.73 1.54 2.65 4.95 3.53 7.58 1.98.18-.11.36-.22.53-.36.22.55.76.91 1.35.9H78c.56 0 1.08-.29 1.37-.78l.37-.61.37.61c.29.48.81.78 1.38.78h1.6c.81 0 1.46-.66 1.45-1.46-.05-.22-.1-.44-.2-.65zm-48.48.88h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.66c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.48c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V6.74a.23.23 0 01.23-.22h1.4c.13 0 .22.11.23.22v.66c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.01 5.16c.02.13-.09.23-.21.24zm10.11-.23c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23v-.74c-.7.76-1.69 1.18-2.72 1.18-2.17 0-3.94-1.87-3.94-4.19s1.77-4.19 3.94-4.19c1.03 0 2.02.43 2.73 1.18v-.74c0-.13.1-.23.23-.23h1.4c.12-.01.22.08.23.21V14.25h-.01v-.01zm6.44.43c-1.03 0-2.02-.43-2.73-1.18v3.97c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V6.75c0-.13.1-.22.23-.22h1.4c.13 0 .23.11.23.23v.73a3.73 3.73 0 012.73-1.18c2.17 0 3.94 1.86 3.94 4.18s-1.77 4.18-3.94 4.18zm13.83-3.28c-.39 1.87-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.73c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V3.51c0-.13.1-.23.23-.23h1.4c.13 0 .23.11.23.23v3.97a3.72 3.72 0 012.73-1.17c1.88 0 3.45 1.4 3.84 3.28.13.6.13 1.21 0 1.8zm5.43 3.29c-2 .01-3.73-1.35-4.17-3.3-.13-.59-.13-1.19 0-1.77a4.243 4.243 0 014.17-3.3c2.36 0 4.26 1.87 4.26 4.19s-1.9 4.18-4.26 4.18zm11.37-.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.39-1.44 2.39a.34.34 0 01-.3.17h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.68-2.39-3.64a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.36 1.41-2.36a.34.34 0 01.3-.17h1.61c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.38 3.64 2.43 3.67c.02.03.03.07.03.12-.03.13-.12.22-.24.22z' opacity='.35'/%3E%3Cpath class='st0' d='M10.5 1.24c-5.11 0-9.25 4.15-9.25 9.25s4.15 9.25 9.25 9.25 9.25-4.15 9.25-9.25c0-5.11-4.14-9.25-9.25-9.25zm4.39 11.53c-1.93 1.93-4.78 2.31-6.7 2.31-.7 0-1.41-.05-2.1-.16 0 0-1.02-5.64 2.14-8.81a4.4 4.4 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42 1.84 1.84 1.89 4.75.14 6.52z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M10.5-.01C4.7-.01 0 4.7 0 10.49s4.7 10.5 10.5 10.5S21 16.29 21 10.49C20.99 4.7 16.3-.01 10.5-.01zm0 19.75c-5.11 0-9.25-4.15-9.25-9.25s4.14-9.26 9.25-9.26 9.25 4.15 9.25 9.25c0 5.13-4.14 9.26-9.25 9.26z' opacity='.35'/%3E%3Cpath class='st1' d='M14.74 6.25c-1.84-1.84-4.76-1.9-6.51-.15-3.16 3.17-2.14 8.81-2.14 8.81s5.64 1.02 8.81-2.14c1.74-1.77 1.69-4.68-.16-6.52zm-2.27 4.09l-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9-1.86.91z' opacity='.35'/%3E%3Cpath class='st0' opacity='.9' fill='%23fff' d='M14.33 9.43l-1.86.91-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87z'/%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:21px;height:21px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath d='M10.5 1.25c-5.11 0-9.25 4.15-9.25 9.25s4.15 9.25 9.25 9.25 9.25-4.15 9.25-9.25c0-5.11-4.14-9.25-9.25-9.25zm4.39 11.53c-1.93 1.93-4.78 2.31-6.7 2.31-.7 0-1.41-.05-2.1-.16 0 0-1.02-5.64 2.14-8.81a4.4 4.4 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42 1.84 1.84 1.89 4.75.14 6.52z' class='st0' opacity='.9' fill='%23fff'/%3E%3Cpath d='M10.5 0C4.7 0 0 4.71 0 10.5S4.7 21 10.5 21 21 16.3 21 10.5C20.99 4.71 16.3 0 10.5 0zm0 19.75c-5.11 0-9.25-4.15-9.25-9.25s4.14-9.26 9.25-9.26 9.25 4.15 9.25 9.25c0 5.13-4.14 9.26-9.25 9.26z' class='st1' opacity='.35'/%3E%3Cpath d='M14.74 6.26c-1.84-1.84-4.76-1.9-6.51-.15-3.16 3.17-2.14 8.81-2.14 8.81s5.64 1.02 8.81-2.14c1.74-1.77 1.69-4.68-.16-6.52zm-2.27 4.09l-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9z' class='st1' opacity='.35'/%3E%3Cpath class='st0' opacity='.9' fill='%23fff' d='M11.56 12.22l-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9-1.86.91z'/%3E%3C/svg%3E")}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' fill-rule='evenodd' d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;left:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot{box-shadow:0 0 2px rgba(0,0,0,.25)}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.js b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.js deleted file mode 100644 index 16d18787..00000000 --- a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{282:function(t,e,r){t.exports=function(){"use strict";var t,e,r;function i(i,n){if(t)if(e){var o="var sharedChunk = {}; ("+t+")(sharedChunk); ("+e+")(sharedChunk);",a={};t(a),(r=n(a)).workerUrl=window.URL.createObjectURL(new Blob([o],{type:"text/javascript"}))}else e=n;else t=n}return i(0,(function(t){function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=i;function i(t,e,r,i){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(i-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=i,this.p2x=r,this.p2y=i}i.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},i.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},i.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},i.prototype.solveCurveX=function(t,e){var r,i,n,o,a;for(void 0===e&&(e=1e-6),n=t,a=0;a<8;a++){if(o=this.sampleCurveX(n)-t,Math.abs(o)<e)return n;var s=this.sampleCurveDerivativeX(n);if(Math.abs(s)<1e-6)break;n-=o/s}if((n=t)<(r=0))return r;if(n>(i=1))return i;for(;r<i;){if(o=this.sampleCurveX(n),Math.abs(o-t)<e)return n;t>o?r=n:i=n,n=.5*(i-r)+r}return n},i.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var n=o;function o(t,e){this.x=t,this.y=e}function a(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!a(t[r],e[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==e){if("object"!=typeof e)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var i in t)if(!a(t[i],e[i]))return!1;return!0}return t===e}function s(t,e,i,n){var o=new r(t,e,i,n);return function(t){return o.solve(t)}}o.prototype={clone:function(){return new o(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),i=e*this.x-r*this.y,n=r*this.x+e*this.y;return this.x=i,this.y=n,this},_rotateAround:function(t,e){var r=Math.cos(t),i=Math.sin(t),n=e.x+r*(this.x-e.x)-i*(this.y-e.y),o=e.y+i*(this.x-e.x)+r*(this.y-e.y);return this.x=n,this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},o.convert=function(t){return t instanceof o?t:Array.isArray(t)?new o(t[0],t[1]):t};var u=s(.25,.1,.25,1);function l(t,e,r){return Math.min(r,Math.max(e,t))}function p(t,e,r){var i=r-e,n=((t-e)%i+i)%i+e;return n===e?r:n}function c(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}var h=1;function f(){return h++}function d(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function m(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function y(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e))}))}function v(t,e){return-1!==t.indexOf(e,t.length-e.length)}function _(t,e,r){var i={};for(var n in t)i[n]=e.call(r||this,t[n],n,t);return i}function g(t,e,r){var i={};for(var n in t)e.call(r||this,t[n],n,t)&&(i[n]=t[n]);return i}function x(t){return Array.isArray(t)?t.map(x):"object"==typeof t&&t?_(t,x):t}var b={};function w(t){b[t]||("undefined"!=typeof console&&console.warn(t),b[t]=!0)}function E(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function S(t){for(var e=0,r=0,i=t.length,n=i-1,o=void 0,a=void 0;r<i;n=r++)o=t[r],e+=((a=t[n]).x-o.x)*(o.y+a.y);return e}function T(t){try{var e=self[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var A,I,z,k=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),C=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,P=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,M={now:k,frame:function(t){var e=C(t);return{cancel:function(){return P(e)}}},getImageData:function(t){var e=self.document.createElement("canvas"),r=e.getContext("2d");if(!r)throw new Error("failed to create canvas 2d context");return e.width=t.width,e.height=t.height,r.drawImage(t,0,0,t.width,t.height),r.getImageData(0,0,t.width,t.height)},resolveURL:function(t){return A||(A=self.document.createElement("a")),A.href=t,A.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio}},L={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},D={supported:!1,testSupport:function(t){!B&&z&&(R?F(t):I=t)}},B=!1,R=!1;function F(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,z),t.isContextLost())return;D.supported=!0}catch(t){}t.deleteTexture(e),B=!0}self.document&&((z=self.document.createElement("img")).onload=function(){I&&F(I),I=null,R=!0},z.onerror=function(){B=!0,I=null},z.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var O="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes";function U(t,e){var r=W(L.API_URL);if(t.protocol=r.protocol,t.authority=r.authority,"/"!==r.path&&(t.path=""+r.path+t.path),!L.REQUIRE_ACCESS_TOKEN)return K(t);if(!(e=e||L.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+O);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+O);return t.params.push("access_token="+e),K(t)}function V(t){return 0===t.indexOf("mapbox:")}var N=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function j(t){return N.test(t)}var q=/(\.(png|jpg)\d*)(?=$)/,Z=/\.[\w]+$/,G=function(t){var e=W(t);if(!e.path.match(/(^\/v4\/)/)||!e.path.match(Z))return t;var r="mapbox://tiles/";r+=e.path.replace("/v4/","");var i=e.params.filter((function(t){return!t.match(/^access_token=/)}));return i.length&&(r+="?"+i.join("&")),r},X=/^(\w+):\/\/([^\/?]*)(\/[^?]+)?\??(.+)?/;function W(t){var e=t.match(X);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function K(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}function H(t){if(!t)return null;var e,r=t.split(".");if(!r||3!==r.length)return null;try{return JSON.parse((e=r[1],decodeURIComponent(self.atob(e).split("").map((function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(t){return null}}var J=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null};J.prototype.getStorageKey=function(t){var e,r=H(L.ACCESS_TOKEN),i="";return r&&r.u?(e=r.u,i=self.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number("0x"+e))})))):i=L.ACCESS_TOKEN||"",t?"mapbox.eventData."+t+":"+i:"mapbox.eventData:"+i},J.prototype.fetchEventData=function(){var t=T("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{var i=self.localStorage.getItem(e);i&&(this.eventData=JSON.parse(i));var n=self.localStorage.getItem(r);n&&(this.anonId=n)}catch(t){w("Unable to read from LocalStorage")}},J.prototype.saveEventData=function(){var t=T("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{self.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(e,JSON.stringify(this.eventData))}catch(t){w("Unable to write to LocalStorage")}},J.prototype.processRequests=function(){},J.prototype.postEvent=function(t,e,r){var i=this;if(L.EVENTS_URL){var n=W(L.EVENTS_URL);n.params.push("access_token="+(L.ACCESS_TOKEN||""));var o={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"0.54.1",userId:this.anonId},a=e?c(o,e):o,s={url:K(n),headers:{"Content-Type":"text/plain"},body:JSON.stringify([a])};this.pendingRequest=pt(s,(function(t){i.pendingRequest=null,r(t),i.saveEventData(),i.processRequests()}))}},J.prototype.queueRequest=function(t){this.queue.push(t),this.processRequests()};var Y=function(t){function e(){t.call(this,"map.load"),this.success={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e){L.EVENTS_URL&&L.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return V(t)||j(t)}))&&this.queueRequest({id:e,timestamp:Date.now()})},e.prototype.processRequests=function(){var t=this;if(!this.pendingRequest&&0!==this.queue.length){var e=this.queue.shift(),r=e.id,i=e.timestamp;r&&this.success[r]||(this.anonId||this.fetchEventData(),m(this.anonId)||(this.anonId=d()),this.postEvent(i,{},(function(e){e||r&&(t.success[r]=!0)})))}},e}(J),$=new(function(t){function e(){t.call(this,"appUserTurnstile")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t){L.EVENTS_URL&&L.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return V(t)||j(t)}))&&this.queueRequest(Date.now())},e.prototype.processRequests=function(){var t=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var e=H(L.ACCESS_TOKEN),r=e?e.u:L.ACCESS_TOKEN,i=r!==this.eventData.tokenU;m(this.anonId)||(this.anonId=d(),i=!0);var n=this.queue.shift();if(this.eventData.lastSuccess){var o=new Date(this.eventData.lastSuccess),a=new Date(n),s=(n-this.eventData.lastSuccess)/864e5;i=i||s>=1||s<-1||o.getDate()!==a.getDate()}else i=!0;if(!i)return this.processRequests();this.postEvent(n,{"enabled.telemetry":!1},(function(e){e||(t.eventData.lastSuccess=n,t.eventData.tokenU=r)}))}},e}(J)),Q=$.postTurnstileEvent.bind($),tt=new Y,et=tt.postMapLoadEvent.bind(tt),rt={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(rt);var it=function(t){function e(e,r,i){401===r&&j(i)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),t.call(this,e),this.status=r,this.url=i,this.name=this.constructor.name,this.message=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error);function nt(){return"undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}var ot,at,st=nt()?function(){return self.worker&&self.worker.referrer}:function(){var t=self.location.origin;if(t&&"null"!==t&&"file://"!==t)return t+self.location.pathname},ut=function(t,e){if(!/^file:/.test(t.url)){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return function(t,e){var r=new self.AbortController,i=new self.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:st(),signal:r.signal});return"json"===t.type&&i.headers.set("Accept","application/json"),self.fetch(i).then((function(r){r.ok?r[t.type||"text"]().then((function(t){e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires"))})).catch((function(t){return e(new Error(t.message))})):e(new it(r.statusText,r.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message))})),{cancel:function(){return r.abort()}}}(t,e);if(nt()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e)}return function(t,e){var r=new self.XMLHttpRequest;for(var i in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(i,t.headers[i]);return"json"===t.type&&r.setRequestHeader("Accept","application/json"),r.withCredentials="include"===t.credentials,r.onerror=function(){e(new Error(r.statusText))},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var i=r.response;if("json"===t.type)try{i=JSON.parse(r.response)}catch(t){return e(t)}e(null,i,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"))}else e(new it(r.statusText,r.status,t.url))},r.send(t.body),{cancel:function(){return r.abort()}}}(t,e)},lt=function(t,e){return ut(c(t,{type:"arrayBuffer"}),e)},pt=function(t,e){return ut(c(t,{method:"POST"}),e)};ot=[],at=0;var ct=function(t,e){if(at>=L.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0}};return ot.push(r),r}at++;var i=!1,n=function(){if(!i)for(i=!0,at--;ot.length&&at<L.MAX_PARALLEL_IMAGE_REQUESTS;){var t=ot.shift(),e=t.requestParameters,r=t.callback;t.cancelled||(t.cancel=ct(e,r).cancel)}},o=lt(t,(function(t,r,i,o){if(n(),t)e(t);else if(r){var a=new self.Image,s=self.URL||self.webkitURL;a.onload=function(){e(null,a),s.revokeObjectURL(a.src)},a.onerror=function(){return e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var u=new self.Blob([new Uint8Array(r)],{type:"image/png"});a.cacheControl=i,a.expires=o,a.src=r.byteLength?s.createObjectURL(u):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII="}}));return{cancel:function(){o.cancel(),n()}}};function ht(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e))}function ft(t,e,r){if(r&&r[t]){var i=r[t].indexOf(e);-1!==i&&r[t].splice(i,1)}}var dt=function(t,e){void 0===e&&(e={}),c(this,e),this.type=t},mt=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,"error",c({error:e},r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(dt),yt=function(){};yt.prototype.on=function(t,e){return this._listeners=this._listeners||{},ht(t,e,this._listeners),this},yt.prototype.off=function(t,e){return ft(t,e,this._listeners),ft(t,e,this._oneTimeListeners),this},yt.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},ht(t,e,this._oneTimeListeners),this},yt.prototype.fire=function(t,e){"string"==typeof t&&(t=new dt(t,e||{}));var r=t.type;if(this.listens(r)){t.target=this;for(var i=0,n=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];i<n.length;i+=1)n[i].call(this,t);for(var o=0,a=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];o<a.length;o+=1){var s=a[o];ft(r,s,this._oneTimeListeners),s.call(this,t)}var u=this._eventedParent;u&&(c(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),u.fire(t))}else t instanceof mt&&console.error(t.error);return this},yt.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},yt.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var vt={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"string",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:[{"!":"text-offset"}],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:[{"!":"text-anchor"},{"!":"text-offset"},{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",requires:["text-field"],values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:22,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"string",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}}},_t=function(t,e,r,i){this.message=(t?t+": ":"")+r,i&&(this.identifier=i),null!=e&&e.__line__&&(this.line=e.__line__)};function gt(t){var e=t.key,r=t.value;return r?[new _t(e,r,"constants have been deprecated as of v8")]:[]}function xt(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];for(var i=0,n=e;i<n.length;i+=1){var o=n[i];for(var a in o)t[a]=o[a]}return t}function bt(t){return t instanceof Number||t instanceof String||t instanceof Boolean?t.valueOf():t}function wt(t){return Array.isArray(t)?t.map(wt):bt(t)}var Et=function(t){function e(e,r){t.call(this,r),this.message=r,this.key=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),St=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var r=0,i=e;r<i.length;r+=1){var n=i[r],o=n[0],a=n[1];this.bindings[o]=a}};St.prototype.concat=function(t){return new St(this,t)},St.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},St.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var Tt={kind:"null"},At={kind:"number"},It={kind:"string"},zt={kind:"boolean"},kt={kind:"color"},Ct={kind:"object"},Pt={kind:"value"},Mt={kind:"collator"},Lt={kind:"formatted"};function Dt(t,e){return{kind:"array",itemType:t,N:e}}function Bt(t){if("array"===t.kind){var e=Bt(t.itemType);return"number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var Rt=[Tt,At,It,zt,kt,Lt,Ct,Dt(Pt)];function Ft(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!Ft(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var r=0,i=Rt;r<i.length;r+=1)if(!Ft(i[r],e))return null}return"Expected "+Bt(t)+" but found "+Bt(e)+" instead."}var Ot=e((function(t,e){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function i(t){return(t=Math.round(t))<0?0:t>255?255:t}function n(t){return t<0?0:t>1?1:t}function o(t){return"%"===t[t.length-1]?i(parseFloat(t)/100*255):i(parseInt(t))}function a(t){return"%"===t[t.length-1]?n(parseFloat(t)/100):n(parseFloat(t))}function s(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{e.parseCSSColor=function(t){var e,n=t.replace(/ /g,"").toLowerCase();if(n in r)return r[n].slice();if("#"===n[0])return 4===n.length?(e=parseInt(n.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===n.length&&(e=parseInt(n.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var u=n.indexOf("("),l=n.indexOf(")");if(-1!==u&&l+1===n.length){var p=n.substr(0,u),c=n.substr(u+1,l-(u+1)).split(","),h=1;switch(p){case"rgba":if(4!==c.length)return null;h=a(c.pop());case"rgb":return 3!==c.length?null:[o(c[0]),o(c[1]),o(c[2]),h];case"hsla":if(4!==c.length)return null;h=a(c.pop());case"hsl":if(3!==c.length)return null;var f=(parseFloat(c[0])%360+360)%360/360,d=a(c[1]),m=a(c[2]),y=m<=.5?m*(d+1):m+d-m*d,v=2*m-y;return[i(255*s(v,y,f+1/3)),i(255*s(v,y,f)),i(255*s(v,y,f-1/3)),h];default:return null}}return null}}catch(t){}})).parseCSSColor,Ut=function(t,e,r,i){void 0===i&&(i=1),this.r=t,this.g=e,this.b=r,this.a=i};Ut.parse=function(t){if(t){if(t instanceof Ut)return t;if("string"==typeof t){var e=Ot(t);if(e)return new Ut(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},Ut.prototype.toString=function(){var t=this.toArray(),e=t[0],r=t[1],i=t[2],n=t[3];return"rgba("+Math.round(e)+","+Math.round(r)+","+Math.round(i)+","+n+")"},Ut.prototype.toArray=function(){var t=this.r,e=this.g,r=this.b,i=this.a;return 0===i?[0,0,0,0]:[255*t/i,255*e/i,255*r/i,i]},Ut.black=new Ut(0,0,0,1),Ut.white=new Ut(1,1,1,1),Ut.transparent=new Ut(0,0,0,0),Ut.red=new Ut(1,0,0,1);var Vt=function(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})};Vt.prototype.compare=function(t,e){return this.collator.compare(t,e)},Vt.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Nt=function(t,e,r){this.text=t,this.scale=e,this.fontStack=r},jt=function(t){this.sections=t};function qt(t,e,r,i){return"number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===i||"number"==typeof i&&i>=0&&i<=1?null:"Invalid rgba value ["+[t,e,r,i].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof i?[t,e,r,i]:[t,e,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function Zt(t){if(null===t)return Tt;if("string"==typeof t)return It;if("boolean"==typeof t)return zt;if("number"==typeof t)return At;if(t instanceof Ut)return kt;if(t instanceof Vt)return Mt;if(t instanceof jt)return Lt;if(Array.isArray(t)){for(var e,r=t.length,i=0,n=t;i<n.length;i+=1){var o=Zt(n[i]);if(e){if(e===o)continue;e=Pt;break}e=o}return Dt(e||Pt,r)}return Ct}function Gt(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Ut||t instanceof jt?t.toString():JSON.stringify(t)}jt.fromString=function(t){return new jt([new Nt(t,null,null)])},jt.prototype.toString=function(){return this.sections.map((function(t){return t.text})).join("")},jt.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t.push(i.text);var n={};i.fontStack&&(n["text-font"]=["literal",i.fontStack.split(",")]),i.scale&&(n["font-scale"]=i.scale),t.push(n)}return t};var Xt=function(t,e){this.type=t,this.value=e};Xt.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!function t(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Ut)return!0;if(e instanceof Vt)return!0;if(e instanceof jt)return!0;if(Array.isArray(e)){for(var r=0,i=e;r<i.length;r+=1)if(!t(i[r]))return!1;return!0}if("object"==typeof e){for(var n in e)if(!t(e[n]))return!1;return!0}return!1}(t[1]))return e.error("invalid value");var r=t[1],i=Zt(r),n=e.expectedType;return"array"!==i.kind||0!==i.N||!n||"array"!==n.kind||"number"==typeof n.N&&0!==n.N||(i=n),new Xt(i,r)},Xt.prototype.evaluate=function(){return this.value},Xt.prototype.eachChild=function(){},Xt.prototype.possibleOutputs=function(){return[this.value]},Xt.prototype.serialize=function(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Ut?["rgba"].concat(this.value.toArray()):this.value instanceof jt?this.value.serialize():this.value};var Wt=function(t){this.name="ExpressionEvaluationError",this.message=t};Wt.prototype.toJSON=function(){return this.message};var Kt={string:It,number:At,boolean:zt,object:Ct},Ht=function(t,e){this.type=t,this.args=e};Ht.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r,i=1,n=t[0];if("array"===n){var o,a;if(t.length>2){var s=t[1];if("string"!=typeof s||!(s in Kt)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);o=Kt[s],i++}else o=Pt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);a=t[2],i++}r=Dt(o,a)}else r=Kt[n];for(var u=[];i<t.length;i++){var l=e.parse(t[i],i,Pt);if(!l)return null;u.push(l)}return new Ht(r,u)},Ht.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var r=this.args[e].evaluate(t);if(!Ft(this.type,Zt(r)))return r;if(e===this.args.length-1)throw new Wt("Expected value to be of type "+Bt(this.type)+", but found "+Bt(Zt(r))+" instead.")}return null},Ht.prototype.eachChild=function(t){this.args.forEach(t)},Ht.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},Ht.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var r=t.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){e.push(r.kind);var i=t.N;("number"==typeof i||this.args.length>1)&&e.push(i)}}return e.concat(this.args.map((function(t){return t.serialize()})))};var Jt=function(t){this.type=Lt,this.sections=t};Jt.parse=function(t,e){if(t.length<3)return e.error("Expected at least two arguments.");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");for(var r=[],i=1;i<t.length-1;i+=2){var n=e.parse(t[i],1,Pt);if(!n)return null;var o=n.type.kind;if("string"!==o&&"value"!==o&&"null"!==o)return e.error("Formatted text type must be 'string', 'value', or 'null'.");var a=t[i+1];if("object"!=typeof a||Array.isArray(a))return e.error("Format options argument must be an object.");var s=null;if(a["font-scale"]&&!(s=e.parse(a["font-scale"],1,At)))return null;var u=null;if(a["text-font"]&&!(u=e.parse(a["text-font"],1,Dt(It))))return null;r.push({text:n,scale:s,font:u})}return new Jt(r)},Jt.prototype.evaluate=function(t){return new jt(this.sections.map((function(e){return new Nt(Gt(e.text.evaluate(t)),e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null)})))},Jt.prototype.eachChild=function(t){for(var e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t(i.text),i.scale&&t(i.scale),i.font&&t(i.font)}},Jt.prototype.possibleOutputs=function(){return[void 0]},Jt.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var i=r[e];t.push(i.text.serialize());var n={};i.scale&&(n["font-scale"]=i.scale.serialize()),i.font&&(n["text-font"]=i.font.serialize()),t.push(n)}return t};var Yt={"to-boolean":zt,"to-color":kt,"to-number":At,"to-string":It},$t=function(t,e){this.type=t,this.args=e};$t.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[0];if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");for(var i=Yt[r],n=[],o=1;o<t.length;o++){var a=e.parse(t[o],o,Pt);if(!a)return null;n.push(a)}return new $t(i,n)},$t.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,r,i=0,n=this.args;i<n.length;i+=1){if(r=null,(e=n[i].evaluate(t))instanceof Ut)return e;if("string"==typeof e){var o=t.parseColor(e);if(o)return o}else if(Array.isArray(e)&&!(r=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":qt(e[0],e[1],e[2],e[3])))return new Ut(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new Wt(r||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var a=null,s=0,u=this.args;s<u.length;s+=1){if(null===(a=u[s].evaluate(t)))return 0;var l=Number(a);if(!isNaN(l))return l}throw new Wt("Could not convert "+JSON.stringify(a)+" to number.")}return"formatted"===this.type.kind?jt.fromString(Gt(this.args[0].evaluate(t))):Gt(this.args[0].evaluate(t))},$t.prototype.eachChild=function(t){this.args.forEach(t)},$t.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},$t.prototype.serialize=function(){if("formatted"===this.type.kind)return new Jt([{text:this.args[0],scale:null,font:null}]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize())})),t};var Qt=["Unknown","Point","LineString","Polygon"],te=function(){this.globals=null,this.feature=null,this.featureState=null,this._parseColorCache={}};te.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},te.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?Qt[this.feature.type]:this.feature.type:null},te.prototype.properties=function(){return this.feature&&this.feature.properties||{}},te.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Ut.parse(t)),e};var ee=function(t,e,r,i){this.name=t,this.type=e,this._evaluate=r,this.args=i};ee.prototype.evaluate=function(t){return this._evaluate(t,this.args)},ee.prototype.eachChild=function(t){this.args.forEach(t)},ee.prototype.possibleOutputs=function(){return[void 0]},ee.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},ee.parse=function(t,e){var r,i=t[0],n=ee.definitions[i];if(!n)return e.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0);for(var o=Array.isArray(n)?n[0]:n.type,a=Array.isArray(n)?[[n[1],n[2]]]:n.overloads,s=a.filter((function(e){var r=e[0];return!Array.isArray(r)||r.length===t.length-1})),u=null,l=0,p=s;l<p.length;l+=1){var c=p[l],h=c[0],f=c[1];u=new se(e.registry,e.path,null,e.scope);for(var d=[],m=!1,y=1;y<t.length;y++){var v=t[y],_=Array.isArray(h)?h[y-1]:h.type,g=u.parse(v,1+d.length,_);if(!g){m=!0;break}d.push(g)}if(!m)if(Array.isArray(h)&&h.length!==d.length)u.error("Expected "+h.length+" arguments, but found "+d.length+" instead.");else{for(var x=0;x<d.length;x++){var b=Array.isArray(h)?h[x]:h.type,w=d[x];u.concat(x+1).checkSubtype(b,w.type)}if(0===u.errors.length)return new ee(i,o,f,d)}}if(1===s.length)(r=e.errors).push.apply(r,u.errors);else{for(var E=(s.length?s:a).map((function(t){var e;return e=t[0],Array.isArray(e)?"("+e.map(Bt).join(", ")+")":"("+Bt(e.type)+"...)"})).join(" | "),S=[],T=1;T<t.length;T++){var A=e.parse(t[T],1+S.length);if(!A)return null;S.push(Bt(A.type))}e.error("Expected arguments of type "+E+", but found ("+S.join(", ")+") instead.")}return null},ee.register=function(t,e){for(var r in ee.definitions=e,e)t[r]=ee};var re=function(t,e,r){this.type=Mt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e};function ie(t){if(t instanceof ee){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}var e=!0;return t.eachChild((function(t){e&&!ie(t)&&(e=!1)})),e}function ne(t){if(t instanceof ee&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!ne(t)&&(e=!1)})),e}function oe(t,e){if(t instanceof ee&&e.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild((function(t){r&&!oe(t,e)&&(r=!1)})),r}re.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");var i=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,zt);if(!i)return null;var n=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,zt);if(!n)return null;var o=null;return r.locale&&!(o=e.parse(r.locale,1,It))?null:new re(i,n,o)},re.prototype.evaluate=function(t){return new Vt(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},re.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale)},re.prototype.possibleOutputs=function(){return[void 0]},re.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var ae=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e};ae.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var r=t[1];return e.scope.has(r)?new ae(r,e.scope.get(r)):e.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},ae.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},ae.prototype.eachChild=function(){},ae.prototype.possibleOutputs=function(){return[void 0]},ae.prototype.serialize=function(){return["var",this.name]};var se=function(t,e,r,i,n){void 0===e&&(e=[]),void 0===i&&(i=new St),void 0===n&&(n=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return"["+t+"]"})).join(""),this.scope=i,this.errors=n,this.expectedType=r};function ue(t,e){for(var r,i,n=0,o=t.length-1,a=0;n<=o;){if(r=t[a=Math.floor((n+o)/2)],i=t[a+1],e===r||e>r&&e<i)return a;if(r<e)n=a+1;else{if(!(r>e))throw new Wt("Input is not a number.");o=a-1}}return Math.max(a-1,0)}se.prototype.parse=function(t,e,r,i,n){return void 0===n&&(n={}),e?this.concat(e,r,i)._parse(t,n):this._parse(t,n)},se.prototype._parse=function(t,e){function r(t,e,r){return"assert"===r?new Ht(e,[t]):"coerce"===r?new $t(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var i=t[0];if("string"!=typeof i)return this.error("Expression name must be a string, but found "+typeof i+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var n=this.registry[i];if(n){var o=n.parse(t,this);if(!o)return null;if(this.expectedType){var a=this.expectedType,s=o.type;if("string"!==a.kind&&"number"!==a.kind&&"boolean"!==a.kind&&"object"!==a.kind&&"array"!==a.kind||"value"!==s.kind)if("color"!==a.kind&&"formatted"!==a.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(a,s))return null}else o=r(o,a,e.typeAnnotation||"coerce");else o=r(o,a,e.typeAnnotation||"assert")}if(!(o instanceof Xt)&&function t(e){if(e instanceof ae)return t(e.boundExpression);if(e instanceof ee&&"error"===e.name)return!1;if(e instanceof re)return!1;var r=e instanceof $t||e instanceof Ht,i=!0;return e.eachChild((function(e){i=r?i&&t(e):i&&e instanceof Xt})),!!i&&ie(e)&&oe(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(o)){var u=new te;try{o=new Xt(o.type,o.evaluate(u))}catch(t){return this.error(t.message),null}}return o}return this.error('Unknown expression "'+i+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},se.prototype.concat=function(t,e,r){var i="number"==typeof t?this.path.concat(t):this.path,n=r?this.scope.concat(r):this.scope;return new se(this.registry,i,e||null,n,this.errors)},se.prototype.error=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=""+this.key+e.map((function(t){return"["+t+"]"})).join("");this.errors.push(new Et(i,t))},se.prototype.checkSubtype=function(t,e){var r=Ft(t,e);return r&&this.error(r),r};var le=function(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var i=0,n=r;i<n.length;i+=1){var o=n[i],a=o[0],s=o[1];this.labels.push(a),this.outputs.push(s)}};function pe(t,e,r){return t*(1-r)+e*r}le.parse=function(t,e){var r=t[1],i=t.slice(2);if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(r=e.parse(r,1,At)))return null;var n=[],o=null;e.expectedType&&"value"!==e.expectedType.kind&&(o=e.expectedType),i.unshift(-1/0);for(var a=0;a<i.length;a+=2){var s=i[a],u=i[a+1],l=a+1,p=a+2;if("number"!=typeof s)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',l);if(n.length&&n[n.length-1][0]>=s)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',l);var c=e.parse(u,p,o);if(!c)return null;o=o||c.type,n.push([s,c])}return new le(o,r,n)},le.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;return i>=e[n-1]?r[n-1].evaluate(t):r[ue(e,i)].evaluate(t)},le.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},le.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},le.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var ce=Object.freeze({number:pe,color:function(t,e,r){return new Ut(pe(t.r,e.r,r),pe(t.g,e.g,r),pe(t.b,e.b,r),pe(t.a,e.a,r))},array:function(t,e,r){return t.map((function(t,i){return pe(t,e[i],r)}))}}),he=.95047,fe=1,de=1.08883,me=4/29,ye=6/29,ve=3*ye*ye,_e=ye*ye*ye,ge=Math.PI/180,xe=180/Math.PI;function be(t){return t>_e?Math.pow(t,1/3):t/ve+me}function we(t){return t>ye?t*t*t:ve*(t-me)}function Ee(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Se(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Te(t){var e=Se(t.r),r=Se(t.g),i=Se(t.b),n=be((.4124564*e+.3575761*r+.1804375*i)/he),o=be((.2126729*e+.7151522*r+.072175*i)/fe);return{l:116*o-16,a:500*(n-o),b:200*(o-be((.0193339*e+.119192*r+.9503041*i)/de)),alpha:t.a}}function Ae(t){var e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,i=isNaN(t.b)?e:e-t.b/200;return e=fe*we(e),r=he*we(r),i=de*we(i),new Ut(Ee(3.2404542*r-1.5371385*e-.4985314*i),Ee(-.969266*r+1.8760108*e+.041556*i),Ee(.0556434*r-.2040259*e+1.0572252*i),t.alpha)}function Ie(t,e,r){var i=e-t;return t+r*(i>180||i<-180?i-360*Math.round(i/360):i)}var ze={forward:Te,reverse:Ae,interpolate:function(t,e,r){return{l:pe(t.l,e.l,r),a:pe(t.a,e.a,r),b:pe(t.b,e.b,r),alpha:pe(t.alpha,e.alpha,r)}}},ke={forward:function(t){var e=Te(t),r=e.l,i=e.a,n=e.b,o=Math.atan2(n,i)*xe;return{h:o<0?o+360:o,c:Math.sqrt(i*i+n*n),l:r,alpha:t.a}},reverse:function(t){var e=t.h*ge,r=t.c;return Ae({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Ie(t.h,e.h,r),c:pe(t.c,e.c,r),l:pe(t.l,e.l,r),alpha:pe(t.alpha,e.alpha,r)}}},Ce=Object.freeze({lab:ze,hcl:ke}),Pe=function(t,e,r,i,n){this.type=t,this.operator=e,this.interpolation=r,this.input=i,this.labels=[],this.outputs=[];for(var o=0,a=n;o<a.length;o+=1){var s=a[o],u=s[0],l=s[1];this.labels.push(u),this.outputs.push(l)}};function Me(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}Pe.interpolationFactor=function(t,e,i,n){var o=0;if("exponential"===t.name)o=Me(e,t.base,i,n);else if("linear"===t.name)o=Me(e,1,i,n);else if("cubic-bezier"===t.name){var a=t.controlPoints;o=new r(a[0],a[1],a[2],a[3]).solve(Me(e,1,i,n))}return o},Pe.parse=function(t,e){var r=t[0],i=t[1],n=t[2],o=t.slice(3);if(!Array.isArray(i)||0===i.length)return e.error("Expected an interpolation type expression.",1);if("linear"===i[0])i={name:"linear"};else if("exponential"===i[0]){var a=i[1];if("number"!=typeof a)return e.error("Exponential interpolation requires a numeric base.",1,1);i={name:"exponential",base:a}}else{if("cubic-bezier"!==i[0])return e.error("Unknown interpolation type "+String(i[0]),1,0);var s=i.slice(1);if(4!==s.length||s.some((function(t){return"number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);i={name:"cubic-bezier",controlPoints:s}}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(n=e.parse(n,2,At)))return null;var u=[],l=null;"interpolate-hcl"===r||"interpolate-lab"===r?l=kt:e.expectedType&&"value"!==e.expectedType.kind&&(l=e.expectedType);for(var p=0;p<o.length;p+=2){var c=o[p],h=o[p+1],f=p+3,d=p+4;if("number"!=typeof c)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(u.length&&u[u.length-1][0]>=c)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var m=e.parse(h,d,l);if(!m)return null;l=l||m.type,u.push([c,m])}return"number"===l.kind||"color"===l.kind||"array"===l.kind&&"number"===l.itemType.kind&&"number"==typeof l.N?new Pe(l,r,i,n,u):e.error("Type "+Bt(l)+" is not interpolatable.")},Pe.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var i=this.input.evaluate(t);if(i<=e[0])return r[0].evaluate(t);var n=e.length;if(i>=e[n-1])return r[n-1].evaluate(t);var o=ue(e,i),a=e[o],s=e[o+1],u=Pe.interpolationFactor(this.interpolation,i,a,s),l=r[o].evaluate(t),p=r[o+1].evaluate(t);return"interpolate"===this.operator?ce[this.type.kind.toLowerCase()](l,p,u):"interpolate-hcl"===this.operator?ke.reverse(ke.interpolate(ke.forward(l),ke.forward(p),u)):ze.reverse(ze.interpolate(ze.forward(l),ze.forward(p),u))},Pe.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1)t(r[e])},Pe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},Pe.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],r=0;r<this.labels.length;r++)e.push(this.labels[r],this.outputs[r].serialize());return e};var Le=function(t,e){this.type=t,this.args=e};Le.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var r=null,i=e.expectedType;i&&"value"!==i.kind&&(r=i);for(var n=[],o=0,a=t.slice(1);o<a.length;o+=1){var s=a[o],u=e.parse(s,1+n.length,r,void 0,{typeAnnotation:"omit"});if(!u)return null;r=r||u.type,n.push(u)}var l=i&&n.some((function(t){return Ft(i,t.type)}));return new Le(l?Pt:r,n)},Le.prototype.evaluate=function(t){for(var e=null,r=0,i=this.args;r<i.length&&null===(e=i[r].evaluate(t));r+=1);return e},Le.prototype.eachChild=function(t){this.args.forEach(t)},Le.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},Le.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize())})),t};var De=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e};De.prototype.evaluate=function(t){return this.result.evaluate(t)},De.prototype.eachChild=function(t){for(var e=0,r=this.bindings;e<r.length;e+=1)t(r[e][1]);t(this.result)},De.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],i=1;i<t.length-1;i+=2){var n=t[i];if("string"!=typeof n)return e.error("Expected string, but found "+typeof n+" instead.",i);if(/[^a-zA-Z0-9_]/.test(n))return e.error("Variable names must contain only alphanumeric characters or '_'.",i);var o=e.parse(t[i+1],i+1);if(!o)return null;r.push([n,o])}var a=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return a?new De(r,a):null},De.prototype.possibleOutputs=function(){return this.result.possibleOutputs()},De.prototype.serialize=function(){for(var t=["let"],e=0,r=this.bindings;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t.push(n,o.serialize())}return t.push(this.result.serialize()),t};var Be=function(t,e,r){this.type=t,this.index=e,this.input=r};Be.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,At),i=e.parse(t[2],2,Dt(e.expectedType||Pt));if(!r||!i)return null;var n=i.type;return new Be(n.itemType,r,i)},Be.prototype.evaluate=function(t){var e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new Wt("Array index out of bounds: "+e+" < 0.");if(e>=r.length)throw new Wt("Array index out of bounds: "+e+" > "+(r.length-1)+".");if(e!==Math.floor(e))throw new Wt("Array index must be an integer, but found "+e+" instead.");return r[e]},Be.prototype.eachChild=function(t){t(this.index),t(this.input)},Be.prototype.possibleOutputs=function(){return[void 0]},Be.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var Re=function(t,e,r,i,n,o){this.inputType=t,this.type=e,this.input=r,this.cases=i,this.outputs=n,this.otherwise=o};Re.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var r,i;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var n={},o=[],a=2;a<t.length-1;a+=2){var s=t[a],u=t[a+1];Array.isArray(s)||(s=[s]);var l=e.concat(a);if(0===s.length)return l.error("Expected at least one branch label.");for(var p=0,c=s;p<c.length;p+=1){var h=c[p];if("number"!=typeof h&&"string"!=typeof h)return l.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return l.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return l.error("Numeric branch labels must be integer values.");if(r){if(l.checkSubtype(r,Zt(h)))return null}else r=Zt(h);if(void 0!==n[String(h)])return l.error("Branch labels must be unique.");n[String(h)]=o.length}var f=e.parse(u,a,i);if(!f)return null;i=i||f.type,o.push(f)}var d=e.parse(t[1],1,Pt);if(!d)return null;var m=e.parse(t[t.length-1],t.length-1,i);return m?"value"!==d.type.kind&&e.concat(1).checkSubtype(r,d.type)?null:new Re(r,i,d,n,o,m):null},Re.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(Zt(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},Re.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise)},Re.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Re.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],r=[],i={},n=0,o=Object.keys(this.cases).sort();n<o.length;n+=1){var a=o[n];void 0===(c=i[this.cases[a]])?(i[this.cases[a]]=r.length,r.push([this.cases[a],[a]])):r[c][1].push(a)}for(var s=function(e){return"number"===t.inputType.kind?Number(e):e},u=0,l=r;u<l.length;u+=1){var p=l[u],c=p[0],h=p[1];1===h.length?e.push(s(h[0])):e.push(h.map(s)),e.push(this.outputs[outputIndex$1].serialize())}return e.push(this.otherwise.serialize()),e};var Fe=function(t,e,r){this.type=t,this.branches=e,this.otherwise=r};function Oe(t,e){return"=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function Ue(t,e,r,i){return 0===i.compare(e,r)}function Ve(t,e,r){var i="=="!==t&&"!="!==t;return function(){function n(t,e,r){this.type=zt,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind}return n.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var r=t[0],o=e.parse(t[1],1,Pt);if(!o)return null;if(!Oe(r,o.type))return e.concat(1).error('"'+r+"\" comparisons are not supported for type '"+Bt(o.type)+"'.");var a=e.parse(t[2],2,Pt);if(!a)return null;if(!Oe(r,a.type))return e.concat(2).error('"'+r+"\" comparisons are not supported for type '"+Bt(a.type)+"'.");if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot compare types '"+Bt(o.type)+"' and '"+Bt(a.type)+"'.");i&&("value"===o.type.kind&&"value"!==a.type.kind?o=new Ht(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new Ht(o.type,[a])));var s=null;if(4===t.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,Mt)))return null}return new n(o,a,s)},n.prototype.evaluate=function(n){var o=this.lhs.evaluate(n),a=this.rhs.evaluate(n);if(i&&this.hasUntypedArgument){var s=Zt(o),u=Zt(a);if(s.kind!==u.kind||"string"!==s.kind&&"number"!==s.kind)throw new Wt('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+s.kind+", "+u.kind+") instead.")}if(this.collator&&!i&&this.hasUntypedArgument){var l=Zt(o),p=Zt(a);if("string"!==l.kind||"string"!==p.kind)return e(n,o,a)}return this.collator?r(n,o,a,this.collator.evaluate(n)):e(n,o,a)},n.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator)},n.prototype.possibleOutputs=function(){return[!0,!1]},n.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize())})),e},n}()}Fe.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);for(var i=[],n=1;n<t.length-1;n+=2){var o=e.parse(t[n],n,zt);if(!o)return null;var a=e.parse(t[n+1],n+1,r);if(!a)return null;i.push([o,a]),r=r||a.type}var s=e.parse(t[t.length-1],t.length-1,r);return s?new Fe(r,i,s):null},Fe.prototype.evaluate=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];if(n.evaluate(t))return o.evaluate(t)}return this.otherwise.evaluate(t)},Fe.prototype.eachChild=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var i=r[e],n=i[0],o=i[1];t(n),t(o)}t(this.otherwise)},Fe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.branches.map((function(t){return t[0],t[1].possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Fe.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize())})),t};var Ne=Ve("==",(function(t,e,r){return e===r}),Ue),je=Ve("!=",(function(t,e,r){return e!==r}),(function(t,e,r,i){return!Ue(0,e,r,i)})),qe=Ve("<",(function(t,e,r){return e<r}),(function(t,e,r,i){return i.compare(e,r)<0})),Ze=Ve(">",(function(t,e,r){return e>r}),(function(t,e,r,i){return i.compare(e,r)>0})),Ge=Ve("<=",(function(t,e,r){return e<=r}),(function(t,e,r,i){return i.compare(e,r)<=0})),Xe=Ve(">=",(function(t,e,r){return e>=r}),(function(t,e,r,i){return i.compare(e,r)>=0})),We=function(t,e,r,i,n){this.type=It,this.number=t,this.locale=e,this.currency=r,this.minFractionDigits=i,this.maxFractionDigits=n};We.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,At);if(!r)return null;var i=t[2];if("object"!=typeof i||Array.isArray(i))return e.error("NumberFormat options argument must be an object.");var n=null;if(i.locale&&!(n=e.parse(i.locale,1,It)))return null;var o=null;if(i.currency&&!(o=e.parse(i.currency,1,It)))return null;var a=null;if(i["min-fraction-digits"]&&!(a=e.parse(i["min-fraction-digits"],1,At)))return null;var s=null;return i["max-fraction-digits"]&&!(s=e.parse(i["max-fraction-digits"],1,At))?null:new We(r,n,o,a,s)},We.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},We.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits)},We.prototype.possibleOutputs=function(){return[void 0]},We.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var Ke=function(t){this.type=At,this.input=t};Ke.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error("Expected argument of type string or array, but found "+Bt(r.type)+" instead."):new Ke(r):null},Ke.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new Wt("Expected value to be of type string or array, but found "+Bt(Zt(e))+" instead.")},Ke.prototype.eachChild=function(t){t(this.input)},Ke.prototype.possibleOutputs=function(){return[void 0]},Ke.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize())})),t};var He={"==":Ne,"!=":je,">":Ze,"<":qe,">=":Xe,"<=":Ge,array:Ht,at:Be,boolean:Ht,case:Fe,coalesce:Le,collator:re,format:Jt,interpolate:Pe,"interpolate-hcl":Pe,"interpolate-lab":Pe,length:Ke,let:De,literal:Xt,match:Re,number:Ht,"number-format":We,object:Ht,step:le,string:Ht,"to-boolean":$t,"to-color":$t,"to-number":$t,"to-string":$t,var:ae};function Je(t,e){var r=e[0],i=e[1],n=e[2],o=e[3];r=r.evaluate(t),i=i.evaluate(t),n=n.evaluate(t);var a=o?o.evaluate(t):1,s=qt(r,i,n,a);if(s)throw new Wt(s);return new Ut(r/255*a,i/255*a,n/255*a,a)}function Ye(t,e){return t in e}function $e(t,e){var r=e[t];return void 0===r?null:r}function Qe(t){return{type:t}}function tr(t){return{result:"success",value:t}}function er(t){return{result:"error",value:t}}function rr(t){return"data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function ir(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function nr(t){return!!t.expression&&t.expression.interpolated}function or(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function ar(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)}function sr(t){return t}function ur(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function lr(t,e,r,i,n){return ur(typeof r===n?i[r]:void 0,t.default,e.default)}function pr(t,e,r){if("number"!==or(r))return ur(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];var n=fr(t.stops,r);return t.stops[n][1]}function cr(t,e,r){var i=void 0!==t.base?t.base:1;if("number"!==or(r))return ur(t.default,e.default);var n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];var o=fr(t.stops,r),a=function(t,e,r,i){var n=i-r,o=t-r;return 0===n?0:1===e?o/n:(Math.pow(e,o)-1)/(Math.pow(e,n)-1)}(r,i,t.stops[o][0],t.stops[o+1][0]),s=t.stops[o][1],u=t.stops[o+1][1],l=ce[e.type]||sr;if(t.colorSpace&&"rgb"!==t.colorSpace){var p=Ce[t.colorSpace];l=function(t,e){return p.reverse(p.interpolate(p.forward(t),p.forward(e),a))}}return"function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=s.evaluate.apply(void 0,t),i=u.evaluate.apply(void 0,t);if(void 0!==r&&void 0!==i)return l(r,i,a)}}:l(s,u,a)}function hr(t,e,r){return"color"===e.type?r=Ut.parse(r):"formatted"===e.type?r=jt.fromString(r.toString()):or(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0),ur(r,t.default,e.default)}function fr(t,e){for(var r,i,n=0,o=t.length-1,a=0;n<=o;){if(r=t[a=Math.floor((n+o)/2)][0],i=t[a+1][0],e===r||e>r&&e<i)return a;r<e?n=a+1:r>e&&(o=a-1)}return Math.max(a-1,0)}ee.register(He,{error:[{kind:"error"},[It],function(t,e){var r=e[0];throw new Wt(r.evaluate(t))}],typeof:[It,[Pt],function(t,e){return Bt(Zt(e[0].evaluate(t)))}],"to-rgba":[Dt(At,4),[kt],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[kt,[At,At,At],Je],rgba:[kt,[At,At,At,At],Je],has:{type:zt,overloads:[[[It],function(t,e){return Ye(e[0].evaluate(t),t.properties())}],[[It,Ct],function(t,e){var r=e[0],i=e[1];return Ye(r.evaluate(t),i.evaluate(t))}]]},get:{type:Pt,overloads:[[[It],function(t,e){return $e(e[0].evaluate(t),t.properties())}],[[It,Ct],function(t,e){var r=e[0],i=e[1];return $e(r.evaluate(t),i.evaluate(t))}]]},"feature-state":[Pt,[It],function(t,e){return $e(e[0].evaluate(t),t.featureState||{})}],properties:[Ct,[],function(t){return t.properties()}],"geometry-type":[It,[],function(t){return t.geometryType()}],id:[Pt,[],function(t){return t.id()}],zoom:[At,[],function(t){return t.globals.zoom}],"heatmap-density":[At,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[At,[],function(t){return t.globals.lineProgress||0}],accumulated:[Pt,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[At,Qe(At),function(t,e){for(var r=0,i=0,n=e;i<n.length;i+=1)r+=n[i].evaluate(t);return r}],"*":[At,Qe(At),function(t,e){for(var r=1,i=0,n=e;i<n.length;i+=1)r*=n[i].evaluate(t);return r}],"-":{type:At,overloads:[[[At,At],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)-i.evaluate(t)}],[[At],function(t,e){return-e[0].evaluate(t)}]]},"/":[At,[At,At],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)/i.evaluate(t)}],"%":[At,[At,At],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)%i.evaluate(t)}],ln2:[At,[],function(){return Math.LN2}],pi:[At,[],function(){return Math.PI}],e:[At,[],function(){return Math.E}],"^":[At,[At,At],function(t,e){var r=e[0],i=e[1];return Math.pow(r.evaluate(t),i.evaluate(t))}],sqrt:[At,[At],function(t,e){var r=e[0];return Math.sqrt(r.evaluate(t))}],log10:[At,[At],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN10}],ln:[At,[At],function(t,e){var r=e[0];return Math.log(r.evaluate(t))}],log2:[At,[At],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN2}],sin:[At,[At],function(t,e){var r=e[0];return Math.sin(r.evaluate(t))}],cos:[At,[At],function(t,e){var r=e[0];return Math.cos(r.evaluate(t))}],tan:[At,[At],function(t,e){var r=e[0];return Math.tan(r.evaluate(t))}],asin:[At,[At],function(t,e){var r=e[0];return Math.asin(r.evaluate(t))}],acos:[At,[At],function(t,e){var r=e[0];return Math.acos(r.evaluate(t))}],atan:[At,[At],function(t,e){var r=e[0];return Math.atan(r.evaluate(t))}],min:[At,Qe(At),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[At,Qe(At),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[At,[At],function(t,e){var r=e[0];return Math.abs(r.evaluate(t))}],round:[At,[At],function(t,e){var r=e[0].evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[At,[At],function(t,e){var r=e[0];return Math.floor(r.evaluate(t))}],ceil:[At,[At],function(t,e){var r=e[0];return Math.ceil(r.evaluate(t))}],"filter-==":[zt,[It,Pt],function(t,e){var r=e[0],i=e[1];return t.properties()[r.value]===i.value}],"filter-id-==":[zt,[Pt],function(t,e){var r=e[0];return t.id()===r.value}],"filter-type-==":[zt,[It],function(t,e){var r=e[0];return t.geometryType()===r.value}],"filter-<":[zt,[It,Pt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<o}],"filter-id-<":[zt,[Pt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<n}],"filter->":[zt,[It,Pt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>o}],"filter-id->":[zt,[Pt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>n}],"filter-<=":[zt,[It,Pt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n<=o}],"filter-id-<=":[zt,[Pt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i<=n}],"filter->=":[zt,[It,Pt],function(t,e){var r=e[0],i=e[1],n=t.properties()[r.value],o=i.value;return typeof n==typeof o&&n>=o}],"filter-id->=":[zt,[Pt],function(t,e){var r=e[0],i=t.id(),n=r.value;return typeof i==typeof n&&i>=n}],"filter-has":[zt,[Pt],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[zt,[],function(t){return null!==t.id()}],"filter-type-in":[zt,[Dt(It)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[zt,[Dt(Pt)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[zt,[It,Dt(Pt)],function(t,e){var r=e[0];return e[1].value.indexOf(t.properties()[r.value])>=0}],"filter-in-large":[zt,[It,Dt(Pt)],function(t,e){var r=e[0],i=e[1];return function(t,e,r,i){for(;r<=i;){var n=r+i>>1;if(e[n]===t)return!0;e[n]>t?i=n-1:r=n+1}return!1}(t.properties()[r.value],i.value,0,i.value.length-1)}],all:{type:zt,overloads:[[[zt,zt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)&&i.evaluate(t)}],[Qe(zt),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(!i[r].evaluate(t))return!1;return!0}]]},any:{type:zt,overloads:[[[zt,zt],function(t,e){var r=e[0],i=e[1];return r.evaluate(t)||i.evaluate(t)}],[Qe(zt),function(t,e){for(var r=0,i=e;r<i.length;r+=1)if(i[r].evaluate(t))return!0;return!1}]]},"!":[zt,[zt],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[zt,[It],function(t,e){var r=e[0],i=t.globals&&t.globals.isSupportedScript;return!i||i(r.evaluate(t))}],upcase:[It,[It],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[It,[It],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[It,Qe(Pt),function(t,e){return e.map((function(e){return Gt(e.evaluate(t))})).join("")}],"resolved-locale":[It,[Mt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var dr=function(t,e){var r;this.expression=t,this._warningHistory={},this._evaluator=new te,this._defaultValue=e?"color"===(r=e).type&&ar(r.default)?new Ut(0,0,0,0):"color"===r.type?Ut.parse(r.default)||null:void 0===r.default?null:r.default:null,this._enumValues=e&&"enum"===e.type?e.values:null};function mr(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in He}function yr(t,e){var r=new se(He,[],e?function(t){var e={color:kt,string:It,number:At,enum:It,boolean:zt,formatted:Lt};return"array"===t.type?Dt(e[t.value]||Pt,t.length):e[t.type]}(e):void 0),i=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return i?tr(new dr(i,e)):er(r.errors)}dr.prototype.evaluateWithoutErrorHandling=function(t,e,r){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this.expression.evaluate(this._evaluator)},dr.prototype.evaluate=function(t,e,r){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null;try{var i=this.expression.evaluate(this._evaluator);if(null==i)return this._defaultValue;if(this._enumValues&&!(i in this._enumValues))throw new Wt("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(i)+" instead.");return i}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var vr=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!ne(e.expression)};vr.prototype.evaluateWithoutErrorHandling=function(t,e,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r)},vr.prototype.evaluate=function(t,e,r){return this._styleExpression.evaluate(t,e,r)};var _r=function(t,e,r){this.kind=t,this.zoomStops=r.labels,this._styleExpression=e,this.isStateDependent="camera"!==t&&!ne(e.expression),r instanceof Pe&&(this._interpolationType=r.interpolation)};function gr(t,e){if("error"===(t=yr(t,e)).result)return t;var r=t.value.expression,i=ie(r);if(!i&&!rr(e))return er([new Et("","data expressions not supported")]);var n=oe(r,["zoom"]);if(!n&&!ir(e))return er([new Et("","zoom expressions not supported")]);var o=function t(e){var r=null;if(e instanceof De)r=t(e.result);else if(e instanceof Le)for(var i=0,n=e.args;i<n.length;i+=1){var o=n[i];if(r=t(o))break}else(e instanceof le||e instanceof Pe)&&e.input instanceof ee&&"zoom"===e.input.name&&(r=e);return r instanceof Et?r:(e.eachChild((function(e){var i=t(e);i instanceof Et?r=i:!r&&i?r=new Et("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&i&&r!==i&&(r=new Et("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),r)}(r);return o||n?o instanceof Et?er([o]):o instanceof Pe&&!nr(e)?er([new Et("",'"interpolate" expressions cannot be used with this property')]):tr(o?new _r(i?"camera":"composite",t.value,o):new vr(i?"constant":"source",t.value)):er([new Et("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}_r.prototype.evaluateWithoutErrorHandling=function(t,e,r){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r)},_r.prototype.evaluate=function(t,e,r){return this._styleExpression.evaluate(t,e,r)},_r.prototype.interpolationFactor=function(t,e,r){return this._interpolationType?Pe.interpolationFactor(this._interpolationType,t,e,r):0};var xr=function(t,e){this._parameters=t,this._specification=e,xt(this,function t(e,r){var i,n,o,a="color"===r.type,s=e.stops&&"object"==typeof e.stops[0][0],u=s||void 0!==e.property,l=s||!u,p=e.type||(nr(r)?"exponential":"interval");if(a&&((e=xt({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],Ut.parse(t[1])]}))),e.default?e.default=Ut.parse(e.default):e.default=Ut.parse(r.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Ce[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===p)i=cr;else if("interval"===p)i=pr;else if("categorical"===p){i=lr,n=Object.create(null);for(var c=0,h=e.stops;c<h.length;c+=1){var f=h[c];n[f[0]]=f[1]}o=typeof e.stops[0][0]}else{if("identity"!==p)throw new Error('Unknown function type "'+p+'"');i=hr}if(s){for(var d={},m=[],y=0;y<e.stops.length;y++){var v=e.stops[y],_=v[0].zoom;void 0===d[_]&&(d[_]={zoom:_,type:e.type,property:e.property,default:e.default,stops:[]},m.push(_)),d[_].stops.push([v[0].value,v[1]])}for(var g=[],x=0,b=m;x<b.length;x+=1){var w=b[x];g.push([d[w].zoom,t(d[w],r)])}return{kind:"composite",interpolationFactor:Pe.interpolationFactor.bind(void 0,{name:"linear"}),zoomStops:g.map((function(t){return t[0]})),evaluate:function(t,i){var n=t.zoom;return cr({stops:g,base:e.base},r,n).evaluate(n,i)}}}return l?{kind:"camera",interpolationFactor:"exponential"===p?Pe.interpolationFactor.bind(void 0,{name:"exponential",base:void 0!==e.base?e.base:1}):function(){return 0},zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){var a=t.zoom;return i(e,r,a,n,o)}}:{kind:"source",evaluate:function(t,a){var s=a&&a.properties?a.properties[e.property]:void 0;return void 0===s?ur(e.default,r.default):i(e,r,s,n,o)}}}(this._parameters,this._specification))};function br(t,e){if(ar(t))return new xr(t,e);if(mr(t)){var r=gr(t,e);if("error"===r.result)throw new Error(r.value.map((function(t){return t.key+": "+t.message})).join(", "));return r.value}var i=t;return"string"==typeof t&&"color"===e.type&&(i=Ut.parse(t)),{kind:"constant",evaluate:function(){return i}}}function wr(t){var e=t.key,r=t.value,i=t.valueSpec||{},n=t.objectElementValidators||{},o=t.style,a=t.styleSpec,s=[],u=or(r);if("object"!==u)return[new _t(e,r,"object expected, "+u+" found")];for(var l in r){var p=l.split(".")[0],c=i[p]||i["*"],h=void 0;if(n[p])h=n[p];else if(i[p])h=Xr;else if(n["*"])h=n["*"];else{if(!i["*"]){s.push(new _t(e,r[l],'unknown property "'+l+'"'));continue}h=Xr}s=s.concat(h({key:(e?e+".":e)+l,value:r[l],valueSpec:c,style:o,styleSpec:a,object:r,objectKey:l},r))}for(var f in i)n[f]||i[f].required&&void 0===i[f].default&&void 0===r[f]&&s.push(new _t(e,r,'missing required property "'+f+'"'));return s}function Er(t){var e=t.value,r=t.valueSpec,i=t.style,n=t.styleSpec,o=t.key,a=t.arrayElementValidator||Xr;if("array"!==or(e))return[new _t(o,e,"array expected, "+or(e)+" found")];if(r.length&&e.length!==r.length)return[new _t(o,e,"array length "+r.length+" expected, length "+e.length+" found")];if(r["min-length"]&&e.length<r["min-length"])return[new _t(o,e,"array length at least "+r["min-length"]+" expected, length "+e.length+" found")];var s={type:r.value,values:r.values};n.$version<7&&(s.function=r.function),"object"===or(r.value)&&(s=r.value);for(var u=[],l=0;l<e.length;l++)u=u.concat(a({array:e,arrayIndex:l,value:e[l],valueSpec:s,style:i,styleSpec:n,key:o+"["+l+"]"}));return u}function Sr(t){var e=t.key,r=t.value,i=t.valueSpec,n=or(r);return"number"!==n?[new _t(e,r,"number expected, "+n+" found")]:"minimum"in i&&r<i.minimum?[new _t(e,r,r+" is less than the minimum value "+i.minimum)]:"maximum"in i&&r>i.maximum?[new _t(e,r,r+" is greater than the maximum value "+i.maximum)]:[]}function Tr(t){var e,r,i,n=t.valueSpec,o=bt(t.value.type),a={},s="categorical"!==o&&void 0===t.value.property,u=!s,l="array"===or(t.value.stops)&&"array"===or(t.value.stops[0])&&"object"===or(t.value.stops[0][0]),p=wr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===o)return[new _t(t.key,t.value,'identity function may not have a "stops" property')];var e=[],r=t.value;return e=e.concat(Er({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:c})),"array"===or(r)&&0===r.length&&e.push(new _t(t.key,r,"array must have at least one stop")),e},default:function(t){return Xr({key:t.key,value:t.value,valueSpec:n,style:t.style,styleSpec:t.styleSpec})}}});return"identity"===o&&s&&p.push(new _t(t.key,t.value,'missing required property "property"')),"identity"===o||t.value.stops||p.push(new _t(t.key,t.value,'missing required property "stops"')),"exponential"===o&&t.valueSpec.expression&&!nr(t.valueSpec)&&p.push(new _t(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(u&&!rr(t.valueSpec)?p.push(new _t(t.key,t.value,"property functions not supported")):s&&!ir(t.valueSpec)&&p.push(new _t(t.key,t.value,"zoom functions not supported"))),"categorical"!==o&&!l||void 0!==t.value.property||p.push(new _t(t.key,t.value,'"property" property is required')),p;function c(t){var e=[],o=t.value,s=t.key;if("array"!==or(o))return[new _t(s,o,"array expected, "+or(o)+" found")];if(2!==o.length)return[new _t(s,o,"array length 2 expected, length "+o.length+" found")];if(l){if("object"!==or(o[0]))return[new _t(s,o,"object expected, "+or(o[0])+" found")];if(void 0===o[0].zoom)return[new _t(s,o,"object stop key must have zoom")];if(void 0===o[0].value)return[new _t(s,o,"object stop key must have value")];if(i&&i>bt(o[0].zoom))return[new _t(s,o[0].zoom,"stop zoom values must appear in ascending order")];bt(o[0].zoom)!==i&&(i=bt(o[0].zoom),r=void 0,a={}),e=e.concat(wr({key:s+"[0]",value:o[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Sr,value:h}}))}else e=e.concat(h({key:s+"[0]",value:o[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},o));return mr(wt(o[1]))?e.concat([new _t(s+"[1]",o[1],"expressions are not allowed in function stops.")]):e.concat(Xr({key:s+"[1]",value:o[1],valueSpec:n,style:t.style,styleSpec:t.styleSpec}))}function h(t,i){var s=or(t.value),u=bt(t.value),l=null!==t.value?t.value:i;if(e){if(s!==e)return[new _t(t.key,l,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new _t(t.key,l,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==o){var p="number expected, "+s+" found";return rr(n)&&void 0===o&&(p+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new _t(t.key,l,p)]}return"categorical"!==o||"number"!==s||isFinite(u)&&Math.floor(u)===u?"categorical"!==o&&"number"===s&&void 0!==r&&u<r?[new _t(t.key,l,"stop domain values must appear in ascending order")]:(r=u,"categorical"===o&&u in a?[new _t(t.key,l,"stop domain values must be unique")]:(a[u]=!0,[])):[new _t(t.key,l,"integer expected, found "+u)]}}function Ar(t){var e=("property"===t.expressionContext?gr:yr)(wt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new _t(""+t.key+e.key,t.value,e.message)}));var r=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&-1!==r.possibleOutputs().indexOf(void 0))return[new _t(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!ne(r))return[new _t(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!ne(r))return[new _t(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!oe(r,["zoom","feature-state"]))return[new _t(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!ie(r))return[new _t(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Ir(t){var e=t.key,r=t.value,i=t.valueSpec,n=[];return Array.isArray(i.values)?-1===i.values.indexOf(bt(r))&&n.push(new _t(e,r,"expected one of ["+i.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(i.values).indexOf(bt(r))&&n.push(new _t(e,r,"expected one of ["+Object.keys(i.values).join(", ")+"], "+JSON.stringify(r)+" found")),n}function zr(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,r=t.slice(1);e<r.length;e+=1){var i=r[e];if(!zr(i)&&"boolean"!=typeof i)return!1}return!0;default:return!0}}xr.deserialize=function(t){return new xr(t._parameters,t._specification)},xr.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var kr={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Cr(t){if(null==t)return function(){return!0};zr(t)||(t=Mr(t));var e=yr(t,kr);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return function(t,r){return e.value.evaluate(t,r)}}function Pr(t,e){return t<e?-1:t>e?1:0}function Mr(t){if(!t)return!0;var e,r=t[0];return t.length<=1?"any"!==r:"=="===r?Lr(t[1],t[2],"=="):"!="===r?Rr(Lr(t[1],t[2],"==")):"<"===r||">"===r||"<="===r||">="===r?Lr(t[1],t[2],r):"any"===r?(e=t.slice(1),["any"].concat(e.map(Mr))):"all"===r?["all"].concat(t.slice(1).map(Mr)):"none"===r?["all"].concat(t.slice(1).map(Mr).map(Rr)):"in"===r?Dr(t[1],t.slice(2)):"!in"===r?Rr(Dr(t[1],t.slice(2))):"has"===r?Br(t[1]):"!has"!==r||Rr(Br(t[1]))}function Lr(t,e,r){switch(t){case"$type":return["filter-type-"+r,e];case"$id":return["filter-id-"+r,e];default:return["filter-"+r,t,e]}}function Dr(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(Pr)]]:["filter-in-small",t,["literal",e]]}}function Br(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Rr(t){return["!",t]}function Fr(t){return zr(wt(t.value))?Ar(xt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var r=e.value,i=e.key;if("array"!==or(r))return[new _t(i,r,"array expected, "+or(r)+" found")];var n,o=e.styleSpec,a=[];if(r.length<1)return[new _t(i,r,"filter array must have at least 1 element")];switch(a=a.concat(Ir({key:i+"[0]",value:r[0],valueSpec:o.filter_operator,style:e.style,styleSpec:e.styleSpec})),bt(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===bt(r[1])&&a.push(new _t(i,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&a.push(new _t(i,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(n=or(r[1]))&&a.push(new _t(i+"[1]",r[1],"string expected, "+n+" found"));for(var s=2;s<r.length;s++)n=or(r[s]),"$type"===bt(r[1])?a=a.concat(Ir({key:i+"["+s+"]",value:r[s],valueSpec:o.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==n&&"number"!==n&&"boolean"!==n&&a.push(new _t(i+"["+s+"]",r[s],"string, number, or boolean expected, "+n+" found"));break;case"any":case"all":case"none":for(var u=1;u<r.length;u++)a=a.concat(t({key:i+"["+u+"]",value:r[u],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":n=or(r[1]),2!==r.length?a.push(new _t(i,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==n&&a.push(new _t(i+"[1]",r[1],"string expected, "+n+" found"))}return a}(t)}function Or(t,e){var r=t.key,i=t.style,n=t.styleSpec,o=t.value,a=t.objectKey,s=n[e+"_"+t.layerType];if(!s)return[];var u=a.match(/^(.*)-transition$/);if("paint"===e&&u&&s[u[1]]&&s[u[1]].transition)return Xr({key:r,value:o,valueSpec:n.transition,style:i,styleSpec:n});var l,p=t.valueSpec||s[a];if(!p)return[new _t(r,o,'unknown property "'+a+'"')];if("string"===or(o)&&rr(p)&&!p.tokens&&(l=/^{([^}]+)}$/.exec(o)))return[new _t(r,o,'"'+a+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(l[1])+" }`.")];var c=[];return"symbol"===t.layerType&&("text-field"===a&&i&&!i.glyphs&&c.push(new _t(r,o,'use of "text-field" requires a style "glyphs" property')),"text-font"===a&&ar(wt(o))&&"identity"===bt(o.type)&&c.push(new _t(r,o,'"text-font" does not support identity functions'))),c.concat(Xr({key:t.key,value:o,valueSpec:p,style:i,styleSpec:n,expressionContext:"property",propertyType:e,propertyKey:a}))}function Ur(t){return Or(t,"paint")}function Vr(t){return Or(t,"layout")}function Nr(t){var e=[],r=t.value,i=t.key,n=t.style,o=t.styleSpec;r.type||r.ref||e.push(new _t(i,r,'either "type" or "ref" is required'));var a,s=bt(r.type),u=bt(r.ref);if(r.id)for(var l=bt(r.id),p=0;p<t.arrayIndex;p++){var c=n.layers[p];bt(c.id)===l&&e.push(new _t(i,r.id,'duplicate layer id "'+r.id+'", previously used at line '+c.id.__line__))}if("ref"in r)["type","source","source-layer","filter","layout"].forEach((function(t){t in r&&e.push(new _t(i,r[t],'"'+t+'" is prohibited for ref layers'))})),n.layers.forEach((function(t){bt(t.id)===u&&(a=t)})),a?a.ref?e.push(new _t(i,r.ref,"ref cannot reference another ref layer")):s=bt(a.type):e.push(new _t(i,r.ref,'ref layer "'+u+'" not found'));else if("background"!==s)if(r.source){var h=n.sources&&n.sources[r.source],f=h&&bt(h.type);h?"vector"===f&&"raster"===s?e.push(new _t(i,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===f&&"raster"!==s?e.push(new _t(i,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==f||r["source-layer"]?"raster-dem"===f&&"hillshade"!==s?e.push(new _t(i,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===f&&h.lineMetrics||e.push(new _t(i,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new _t(i,r,'layer "'+r.id+'" must specify a "source-layer"')):e.push(new _t(i,r.source,'source "'+r.source+'" not found'))}else e.push(new _t(i,r,'missing required property "source"'));return e=e.concat(wr({key:i,value:r,valueSpec:o.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return Xr({key:i+".type",value:r.type,valueSpec:o.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"})},filter:Fr,layout:function(t){return wr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Vr(xt({layerType:s},t))}}})},paint:function(t){return wr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Ur(xt({layerType:s},t))}}})}}}))}function jr(t){var e=t.value,r=t.key,i=t.styleSpec,n=t.style;if(!e.type)return[new _t(r,e,'"type" is required')];var o,a=bt(e.type);switch(a){case"vector":case"raster":case"raster-dem":if(o=wr({key:r,value:e,valueSpec:i["source_"+a.replace("-","_")],style:t.style,styleSpec:i}),"url"in e)for(var s in e)["type","url","tileSize"].indexOf(s)<0&&o.push(new _t(r+"."+s,e[s],'a source with a "url" property may not include a "'+s+'" property'));return o;case"geojson":if(o=wr({key:r,value:e,valueSpec:i.source_geojson,style:n,styleSpec:i}),e.cluster)for(var u in e.clusterProperties){var l=e.clusterProperties[u],p=l[0],c=l[1],h="string"==typeof p?[p,["accumulated"],["get",u]]:p;o.push.apply(o,Ar({key:r+"."+u+".map",value:c,expressionContext:"cluster-map"})),o.push.apply(o,Ar({key:r+"."+u+".reduce",value:h,expressionContext:"cluster-reduce"}))}return o;case"video":return wr({key:r,value:e,valueSpec:i.source_video,style:n,styleSpec:i});case"image":return wr({key:r,value:e,valueSpec:i.source_image,style:n,styleSpec:i});case"canvas":return[new _t(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Ir({key:r+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:n,styleSpec:i})}}function qr(t){var e=t.value,r=t.styleSpec,i=r.light,n=t.style,o=[],a=or(e);if(void 0===e)return o;if("object"!==a)return o.concat([new _t("light",e,"object expected, "+a+" found")]);for(var s in e){var u=s.match(/^(.*)-transition$/);o=u&&i[u[1]]&&i[u[1]].transition?o.concat(Xr({key:s,value:e[s],valueSpec:r.transition,style:n,styleSpec:r})):i[s]?o.concat(Xr({key:s,value:e[s],valueSpec:i[s],style:n,styleSpec:r})):o.concat([new _t(s,e[s],'unknown property "'+s+'"')])}return o}function Zr(t){var e=t.value,r=t.key,i=or(e);return"string"!==i?[new _t(r,e,"string expected, "+i+" found")]:[]}var Gr={"*":function(){return[]},array:Er,boolean:function(t){var e=t.value,r=t.key,i=or(e);return"boolean"!==i?[new _t(r,e,"boolean expected, "+i+" found")]:[]},number:Sr,color:function(t){var e=t.key,r=t.value,i=or(r);return"string"!==i?[new _t(e,r,"color expected, "+i+" found")]:null===Ot(r)?[new _t(e,r,'color expected, "'+r+'" found')]:[]},constants:gt,enum:Ir,filter:Fr,function:Tr,layer:Nr,object:wr,source:jr,light:qr,string:Zr,formatted:function(t){return 0===Zr(t).length?[]:Ar(t)}};function Xr(t){var e=t.value,r=t.valueSpec,i=t.styleSpec;return r.expression&&ar(bt(e))?Tr(t):r.expression&&mr(wt(e))?Ar(t):r.type&&Gr[r.type]?Gr[r.type](t):wr(xt({},t,{valueSpec:r.type?i[r.type]:r}))}function Wr(t){var e=t.value,r=t.key,i=Zr(t);return i.length?i:(-1===e.indexOf("{fontstack}")&&i.push(new _t(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&i.push(new _t(r,e,'"glyphs" url must include a "{range}" token')),i)}function Kr(t,e){e=e||vt;var r=[];return r=r.concat(Xr({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:Wr,"*":function(){return[]}}})),t.constants&&(r=r.concat(gt({key:"constants",value:t.constants,style:t,styleSpec:e}))),Hr(r)}function Hr(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function Jr(t){return function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return Hr(t.apply(this,e))}}Kr.source=Jr(jr),Kr.light=Jr(qr),Kr.layer=Jr(Nr),Kr.filter=Jr(Fr),Kr.paintProperty=Jr(Ur),Kr.layoutProperty=Jr(Vr);var Yr=Kr,$r=Kr.light,Qr=Kr.paintProperty,ti=Kr.layoutProperty;function ei(t,e){var r=!1;if(e&&e.length)for(var i=0,n=e;i<n.length;i+=1){var o=n[i];t.fire(new mt(new Error(o.message))),r=!0}return r}var ri=ni,ii=3;function ni(t,e,r){var i=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var n=new Int32Array(this.arrayBuffer);t=n[0],e=n[1],r=n[2],this.d=e+2*r;for(var o=0;o<this.d*this.d;o++){var a=n[ii+o],s=n[ii+o+1];i.push(a===s?null:n.subarray(a,s))}var u=n[ii+i.length],l=n[ii+i.length+1];this.keys=n.subarray(u,l),this.bboxes=n.subarray(l),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var p=0;p<this.d*this.d;p++)i.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;var c=r/e*t;this.min=-c,this.max=t+c}ni.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},ni.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},ni.prototype._insertCell=function(t,e,r,i,n,o){this.cells[n].push(o)},ni.prototype.query=function(t,e,r,i,n){var o=this.min,a=this.max;if(t<=o&&e<=o&&a<=r&&a<=i&&!n)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,r,i,this._queryCell,s,{},n),s},ni.prototype._queryCell=function(t,e,r,i,n,o,a,s){var u=this.cells[n];if(null!==u)for(var l=this.keys,p=this.bboxes,c=0;c<u.length;c++){var h=u[c];if(void 0===a[h]){var f=4*h;(s?s(p[f+0],p[f+1],p[f+2],p[f+3]):t<=p[f+2]&&e<=p[f+3]&&r>=p[f+0]&&i>=p[f+1])?(a[h]=!0,o.push(l[h])):a[h]=!1}}},ni.prototype._forEachCell=function(t,e,r,i,n,o,a,s){for(var u=this._convertToCellCoord(t),l=this._convertToCellCoord(e),p=this._convertToCellCoord(r),c=this._convertToCellCoord(i),h=u;h<=p;h++)for(var f=l;f<=c;f++){var d=this.d*f+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(f),this._convertFromCellCoord(h+1),this._convertFromCellCoord(f+1)))&&n.call(this,t,e,r,i,d,o,a,s))return}},ni.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},ni.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},ni.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=ii+this.cells.length+1+1,r=0,i=0;i<this.cells.length;i++)r+=this.cells[i].length;var n=new Int32Array(e+r+this.keys.length+this.bboxes.length);n[0]=this.extent,n[1]=this.n,n[2]=this.padding;for(var o=e,a=0;a<t.length;a++){var s=t[a];n[ii+a]=o,n.set(s,o),o+=s.length}return n[ii+t.length]=o,n.set(this.keys,o),o+=this.keys.length,n[ii+t.length+1]=o,n.set(this.bboxes,o),o+=this.bboxes.length,n.buffer};var oi=self.ImageData,ai={};function si(t,e,r){void 0===r&&(r={}),Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),ai[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]}}for(var ui in si("Object",Object),ri.serialize=function(t,e){var r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}},ri.deserialize=function(t){return new ri(t.buffer)},si("Grid",ri),si("Color",Ut),si("Error",Error),si("StylePropertyFunction",xr),si("StyleExpression",dr,{omit:["_evaluator"]}),si("ZoomDependentExpression",_r),si("ZoomConstantExpression",vr),si("CompoundExpression",ee,{omit:["_evaluate"]}),He)He[ui]._classRegistryKey||si("Expression_"+ui,He[ui]);function li(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if(t instanceof ArrayBuffer)return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var r=t;return e&&e.push(r.buffer),r}if(t instanceof oi)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var i=[],n=0,o=t;n<o.length;n+=1){var a=o[n];i.push(li(a,e))}return i}if("object"==typeof t){var s=t.constructor,u=s._classRegistryKey;if(!u)throw new Error("can't serialize object of unregistered class");var l=s.serialize?s.serialize(t,e):{};if(!s.serialize){for(var p in t)if(t.hasOwnProperty(p)&&!(ai[u].omit.indexOf(p)>=0)){var c=t[p];l[p]=ai[u].shallow.indexOf(p)>=0?c:li(c,e)}t instanceof Error&&(l.message=t.message)}if(l.$name)throw new Error("$name property is reserved for worker serialization logic.");return"Object"!==u&&(l.$name=u),l}throw new Error("can't serialize object of type "+typeof t)}function pi(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||t instanceof ArrayBuffer||ArrayBuffer.isView(t)||t instanceof oi)return t;if(Array.isArray(t))return t.map(pi);if("object"==typeof t){var e=t.$name||"Object",r=ai[e].klass;if(!r)throw new Error("can't deserialize unregistered class "+e);if(r.deserialize)return r.deserialize(t);for(var i=Object.create(r.prototype),n=0,o=Object.keys(t);n<o.length;n+=1){var a=o[n];if("$name"!==a){var s=t[a];i[a]=ai[e].shallow.indexOf(a)>=0?s:pi(s)}}return i}throw new Error("can't deserialize object of type "+typeof t)}var ci=function(){this.first=!0};ci.prototype.update=function(t,e){var r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))};var hi={"Latin-1 Supplement":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function fi(t){for(var e=0,r=t;e<r.length;e+=1)if(yi(r[e].charCodeAt(0)))return!0;return!1}function di(t){for(var e=0,r=t;e<r.length;e+=1)if(!mi(r[e].charCodeAt(0)))return!1;return!0}function mi(t){return!(hi.Arabic(t)||hi["Arabic Supplement"](t)||hi["Arabic Extended-A"](t)||hi["Arabic Presentation Forms-A"](t)||hi["Arabic Presentation Forms-B"](t))}function yi(t){return!(746!==t&&747!==t&&(t<4352||!(hi["Bopomofo Extended"](t)||hi.Bopomofo(t)||hi["CJK Compatibility Forms"](t)&&!(t>=65097&&t<=65103)||hi["CJK Compatibility Ideographs"](t)||hi["CJK Compatibility"](t)||hi["CJK Radicals Supplement"](t)||hi["CJK Strokes"](t)||!(!hi["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||hi["CJK Unified Ideographs Extension A"](t)||hi["CJK Unified Ideographs"](t)||hi["Enclosed CJK Letters and Months"](t)||hi["Hangul Compatibility Jamo"](t)||hi["Hangul Jamo Extended-A"](t)||hi["Hangul Jamo Extended-B"](t)||hi["Hangul Jamo"](t)||hi["Hangul Syllables"](t)||hi.Hiragana(t)||hi["Ideographic Description Characters"](t)||hi.Kanbun(t)||hi["Kangxi Radicals"](t)||hi["Katakana Phonetic Extensions"](t)||hi.Katakana(t)&&12540!==t||!(!hi["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||!(!hi["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||hi["Unified Canadian Aboriginal Syllabics"](t)||hi["Unified Canadian Aboriginal Syllabics Extended"](t)||hi["Vertical Forms"](t)||hi["Yijing Hexagram Symbols"](t)||hi["Yi Syllables"](t)||hi["Yi Radicals"](t))))}function vi(t){return!(yi(t)||function(t){return!!(hi["Latin-1 Supplement"](t)&&(167===t||169===t||174===t||177===t||188===t||189===t||190===t||215===t||247===t)||hi["General Punctuation"](t)&&(8214===t||8224===t||8225===t||8240===t||8241===t||8251===t||8252===t||8258===t||8263===t||8264===t||8265===t||8273===t)||hi["Letterlike Symbols"](t)||hi["Number Forms"](t)||hi["Miscellaneous Technical"](t)&&(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215)||hi["Control Pictures"](t)&&9251!==t||hi["Optical Character Recognition"](t)||hi["Enclosed Alphanumerics"](t)||hi["Geometric Shapes"](t)||hi["Miscellaneous Symbols"](t)&&!(t>=9754&&t<=9759)||hi["Miscellaneous Symbols and Arrows"](t)&&(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243)||hi["CJK Symbols and Punctuation"](t)||hi.Katakana(t)||hi["Private Use Area"](t)||hi["CJK Compatibility Forms"](t)||hi["Small Form Variants"](t)||hi["Halfwidth and Fullwidth Forms"](t)||8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)}(t))}function _i(t,e){return!(!e&&(t>=1424&&t<=2303||hi["Arabic Presentation Forms-A"](t)||hi["Arabic Presentation Forms-B"](t))||t>=2304&&t<=3583||t>=3840&&t<=4255||hi.Khmer(t))}var gi,xi=!1,bi=null,wi=!1,Ei=new yt,Si={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return wi||null!=Si.applyArabicShaping}},Ti=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new ci,this.transition={})};Ti.prototype.isSupportedScript=function(t){return function(t,e){for(var r=0,i=t;r<i.length;r+=1)if(!_i(i[r].charCodeAt(0),e))return!1;return!0}(t,Si.isLoaded())},Ti.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},Ti.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}};var Ai=function(t,e){this.property=t,this.value=e,this.expression=br(void 0===e?t.specification.default:e,t.specification)};Ai.prototype.isDataDriven=function(){return"source"===this.expression.kind||"composite"===this.expression.kind},Ai.prototype.possiblyEvaluate=function(t){return this.property.possiblyEvaluate(this,t)};var Ii=function(t){this.property=t,this.value=new Ai(t,void 0)};Ii.prototype.transitioned=function(t,e){return new ki(this.property,this.value,e,c({},t.transition,this.transition),t.now)},Ii.prototype.untransitioned=function(){return new ki(this.property,this.value,null,{},0)};var zi=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues)};zi.prototype.getValue=function(t){return x(this._values[t].value.value)},zi.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Ii(this._values[t].property)),this._values[t].value=new Ai(this._values[t].property,null===e?void 0:x(e))},zi.prototype.getTransition=function(t){return x(this._values[t].transition)},zi.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new Ii(this._values[t].property)),this._values[t].transition=x(e)||void 0},zi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n);var o=this.getTransition(i);void 0!==o&&(t[i+"-transition"]=o)}return t},zi.prototype.transitioned=function(t,e){for(var r=new Ci(this._properties),i=0,n=Object.keys(this._values);i<n.length;i+=1){var o=n[i];r._values[o]=this._values[o].transitioned(t,e._values[o])}return r},zi.prototype.untransitioned=function(){for(var t=new Ci(this._properties),e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e];t._values[i]=this._values[i].untransitioned()}return t};var ki=function(t,e,r,i,n){this.property=t,this.value=e,this.begin=n+i.delay||0,this.end=this.begin+i.duration||0,t.specification.transition&&(i.delay||i.duration)&&(this.prior=r)};ki.prototype.possiblyEvaluate=function(t){var e=t.now||0,r=this.value.possiblyEvaluate(t),i=this.prior;if(i){if(e>this.end)return this.prior=null,r;if(this.value.isDataDriven())return this.prior=null,r;if(e<this.begin)return i.possiblyEvaluate(t);var n=(e-this.begin)/(this.end-this.begin);return this.property.interpolate(i.possiblyEvaluate(t),r,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(n))}return r};var Ci=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues)};Ci.prototype.possiblyEvaluate=function(t){for(var e=new Li(this._properties),r=0,i=Object.keys(this._values);r<i.length;r+=1){var n=i[r];e._values[n]=this._values[n].possiblyEvaluate(t)}return e},Ci.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1){var r=e[t];if(this._values[r].prior)return!0}return!1};var Pi=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues)};Pi.prototype.getValue=function(t){return x(this._values[t].value)},Pi.prototype.setValue=function(t,e){this._values[t]=new Ai(this._values[t].property,null===e?void 0:x(e))},Pi.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var i=r[e],n=this.getValue(i);void 0!==n&&(t[i]=n)}return t},Pi.prototype.possiblyEvaluate=function(t){for(var e=new Li(this._properties),r=0,i=Object.keys(this._values);r<i.length;r+=1){var n=i[r];e._values[n]=this._values[n].possiblyEvaluate(t)}return e};var Mi=function(t,e,r){this.property=t,this.value=e,this.parameters=r};Mi.prototype.isConstant=function(){return"constant"===this.value.kind},Mi.prototype.constantOr=function(t){return"constant"===this.value.kind?this.value.value:t},Mi.prototype.evaluate=function(t,e){return this.property.evaluate(this.value,this.parameters,t,e)};var Li=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues)};Li.prototype.get=function(t){return this._values[t]};var Di=function(t){this.specification=t};Di.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},Di.prototype.interpolate=function(t,e,r){var i=ce[this.specification.type];return i?i(t,e,r):t};var Bi=function(t){this.specification=t};Bi.prototype.possiblyEvaluate=function(t,e){return"constant"===t.expression.kind||"camera"===t.expression.kind?new Mi(this,{kind:"constant",value:t.expression.evaluate(e)},e):new Mi(this,t.expression,e)},Bi.prototype.interpolate=function(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new Mi(this,{kind:"constant",value:void 0},t.parameters);var i=ce[this.specification.type];return i?new Mi(this,{kind:"constant",value:i(t.value.value,e.value.value,r)},t.parameters):t},Bi.prototype.evaluate=function(t,e,r,i){return"constant"===t.kind?t.value:t.evaluate(e,r,i)};var Ri=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(t,e){if(void 0===t.value)return new Mi(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){var r=t.expression.evaluate(e),i=this._calculate(r,r,r,e);return new Mi(this,{kind:"constant",value:i},e)}if("camera"===t.expression.kind){var n=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new Mi(this,{kind:"constant",value:n},e)}return new Mi(this,t.expression,e)},e.prototype.evaluate=function(t,e,r,i){if("source"===t.kind){var n=t.evaluate(e,r,i);return this._calculate(n,n,n,e)}return"composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,i),t.evaluate({zoom:Math.floor(e.zoom)},r,i),t.evaluate({zoom:Math.floor(e.zoom)+1},r,i),e):t.value},e.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},e.prototype.interpolate=function(t){return t},e}(Bi),Fi=function(t){this.specification=t};Fi.prototype.possiblyEvaluate=function(t,e){if(void 0!==t.value){if("constant"===t.expression.kind){var r=t.expression.evaluate(e);return this._calculate(r,r,r,e)}return this._calculate(t.expression.evaluate(new Ti(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Ti(Math.floor(e.zoom),e)),t.expression.evaluate(new Ti(Math.floor(e.zoom+1),e)),e)}},Fi.prototype._calculate=function(t,e,r,i){return i.zoom>i.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},Fi.prototype.interpolate=function(t){return t};var Oi=function(t){this.specification=t};Oi.prototype.possiblyEvaluate=function(t,e){return!!t.expression.evaluate(e)},Oi.prototype.interpolate=function(){return!1};var Ui=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},t){var r=t[e],i=this.defaultPropertyValues[e]=new Ai(r,void 0),n=this.defaultTransitionablePropertyValues[e]=new Ii(r);this.defaultTransitioningPropertyValues[e]=n.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=i.possiblyEvaluate({})}};si("DataDrivenProperty",Bi),si("DataConstantProperty",Di),si("CrossFadedDataDrivenProperty",Ri),si("CrossFadedProperty",Fi),si("ColorRampProperty",Oi);var Vi=function(t){function e(e,r){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter=function(){return!0},"custom"!==e.type&&(e=e,this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),r.layout&&(this._unevaluatedLayout=new Pi(r.layout)),r.paint)){for(var i in this._transitionablePaint=new zi(r.paint),e.paint)this.setPaintProperty(i,e.paint[i],{validate:!1});for(var n in e.layout)this.setLayoutProperty(n,e.layout[n],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned()}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return"visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var i="layers."+this.id+".layout."+t;if(this._validate(ti,i,t,e,r))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e},e.prototype.getPaintProperty=function(t){return v(t,"-transition")?this._transitionablePaint.getTransition(t.slice(0,-"-transition".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var i="layers."+this.id+".paint."+t;if(this._validate(Qr,i,t,e,r))return!1}if(v(t,"-transition"))return this._transitionablePaint.setTransition(t.slice(0,-"-transition".length),e||void 0),!1;var n=this._transitionablePaint._values[t],o="cross-faded-data-driven"===n.property.specification["property-type"]&&!n.value.value&&e,a=this._transitionablePaint._values[t].value.isDataDriven();this._transitionablePaint.setValue(t,e);var s=this._transitionablePaint._values[t].value.isDataDriven();return this._handleSpecialPaintPropertyUpdate(t),s||a||o},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint)},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t)),this.paint=this._transitioningPaint.possiblyEvaluate(t)},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),g(t,(function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,r,i,n){return void 0===n&&(n={}),(!n||!1!==n.validate)&&ei(this,t.call(Yr,{key:e,layerType:this.type,objectKey:r,value:i,styleSpec:vt,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof Mi&&rr(e.property.specification)&&("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent)return!0}return!1},e}(yt),Ni={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},ji=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8},qi=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0)};function Zi(t,e){void 0===e&&(e=1);var r=0,i=0;return{members:t.map((function(t){var n,o=(n=t.type,Ni[n].BYTES_PER_ELEMENT),a=r=Gi(r,Math.max(e,o)),s=t.components||1;return i=Math.max(i,o),r+=o*s,{name:t.name,type:t.type,components:s,offset:a}})),size:Gi(r,Math.max(i,e)),alignment:e}}function Gi(t,e){return Math.ceil(t/e)*e}qi.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},qi.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},qi.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())},qi.prototype.clear=function(){this.length=0},qi.prototype.resize=function(t){this.reserve(t),this.length=t},qi.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e)}},qi.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var Xi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.int16[i+0]=e,this.int16[i+1]=r,t},e}(qi);Xi.prototype.bytesPerElement=4,si("StructArrayLayout2i4",Xi);var Wi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.int16[o+0]=e,this.int16[o+1]=r,this.int16[o+2]=i,this.int16[o+3]=n,t},e}(qi);Wi.prototype.bytesPerElement=8,si("StructArrayLayout4i8",Wi);var Ki=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(qi);Ki.prototype.bytesPerElement=12,si("StructArrayLayout2i4i12",Ki);var Hi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u){var l=6*t,p=12*t;return this.int16[l+0]=e,this.int16[l+1]=r,this.int16[l+2]=i,this.int16[l+3]=n,this.uint8[p+8]=o,this.uint8[p+9]=a,this.uint8[p+10]=s,this.uint8[p+11]=u,t},e}(qi);Hi.prototype.bytesPerElement=12,si("StructArrayLayout4i4ub12",Hi);var Ji=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u){var l=8*t;return this.uint16[l+0]=e,this.uint16[l+1]=r,this.uint16[l+2]=i,this.uint16[l+3]=n,this.uint16[l+4]=o,this.uint16[l+5]=a,this.uint16[l+6]=s,this.uint16[l+7]=u,t},e}(qi);Ji.prototype.bytesPerElement=16,si("StructArrayLayout8ui16",Ji);var Yi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,i,n,o,a,s)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u){var l=8*t;return this.int16[l+0]=e,this.int16[l+1]=r,this.int16[l+2]=i,this.int16[l+3]=n,this.uint16[l+4]=o,this.uint16[l+5]=a,this.uint16[l+6]=s,this.uint16[l+7]=u,t},e}(qi);Yi.prototype.bytesPerElement=16,si("StructArrayLayout4i4ui16",Yi);var $i=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.float32[n+0]=e,this.float32[n+1]=r,this.float32[n+2]=i,t},e}(qi);$i.prototype.bytesPerElement=12,si("StructArrayLayout3f12",$i);var Qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint32[r+0]=e,t},e}(qi);Qi.prototype.bytesPerElement=4,si("StructArrayLayout1ul4",Qi);var tn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,u,l,p){var c=this.length;return this.resize(c+1),this.emplace(c,t,e,r,i,n,o,a,s,u,l,p)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u,l,p,c){var h=12*t,f=6*t;return this.int16[h+0]=e,this.int16[h+1]=r,this.int16[h+2]=i,this.int16[h+3]=n,this.int16[h+4]=o,this.int16[h+5]=a,this.uint32[f+3]=s,this.uint16[h+8]=u,this.uint16[h+9]=l,this.int16[h+10]=p,this.int16[h+11]=c,t},e}(qi);tn.prototype.bytesPerElement=24,si("StructArrayLayout6i1ul2ui2i24",tn);var en=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o){var a=this.length;return this.resize(a+1),this.emplace(a,t,e,r,i,n,o)},e.prototype.emplace=function(t,e,r,i,n,o,a){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=i,this.int16[s+3]=n,this.int16[s+4]=o,this.int16[s+5]=a,t},e}(qi);en.prototype.bytesPerElement=12,si("StructArrayLayout2i2i2i12",en);var rn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=12*t,a=3*t;return this.uint8[o+0]=e,this.uint8[o+1]=r,this.float32[a+1]=i,this.float32[a+2]=n,t},e}(qi);rn.prototype.bytesPerElement=12,si("StructArrayLayout2ub2f12",rn);var nn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d){var m=this.length;return this.resize(m+1),this.emplace(m,t,e,r,i,n,o,a,s,u,l,p,c,h,f,d)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d,m){var y=22*t,v=11*t,_=44*t;return this.int16[y+0]=e,this.int16[y+1]=r,this.uint16[y+2]=i,this.uint16[y+3]=n,this.uint32[v+2]=o,this.uint32[v+3]=a,this.uint32[v+4]=s,this.uint16[y+10]=u,this.uint16[y+11]=l,this.uint16[y+12]=p,this.float32[v+7]=c,this.float32[v+8]=h,this.uint8[_+36]=f,this.uint8[_+37]=d,this.uint32[v+10]=m,t},e}(qi);nn.prototype.bytesPerElement=44,si("StructArrayLayout2i2ui3ul3ui2f2ub1ul44",nn);var on=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d,m,y,v){var _=this.length;return this.resize(_+1),this.emplace(_,t,e,r,i,n,o,a,s,u,l,p,c,h,f,d,m,y,v)},e.prototype.emplace=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d,m,y,v,_){var g=22*t,x=11*t;return this.int16[g+0]=e,this.int16[g+1]=r,this.int16[g+2]=i,this.int16[g+3]=n,this.int16[g+4]=o,this.int16[g+5]=a,this.uint16[g+6]=s,this.uint16[g+7]=u,this.uint16[g+8]=l,this.uint16[g+9]=p,this.uint16[g+10]=c,this.uint16[g+11]=h,this.uint16[g+12]=f,this.uint16[g+13]=d,this.uint16[g+14]=m,this.uint32[x+8]=y,this.float32[x+9]=v,this.float32[x+10]=_,t},e}(qi);on.prototype.bytesPerElement=44,si("StructArrayLayout6i9ui1ul2f44",on);var an=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.float32[r+0]=e,t},e}(qi);an.prototype.bytesPerElement=4,si("StructArrayLayout1f4",an);var sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.int16[n+0]=e,this.int16[n+1]=r,this.int16[n+2]=i,t},e}(qi);sn.prototype.bytesPerElement=6,si("StructArrayLayout3i6",sn);var un=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=2*t,o=4*t;return this.uint32[n+0]=e,this.uint16[o+2]=r,this.uint16[o+3]=i,t},e}(qi);un.prototype.bytesPerElement=8,si("StructArrayLayout1ul2ui8",un);var ln=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r)},e.prototype.emplace=function(t,e,r,i){var n=3*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,this.uint16[n+2]=i,t},e}(qi);ln.prototype.bytesPerElement=6,si("StructArrayLayout3ui6",ln);var pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,t},e}(qi);pn.prototype.bytesPerElement=4,si("StructArrayLayout2ui4",pn);var cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint16[r+0]=e,t},e}(qi);cn.prototype.bytesPerElement=2,si("StructArrayLayout1ui2",cn);var hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var i=2*t;return this.float32[i+0]=e,this.float32[i+1]=r,t},e}(qi);hn.prototype.bytesPerElement=8,si("StructArrayLayout2f8",hn);var fn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)},e.prototype.emplaceBack=function(t,e,r,i){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r,i)},e.prototype.emplace=function(t,e,r,i,n){var o=4*t;return this.float32[o+0]=e,this.float32[o+1]=r,this.float32[o+2]=i,this.float32[o+3]=n,t},e}(qi);fn.prototype.bytesPerElement=16,si("StructArrayLayout4f16",fn);var dn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},radius:{configurable:!0},signedDistanceFromAnchor:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorPointY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.x1.set=function(t){this._structArray.int16[this._pos2+2]=t},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.y1.set=function(t){this._structArray.int16[this._pos2+3]=t},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.x2.set=function(t){this._structArray.int16[this._pos2+4]=t},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.y2.set=function(t){this._structArray.int16[this._pos2+5]=t},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.radius.get=function(){return this._structArray.int16[this._pos2+10]},r.radius.set=function(t){this._structArray.int16[this._pos2+10]=t},r.signedDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+11]},r.signedDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+11]=t},r.anchorPoint.get=function(){return new n(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,r),e}(ji);dn.prototype.size=24;var mn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new dn(this,t)},e}(tn);si("CollisionBoxArray",mn);var yn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.glyphStartIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.numGlyphs.set=function(t){this._structArray.uint16[this._pos2+3]=t},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.vertexStartIndex.set=function(t){this._structArray.uint32[this._pos4+2]=t},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineStartIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.lineLength.set=function(t){this._structArray.uint32[this._pos4+4]=t},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.segment.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.lowerSize.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.upperSize.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetX.set=function(t){this._structArray.float32[this._pos4+7]=t},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.lineOffsetY.set=function(t){this._structArray.float32[this._pos4+8]=t},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.writingMode.set=function(t){this._structArray.uint8[this._pos1+36]=t},r.hidden.get=function(){return this._structArray.uint8[this._pos1+37]},r.hidden.set=function(t){this._structArray.uint8[this._pos1+37]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t},Object.defineProperties(e.prototype,r),e}(ji);yn.prototype.size=44;var vn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new yn(this,t)},e}(nn);si("PlacedSymbolArray",vn);var _n=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},radialTextOffset:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t},r.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.rightJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+2]=t},r.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.centerJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+3]=t},r.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},r.leftJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+4]=t},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},r.verticalPlacedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+5]=t},r.key.get=function(){return this._structArray.uint16[this._pos2+6]},r.key.set=function(t){this._structArray.uint16[this._pos2+6]=t},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+7]},r.textBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+7]=t},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.textBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.iconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},r.iconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+10]=t},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+11]},r.featureIndex.set=function(t){this._structArray.uint16[this._pos2+11]=t},r.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+12]},r.numHorizontalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+12]=t},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+13]},r.numVerticalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+13]=t},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+14]},r.numIconVertices.set=function(t){this._structArray.uint16[this._pos2+14]=t},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+8]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+8]=t},r.textBoxScale.get=function(){return this._structArray.float32[this._pos4+9]},r.textBoxScale.set=function(t){this._structArray.float32[this._pos4+9]=t},r.radialTextOffset.get=function(){return this._structArray.float32[this._pos4+10]},r.radialTextOffset.set=function(t){this._structArray.float32[this._pos4+10]=t},Object.defineProperties(e.prototype,r),e}(ji);_n.prototype.size=44;var gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new _n(this,t)},e}(on);si("SymbolInstanceArray",gn);var xn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={offsetX:{configurable:!0}};return r.offsetX.get=function(){return this._structArray.float32[this._pos4+0]},r.offsetX.set=function(t){this._structArray.float32[this._pos4+0]=t},Object.defineProperties(e.prototype,r),e}(ji);xn.prototype.size=4;var bn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e.prototype.get=function(t){return new xn(this,t)},e}(an);si("GlyphOffsetArray",bn);var wn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={x:{configurable:!0},y:{configurable:!0},tileUnitDistanceFromAnchor:{configurable:!0}};return r.x.get=function(){return this._structArray.int16[this._pos2+0]},r.x.set=function(t){this._structArray.int16[this._pos2+0]=t},r.y.get=function(){return this._structArray.int16[this._pos2+1]},r.y.set=function(t){this._structArray.int16[this._pos2+1]=t},r.tileUnitDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+2]},r.tileUnitDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+2]=t},Object.defineProperties(e.prototype,r),e}(ji);wn.prototype.size=6;var En=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e.prototype.get=function(t){return new wn(this,t)},e}(sn);si("SymbolLineVertexArray",En);var Sn=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+0]=t},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+3]=t},Object.defineProperties(e.prototype,r),e}(ji);Sn.prototype.size=8;var Tn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Sn(this,t)},e}(un);si("FeatureIndexArray",Tn);var An=Zi([{name:"a_pos",components:2,type:"Int16"}],4).members,In=function(t){void 0===t&&(t=[]),this.segments=t};function zn(t,e){return 256*(t=l(Math.floor(t),0,255))+l(Math.floor(e),0,255)}In.prototype.prepareSegment=function(t,e,r,i){var n=this.segments[this.segments.length-1];return t>In.MAX_VERTEX_ARRAY_LENGTH&&w("Max vertices per segment is "+In.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!n||n.vertexLength+t>In.MAX_VERTEX_ARRAY_LENGTH||n.sortKey!==i)&&(n={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==i&&(n.sortKey=i),this.segments.push(n)),n},In.prototype.get=function(){return this.segments},In.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var r=e[t];for(var i in r.vaos)r.vaos[i].destroy()}},In.simpleSegment=function(t,e,r,i){return new In([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:i,vaos:{},sortKey:0}])},In.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,si("SegmentVector",In);var kn=function(){this.ids=[],this.positions=[],this.indexed=!1};function Cn(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}kn.prototype.add=function(t,e,r,i){this.ids.push(t),this.positions.push(e,r,i)},kn.prototype.getPositions=function(t){for(var e=0,r=this.ids.length-1;e<r;){var i=e+r>>1;this.ids[i]>=t?r=i:e=i+1}for(var n=[];this.ids[e]===t;){var o=this.positions[3*e],a=this.positions[3*e+1],s=this.positions[3*e+2];n.push({index:o,start:a,end:s}),e++}return n},kn.serialize=function(t,e){var r=new Float64Array(t.ids),i=new Uint32Array(t.positions);return function t(e,r,i,n){if(!(i>=n)){for(var o=e[i+n>>1],a=i-1,s=n+1;;){do{a++}while(e[a]<o);do{s--}while(e[s]>o);if(a>=s)break;Cn(e,a,s),Cn(r,3*a,3*s),Cn(r,3*a+1,3*s+1),Cn(r,3*a+2,3*s+2)}t(e,r,i,s),t(e,r,s+1,n)}}(r,i,0,r.length-1),e.push(r.buffer,i.buffer),{ids:r,positions:i}},kn.deserialize=function(t){var e=new kn;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e},si("FeaturePositionMap",kn);var Pn=function(t,e){this.gl=t.gl,this.location=e},Mn=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t))},e}(Pn),Ln=function(t){function e(e,r){t.call(this,e,r),this.current=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t))},e}(Pn),Dn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]))},e}(Pn),Bn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]))},e}(Pn),Rn=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0,0]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]))},e}(Pn),Fn=function(t){function e(e,r){t.call(this,e,r),this.current=Ut.transparent}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a))},e}(Pn),On=new Float32Array(16),Un=function(t){function e(e,r){t.call(this,e,r),this.current=On}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(Pn);function Vn(t){return[zn(255*t.r,255*t.g),zn(255*t.b,255*t.a)]}var Nn=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t})),this.type=r,this.maxValue=-1/0};Nn.prototype.defines=function(){return this.names.map((function(t){return"#define HAS_UNIFORM_u_"+t}))},Nn.prototype.setConstantPatternPositions=function(){},Nn.prototype.populatePaintArray=function(){},Nn.prototype.updatePaintArray=function(){},Nn.prototype.upload=function(){},Nn.prototype.destroy=function(){},Nn.prototype.setUniforms=function(t,e,r,i){e.set(i.constantOr(this.value))},Nn.prototype.getBinding=function(t,e){return"color"===this.type?new Fn(t,e):new Ln(t,e)},Nn.serialize=function(t){var e=t.value,r=t.names,i=t.type;return{value:li(e),names:r,type:i}},Nn.deserialize=function(t){var e=t.value,r=t.names,i=t.type;return new Nn(pi(e),r,i)};var jn=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return"u_"+t})),this.type=r,this.maxValue=-1/0,this.patternPositions={patternTo:null,patternFrom:null}};jn.prototype.defines=function(){return this.names.map((function(t){return"#define HAS_UNIFORM_u_"+t}))},jn.prototype.populatePaintArray=function(){},jn.prototype.updatePaintArray=function(){},jn.prototype.upload=function(){},jn.prototype.destroy=function(){},jn.prototype.setConstantPatternPositions=function(t,e){this.patternPositions.patternTo=t.tlbr,this.patternPositions.patternFrom=e.tlbr},jn.prototype.setUniforms=function(t,e,r,i,n){var o=this.patternPositions;"u_pattern_to"===n&&o.patternTo&&e.set(o.patternTo),"u_pattern_from"===n&&o.patternFrom&&e.set(o.patternFrom)},jn.prototype.getBinding=function(t,e){return new Rn(t,e)};var qn=function(t,e,r,i){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return"a_"+t})),this.maxValue=-1/0,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?2:1,offset:0}})),this.paintVertexArray=new i};qn.prototype.defines=function(){return[]},qn.prototype.setConstantPatternPositions=function(){},qn.prototype.populatePaintArray=function(t,e){var r=this.paintVertexArray,i=r.length;r.reserve(t);var n=this.expression.evaluate(new Ti(0),e,{});if("color"===this.type)for(var o=Vn(n),a=i;a<t;a++)r.emplaceBack(o[0],o[1]);else{for(var s=i;s<t;s++)r.emplaceBack(n);this.maxValue=Math.max(this.maxValue,n)}},qn.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:0},r,i);if("color"===this.type)for(var a=Vn(o),s=t;s<e;s++)n.emplace(s,a[0],a[1]);else{for(var u=t;u<e;u++)n.emplace(u,o);this.maxValue=Math.max(this.maxValue,o)}},qn.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},qn.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},qn.prototype.setUniforms=function(t,e){e.set(0)},qn.prototype.getBinding=function(t,e){return new Ln(t,e)};var Zn=function(t,e,r,i,n,o){this.expression=t,this.names=e,this.uniformNames=this.names.map((function(t){return"a_"+t+"_t"})),this.type=r,this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0;var a=o;this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?4:2,offset:0}})),this.paintVertexArray=new a};Zn.prototype.defines=function(){return[]},Zn.prototype.setConstantPatternPositions=function(){},Zn.prototype.populatePaintArray=function(t,e){var r=this.paintVertexArray,i=r.length;r.reserve(t);var n=this.expression.evaluate(new Ti(this.zoom),e,{}),o=this.expression.evaluate(new Ti(this.zoom+1),e,{});if("color"===this.type)for(var a=Vn(n),s=Vn(o),u=i;u<t;u++)r.emplaceBack(a[0],a[1],s[0],s[1]);else{for(var l=i;l<t;l++)r.emplaceBack(n,o);this.maxValue=Math.max(this.maxValue,n,o)}},Zn.prototype.updatePaintArray=function(t,e,r,i){var n=this.paintVertexArray,o=this.expression.evaluate({zoom:this.zoom},r,i),a=this.expression.evaluate({zoom:this.zoom+1},r,i);if("color"===this.type)for(var s=Vn(o),u=Vn(a),l=t;l<e;l++)n.emplace(l,s[0],s[1],u[0],u[1]);else{for(var p=t;p<e;p++)n.emplace(p,o,a);this.maxValue=Math.max(this.maxValue,o,a)}},Zn.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Zn.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy()},Zn.prototype.interpolationFactor=function(t){return this.useIntegerZoom?this.expression.interpolationFactor(Math.floor(t),this.zoom,this.zoom+1):this.expression.interpolationFactor(t,this.zoom,this.zoom+1)},Zn.prototype.setUniforms=function(t,e,r){e.set(this.interpolationFactor(r.zoom))},Zn.prototype.getBinding=function(t,e){return new Ln(t,e)};var Gn=function(t,e,r,i,n,o,a){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return"a_"+t+"_t"})),this.useIntegerZoom=i,this.zoom=n,this.maxValue=-1/0,this.layerId=a,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Uint16",components:4,offset:0}})),this.zoomInPaintVertexArray=new o,this.zoomOutPaintVertexArray=new o};Gn.prototype.defines=function(){return[]},Gn.prototype.setConstantPatternPositions=function(){},Gn.prototype.populatePaintArray=function(t,e,r){var i=this.zoomInPaintVertexArray,n=this.zoomOutPaintVertexArray,o=this.layerId,a=i.length;if(i.reserve(t),n.reserve(t),r&&e.patterns&&e.patterns[o]){var s=e.patterns[o],u=s.min,l=s.mid,p=s.max,c=r[u],h=r[l],f=r[p];if(!c||!h||!f)return;for(var d=a;d<t;d++)i.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],c.tl[0],c.tl[1],c.br[0],c.br[1]),n.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],f.tl[0],f.tl[1],f.br[0],f.br[1])}},Gn.prototype.updatePaintArray=function(t,e,r,i,n){var o=this.zoomInPaintVertexArray,a=this.zoomOutPaintVertexArray,s=this.layerId;if(n&&r.patterns&&r.patterns[s]){var u=r.patterns[s],l=u.min,p=u.mid,c=u.max,h=n[l],f=n[p],d=n[c];if(!h||!f||!d)return;for(var m=t;m<e;m++)o.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],h.tl[0],h.tl[1],h.br[0],h.br[1]),a.emplace(m,f.tl[0],f.tl[1],f.br[0],f.br[1],d.tl[0],d.tl[1],d.br[0],d.br[1])}},Gn.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent))},Gn.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy()},Gn.prototype.setUniforms=function(t,e){e.set(0)},Gn.prototype.getBinding=function(t,e){return new Ln(t,e)};var Xn=function(){this.binders={},this.cacheKey="",this._buffers=[],this._featureMap=new kn,this._bufferOffset=0};Xn.createDynamic=function(t,e,r){var i=new Xn,n=[];for(var o in t.paint._values)if(r(o)){var a=t.paint.get(o);if(a instanceof Mi&&rr(a.property.specification)){var s=Kn(o,t.type),u=a.property.specification.type,l=a.property.useIntegerZoom;if("cross-faded"===a.property.specification["property-type"]||"cross-faded-data-driven"===a.property.specification["property-type"])if("constant"===a.value.kind)i.binders[o]=new jn(a.value.value,s,u),n.push("/u_"+o);else{var p=Hn(o,u,"source");i.binders[o]=new Gn(a.value,s,u,l,e,p,t.id),n.push("/a_"+o)}else if("constant"===a.value.kind)i.binders[o]=new Nn(a.value.value,s,u),n.push("/u_"+o);else if("source"===a.value.kind){var c=Hn(o,u,"source");i.binders[o]=new qn(a.value,s,u,c),n.push("/a_"+o)}else{var h=Hn(o,u,"composite");i.binders[o]=new Zn(a.value,s,u,l,e,h),n.push("/z_"+o)}}}return i.cacheKey=n.sort().join(""),i},Xn.prototype.populatePaintArrays=function(t,e,r,i){for(var n in this.binders)this.binders[n].populatePaintArray(t,e,i);void 0!==e.id&&this._featureMap.add(+e.id,r,this._bufferOffset,t),this._bufferOffset=t},Xn.prototype.setConstantPatternPositions=function(t,e){for(var r in this.binders)this.binders[r].setConstantPatternPositions(t,e)},Xn.prototype.updatePaintArrays=function(t,e,r,i){var n=!1;for(var o in t)for(var a=0,s=this._featureMap.getPositions(+o);a<s.length;a+=1){var u=s[a],l=e.feature(u.index);for(var p in this.binders){var c=this.binders[p];if(!(c instanceof Nn||c instanceof jn)&&!0===c.expression.isStateDependent){var h=r.paint.get(p);c.expression=h.value,c.updatePaintArray(u.start,u.end,l,t[o],i),n=!0}}}return n},Xn.prototype.defines=function(){var t=[];for(var e in this.binders)t.push.apply(t,this.binders[e].defines());return t},Xn.prototype.getPaintVertexBuffers=function(){return this._buffers},Xn.prototype.getUniforms=function(t,e){var r=[];for(var i in this.binders)for(var n=this.binders[i],o=0,a=n.uniformNames;o<a.length;o+=1){var s=a[o];if(e[s]){var u=n.getBinding(t,e[s]);r.push({name:s,property:i,binding:u})}}return r},Xn.prototype.setUniforms=function(t,e,r,i){for(var n=0,o=e;n<o.length;n+=1){var a=o[n],s=a.name,u=a.property,l=a.binding;this.binders[u].setUniforms(t,l,i,r.get(u),s)}},Xn.prototype.updatePatternPaintBuffers=function(t){var e=[];for(var r in this.binders){var i=this.binders[r];if(i instanceof Gn){var n=2===t.fromScale?i.zoomInPaintVertexBuffer:i.zoomOutPaintVertexBuffer;n&&e.push(n)}else(i instanceof qn||i instanceof Zn)&&i.paintVertexBuffer&&e.push(i.paintVertexBuffer)}this._buffers=e},Xn.prototype.upload=function(t){for(var e in this.binders)this.binders[e].upload(t);var r=[];for(var i in this.binders){var n=this.binders[i];(n instanceof qn||n instanceof Zn)&&n.paintVertexBuffer&&r.push(n.paintVertexBuffer)}this._buffers=r},Xn.prototype.destroy=function(){for(var t in this.binders)this.binders[t].destroy()};var Wn=function(t,e,r,i){void 0===i&&(i=function(){return!0}),this.programConfigurations={};for(var n=0,o=e;n<o.length;n+=1){var a=o[n];this.programConfigurations[a.id]=Xn.createDynamic(a,r,i),this.programConfigurations[a.id].layoutAttributes=t}this.needsUpload=!1};function Kn(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from"],"fill-pattern":["pattern_to","pattern_from"],"fill-extrusion-pattern":["pattern_to","pattern_from"]}[t]||[t.replace(e+"-","").replace(/-/g,"_")]}function Hn(t,e,r){var i={color:{source:hn,composite:fn},number:{source:an,composite:hn}},n=function(t){return{"line-pattern":{source:Ji,composite:Ji},"fill-pattern":{source:Ji,composite:Ji},"fill-extrusion-pattern":{source:Ji,composite:Ji}}[t]}(t);return n&&n[r]||i[e][r]}Wn.prototype.populatePaintArrays=function(t,e,r,i){for(var n in this.programConfigurations)this.programConfigurations[n].populatePaintArrays(t,e,r,i);this.needsUpload=!0},Wn.prototype.updatePaintArrays=function(t,e,r,i){for(var n=0,o=r;n<o.length;n+=1){var a=o[n];this.needsUpload=this.programConfigurations[a.id].updatePaintArrays(t,e,a,i)||this.needsUpload}},Wn.prototype.get=function(t){return this.programConfigurations[t]},Wn.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1}},Wn.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy()},si("ConstantBinder",Nn),si("CrossFadedConstantBinder",jn),si("SourceExpressionBinder",qn),si("CrossFadedCompositeBinder",Gn),si("CompositeExpressionBinder",Zn),si("ProgramConfiguration",Xn,{omit:["_buffers"]}),si("ProgramConfigurationSet",Wn);var Jn=8192,Yn={min:-1*Math.pow(2,15),max:Math.pow(2,15)-1};function $n(t){for(var e=Jn/t.extent,r=t.loadGeometry(),i=0;i<r.length;i++)for(var n=r[i],o=0;o<n.length;o++){var a=n[o];a.x=Math.round(a.x*e),a.y=Math.round(a.y*e),(a.x<Yn.min||a.x>Yn.max||a.y<Yn.min||a.y>Yn.max)&&w("Geometry exceeds allowed extent, reduce your vector tile buffer size")}return r}function Qn(t,e,r,i,n){t.emplaceBack(2*e+(i+1)/2,2*r+(n+1)/2)}var to=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Xi,this.indexArray=new ln,this.segments=new In,this.programConfigurations=new Wn(An,t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function eo(t,e){for(var r=0;r<t.length;r++)if(po(e,t[r]))return!0;for(var i=0;i<e.length;i++)if(po(t,e[i]))return!0;return!!oo(t,e)}function ro(t,e,r){return!!po(t,e)||!!so(e,t,r)}function io(t,e){if(1===t.length)return lo(e,t[0]);for(var r=0;r<e.length;r++)for(var i=e[r],n=0;n<i.length;n++)if(po(t,i[n]))return!0;for(var o=0;o<t.length;o++)if(lo(e,t[o]))return!0;for(var a=0;a<e.length;a++)if(oo(t,e[a]))return!0;return!1}function no(t,e,r){if(t.length>1){if(oo(t,e))return!0;for(var i=0;i<e.length;i++)if(so(e[i],t,r))return!0}for(var n=0;n<t.length;n++)if(so(t[n],e,r))return!0;return!1}function oo(t,e){if(0===t.length||0===e.length)return!1;for(var r=0;r<t.length-1;r++)for(var i=t[r],n=t[r+1],o=0;o<e.length-1;o++)if(ao(i,n,e[o],e[o+1]))return!0;return!1}function ao(t,e,r,i){return E(t,r,i)!==E(e,r,i)&&E(t,e,r)!==E(t,e,i)}function so(t,e,r){var i=r*r;if(1===e.length)return t.distSqr(e[0])<i;for(var n=1;n<e.length;n++)if(uo(t,e[n-1],e[n])<i)return!0;return!1}function uo(t,e,r){var i=e.distSqr(r);if(0===i)return t.distSqr(e);var n=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/i;return n<0?t.distSqr(e):n>1?t.distSqr(r):t.distSqr(r.sub(e)._mult(n)._add(e))}function lo(t,e){for(var r,i,n,o=!1,a=0;a<t.length;a++)for(var s=0,u=(r=t[a]).length-1;s<r.length;u=s++)i=r[s],n=r[u],i.y>e.y!=n.y>e.y&&e.x<(n.x-i.x)*(e.y-i.y)/(n.y-i.y)+i.x&&(o=!o);return o}function po(t,e){for(var r=!1,i=0,n=t.length-1;i<t.length;n=i++){var o=t[i],a=t[n];o.y>e.y!=a.y>e.y&&e.x<(a.x-o.x)*(e.y-o.y)/(a.y-o.y)+o.x&&(r=!r)}return r}function co(t,e,r){var i=r[0],n=r[2];if(t.x<i.x&&e.x<i.x||t.x>n.x&&e.x>n.x||t.y<i.y&&e.y<i.y||t.y>n.y&&e.y>n.y)return!1;var o=E(t,e,r[0]);return o!==E(t,e,r[1])||o!==E(t,e,r[2])||o!==E(t,e,r[3])}function ho(t,e,r){var i=e.paint.get(t).value;return"constant"===i.kind?i.value:r.programConfigurations.get(e.id).binders[t].maxValue}function fo(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function mo(t,e,r,i,o){if(!e[0]&&!e[1])return t;var a=n.convert(e)._mult(o);"viewport"===r&&a._rotate(-i);for(var s=[],u=0;u<t.length;u++){var l=t[u];s.push(l.sub(a))}return s}to.prototype.populate=function(t,e){for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ti(this.zoom),o)){var u=$n(o);this.addFeature(o,u,a),e.featureIndex.insert(o,u,a,s,this.index)}}},to.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},to.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},to.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},to.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,An),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},to.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},to.prototype.addFeature=function(t,e,r){for(var i=0,n=e;i<n.length;i+=1)for(var o=0,a=n[i];o<a.length;o+=1){var s=a[o],u=s.x,l=s.y;if(!(u<0||u>=Jn||l<0||l>=Jn)){var p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),c=p.vertexLength;Qn(this.layoutVertexArray,u,l,-1,-1),Qn(this.layoutVertexArray,u,l,1,-1),Qn(this.layoutVertexArray,u,l,1,1),Qn(this.layoutVertexArray,u,l,-1,1),this.indexArray.emplaceBack(c,c+1,c+2),this.indexArray.emplaceBack(c,c+3,c+2),p.vertexLength+=4,p.primitiveLength+=2}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{})},si("CircleBucket",to,{omit:["layers"]});var yo={paint:new Ui({"circle-radius":new Bi(vt.paint_circle["circle-radius"]),"circle-color":new Bi(vt.paint_circle["circle-color"]),"circle-blur":new Bi(vt.paint_circle["circle-blur"]),"circle-opacity":new Bi(vt.paint_circle["circle-opacity"]),"circle-translate":new Di(vt.paint_circle["circle-translate"]),"circle-translate-anchor":new Di(vt.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Di(vt.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Di(vt.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Bi(vt.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Bi(vt.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Bi(vt.paint_circle["circle-stroke-opacity"])})},vo="undefined"!=typeof Float32Array?Float32Array:Array;function _o(){var t=new vo(9);return vo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t}function go(){var t=new vo(3);return vo!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function xo(t,e,r){var i=new vo(3);return i[0]=t,i[1]=e,i[2]=r,i}function bo(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3];return t[0]=r[0]*i+r[4]*n+r[8]*o+r[12]*a,t[1]=r[1]*i+r[5]*n+r[9]*o+r[13]*a,t[2]=r[2]*i+r[6]*n+r[10]*o+r[14]*a,t[3]=r[3]*i+r[7]*n+r[11]*o+r[15]*a,t}function wo(){var t=new vo(4);return vo!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t[3]=1,t}Math.PI,go(),function(){var t;t=new vo(4),vo!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0)}(),go(),xo(1,0,0),xo(0,1,0),wo(),wo(),_o(),function(){var t;t=new vo(2),vo!=Float32Array&&(t[0]=0,t[1]=0)}();var Eo=function(t){function e(e){t.call(this,e,yo)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new to(t)},e.prototype.queryRadius=function(t){var e=t;return ho("circle-radius",this,e)+ho("circle-stroke-width",this,e)+fo(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a,s){for(var u=mo(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),o.angle,a),l=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),p="map"===this.paint.get("circle-pitch-alignment"),c=p?u:function(t,e){return t.map((function(t){return So(t,e)}))}(u,s),h=p?l*a:l,f=0,d=i;f<d.length;f+=1)for(var m=0,y=d[f];m<y.length;m+=1){var v=y[m],_=p?v:So(v,s),g=h,x=bo([],[v.x,v.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?g*=x[3]/o.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(g*=o.cameraToCenterDistance/x[3]),ro(c,_,g))return!0}return!1},e}(Vi);function So(t,e){var r=bo([],[t.x,t.y,0,1],e);return new n(r[0]/r[3],r[1]/r[3])}var To=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(to);function Ao(t,e,r,i){var n=e.width,o=e.height;if(i){if(i.length!==n*o*r)throw new RangeError("mismatched image size")}else i=new Uint8Array(n*o*r);return t.width=n,t.height=o,t.data=i,t}function Io(t,e,r){var i=e.width,n=e.height;if(i!==t.width||n!==t.height){var o=Ao({},{width:i,height:n},r);zo(t,o,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,i),height:Math.min(t.height,n)},r),t.width=i,t.height=n,t.data=o.data}}function zo(t,e,r,i,n,o){if(0===n.width||0===n.height)return e;if(n.width>t.width||n.height>t.height||r.x>t.width-n.width||r.y>t.height-n.height)throw new RangeError("out of range source coordinates for image copy");if(n.width>e.width||n.height>e.height||i.x>e.width-n.width||i.y>e.height-n.height)throw new RangeError("out of range destination coordinates for image copy");for(var a=t.data,s=e.data,u=0;u<n.height;u++)for(var l=((r.y+u)*t.width+r.x)*o,p=((i.y+u)*e.width+i.x)*o,c=0;c<n.width*o;c++)s[p+c]=a[l+c];return e}si("HeatmapBucket",To,{omit:["layers"]});var ko=function(t,e){Ao(this,t,1,e)};ko.prototype.resize=function(t){Io(this,t,1)},ko.prototype.clone=function(){return new ko({width:this.width,height:this.height},new Uint8Array(this.data))},ko.copy=function(t,e,r,i,n){zo(t,e,r,i,n,1)};var Co=function(t,e){Ao(this,t,4,e)};Co.prototype.resize=function(t){Io(this,t,4)},Co.prototype.replace=function(t,e){e?this.data.set(t):this.data=t},Co.prototype.clone=function(){return new Co({width:this.width,height:this.height},new Uint8Array(this.data))},Co.copy=function(t,e,r,i,n){zo(t,e,r,i,n,4)},si("AlphaImage",ko),si("RGBAImage",Co);var Po={paint:new Ui({"heatmap-radius":new Bi(vt.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Bi(vt.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Di(vt.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Oi(vt.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Di(vt.paint_heatmap["heatmap-opacity"])})};function Mo(t,e){for(var r=new Uint8Array(1024),i={},n=0,o=0;n<256;n++,o+=4){i[e]=n/255;var a=t.evaluate(i);r[o+0]=Math.floor(255*a.r/a.a),r[o+1]=Math.floor(255*a.g/a.a),r[o+2]=Math.floor(255*a.b/a.a),r[o+3]=Math.floor(255*a.a)}return new Co({width:256,height:1},r)}var Lo=function(t){function e(e){t.call(this,e,Po),this._updateColorRamp()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new To(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){"heatmap-color"===t&&this._updateColorRamp()},e.prototype._updateColorRamp=function(){var t=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Mo(t,"heatmapDensity"),this.colorRampTexture=null},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(Vi),Do={paint:new Ui({"hillshade-illumination-direction":new Di(vt.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Di(vt.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Di(vt.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Di(vt.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Di(vt.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Di(vt.paint_hillshade["hillshade-accent-color"])})},Bo=function(t){function e(e){t.call(this,e,Do)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(Vi),Ro=Zi([{name:"a_pos",components:2,type:"Int16"}],4).members,Fo=Uo,Oo=Uo;function Uo(t,e,r){r=r||2;var i,n,o,a,s,u,l,p=e&&e.length,c=p?e[0]*r:t.length,h=Vo(t,0,c,r,!0),f=[];if(!h||h.next===h.prev)return f;if(p&&(h=function(t,e,r,i){var n,o,a,s=[];for(n=0,o=e.length;n<o;n++)(a=Vo(t,e[n]*i,n<o-1?e[n+1]*i:t.length,i,!1))===a.next&&(a.steiner=!0),s.push(Jo(a));for(s.sort(Wo),n=0;n<s.length;n++)Ko(s[n],r),r=No(r,r.next);return r}(t,e,h,r)),t.length>80*r){i=o=t[0],n=a=t[1];for(var d=r;d<c;d+=r)(s=t[d])<i&&(i=s),(u=t[d+1])<n&&(n=u),s>o&&(o=s),u>a&&(a=u);l=0!==(l=Math.max(o-i,a-n))?1/l:0}return jo(h,f,r,i,n,l),f}function Vo(t,e,r,i,n){var o,a;if(n===sa(t,e,r,i)>0)for(o=e;o<r;o+=i)a=na(o,t[o],t[o+1],a);else for(o=r-i;o>=e;o-=i)a=na(o,t[o],t[o+1],a);return a&&ta(a,a.next)&&(oa(a),a=a.next),a}function No(t,e){if(!t)return t;e||(e=t);var r,i=t;do{if(r=!1,i.steiner||!ta(i,i.next)&&0!==Qo(i.prev,i,i.next))i=i.next;else{if(oa(i),(i=e=i.prev)===i.next)break;r=!0}}while(r||i!==e);return e}function jo(t,e,r,i,n,o,a){if(t){!a&&o&&function(t,e,r,i){var n=t;do{null===n.z&&(n.z=Ho(n.x,n.y,e,r,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next}while(n!==t);n.prevZ.nextZ=null,n.prevZ=null,function(t){var e,r,i,n,o,a,s,u,l=1;do{for(r=t,t=null,o=null,a=0;r;){for(a++,i=r,s=0,e=0;e<l&&(s++,i=i.nextZ);e++);for(u=l;s>0||u>0&&i;)0!==s&&(0===u||!i||r.z<=i.z)?(n=r,r=r.nextZ,s--):(n=i,i=i.nextZ,u--),o?o.nextZ=n:t=n,n.prevZ=o,o=n;r=i}o.nextZ=null,l*=2}while(a>1)}(n)}(t,i,n,o);for(var s,u,l=t;t.prev!==t.next;)if(s=t.prev,u=t.next,o?Zo(t,i,n,o):qo(t))e.push(s.i/r),e.push(t.i/r),e.push(u.i/r),oa(t),t=u.next,l=u.next;else if((t=u)===l){a?1===a?jo(t=Go(t,e,r),e,r,i,n,o,2):2===a&&Xo(t,e,r,i,n,o):jo(No(t),e,r,i,n,o,1);break}}}function qo(t){var e=t.prev,r=t,i=t.next;if(Qo(e,r,i)>=0)return!1;for(var n=t.next.next;n!==t.prev;){if(Yo(e.x,e.y,r.x,r.y,i.x,i.y,n.x,n.y)&&Qo(n.prev,n,n.next)>=0)return!1;n=n.next}return!0}function Zo(t,e,r,i){var n=t.prev,o=t,a=t.next;if(Qo(n,o,a)>=0)return!1;for(var s=n.x<o.x?n.x<a.x?n.x:a.x:o.x<a.x?o.x:a.x,u=n.y<o.y?n.y<a.y?n.y:a.y:o.y<a.y?o.y:a.y,l=n.x>o.x?n.x>a.x?n.x:a.x:o.x>a.x?o.x:a.x,p=n.y>o.y?n.y>a.y?n.y:a.y:o.y>a.y?o.y:a.y,c=Ho(s,u,e,r,i),h=Ho(l,p,e,r,i),f=t.prevZ,d=t.nextZ;f&&f.z>=c&&d&&d.z<=h;){if(f!==t.prev&&f!==t.next&&Yo(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Qo(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,d!==t.prev&&d!==t.next&&Yo(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Qo(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(;f&&f.z>=c;){if(f!==t.prev&&f!==t.next&&Yo(n.x,n.y,o.x,o.y,a.x,a.y,f.x,f.y)&&Qo(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;d&&d.z<=h;){if(d!==t.prev&&d!==t.next&&Yo(n.x,n.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Qo(d.prev,d,d.next)>=0)return!1;d=d.nextZ}return!0}function Go(t,e,r){var i=t;do{var n=i.prev,o=i.next.next;!ta(n,o)&&ea(n,i,i.next,o)&&ra(n,o)&&ra(o,n)&&(e.push(n.i/r),e.push(i.i/r),e.push(o.i/r),oa(i),oa(i.next),i=t=o),i=i.next}while(i!==t);return i}function Xo(t,e,r,i,n,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&$o(a,s)){var u=ia(a,s);return a=No(a,a.next),u=No(u,u.next),jo(a,e,r,i,n,o),void jo(u,e,r,i,n,o)}s=s.next}a=a.next}while(a!==t)}function Wo(t,e){return t.x-e.x}function Ko(t,e){if(e=function(t,e){var r,i=e,n=t.x,o=t.y,a=-1/0;do{if(o<=i.y&&o>=i.next.y&&i.next.y!==i.y){var s=i.x+(o-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(s<=n&&s>a){if(a=s,s===n){if(o===i.y)return i;if(o===i.next.y)return i.next}r=i.x<i.next.x?i:i.next}}i=i.next}while(i!==e);if(!r)return null;if(n===a)return r.prev;var u,l=r,p=r.x,c=r.y,h=1/0;for(i=r.next;i!==l;)n>=i.x&&i.x>=p&&n!==i.x&&Yo(o<c?n:a,o,p,c,o<c?a:n,o,i.x,i.y)&&((u=Math.abs(o-i.y)/(n-i.x))<h||u===h&&i.x>r.x)&&ra(i,t)&&(r=i,h=u),i=i.next;return r}(t,e)){var r=ia(e,t);No(r,r.next)}}function Ho(t,e,r,i,n){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*n)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-i)*n)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function Jo(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next}while(e!==t);return r}function Yo(t,e,r,i,n,o,a,s){return(n-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(i-s)-(r-a)*(e-s)>=0&&(r-a)*(o-s)-(n-a)*(i-s)>=0}function $o(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&ea(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&ra(t,e)&&ra(e,t)&&function(t,e){var r=t,i=!1,n=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&n<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(i=!i),r=r.next}while(r!==t);return i}(t,e)}function Qo(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function ta(t,e){return t.x===e.x&&t.y===e.y}function ea(t,e,r,i){return!!(ta(t,e)&&ta(r,i)||ta(t,i)&&ta(r,e))||Qo(t,e,r)>0!=Qo(t,e,i)>0&&Qo(r,i,t)>0!=Qo(r,i,e)>0}function ra(t,e){return Qo(t.prev,t,t.next)<0?Qo(t,e,t.next)>=0&&Qo(t,t.prev,e)>=0:Qo(t,e,t.prev)<0||Qo(t,t.next,e)<0}function ia(t,e){var r=new aa(t.i,t.x,t.y),i=new aa(e.i,e.x,e.y),n=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=n,n.prev=r,i.next=r,r.prev=i,o.next=i,i.prev=o,i}function na(t,e,r,i){var n=new aa(t,e,r);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function oa(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function aa(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function sa(t,e,r,i){for(var n=0,o=e,a=r-i;o<r;o+=i)n+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return n}function ua(t,e,r,i,n){!function t(e,r,i,n,o){for(;n>i;){if(n-i>600){var a=n-i+1,s=r-i+1,u=Math.log(a),l=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*l*(a-l)/a)*(s-a/2<0?-1:1);t(e,r,Math.max(i,Math.floor(r-s*l/a+p)),Math.min(n,Math.floor(r+(a-s)*l/a+p)),o)}var c=e[r],h=i,f=n;for(la(e,i,r),o(e[n],c)>0&&la(e,i,n);h<f;){for(la(e,h,f),h++,f--;o(e[h],c)<0;)h++;for(;o(e[f],c)>0;)f--}0===o(e[i],c)?la(e,i,f):la(e,++f,n),f<=r&&(i=f+1),r<=f&&(n=f-1)}}(t,e,r||0,i||t.length-1,n||pa)}function la(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function pa(t,e){return t<e?-1:t>e?1:0}function ca(t,e){var r=t.length;if(r<=1)return[t];for(var i,n,o=[],a=0;a<r;a++){var s=S(t[a]);0!==s&&(t[a].area=Math.abs(s),void 0===n&&(n=s<0),n===s<0?(i&&o.push(i),i=[t[a]]):i.push(t[a]))}if(i&&o.push(i),e>1)for(var u=0;u<o.length;u++)o[u].length<=e||(ua(o[u],e,1,o[u].length-1,ha),o[u]=o[u].slice(0,e));return o}function ha(t,e){return e.area-t.area}function fa(t,e,r){for(var i=r.patternDependencies,n=!1,o=0,a=e;o<a.length;o+=1){var s=a[o].paint.get(t+"-pattern");s.isConstant()||(n=!0);var u=s.constantOr(null);u&&(n=!0,i[u.to]=!0,i[u.from]=!0)}return n}function da(t,e,r,i,n){for(var o=n.patternDependencies,a=0,s=e;a<s.length;a+=1){var u=s[a],l=u.paint.get(t+"-pattern").value;if("constant"!==l.kind){var p=l.evaluate({zoom:i-1},r,{}),c=l.evaluate({zoom:i},r,{}),h=l.evaluate({zoom:i+1},r,{});o[p]=!0,o[c]=!0,o[h]=!0,r.patterns[u.id]={min:p,mid:c,max:h}}}return r}Uo.deviation=function(t,e,r,i){var n=e&&e.length,o=n?e[0]*r:t.length,a=Math.abs(sa(t,0,o,r));if(n)for(var s=0,u=e.length;s<u;s++){var l=e[s]*r,p=s<u-1?e[s+1]*r:t.length;a-=Math.abs(sa(t,l,p,r))}var c=0;for(s=0;s<i.length;s+=3){var h=i[s]*r,f=i[s+1]*r,d=i[s+2]*r;c+=Math.abs((t[h]-t[d])*(t[f+1]-t[h+1])-(t[h]-t[f])*(t[d+1]-t[h+1]))}return 0===a&&0===c?0:Math.abs((c-a)/a)},Uo.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},i=0,n=0;n<t.length;n++){for(var o=0;o<t[n].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[n][o][a]);n>0&&(i+=t[n-1].length,r.holes.push(i))}return r},Fo.default=Oo;var ma=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Xi,this.indexArray=new ln,this.indexArray2=new pn,this.programConfigurations=new Wn(Ro,t.layers,t.zoom),this.segments=new In,this.segments2=new In,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};ma.prototype.populate=function(t,e){this.features=[],this.hasPattern=fa("fill",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ti(this.zoom),o)){var u=$n(o),l={sourceLayerIndex:s,index:a,geometry:u,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(l.id=o.id),this.hasPattern?this.features.push(da("fill",this.layers,l,this.zoom,e)):this.addFeature(l,u,a,{}),e.featureIndex.insert(o,u,a,s,this.index)}}},ma.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},ma.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},ma.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},ma.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},ma.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ro),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0},ma.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())},ma.prototype.addFeature=function(t,e,r,i){for(var n=0,o=ca(e,500);n<o.length;n+=1){for(var a=o[n],s=0,u=0,l=a;u<l.length;u+=1)s+=l[u].length;for(var p=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray),c=p.vertexLength,h=[],f=[],d=0,m=a;d<m.length;d+=1){var y=m[d];if(0!==y.length){y!==a[0]&&f.push(h.length/2);var v=this.segments2.prepareSegment(y.length,this.layoutVertexArray,this.indexArray2),_=v.vertexLength;this.layoutVertexArray.emplaceBack(y[0].x,y[0].y),this.indexArray2.emplaceBack(_+y.length-1,_),h.push(y[0].x),h.push(y[0].y);for(var g=1;g<y.length;g++)this.layoutVertexArray.emplaceBack(y[g].x,y[g].y),this.indexArray2.emplaceBack(_+g-1,_+g),h.push(y[g].x),h.push(y[g].y);v.vertexLength+=y.length,v.primitiveLength+=y.length}}for(var x=Fo(h,f),b=0;b<x.length;b+=3)this.indexArray.emplaceBack(c+x[b],c+x[b+1],c+x[b+2]);p.vertexLength+=s,p.primitiveLength+=x.length/3}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},si("FillBucket",ma,{omit:["layers","features"]});var ya={paint:new Ui({"fill-antialias":new Di(vt.paint_fill["fill-antialias"]),"fill-opacity":new Bi(vt.paint_fill["fill-opacity"]),"fill-color":new Bi(vt.paint_fill["fill-color"]),"fill-outline-color":new Bi(vt.paint_fill["fill-outline-color"]),"fill-translate":new Di(vt.paint_fill["fill-translate"]),"fill-translate-anchor":new Di(vt.paint_fill["fill-translate-anchor"]),"fill-pattern":new Ri(vt.paint_fill["fill-pattern"])})},va=function(t){function e(e){t.call(this,e,ya)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e){t.prototype.recalculate.call(this,e);var r=this.paint._values["fill-outline-color"];"constant"===r.value.kind&&void 0===r.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"])},e.prototype.createBucket=function(t){return new ma(t)},e.prototype.queryRadius=function(){return fo(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,n,o,a){return io(mo(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),o.angle,a),i)},e.prototype.isTileClipped=function(){return!0},e}(Vi),_a=Zi([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,ga=xa;function xa(t,e,r,i,n){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=i,this._values=n,t.readFields(ba,this,e)}function ba(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){for(var r=t.readVarint()+t.pos;t.pos<r;){var i=e._keys[t.readVarint()],n=e._values[t.readVarint()];e.properties[i]=n}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos)}function wa(t){for(var e,r,i=0,n=0,o=t.length,a=o-1;n<o;a=n++)e=t[n],i+=((r=t[a]).x-e.x)*(e.y+r.y);return i}xa.types=["Unknown","Point","LineString","Polygon"],xa.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,i=1,o=0,a=0,s=0,u=[];t.pos<r;){if(o<=0){var l=t.readVarint();i=7&l,o=l>>3}if(o--,1===i||2===i)a+=t.readSVarint(),s+=t.readSVarint(),1===i&&(e&&u.push(e),e=[]),e.push(new n(a,s));else{if(7!==i)throw new Error("unknown command "+i);e&&e.push(e[0].clone())}}return e&&u.push(e),u},xa.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,i=0,n=0,o=0,a=1/0,s=-1/0,u=1/0,l=-1/0;t.pos<e;){if(i<=0){var p=t.readVarint();r=7&p,i=p>>3}if(i--,1===r||2===r)(n+=t.readSVarint())<a&&(a=n),n>s&&(s=n),(o+=t.readSVarint())<u&&(u=o),o>l&&(l=o);else if(7!==r)throw new Error("unknown command "+r)}return[a,u,s,l]},xa.prototype.toGeoJSON=function(t,e,r){var i,n,o=this.extent*Math.pow(2,r),a=this.extent*t,s=this.extent*e,u=this.loadGeometry(),l=xa.types[this.type];function p(t){for(var e=0;e<t.length;e++){var r=t[e],i=180-360*(r.y+s)/o;t[e]=[360*(r.x+a)/o-180,360/Math.PI*Math.atan(Math.exp(i*Math.PI/180))-90]}}switch(this.type){case 1:var c=[];for(i=0;i<u.length;i++)c[i]=u[i][0];p(u=c);break;case 2:for(i=0;i<u.length;i++)p(u[i]);break;case 3:for(u=function(t){var e=t.length;if(e<=1)return[t];for(var r,i,n=[],o=0;o<e;o++){var a=wa(t[o]);0!==a&&(void 0===i&&(i=a<0),i===a<0?(r&&n.push(r),r=[t[o]]):r.push(t[o]))}return r&&n.push(r),n}(u),i=0;i<u.length;i++)for(n=0;n<u[i].length;n++)p(u[i][n])}1===u.length?u=u[0]:l="Multi"+l;var h={type:"Feature",geometry:{type:l,coordinates:u},properties:this.properties};return"id"in this&&(h.id=this.id),h};var Ea=Sa;function Sa(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(Ta,this,e),this.length=this._features.length}function Ta(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){for(var e=null,r=t.readVarint()+t.pos;t.pos<r;){var i=t.readVarint()>>3;e=1===i?t.readString():2===i?t.readFloat():3===i?t.readDouble():4===i?t.readVarint64():5===i?t.readVarint():6===i?t.readSVarint():7===i?t.readBoolean():null}return e}(r))}function Aa(t,e,r){if(3===t){var i=new Ea(r,r.readVarint()+r.pos);i.length&&(e[i.name]=i)}}Sa.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new ga(this._pbf,e,this.extent,this._keys,this._values)};var Ia={VectorTile:function(t,e){this.layers=t.readFields(Aa,{},e)},VectorTileFeature:ga,VectorTileLayer:Ea},za=Ia.VectorTileFeature.types,ka=Math.pow(2,13);function Ca(t,e,r,i,n,o,a,s){t.emplaceBack(e,r,2*Math.floor(i*ka)+a,n*ka*2,o*ka*2,Math.round(s))}var Pa=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new Ki,this.indexArray=new ln,this.programConfigurations=new Wn(_a,t.layers,t.zoom),this.segments=new In,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function Ma(t,e){return t.x===e.x&&(t.x<0||t.x>Jn)||t.y===e.y&&(t.y<0||t.y>Jn)}function La(t){return t.every((function(t){return t.x<0}))||t.every((function(t){return t.x>Jn}))||t.every((function(t){return t.y<0}))||t.every((function(t){return t.y>Jn}))}Pa.prototype.populate=function(t,e){this.features=[],this.hasPattern=fa("fill-extrusion",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ti(this.zoom),o)){var u=$n(o),l={sourceLayerIndex:s,index:a,geometry:u,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(l.id=o.id),this.hasPattern?this.features.push(da("fill-extrusion",this.layers,l,this.zoom,e)):this.addFeature(l,u,a,{}),e.featureIndex.insert(o,u,a,s,this.index,!0)}}},Pa.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},Pa.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Pa.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Pa.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Pa.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,_a),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Pa.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Pa.prototype.addFeature=function(t,e,r,i){for(var n=0,o=ca(e,500);n<o.length;n+=1){for(var a=o[n],s=0,u=0,l=a;u<l.length;u+=1)s+=l[u].length;for(var p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),c=0,h=a;c<h.length;c+=1){var f=h[c];if(0!==f.length&&!La(f))for(var d=0,m=0;m<f.length;m++){var y=f[m];if(m>=1){var v=f[m-1];if(!Ma(y,v)){p.vertexLength+4>In.MAX_VERTEX_ARRAY_LENGTH&&(p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var _=y.sub(v)._perp()._unit(),g=v.dist(y);d+g>32768&&(d=0),Ca(this.layoutVertexArray,y.x,y.y,_.x,_.y,0,0,d),Ca(this.layoutVertexArray,y.x,y.y,_.x,_.y,0,1,d),d+=g,Ca(this.layoutVertexArray,v.x,v.y,_.x,_.y,0,0,d),Ca(this.layoutVertexArray,v.x,v.y,_.x,_.y,0,1,d);var x=p.vertexLength;this.indexArray.emplaceBack(x,x+2,x+1),this.indexArray.emplaceBack(x+1,x+2,x+3),p.vertexLength+=4,p.primitiveLength+=2}}}}if(p.vertexLength+s>In.MAX_VERTEX_ARRAY_LENGTH&&(p=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray)),"Polygon"===za[t.type]){for(var b=[],w=[],E=p.vertexLength,S=0,T=a;S<T.length;S+=1){var A=T[S];if(0!==A.length){A!==a[0]&&w.push(b.length/2);for(var I=0;I<A.length;I++){var z=A[I];Ca(this.layoutVertexArray,z.x,z.y,0,0,1,1,0),b.push(z.x),b.push(z.y)}}}for(var k=Fo(b,w),C=0;C<k.length;C+=3)this.indexArray.emplaceBack(E+k[C],E+k[C+2],E+k[C+1]);p.primitiveLength+=k.length/3,p.vertexLength+=s}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,i)},si("FillExtrusionBucket",Pa,{omit:["layers","features"]});var Da={paint:new Ui({"fill-extrusion-opacity":new Di(vt["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Bi(vt["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Di(vt["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Di(vt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new Ri(vt["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Bi(vt["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Bi(vt["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Di(vt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Ba=function(t){function e(e){t.call(this,e,Da)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Pa(t)},e.prototype.queryRadius=function(){return fo(this.paint.get("fill-extrusion-translate"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s,u){var l=mo(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),a.angle,s),p=this.paint.get("fill-extrusion-height").evaluate(e,r),c=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e,r,i){for(var o=[],a=0,s=t;a<s.length;a+=1){var u=s[a],l=[u.x,u.y,0,1];bo(l,l,e),o.push(new n(l[0]/l[3],l[1]/l[3]))}return o}(l,u),f=function(t,e,r,i){for(var o=[],a=[],s=i[8]*e,u=i[9]*e,l=i[10]*e,p=i[11]*e,c=i[8]*r,h=i[9]*r,f=i[10]*r,d=i[11]*r,m=0,y=t;m<y.length;m+=1){for(var v=[],_=[],g=0,x=y[m];g<x.length;g+=1){var b=x[g],w=b.x,E=b.y,S=i[0]*w+i[4]*E+i[12],T=i[1]*w+i[5]*E+i[13],A=i[2]*w+i[6]*E+i[14],I=i[3]*w+i[7]*E+i[15],z=A+l,k=I+p,C=S+c,P=T+h,M=A+f,L=I+d,D=new n((S+s)/k,(T+u)/k);D.z=z/k,v.push(D);var B=new n(C/L,P/L);B.z=M/L,_.push(B)}o.push(v),a.push(_)}return[o,a]}(i,c,p,u);return function(t,e,r){var i=1/0;io(r,e)&&(i=Fa(r,e[0]));for(var n=0;n<e.length;n++)for(var o=e[n],a=t[n],s=0;s<o.length-1;s++){var u=o[s],l=o[s+1],p=a[s],c=[u,l,a[s+1],p,u];eo(r,c)&&(i=Math.min(i,Fa(r,c)))}return i!==1/0&&i}(f[0],f[1],h)},e}(Vi);function Ra(t,e){return t.x*e.x+t.y*e.y}function Fa(t,e){if(1===t.length){var r=e[0],i=e[1],n=e[3],o=t[0],a=i.sub(r),s=n.sub(r),u=o.sub(r),l=Ra(a,a),p=Ra(a,s),c=Ra(s,s),h=Ra(u,a),f=Ra(u,s),d=l*c-p*p,m=(c*h-p*f)/d,y=(l*f-p*h)/d,v=1-m-y;return r.z*v+i.z*m+n.z*y}for(var _=1/0,g=0,x=e;g<x.length;g+=1){var b=x[g];_=Math.min(_,b.z)}return _}var Oa=Zi([{name:"a_pos_normal",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,Ua=Ia.VectorTileFeature.types,Va=63,Na=Math.cos(Math.PI/180*37.5),ja=.5,qa=Math.pow(2,14)/ja;function Za(t,e,r,i,n,o,a){t.emplaceBack(e.x,e.y,i?1:0,n?1:-1,Math.round(Va*r.x)+128,Math.round(Va*r.y)+128,1+(0===o?0:o<0?-1:1)|(a*ja&63)<<2,a*ja>>6)}var Ga=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.features=[],this.hasPattern=!1,this.layoutVertexArray=new Hi,this.indexArray=new ln,this.programConfigurations=new Wn(Oa,t.layers,t.zoom),this.segments=new In,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}))};function Xa(t,e){return(t/e.tileTotal*(e.end-e.start)+e.start)*(qa-1)}Ga.prototype.populate=function(t,e){this.features=[],this.hasPattern=fa("line",this.layers,e);for(var r=0,i=t;r<i.length;r+=1){var n=i[r],o=n.feature,a=n.index,s=n.sourceLayerIndex;if(this.layers[0]._featureFilter(new Ti(this.zoom),o)){var u=$n(o),l={sourceLayerIndex:s,index:a,geometry:u,properties:o.properties,type:o.type,patterns:{}};void 0!==o.id&&(l.id=o.id),this.hasPattern?this.features.push(da("line",this.layers,l,this.zoom,e)):this.addFeature(l,u,a,{}),e.featureIndex.insert(o,u,a,s,this.index)}}},Ga.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r)},Ga.prototype.addFeatures=function(t,e){for(var r=0,i=this.features;r<i.length;r+=1){var n=i[r],o=n.geometry;this.addFeature(n,o,n.index,e)}},Ga.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Ga.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Ga.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Oa),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0},Ga.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())},Ga.prototype.addFeature=function(t,e,r,i){for(var n=this.layers[0].layout,o=n.get("line-join").evaluate(t,{}),a=n.get("line-cap"),s=n.get("line-miter-limit"),u=n.get("line-round-limit"),l=0,p=e;l<p.length;l+=1){var c=p[l];this.addLine(c,t,o,a,s,u,r,i)}},Ga.prototype.addLine=function(t,e,r,i,n,o,a,s){var u=null;e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end")&&(u={start:e.properties.mapbox_clip_start,end:e.properties.mapbox_clip_end,tileTotal:void 0});for(var l="Polygon"===Ua[e.type],p=t.length;p>=2&&t[p-1].equals(t[p-2]);)p--;for(var c=0;c<p-1&&t[c].equals(t[c+1]);)c++;if(!(p<(l?3:2))){u&&(u.tileTotal=function(t,e,r){for(var i,n,o=0,a=e;a<r-1;a++)i=t[a],n=t[a+1],o+=i.dist(n);return o}(t,c,p)),"bevel"===r&&(n=1.05);var h=Jn/(512*this.overscaling)*15,f=t[c],d=this.segments.prepareSegment(10*p,this.layoutVertexArray,this.indexArray);this.distance=0;var m,y,v,_=i,g=l?"butt":i,x=!0,b=void 0,w=void 0,E=void 0,S=void 0;this.e1=this.e2=this.e3=-1,l&&(m=t[p-2],S=f.sub(m)._unit()._perp());for(var T=c;T<p;T++)if(!(w=l&&T===p-1?t[c+1]:t[T+1])||!t[T].equals(w)){S&&(E=S),m&&(b=m),m=t[T],S=w?w.sub(m)._unit()._perp():E;var A=(E=E||S).add(S);0===A.x&&0===A.y||A._unit();var I=A.x*S.x+A.y*S.y,z=0!==I?1/I:1/0,k=I<Na&&b&&w;if(k&&T>c){var C=m.dist(b);if(C>2*h){var P=m.sub(m.sub(b)._mult(h/C)._round());this.distance+=P.dist(b),this.addCurrentVertex(P,this.distance,E.mult(1),0,0,!1,d,u),b=P}}var M=b&&w,L=M?r:w?_:g;if(M&&"round"===L&&(z<o?L="miter":z<=2&&(L="fakeround")),"miter"===L&&z>n&&(L="bevel"),"bevel"===L&&(z>2&&(L="flipbevel"),z<n&&(L="miter")),b&&(this.distance+=m.dist(b)),"miter"===L)A._mult(z),this.addCurrentVertex(m,this.distance,A,0,0,!1,d,u);else if("flipbevel"===L){if(z>100)A=S.clone().mult(-1);else{var D=E.x*S.y-E.y*S.x>0?-1:1,B=z*E.add(S).mag()/E.sub(S).mag();A._perp()._mult(B*D)}this.addCurrentVertex(m,this.distance,A,0,0,!1,d,u),this.addCurrentVertex(m,this.distance,A.mult(-1),0,0,!1,d,u)}else if("bevel"===L||"fakeround"===L){var R=E.x*S.y-E.y*S.x>0,F=-Math.sqrt(z*z-1);if(R?(v=0,y=F):(y=0,v=F),x||this.addCurrentVertex(m,this.distance,E,y,v,!1,d,u),"fakeround"===L){for(var O=Math.floor(8*(.5-(I-.5))),U=void 0,V=0;V<O;V++)U=S.mult((V+1)/(O+1))._add(E)._unit(),this.addPieSliceVertex(m,this.distance,U,R,d,u);this.addPieSliceVertex(m,this.distance,A,R,d,u);for(var N=O-1;N>=0;N--)U=E.mult((N+1)/(O+1))._add(S)._unit(),this.addPieSliceVertex(m,this.distance,U,R,d,u)}w&&this.addCurrentVertex(m,this.distance,S,-y,-v,!1,d,u)}else"butt"===L?(x||this.addCurrentVertex(m,this.distance,E,0,0,!1,d,u),w&&this.addCurrentVertex(m,this.distance,S,0,0,!1,d,u)):"square"===L?(x||(this.addCurrentVertex(m,this.distance,E,1,1,!1,d,u),this.e1=this.e2=-1),w&&this.addCurrentVertex(m,this.distance,S,-1,-1,!1,d,u)):"round"===L&&(x||(this.addCurrentVertex(m,this.distance,E,0,0,!1,d,u),this.addCurrentVertex(m,this.distance,E,1,1,!0,d,u),this.e1=this.e2=-1),w&&(this.addCurrentVertex(m,this.distance,S,-1,-1,!0,d,u),this.addCurrentVertex(m,this.distance,S,0,0,!1,d,u)));if(k&&T<p-1){var j=m.dist(w);if(j>2*h){var q=m.add(w.sub(m)._mult(h/j)._round());this.distance+=q.dist(m),this.addCurrentVertex(q,this.distance,S.mult(1),0,0,!1,d,u),m=q}}x=!1}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,a,s)}},Ga.prototype.addCurrentVertex=function(t,e,r,i,n,o,a,s){var u,l=this.layoutVertexArray,p=this.indexArray;s&&(e=Xa(e,s)),u=r.clone(),i&&u._sub(r.perp()._mult(i)),Za(l,t,u,o,!1,i,e),this.e3=a.vertexLength++,this.e1>=0&&this.e2>=0&&(p.emplaceBack(this.e1,this.e2,this.e3),a.primitiveLength++),this.e1=this.e2,this.e2=this.e3,u=r.mult(-1),n&&u._sub(r.perp()._mult(n)),Za(l,t,u,o,!0,-n,e),this.e3=a.vertexLength++,this.e1>=0&&this.e2>=0&&(p.emplaceBack(this.e1,this.e2,this.e3),a.primitiveLength++),this.e1=this.e2,this.e2=this.e3,e>qa/2&&!s&&(this.distance=0,this.addCurrentVertex(t,this.distance,r,i,n,o,a))},Ga.prototype.addPieSliceVertex=function(t,e,r,i,n,o){r=r.mult(i?-1:1);var a=this.layoutVertexArray,s=this.indexArray;o&&(e=Xa(e,o)),Za(a,t,r,!1,i,0,e),this.e3=n.vertexLength++,this.e1>=0&&this.e2>=0&&(s.emplaceBack(this.e1,this.e2,this.e3),n.primitiveLength++),i?this.e2=this.e3:this.e1=this.e3},si("LineBucket",Ga,{omit:["layers","features"]});var Wa=new Ui({"line-cap":new Di(vt.layout_line["line-cap"]),"line-join":new Bi(vt.layout_line["line-join"]),"line-miter-limit":new Di(vt.layout_line["line-miter-limit"]),"line-round-limit":new Di(vt.layout_line["line-round-limit"])}),Ka={paint:new Ui({"line-opacity":new Bi(vt.paint_line["line-opacity"]),"line-color":new Bi(vt.paint_line["line-color"]),"line-translate":new Di(vt.paint_line["line-translate"]),"line-translate-anchor":new Di(vt.paint_line["line-translate-anchor"]),"line-width":new Bi(vt.paint_line["line-width"]),"line-gap-width":new Bi(vt.paint_line["line-gap-width"]),"line-offset":new Bi(vt.paint_line["line-offset"]),"line-blur":new Bi(vt.paint_line["line-blur"]),"line-dasharray":new Fi(vt.paint_line["line-dasharray"]),"line-pattern":new Ri(vt.paint_line["line-pattern"]),"line-gradient":new Oi(vt.paint_line["line-gradient"])}),layout:Wa},Ha=new(function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,r){return r=new Ti(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),t.prototype.possiblyEvaluate.call(this,e,r)},e.prototype.evaluate=function(e,r,i,n){return r=c({},r,{zoom:Math.floor(r.zoom)}),t.prototype.evaluate.call(this,e,r,i,n)},e}(Bi))(Ka.paint.properties["line-width"].specification);Ha.useIntegerZoom=!0;var Ja=function(t){function e(e){t.call(this,e,Ka)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){"line-gradient"===t&&this._updateGradient()},e.prototype._updateGradient=function(){var t=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=Mo(t,"lineProgress"),this.gradientTexture=null},e.prototype.recalculate=function(e){t.prototype.recalculate.call(this,e),this.paint._values["line-floorwidth"]=Ha.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e)},e.prototype.createBucket=function(t){return new Ga(t)},e.prototype.queryRadius=function(t){var e=t,r=Ya(ho("line-width",this,e),ho("line-gap-width",this,e)),i=ho("line-offset",this,e);return r/2+Math.abs(i)+fo(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,i,o,a,s){var u=mo(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),a.angle,s),l=s/2*Ya(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),p=this.paint.get("line-offset").evaluate(e,r);return p&&(i=function(t,e){for(var r=[],i=new n(0,0),o=0;o<t.length;o++){for(var a=t[o],s=[],u=0;u<a.length;u++){var l=a[u-1],p=a[u],c=a[u+1],h=0===u?i:p.sub(l)._unit()._perp(),f=u===a.length-1?i:c.sub(p)._unit()._perp(),d=h._add(f)._unit(),m=d.x*f.x+d.y*f.y;d._mult(1/m),s.push(d._mult(e)._add(p))}r.push(s)}return r}(i,p*s)),function(t,e,r){for(var i=0;i<e.length;i++){var n=e[i];if(t.length>=3)for(var o=0;o<n.length;o++)if(po(t,n[o]))return!0;if(no(t,n,r))return!0}return!1}(u,i,l)},e.prototype.isTileClipped=function(){return!0},e}(Vi);function Ya(t,e){return e>0?e+2*t:t}var $a=Zi([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"}]),Qa=Zi([{name:"a_projected_pos",components:3,type:"Float32"}],4),ts=(Zi([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),Zi([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),es=(Zi([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"},{type:"Int16",name:"radius"},{type:"Int16",name:"signedDistanceFromAnchor"}]),Zi([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),rs=Zi([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4);function is(t,e,r){return t.sections.forEach((function(t){t.text=function(t,e,r){var i=e.layout.get("text-transform").evaluate(r,{});return"uppercase"===i?t=t.toLocaleUpperCase():"lowercase"===i&&(t=t.toLocaleLowerCase()),Si.applyArabicShaping&&(t=Si.applyArabicShaping(t)),t}(t.text,e,r)})),t}Zi([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"}]),Zi([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"radialTextOffset"}]),Zi([{type:"Float32",name:"offsetX"}]),Zi([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);var ns={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"},os=function(t){function e(e,r,i,n){t.call(this,e,r),this.angle=i,void 0!==n&&(this.segment=n)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(n);si("Anchor",os);var as=256;function ss(t,e){var r=e.expression;if("constant"===r.kind)return{functionType:"constant",layoutSize:r.evaluate(new Ti(t+1))};if("source"===r.kind)return{functionType:"source"};for(var i=r.zoomStops,n=0;n<i.length&&i[n]<=t;)n++;for(var o=n=Math.max(0,n-1);o<i.length&&i[o]<t+1;)o++;o=Math.min(i.length-1,o);var a={min:i[n],max:i[o]};return"composite"===r.kind?{functionType:"composite",zoomRange:a,propertyValue:e.value}:{functionType:"camera",layoutSize:r.evaluate(new Ti(t+1)),zoomRange:a,sizeRange:{min:r.evaluate(new Ti(a.min)),max:r.evaluate(new Ti(a.max))},propertyValue:e.value}}function us(t,e,r){var i=e;return"source"===t.functionType?r.lowerSize/as:"composite"===t.functionType?pe(r.lowerSize/as,r.upperSize/as,i.uSizeT):i.uSize}function ls(t,e,r){if("constant"===t.functionType)return{uSizeT:0,uSize:t.layoutSize};if("source"===t.functionType)return{uSizeT:0,uSize:0};if("camera"===t.functionType){var i=t.propertyValue,n=t.zoomRange,o=t.sizeRange,a=l(br(i,r.specification).interpolationFactor(e,n.min,n.max),0,1);return{uSizeT:0,uSize:o.min+a*(o.max-o.min)}}var s=t.propertyValue,u=t.zoomRange;return{uSizeT:l(br(s,r.specification).interpolationFactor(e,u.min,u.max),0,1),uSize:0}}var ps=Object.freeze({getSizeData:ss,evaluateSizeForFeature:us,evaluateSizeForZoom:ls,SIZE_PACK_FACTOR:as}),cs=Ia.VectorTileFeature.types,hs=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function fs(t,e,r,i,n,o,a,s){t.emplaceBack(e,r,Math.round(32*i),Math.round(32*n),o,a,s?s[0]:0,s?s[1]:0)}function ds(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r)}var ms=function(t){this.layoutVertexArray=new Yi,this.indexArray=new ln,this.programConfigurations=t,this.segments=new In,this.dynamicLayoutVertexArray=new $i,this.opacityVertexArray=new Qi,this.placedSymbolArray=new vn};ms.prototype.upload=function(t,e,r,i){r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,$a.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,Qa.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,hs,!0),this.opacityVertexBuffer.itemSize=1),(r||i)&&this.programConfigurations.upload(t)},ms.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy())},si("SymbolBuffers",ms);var ys=function(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new In,this.collisionVertexArray=new rn};ys.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,ts.members,!0)},ys.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy())},si("CollisionBuffers",ys);var vs=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1;var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=ss(this.zoom,e["text-size"]),this.iconSizeData=ss(this.zoom,e["icon-size"]);var r=this.layers[0].layout,i=r.get("symbol-sort-key"),n=r.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==n&&void 0!==i.constantOr(1);var o="viewport-y"===n||"auto"===n&&!this.sortFeaturesByKey;this.sortFeaturesByY=o&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id})),this.sourceID=t.sourceID};vs.prototype.createArrays=function(){this.text=new ms(new Wn($a.members,this.layers,this.zoom,(function(t){return/^text/.test(t)}))),this.icon=new ms(new Wn($a.members,this.layers,this.zoom,(function(t){return/^icon/.test(t)}))),this.collisionBox=new ys(en,es.members,pn),this.collisionCircle=new ys(en,rs.members,ln),this.glyphOffsetArray=new bn,this.lineVertexArray=new En,this.symbolInstances=new gn},vs.prototype.calculateGlyphDependencies=function(t,e,r,i){for(var n=0;n<t.length;n++)if(e[t.charCodeAt(n)]=!0,r&&i){var o=ns[t.charAt(n)];o&&(e[o.charCodeAt(0)]=!0)}},vs.prototype.populate=function(t,e){var r=this.layers[0],i=r.layout,n=i.get("text-font"),o=i.get("text-field"),a=i.get("icon-image"),s=("constant"!==o.value.kind||o.value.value.toString().length>0)&&("constant"!==n.value.kind||n.value.value.length>0),u="constant"!==a.value.kind||a.value.value&&a.value.value.length>0,l=i.get("symbol-sort-key");if(this.features=[],s||u){for(var p=e.iconDependencies,c=e.glyphDependencies,h=new Ti(this.zoom),f=0,d=t;f<d.length;f+=1){var m=d[f],y=m.feature,v=m.index,_=m.sourceLayerIndex;if(r._featureFilter(h,y)){var g=void 0;if(s){var x=r.getValueAndResolveTokens("text-field",y);g=is(x instanceof jt?x:jt.fromString(x),r,y)}var b=void 0;if(u&&(b=r.getValueAndResolveTokens("icon-image",y)),g||b){var w=this.sortFeaturesByKey?l.evaluate(y,{}):void 0,E={text:g,icon:b,index:v,sourceLayerIndex:_,geometry:$n(y),properties:y.properties,type:cs[y.type],sortKey:w};if(void 0!==y.id&&(E.id=y.id),this.features.push(E),b&&(p[b]=!0),g)for(var S=n.evaluate(y,{}).join(","),T="map"===i.get("text-rotation-alignment")&&"point"!==i.get("symbol-placement"),A=0,I=g.sections;A<I.length;A+=1){var z=I[A],k=fi(g.toString()),C=z.fontStack||S,P=c[C]=c[C]||{};this.calculateGlyphDependencies(z.text,P,T,k)}}}}"line"===i.get("symbol-placement")&&(this.features=function(t){var e={},r={},i=[],n=0;function o(e){i.push(t[e]),n++}function a(t,e,n){var o=r[t];return delete r[t],r[e]=o,i[o].geometry[0].pop(),i[o].geometry[0]=i[o].geometry[0].concat(n[0]),o}function s(t,r,n){var o=e[r];return delete e[r],e[t]=o,i[o].geometry[0].shift(),i[o].geometry[0]=n[0].concat(i[o].geometry[0]),o}function u(t,e,r){var i=r?e[0][e[0].length-1]:e[0][0];return t+":"+i.x+":"+i.y}for(var l=0;l<t.length;l++){var p=t[l],c=p.geometry,h=p.text?p.text.toString():null;if(h){var f=u(h,c),d=u(h,c,!0);if(f in r&&d in e&&r[f]!==e[d]){var m=s(f,d,c),y=a(f,d,i[m].geometry);delete e[f],delete r[d],r[u(h,i[y].geometry,!0)]=y,i[m].geometry=null}else f in r?a(f,d,c):d in e?s(f,d,c):(o(l),e[f]=n-1,r[d]=n-1)}else o(l)}return i.filter((function(t){return t.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(t,e){return t.sortKey-e.sortKey}))}},vs.prototype.update=function(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r))},vs.prototype.isEmpty=function(){return 0===this.symbolInstances.length},vs.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},vs.prototype.upload=function(t){this.uploaded||(this.collisionBox.upload(t),this.collisionCircle.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0},vs.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.collisionBox.destroy(),this.collisionCircle.destroy()},vs.prototype.addToLineVertexArray=function(t,e){var r=this.lineVertexArray.length;if(void 0!==t.segment){for(var i=t.dist(e[t.segment+1]),n=t.dist(e[t.segment]),o={},a=t.segment+1;a<e.length;a++)o[a]={x:e[a].x,y:e[a].y,tileUnitDistanceFromAnchor:i},a<e.length-1&&(i+=e[a+1].dist(e[a]));for(var s=t.segment||0;s>=0;s--)o[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:n},s>0&&(n+=e[s-1].dist(e[s]));for(var u=0;u<e.length;u++){var l=o[u];this.lineVertexArray.emplaceBack(l.x,l.y,l.tileUnitDistanceFromAnchor)}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},vs.prototype.addSymbols=function(t,e,r,i,n,o,a,s,u,l){for(var p=t.indexArray,c=t.layoutVertexArray,h=t.dynamicLayoutVertexArray,f=t.segments.prepareSegment(4*e.length,t.layoutVertexArray,t.indexArray,o.sortKey),d=this.glyphOffsetArray.length,m=f.vertexLength,y=0,v=e;y<v.length;y+=1){var _=v[y],g=_.tl,x=_.tr,b=_.bl,w=_.br,E=_.tex,S=f.vertexLength,T=_.glyphOffset[1];fs(c,s.x,s.y,g.x,T+g.y,E.x,E.y,r),fs(c,s.x,s.y,x.x,T+x.y,E.x+E.w,E.y,r),fs(c,s.x,s.y,b.x,T+b.y,E.x,E.y+E.h,r),fs(c,s.x,s.y,w.x,T+w.y,E.x+E.w,E.y+E.h,r),ds(h,s,0),p.emplaceBack(S,S+1,S+2),p.emplaceBack(S+1,S+2,S+3),f.vertexLength+=4,f.primitiveLength+=2,this.glyphOffsetArray.emplaceBack(_.glyphOffset[0])}t.placedSymbolArray.emplaceBack(s.x,s.y,d,this.glyphOffsetArray.length-d,m,u,l,s.segment,r?r[0]:0,r?r[1]:0,i[0],i[1],a,!1,0),t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,o,o.index,{})},vs.prototype._addCollisionDebugVertex=function(t,e,r,i,n,o){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,i,n,Math.round(o.x),Math.round(o.y))},vs.prototype.addCollisionDebugVertices=function(t,e,r,i,o,a,s,u){var l=o.segments.prepareSegment(4,o.layoutVertexArray,o.indexArray),p=l.vertexLength,c=o.layoutVertexArray,h=o.collisionVertexArray,f=s.anchorX,d=s.anchorY;if(this._addCollisionDebugVertex(c,h,a,f,d,new n(t,e)),this._addCollisionDebugVertex(c,h,a,f,d,new n(r,e)),this._addCollisionDebugVertex(c,h,a,f,d,new n(r,i)),this._addCollisionDebugVertex(c,h,a,f,d,new n(t,i)),l.vertexLength+=4,u){var m=o.indexArray;m.emplaceBack(p,p+1,p+2),m.emplaceBack(p,p+2,p+3),l.primitiveLength+=2}else{var y=o.indexArray;y.emplaceBack(p,p+1),y.emplaceBack(p+1,p+2),y.emplaceBack(p+2,p+3),y.emplaceBack(p+3,p),l.primitiveLength+=4}},vs.prototype.addDebugCollisionBoxes=function(t,e,r){for(var i=t;i<e;i++){var n=this.collisionBoxArray.get(i),o=n.x1,a=n.y1,s=n.x2,u=n.y2,l=n.radius>0;this.addCollisionDebugVertices(o,a,s,u,l?this.collisionCircle:this.collisionBox,n.anchorPoint,r,l)}},vs.prototype.generateCollisionDebugBuffers=function(){for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e)}},vs.prototype._deserializeCollisionBoxesForSymbol=function(t,e,r,i,n){for(var o={},a=e;a<r;a++){var s=t.get(a);if(0===s.radius){o.textBox={x1:s.x1,y1:s.y1,x2:s.x2,y2:s.y2,anchorPointX:s.anchorPointX,anchorPointY:s.anchorPointY},o.textFeatureIndex=s.featureIndex;break}o.textCircles||(o.textCircles=[],o.textFeatureIndex=s.featureIndex),o.textCircles.push(s.anchorPointX,s.anchorPointY,s.radius,s.signedDistanceFromAnchor,1)}for(var u=i;u<n;u++){var l=t.get(u);if(0===l.radius){o.iconBox={x1:l.x1,y1:l.y1,x2:l.x2,y2:l.y2,anchorPointX:l.anchorPointX,anchorPointY:l.anchorPointY},o.iconFeatureIndex=l.featureIndex;break}}return o},vs.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex))}},vs.prototype.hasTextData=function(){return this.text.segments.get().length>0},vs.prototype.hasIconData=function(){return this.icon.segments.get().length>0},vs.prototype.hasCollisionBoxData=function(){return this.collisionBox.segments.get().length>0},vs.prototype.hasCollisionCircleData=function(){return this.collisionCircle.segments.get().length>0},vs.prototype.addIndicesForPlacedTextSymbol=function(t){for(var e=this.text.placedSymbolArray.get(t),r=e.vertexStartIndex+4*e.numGlyphs,i=e.vertexStartIndex;i<r;i+=4)this.text.indexArray.emplaceBack(i,i+1,i+2),this.text.indexArray.emplaceBack(i+1,i+2,i+3)},vs.prototype.sortFeatures=function(t){var e=this;if(this.sortFeaturesByY&&this.sortedAngle!==t&&(this.sortedAngle=t,!(this.text.segments.get().length>1||this.icon.segments.get().length>1))){for(var r=[],i=0;i<this.symbolInstances.length;i++)r.push(i);for(var n=Math.sin(t),o=Math.cos(t),a=[],s=[],u=0;u<this.symbolInstances.length;u++){var l=this.symbolInstances.get(u);a.push(0|Math.round(n*l.anchorX+o*l.anchorY)),s.push(l.featureIndex)}r.sort((function(t,e){return a[t]-a[e]||s[e]-s[t]})),this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var p=0,c=r;p<c.length;p+=1){var h=c[p],f=this.symbolInstances.get(h);this.featureSortOrder.push(f.featureIndex),[f.rightJustifiedTextSymbolIndex,f.centerJustifiedTextSymbolIndex,f.leftJustifiedTextSymbolIndex].forEach((function(t,r,i){t>=0&&i.indexOf(t)===r&&e.addIndicesForPlacedTextSymbol(t)})),f.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedTextSymbol(f.verticalPlacedTextSymbolIndex);var d=this.icon.placedSymbolArray.get(h);if(d.numGlyphs){var m=d.vertexStartIndex;this.icon.indexArray.emplaceBack(m,m+1,m+2),this.icon.indexArray.emplaceBack(m+1,m+2,m+3)}}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}},si("SymbolBucket",vs,{omit:["layers","collisionBoxArray","features","compareText"]}),vs.MAX_GLYPHS=65535,vs.addDynamicAttributes=ds;var _s=new Ui({"symbol-placement":new Di(vt.layout_symbol["symbol-placement"]),"symbol-spacing":new Di(vt.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Di(vt.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Bi(vt.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Di(vt.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Di(vt.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Di(vt.layout_symbol["icon-ignore-placement"]),"icon-optional":new Di(vt.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Di(vt.layout_symbol["icon-rotation-alignment"]),"icon-size":new Bi(vt.layout_symbol["icon-size"]),"icon-text-fit":new Di(vt.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Di(vt.layout_symbol["icon-text-fit-padding"]),"icon-image":new Bi(vt.layout_symbol["icon-image"]),"icon-rotate":new Bi(vt.layout_symbol["icon-rotate"]),"icon-padding":new Di(vt.layout_symbol["icon-padding"]),"icon-keep-upright":new Di(vt.layout_symbol["icon-keep-upright"]),"icon-offset":new Bi(vt.layout_symbol["icon-offset"]),"icon-anchor":new Bi(vt.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Di(vt.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Di(vt.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Di(vt.layout_symbol["text-rotation-alignment"]),"text-field":new Bi(vt.layout_symbol["text-field"]),"text-font":new Bi(vt.layout_symbol["text-font"]),"text-size":new Bi(vt.layout_symbol["text-size"]),"text-max-width":new Bi(vt.layout_symbol["text-max-width"]),"text-line-height":new Di(vt.layout_symbol["text-line-height"]),"text-letter-spacing":new Bi(vt.layout_symbol["text-letter-spacing"]),"text-justify":new Bi(vt.layout_symbol["text-justify"]),"text-radial-offset":new Bi(vt.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Di(vt.layout_symbol["text-variable-anchor"]),"text-anchor":new Bi(vt.layout_symbol["text-anchor"]),"text-max-angle":new Di(vt.layout_symbol["text-max-angle"]),"text-rotate":new Bi(vt.layout_symbol["text-rotate"]),"text-padding":new Di(vt.layout_symbol["text-padding"]),"text-keep-upright":new Di(vt.layout_symbol["text-keep-upright"]),"text-transform":new Bi(vt.layout_symbol["text-transform"]),"text-offset":new Bi(vt.layout_symbol["text-offset"]),"text-allow-overlap":new Di(vt.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Di(vt.layout_symbol["text-ignore-placement"]),"text-optional":new Di(vt.layout_symbol["text-optional"])}),gs={paint:new Ui({"icon-opacity":new Bi(vt.paint_symbol["icon-opacity"]),"icon-color":new Bi(vt.paint_symbol["icon-color"]),"icon-halo-color":new Bi(vt.paint_symbol["icon-halo-color"]),"icon-halo-width":new Bi(vt.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Bi(vt.paint_symbol["icon-halo-blur"]),"icon-translate":new Di(vt.paint_symbol["icon-translate"]),"icon-translate-anchor":new Di(vt.paint_symbol["icon-translate-anchor"]),"text-opacity":new Bi(vt.paint_symbol["text-opacity"]),"text-color":new Bi(vt.paint_symbol["text-color"]),"text-halo-color":new Bi(vt.paint_symbol["text-halo-color"]),"text-halo-width":new Bi(vt.paint_symbol["text-halo-width"]),"text-halo-blur":new Bi(vt.paint_symbol["text-halo-blur"]),"text-translate":new Di(vt.paint_symbol["text-translate"]),"text-translate-anchor":new Di(vt.paint_symbol["text-translate-anchor"])}),layout:_s},xs=function(t){function e(e){t.call(this,e,gs)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e){t.prototype.recalculate.call(this,e),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment"))},e.prototype.getValueAndResolveTokens=function(t,e){var r,i=this.layout.get(t).evaluate(e,{}),n=this._unevaluatedLayout._values[t];return n.isDataDriven()||mr(n.value)?i:(r=e.properties,i.replace(/{([^{}]+)}/g,(function(t,e){return e in r?String(r[e]):""})))},e.prototype.createBucket=function(t){return new vs(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e}(Vi),bs={paint:new Ui({"background-color":new Di(vt.paint_background["background-color"]),"background-pattern":new Fi(vt.paint_background["background-pattern"]),"background-opacity":new Di(vt.paint_background["background-opacity"])})},ws=function(t){function e(e){t.call(this,e,bs)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Vi),Es={paint:new Ui({"raster-opacity":new Di(vt.paint_raster["raster-opacity"]),"raster-hue-rotate":new Di(vt.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Di(vt.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Di(vt.paint_raster["raster-brightness-max"]),"raster-saturation":new Di(vt.paint_raster["raster-saturation"]),"raster-contrast":new Di(vt.paint_raster["raster-contrast"]),"raster-resampling":new Di(vt.paint_raster["raster-resampling"]),"raster-fade-duration":new Di(vt.paint_raster["raster-fade-duration"])})},Ss=function(t){function e(e){t.call(this,e,Es)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Vi),Ts=function(t){function e(e){t.call(this,e,{}),this.implementation=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.is3D=function(){return"3d"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl)},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t)},e}(Vi),As={circle:Eo,heatmap:Lo,hillshade:Bo,fill:va,"fill-extrusion":Ba,line:Ja,symbol:xs,background:ws,raster:Ss};function Is(t){for(var e=0,r=0,i=0,n=t;i<n.length;i+=1){var o=n[i];e+=o.w*o.h,r=Math.max(r,o.w)}t.sort((function(t,e){return e.h-t.h}));for(var a=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}],s=0,u=0,l=0,p=t;l<p.length;l+=1)for(var c=p[l],h=a.length-1;h>=0;h--){var f=a[h];if(!(c.w>f.w||c.h>f.h)){if(c.x=f.x,c.y=f.y,u=Math.max(u,c.y+c.h),s=Math.max(s,c.x+c.w),c.w===f.w&&c.h===f.h){var d=a.pop();h<a.length&&(a[h]=d)}else c.h===f.h?(f.x+=c.w,f.w-=c.w):c.w===f.w?(f.y+=c.h,f.h-=c.h):(a.push({x:f.x+c.w,y:f.y,w:f.w-c.w,h:c.h}),f.y+=c.h,f.h-=c.h);break}}return{w:s,h:u,fill:e/(s*u)||0}}var zs=function(t,e){var r=e.pixelRatio,i=e.version;this.paddedRect=t,this.pixelRatio=r,this.version=i},ks={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};ks.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},ks.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},ks.tlbr.get=function(){return this.tl.concat(this.br)},ks.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(zs.prototype,ks);var Cs=function(t,e){var r={},i={};this.haveRenderCallbacks=[];var n=[];this.addImages(t,r,n),this.addImages(e,i,n);var o=Is(n),a=o.w,s=o.h,u=new Co({width:a||1,height:s||1});for(var l in t){var p=t[l],c=r[l].paddedRect;Co.copy(p.data,u,{x:0,y:0},{x:c.x+1,y:c.y+1},p.data)}for(var h in e){var f=e[h],d=i[h].paddedRect,m=d.x+1,y=d.y+1,v=f.data.width,_=f.data.height;Co.copy(f.data,u,{x:0,y:0},{x:m,y:y},f.data),Co.copy(f.data,u,{x:0,y:_-1},{x:m,y:y-1},{width:v,height:1}),Co.copy(f.data,u,{x:0,y:0},{x:m,y:y+_},{width:v,height:1}),Co.copy(f.data,u,{x:v-1,y:0},{x:m-1,y:y},{width:1,height:_}),Co.copy(f.data,u,{x:0,y:0},{x:m+v,y:y},{width:1,height:_})}this.image=u,this.iconPositions=r,this.patternPositions=i};Cs.prototype.addImages=function(t,e,r){for(var i in t){var n=t[i],o={x:0,y:0,w:n.data.width+2,h:n.data.height+2};r.push(o),e[i]=new zs(o,n),n.hasRenderCallback&&this.haveRenderCallbacks.push(i)}},Cs.prototype.patchUpdatedImages=function(t,e){for(var r in t.dispatchRenderCallbacks(this.haveRenderCallbacks),t.updatedImages)this.patchUpdatedImage(this.iconPositions[r],t.getImage(r),e),this.patchUpdatedImage(this.patternPositions[r],t.getImage(r),e)},Cs.prototype.patchUpdatedImage=function(t,e,r){if(t&&e&&t.version!==e.version){t.version=e.version;var i=t.tl,n=i[0],o=i[1];r.update(e.data,void 0,{x:n,y:o})}},si("ImagePosition",zs),si("ImageAtlas",Cs);var Ps=self.HTMLImageElement,Ms=self.HTMLCanvasElement,Ls=self.HTMLVideoElement,Ds=self.ImageData,Bs=function(t,e,r,i){this.context=t,this.format=r,this.texture=t.gl.createTexture(),this.update(e,i)};Bs.prototype.update=function(t,e,r){var i=t.width,n=t.height,o=!(this.size&&this.size[0]===i&&this.size[1]===n||r),a=this.context,s=a.gl;if(this.useMipmap=Boolean(e&&e.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),a.pixelStoreUnpackFlipY.set(!1),a.pixelStoreUnpack.set(1),a.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!e||!1!==e.premultiply)),o)this.size=[i,n],t instanceof Ps||t instanceof Ms||t instanceof Ls||t instanceof Ds?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,i,n,0,this.format,s.UNSIGNED_BYTE,t.data);else{var u=r||{x:0,y:0},l=u.x,p=u.y;t instanceof Ps||t instanceof Ms||t instanceof Ls||t instanceof Ds?s.texSubImage2D(s.TEXTURE_2D,0,l,p,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,l,p,i,n,s.RGBA,s.UNSIGNED_BYTE,t.data)}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D)},Bs.prototype.bind=function(t,e,r){var i=this.context.gl;i.bindTexture(i.TEXTURE_2D,this.texture),r!==i.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=i.LINEAR),t!==this.filter&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,t),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,r||t),this.filter=t),e!==this.wrap&&(i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,e),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,e),this.wrap=e)},Bs.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},Bs.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null};var Rs=function(t,e,r,i,n){var o,a,s=8*n-i-1,u=(1<<s)-1,l=u>>1,p=-7,c=r?n-1:0,h=r?-1:1,f=t[e+c];for(c+=h,o=f&(1<<-p)-1,f>>=-p,p+=s;p>0;o=256*o+t[e+c],c+=h,p-=8);for(a=o&(1<<-p)-1,o>>=-p,p+=i;p>0;a=256*a+t[e+c],c+=h,p-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=l}return(f?-1:1)*a*Math.pow(2,o-i)},Fs=function(t,e,r,i,n,o){var a,s,u,l=8*o-n-1,p=(1<<l)-1,c=p>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,d=i?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=p):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+c>=1?h/u:h*Math.pow(2,1-c))*u>=2&&(a++,u/=2),a+c>=p?(s=0,a=p):a+c>=1?(s=(e*u-1)*Math.pow(2,n),a+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,n),a=0));n>=8;t[r+f]=255&s,f+=d,s/=256,n-=8);for(a=a<<n|s,l+=n;l>0;t[r+f]=255&a,f+=d,a/=256,l-=8);t[r+f-d]|=128*m},Os=Us;function Us(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}function Vs(t){return t.type===Us.Bytes?t.readVarint()+t.pos:t.pos+1}function Ns(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function js(t,e,r){var i=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.ceil(Math.log(e)/(7*Math.LN2));r.realloc(i);for(var n=r.pos-1;n>=t;n--)r.buf[n+i]=r.buf[n]}function qs(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function Zs(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function Gs(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function Xs(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function Ws(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function Ks(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function Hs(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function Js(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function Ys(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function $s(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function Qs(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function tu(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}Us.Varint=0,Us.Fixed64=1,Us.Bytes=2,Us.Fixed32=5,Us.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var i=this.readVarint(),n=i>>3,o=this.pos;this.type=7&i,t(n,e,this),this.pos===o&&this.skip(i)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=$s(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=tu(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=$s(this.buf,this.pos)+4294967296*$s(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=$s(this.buf,this.pos)+4294967296*tu(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=Rs(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=Rs(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,i=this.buf;return e=127&(r=i[this.pos++]),r<128?e:(e|=(127&(r=i[this.pos++]))<<7,r<128?e:(e|=(127&(r=i[this.pos++]))<<14,r<128?e:(e|=(127&(r=i[this.pos++]))<<21,r<128?e:function(t,e,r){var i,n,o=r.buf;if(i=(112&(n=o[r.pos++]))>>4,n<128)return Ns(t,i,e);if(i|=(127&(n=o[r.pos++]))<<3,n<128)return Ns(t,i,e);if(i|=(127&(n=o[r.pos++]))<<10,n<128)return Ns(t,i,e);if(i|=(127&(n=o[r.pos++]))<<17,n<128)return Ns(t,i,e);if(i|=(127&(n=o[r.pos++]))<<24,n<128)return Ns(t,i,e);if(i|=(1&(n=o[r.pos++]))<<31,n<128)return Ns(t,i,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=i[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=function(t,e,r){for(var i="",n=e;n<r;){var o,a,s,u=t[n],l=null,p=u>239?4:u>223?3:u>191?2:1;if(n+p>r)break;1===p?u<128&&(l=u):2===p?128==(192&(o=t[n+1]))&&(l=(31&u)<<6|63&o)<=127&&(l=null):3===p?(o=t[n+1],a=t[n+2],128==(192&o)&&128==(192&a)&&((l=(15&u)<<12|(63&o)<<6|63&a)<=2047||l>=55296&&l<=57343)&&(l=null)):4===p&&(o=t[n+1],a=t[n+2],s=t[n+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||l>=1114112)&&(l=null)),null===l?(l=65533,p=1):l>65535&&(l-=65536,i+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),i+=String.fromCharCode(l),n+=p}return i}(this.buf,this.pos,t);return this.pos=t,e},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){var r=Vs(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){var e=Vs(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===Us.Varint)for(;this.buf[this.pos++]>127;);else if(e===Us.Bytes)this.pos=this.readVarint()+this.pos;else if(e===Us.Fixed32)this.pos+=4;else{if(e!==Us.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),Qs(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),Qs(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),Qs(this.buf,-1&t,this.pos),Qs(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),Qs(this.buf,-1&t,this.pos),Qs(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,i;if(t>=0?(r=t%4294967296|0,i=t/4294967296|0):(i=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,i=i+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t}(r,0,e),function(t,e){var r=(7&t)<<4;e.buf[e.pos++]|=r|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}(i,e)}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var i,n,o=0;o<e.length;o++){if((i=e.charCodeAt(o))>55295&&i<57344){if(!n){i>56319||o+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):n=i;continue}if(i<56320){t[r++]=239,t[r++]=191,t[r++]=189,n=i;continue}i=n-55296<<10|i-56320|65536,n=null}else n&&(t[r++]=239,t[r++]=191,t[r++]=189,n=null);i<128?t[r++]=i:(i<2048?t[r++]=i>>6|192:(i<65536?t[r++]=i>>12|224:(t[r++]=i>>18|240,t[r++]=i>>12&63|128),t[r++]=i>>6&63|128),t[r++]=63&i|128)}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&js(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),Fs(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),Fs(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var i=this.pos-r;i>=128&&js(r,i,this),this.pos=r-1,this.writeVarint(i),this.pos+=i},writeMessage:function(t,e,r){this.writeTag(t,Us.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){this.writeMessage(t,qs,e)},writePackedSVarint:function(t,e){this.writeMessage(t,Zs,e)},writePackedBoolean:function(t,e){this.writeMessage(t,Ws,e)},writePackedFloat:function(t,e){this.writeMessage(t,Gs,e)},writePackedDouble:function(t,e){this.writeMessage(t,Xs,e)},writePackedFixed32:function(t,e){this.writeMessage(t,Ks,e)},writePackedSFixed32:function(t,e){this.writeMessage(t,Hs,e)},writePackedFixed64:function(t,e){this.writeMessage(t,Js,e)},writePackedSFixed64:function(t,e){this.writeMessage(t,Ys,e)},writeBytesField:function(t,e){this.writeTag(t,Us.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,Us.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,Us.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,Us.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,Us.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,Us.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,Us.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,Us.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,Us.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,Us.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}};var eu=3;function ru(t,e,r){1===t&&r.readMessage(iu,e)}function iu(t,e,r){if(3===t){var i=r.readMessage(nu,{}),n=i.id,o=i.bitmap,a=i.width,s=i.height,u=i.left,l=i.top,p=i.advance;e.push({id:n,bitmap:new ko({width:a+2*eu,height:s+2*eu},o),metrics:{width:a,height:s,left:u,top:l,advance:p}})}}function nu(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint())}var ou=eu,au=function(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.callbackID=0,y(["receive"],this),this.target.addEventListener("message",this.receive,!1)};function su(t,e,r){var i=2*Math.PI*6378137/256/Math.pow(2,r);return[t*i-2*Math.PI*6378137/2,e*i-2*Math.PI*6378137/2]}au.prototype.send=function(t,e,r,i){var n=this,o=r?this.mapId+":"+this.callbackID++:null;r&&(this.callbacks[o]=r);var a=[];if(this.target.postMessage({targetMapId:i,sourceMapId:this.mapId,type:t,id:String(o),data:li(e,a)},a),r)return{cancel:function(){n.callbacks[o]=null,n.target.postMessage({targetMapId:i,sourceMapId:n.mapId,type:"<cancel>",id:String(o)})}}},au.prototype.receive=function(t){var e,r=this,i=t.data,n=i.id;if(!i.targetMapId||this.mapId===i.targetMapId){var o=function(t,e){delete r.callbacks[n];var i=[];r.target.postMessage({sourceMapId:r.mapId,type:"<response>",id:String(n),error:t?li(t):null,data:li(e,i)},i)};if("<response>"===i.type||"<cancel>"===i.type)e=this.callbacks[i.id],delete this.callbacks[i.id],e&&i.error?e(pi(i.error)):e&&e(null,pi(i.data));else if(void 0!==i.id&&this.parent[i.type]){this.callbacks[i.id]=null;var a=this.parent[i.type](i.sourceMapId,pi(i.data),o);a&&null===this.callbacks[i.id]&&(this.callbacks[i.id]=a.cancel)}else if(void 0!==i.id&&this.parent.getWorkerSource){var s=i.type.split("."),u=pi(i.data);this.parent.getWorkerSource(i.sourceMapId,s[0],u.source)[s[1]](u,o)}else this.parent[i.type](pi(i.data))}},au.prototype.remove=function(){this.target.removeEventListener("message",this.receive,!1)};var uu=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]))};uu.prototype.setNorthEast=function(t){return this._ne=t instanceof lu?new lu(t.lng,t.lat):lu.convert(t),this},uu.prototype.setSouthWest=function(t){return this._sw=t instanceof lu?new lu(t.lng,t.lat):lu.convert(t),this},uu.prototype.extend=function(t){var e,r,i=this._sw,n=this._ne;if(t instanceof lu)e=t,r=t;else{if(!(t instanceof uu))return Array.isArray(t)?t.every(Array.isArray)?this.extend(uu.convert(t)):this.extend(lu.convert(t)):this;if(e=t._sw,r=t._ne,!e||!r)return this}return i||n?(i.lng=Math.min(e.lng,i.lng),i.lat=Math.min(e.lat,i.lat),n.lng=Math.max(r.lng,n.lng),n.lat=Math.max(r.lat,n.lat)):(this._sw=new lu(e.lng,e.lat),this._ne=new lu(r.lng,r.lat)),this},uu.prototype.getCenter=function(){return new lu((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},uu.prototype.getSouthWest=function(){return this._sw},uu.prototype.getNorthEast=function(){return this._ne},uu.prototype.getNorthWest=function(){return new lu(this.getWest(),this.getNorth())},uu.prototype.getSouthEast=function(){return new lu(this.getEast(),this.getSouth())},uu.prototype.getWest=function(){return this._sw.lng},uu.prototype.getSouth=function(){return this._sw.lat},uu.prototype.getEast=function(){return this._ne.lng},uu.prototype.getNorth=function(){return this._ne.lat},uu.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},uu.prototype.toString=function(){return"LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},uu.prototype.isEmpty=function(){return!(this._sw&&this._ne)},uu.convert=function(t){return!t||t instanceof uu?t:new uu(t)};var lu=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};function pu(t){return 2*Math.PI*6378137*Math.cos(t*Math.PI/180)}function cu(t){return(180+t)/360}function hu(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function fu(t,e){return t/pu(e)}function du(t){var e=180-360*t;return 360/Math.PI*Math.atan(Math.exp(e*Math.PI/180))-90}lu.prototype.wrap=function(){return new lu(p(this.lng,-180,180),this.lat)},lu.prototype.toArray=function(){return[this.lng,this.lat]},lu.prototype.toString=function(){return"LngLat("+this.lng+", "+this.lat+")"},lu.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,r=e/Math.cos(Math.PI/180*this.lat);return new uu(new lu(this.lng-r,this.lat-e),new lu(this.lng+r,this.lat+e))},lu.convert=function(t){if(t instanceof lu)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new lu(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new lu(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var mu=function(t,e,r){void 0===r&&(r=0),this.x=+t,this.y=+e,this.z=+r};mu.fromLngLat=function(t,e){void 0===e&&(e=0);var r=lu.convert(t);return new mu(cu(r.lng),hu(r.lat),fu(e,r.lat))},mu.prototype.toLngLat=function(){return new lu(360*this.x-180,du(this.y))},mu.prototype.toAltitude=function(){return this.z*pu(du(this.y))};var yu=function(t,e,r){this.z=t,this.x=e,this.y=r,this.key=gu(0,t,e,r)};yu.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},yu.prototype.url=function(t,e){var r,i,n,o,a,s=(r=this.x,i=this.y,n=this.z,o=su(256*r,256*(i=Math.pow(2,n)-i-1),n),a=su(256*(r+1),256*(i+1),n),o[0]+","+o[1]+","+a[0]+","+a[1]),u=function(t,e,r){for(var i,n="",o=t;o>0;o--)n+=(e&(i=1<<o-1)?1:0)+(r&i?2:0);return n}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",u).replace("{bbox-epsg-3857}",s)},yu.prototype.getTilePoint=function(t){var e=Math.pow(2,this.z);return new n((t.x*e-this.x)*Jn,(t.y*e-this.y)*Jn)};var vu=function(t,e){this.wrap=t,this.canonical=e,this.key=gu(t,e.z,e.x,e.y)},_u=function(t,e,r,i,n){this.overscaledZ=t,this.wrap=e,this.canonical=new yu(r,+i,+n),this.key=gu(e,t,i,n)};function gu(t,e,r,i){(t*=2)<0&&(t=-1*t-1);var n=1<<e;return 32*(n*n*t+n*i+r)+e}_u.prototype.equals=function(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)},_u.prototype.scaledTo=function(t){var e=this.canonical.z-t;return t>this.canonical.z?new _u(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new _u(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},_u.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e},_u.prototype.children=function(t){if(this.overscaledZ>=t)return[new _u(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,r=2*this.canonical.x,i=2*this.canonical.y;return[new _u(e,this.wrap,e,r,i),new _u(e,this.wrap,e,r+1,i),new _u(e,this.wrap,e,r,i+1),new _u(e,this.wrap,e,r+1,i+1)]},_u.prototype.isLessThan=function(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))},_u.prototype.wrapped=function(){return new _u(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},_u.prototype.unwrapTo=function(t){return new _u(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)},_u.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},_u.prototype.toUnwrapped=function(){return new vu(this.wrap,this.canonical)},_u.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},_u.prototype.getTilePoint=function(t){return this.canonical.getTilePoint(new mu(t.x-this.wrap,t.y))},si("CanonicalTileID",yu),si("OverscaledTileID",_u,{omit:["posMatrix"]});var xu=function(t,e,r){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return w('"'+r+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');var i=this.dim=e.height;this.stride=this.dim+2,this.data=new Int32Array(this.stride*this.stride);for(var n=e.data,o="terrarium"===r?this._unpackTerrarium:this._unpackMapbox,a=0;a<i;a++)for(var s=0;s<i;s++){var u=4*(a*i+s);this.set(s,a,o(n[u],n[u+1],n[u+2]))}for(var l=0;l<i;l++)this.set(-1,l,this.get(0,l)),this.set(i,l,this.get(i-1,l)),this.set(l,-1,this.get(l,0)),this.set(l,i,this.get(l,i-1));this.set(-1,-1,this.get(0,0)),this.set(i,-1,this.get(i-1,0)),this.set(-1,i,this.get(0,i-1)),this.set(i,i,this.get(i-1,i-1))};xu.prototype.set=function(t,e,r){this.data[this._idx(t,e)]=r+65536},xu.prototype.get=function(t,e){return this.data[this._idx(t,e)]-65536},xu.prototype._idx=function(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)},xu.prototype._unpackMapbox=function(t,e,r){return(256*t*256+256*e+r)/10-1e4},xu.prototype._unpackTerrarium=function(t,e,r){return 256*t+e+r/256-32768},xu.prototype.getPixels=function(){return new Co({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},xu.prototype.backfillBorder=function(t,e,r){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");var i=e*this.dim,n=e*this.dim+this.dim,o=r*this.dim,a=r*this.dim+this.dim;switch(e){case-1:i=n-1;break;case 1:n=i+1}switch(r){case-1:o=a-1;break;case 1:a=o+1}for(var s=-e*this.dim,u=-r*this.dim,l=o;l<a;l++)for(var p=i;p<n;p++)this.set(p,l,t.get(p+s,l+u))},si("DEMData",xu);var bu=Zi([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]),wu=function(t){this._stringToNumber={},this._numberToString=[];for(var e=0;e<t.length;e++){var r=t[e];this._stringToNumber[r]=e,this._numberToString[e]=r}};wu.prototype.encode=function(t){return this._stringToNumber[t]},wu.prototype.decode=function(t){return this._numberToString[t]};var Eu=function(t,e,r,i){this.type="Feature",this._vectorTileFeature=t,t._z=e,t._x=r,t._y=i,this.properties=t.properties,null!=t.id&&(this.id=t.id)},Su={geometry:{configurable:!0}};Su.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},Su.geometry.set=function(t){this._geometry=t},Eu.prototype.toJSON=function(){var t={geometry:this.geometry};for(var e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&(t[e]=this[e]);return t},Object.defineProperties(Eu.prototype,Su);var Tu=function(){this.state={},this.stateChanges={},this.deletedStates={}};Tu.prototype.updateState=function(t,e,r){var i=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][i]=this.stateChanges[t][i]||{},c(this.stateChanges[t][i],r),null===this.deletedStates[t])for(var n in this.deletedStates[t]={},this.state[t])n!==i&&(this.deletedStates[t][n]=null);else if(this.deletedStates[t]&&null===this.deletedStates[t][i])for(var o in this.deletedStates[t][i]={},this.state[t][i])r[o]||(this.deletedStates[t][i][o]=null);else for(var a in r)this.deletedStates[t]&&this.deletedStates[t][i]&&null===this.deletedStates[t][i][a]&&delete this.deletedStates[t][i][a]},Tu.prototype.removeFeatureState=function(t,e,r){if(null!==this.deletedStates[t]){var i=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},r&&e)null!==this.deletedStates[t][i]&&(this.deletedStates[t][i]=this.deletedStates[t][i]||{},this.deletedStates[t][i][r]=null);else if(e)if(this.stateChanges[t]&&this.stateChanges[t][i])for(r in this.deletedStates[t][i]={},this.stateChanges[t][i])this.deletedStates[t][i][r]=null;else this.deletedStates[t][i]=null;else this.deletedStates[t]=null}},Tu.prototype.getState=function(t,e){var r=String(e),i=this.state[t]||{},n=this.stateChanges[t]||{},o=c({},i[r],n[r]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){var a=this.deletedStates[t][e];if(null===a)return{};for(var s in a)delete o[s]}return o},Tu.prototype.initializeTileState=function(t,e){t.setFeatureState(this.state,e)},Tu.prototype.coalesceChanges=function(t,e){var r={};for(var i in this.stateChanges){this.state[i]=this.state[i]||{};var n={};for(var o in this.stateChanges[i])this.state[i][o]||(this.state[i][o]={}),c(this.state[i][o],this.stateChanges[i][o]),n[o]=this.state[i][o];r[i]=n}for(var a in this.deletedStates){this.state[a]=this.state[a]||{};var s={};if(null===this.deletedStates[a])for(var u in this.state[a])s[u]={},this.state[a][u]={};else for(var l in this.deletedStates[a]){if(null===this.deletedStates[a][l])this.state[a][l]={};else for(var p=0,h=Object.keys(this.deletedStates[a][l]);p<h.length;p+=1){var f=h[p];delete this.state[a][l][f]}s[l]=this.state[a][l]}r[a]=r[a]||{},c(r[a],s)}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(var d in t)t[d].setFeatureState(r,e)};var Au=function(t,e,r){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=e||new ri(Jn,16,0),this.grid3D=new ri(Jn,16,0),this.featureIndexArray=r||new Tn};function Iu(t){for(var e=1/0,r=1/0,i=-1/0,n=-1/0,o=0,a=t;o<a.length;o+=1){var s=a[o];e=Math.min(e,s.x),r=Math.min(r,s.y),i=Math.max(i,s.x),n=Math.max(n,s.y)}return{minX:e,minY:r,maxX:i,maxY:n}}function zu(t,e){return e-t}Au.prototype.insert=function(t,e,r,i,n,o){var a=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,i,n);for(var s=o?this.grid3D:this.grid,u=0;u<e.length;u++){for(var l=e[u],p=[1/0,1/0,-1/0,-1/0],c=0;c<l.length;c++){var h=l[c];p[0]=Math.min(p[0],h.x),p[1]=Math.min(p[1],h.y),p[2]=Math.max(p[2],h.x),p[3]=Math.max(p[3],h.y)}p[0]<Jn&&p[1]<Jn&&p[2]>=0&&p[3]>=0&&s.insert(a,p[0],p[1],p[2],p[3])}},Au.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new Ia.VectorTile(new Os(this.rawTileData)).layers,this.sourceLayerCoder=new wu(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},Au.prototype.query=function(t,e,r){var i=this;this.loadVTLayers();for(var o=t.params||{},a=Jn/t.tileSize/t.scale,s=Cr(o.filter),u=t.queryGeometry,l=t.queryPadding*a,p=Iu(u),c=this.grid.query(p.minX-l,p.minY-l,p.maxX+l,p.maxY+l),h=Iu(t.cameraQueryGeometry),f=0,d=this.grid3D.query(h.minX-l,h.minY-l,h.maxX+l,h.maxY+l,(function(e,r,i,o){return function(t,e,r,i,o){for(var a=0,s=t;a<s.length;a+=1){var u=s[a];if(e<=u.x&&r<=u.y&&i>=u.x&&o>=u.y)return!0}var l=[new n(e,r),new n(e,o),new n(i,o),new n(i,r)];if(t.length>2)for(var p=0,c=l;p<c.length;p+=1)if(po(t,c[p]))return!0;for(var h=0;h<t.length-1;h++)if(co(t[h],t[h+1],l))return!0;return!1}(t.cameraQueryGeometry,e-l,r-l,i+l,o+l)}));f<d.length;f+=1){var m=d[f];c.push(m)}c.sort(zu);for(var y,v={},_=function(n){var l=c[n];if(l!==y){y=l;var p=i.featureIndexArray.get(l),h=null;i.loadMatchingFeature(v,p.bucketIndex,p.sourceLayerIndex,p.featureIndex,s,o.layers,e,(function(e,n){h||(h=$n(e));var o={};return e.id&&(o=r.getState(n.sourceLayer||"_geojsonTileLayer",e.id)),n.queryIntersectsFeature(u,e,o,h,i.z,t.transform,a,t.pixelPosMatrix)}))}},g=0;g<c.length;g++)_(g);return v},Au.prototype.loadMatchingFeature=function(t,e,r,i,n,o,a,s){var u=this.bucketLayerIDs[e];if(!o||function(t,e){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>=0)return!0;return!1}(o,u)){var l=this.sourceLayerCoder.decode(r),p=this.vtLayers[l].feature(i);if(n(new Ti(this.tileID.overscaledZ),p))for(var c=0;c<u.length;c++){var h=u[c];if(!(o&&o.indexOf(h)<0)){var f=a[h];if(f){var d=!s||s(p,f);if(d){var m=new Eu(p,this.z,this.x,this.y);m.layer=f.serialize();var y=t[h];void 0===y&&(y=t[h]=[]),y.push({featureIndex:i,feature:m,intersectionZ:d})}}}}}},Au.prototype.lookupSymbolFeatures=function(t,e,r,i,n,o){var a={};this.loadVTLayers();for(var s=Cr(i),u=0,l=t;u<l.length;u+=1){var p=l[u];this.loadMatchingFeature(a,e,r,p,s,n,o)}return a},Au.prototype.hasLayer=function(t){for(var e=0,r=this.bucketLayerIDs;e<r.length;e+=1)for(var i=0,n=r[e];i<n.length;i+=1)if(t===n[i])return!0;return!1},si("FeatureIndex",Au,{omit:["rawTileData","sourceLayerCoder"]});var ku=function(t,e){this.tileID=t,this.uid=f(),this.uses=0,this.tileSize=e,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.expiredRequestCount=0,this.state="loading"};ku.prototype.registerFadeDuration=function(t){var e=t+this.timeAdded;e<M.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e)},ku.prototype.wasRequested=function(){return"errored"===this.state||"loaded"===this.state||"reloading"===this.state},ku.prototype.loadVectorData=function(t,e,r){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",t){for(var i in t.featureIndex&&(this.latestFeatureIndex=t.featureIndex,t.rawTileData?(this.latestRawTileData=t.rawTileData,this.latestFeatureIndex.rawTileData=t.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=t.collisionBoxArray,this.buckets=function(t,e){var r={};if(!e)return r;for(var i=function(){var t=o[n],i=t.layerIds.map((function(t){return e.getLayer(t)})).filter(Boolean);if(0!==i.length){t.layers=i,t.stateDependentLayerIds&&(t.stateDependentLayers=t.stateDependentLayerIds.map((function(t){return i.filter((function(e){return e.id===t}))[0]})));for(var a=0,s=i;a<s.length;a+=1){var u=s[a];r[u.id]=t}}},n=0,o=t;n<o.length;n+=1)i();return r}(t.buckets,e.style),this.hasSymbolBuckets=!1,this.buckets){var n=this.buckets[i];if(n instanceof vs){if(this.hasSymbolBuckets=!0,!r)break;n.justReloaded=!0}}for(var o in this.queryPadding=0,this.buckets){var a=this.buckets[o];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(o).queryRadius(a))}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage)}else this.collisionBoxArray=new mn},ku.prototype.unloadVectorData=function(){for(var t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"},ku.prototype.unloadDEMData=function(){this.dem=null,this.neighboringTiles=null,this.state="unloaded"},ku.prototype.getBucket=function(t){return this.buckets[t.id]},ku.prototype.upload=function(t){for(var e in this.buckets){var r=this.buckets[e];r.uploadPending()&&r.upload(t)}var i=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new Bs(t,this.imageAtlas.image,i.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new Bs(t,this.glyphAtlasImage,i.ALPHA),this.glyphAtlasImage=null)},ku.prototype.prepare=function(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture)},ku.prototype.queryRenderedFeatures=function(t,e,r,i,n,o,a,s,u){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:i,scale:n,tileSize:this.tileSize,pixelPosMatrix:u,transform:a,params:o,queryPadding:this.queryPadding*s},t,e):{}},ku.prototype.querySourceFeatures=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData){var r=this.latestFeatureIndex.loadVTLayers(),i=e?e.sourceLayer:"",n=r._geojsonTileLayer||r[i];if(n)for(var o=Cr(e&&e.filter),a=this.tileID.canonical,s=a.z,u=a.x,l=a.y,p={z:s,x:u,y:l},c=0;c<n.length;c++){var h=n.feature(c);if(o(new Ti(this.tileID.overscaledZ),h)){var f=new Eu(h,s,u,l);f.tile=p,t.push(f)}}}},ku.prototype.clearMask=function(){this.segments&&(this.segments.destroy(),delete this.segments),this.maskedBoundsBuffer&&(this.maskedBoundsBuffer.destroy(),delete this.maskedBoundsBuffer),this.maskedIndexBuffer&&(this.maskedIndexBuffer.destroy(),delete this.maskedIndexBuffer)},ku.prototype.setMask=function(t,e){if(!a(this.mask,t)&&(this.mask=t,this.clearMask(),!a(t,{0:!0}))){var r=new Wi,i=new ln;this.segments=new In,this.segments.prepareSegment(0,r,i);for(var o=Object.keys(t),s=0;s<o.length;s++){var u=t[o[s]],l=Jn>>u.z,p=new n(u.x*l,u.y*l),c=new n(p.x+l,p.y+l),h=this.segments.prepareSegment(4,r,i);r.emplaceBack(p.x,p.y,p.x,p.y),r.emplaceBack(c.x,p.y,c.x,p.y),r.emplaceBack(p.x,c.y,p.x,c.y),r.emplaceBack(c.x,c.y,c.x,c.y);var f=h.vertexLength;i.emplaceBack(f,f+1,f+2),i.emplaceBack(f+1,f+2,f+3),h.vertexLength+=4,h.primitiveLength+=2}this.maskedBoundsBuffer=e.createVertexBuffer(r,bu.members),this.maskedIndexBuffer=e.createIndexBuffer(i)}},ku.prototype.hasData=function(){return"loaded"===this.state||"reloading"===this.state||"expired"===this.state},ku.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},ku.prototype.setExpiryData=function(t){var e=this.expirationTime;if(t.cacheControl){var r=function(t){var e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,r,i,n){var o=i||n;return e[r]=!o||o.toLowerCase(),""})),e["max-age"]){var r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}(t.cacheControl);r["max-age"]&&(this.expirationTime=Date.now()+1e3*r["max-age"])}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){var i=Date.now(),n=!1;if(this.expirationTime>i)n=!1;else if(e)if(this.expirationTime<e)n=!0;else{var o=this.expirationTime-e;o?this.expirationTime=i+Math.max(o,3e4):n=!0}else n=!0;n?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0}},ku.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},ku.prototype.setFeatureState=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(t).length){var r=this.latestFeatureIndex.loadVTLayers();for(var i in this.buckets){var n=this.buckets[i],o=n.layers[0].sourceLayer||"_geojsonTileLayer",a=r[o],s=t[o];a&&s&&0!==Object.keys(s).length&&(n.update(s,a,this.imageAtlas&&this.imageAtlas.patternPositions||{}),e&&e.style&&(this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(i).queryRadius(n))))}}},ku.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},ku.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<M.now()},ku.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0},ku.prototype.setHoldDuration=function(t){this.symbolFadeHoldUntil=M.now()+t};var Cu=24,Pu={horizontal:1,vertical:2,horizontalOnly:3},Mu=function(){this.text="",this.sectionIndex=[],this.sections=[]};function Lu(t,e,r,i,n,o,a,s,u,l){var p,c=Mu.fromFeature(t,r);l===Pu.vertical&&c.verticalizePunctuation();var h=Si.processBidirectionalText,f=Si.processStyledBidirectionalText;if(h&&1===c.sections.length){p=[];for(var d=0,m=h(c.toString(),Uu(c,s,i,e));d<m.length;d+=1){var y=m[d],v=new Mu;v.text=y,v.sections=c.sections;for(var _=0;_<y.length;_++)v.sectionIndex.push(0);p.push(v)}}else if(f){p=[];for(var g=0,x=f(c.text,c.sectionIndex,Uu(c,s,i,e));g<x.length;g+=1){var b=x[g],w=new Mu;w.text=b[0],w.sectionIndex=b[1],w.sections=c.sections,p.push(w)}}else p=function(t,e){for(var r=[],i=t.text,n=0,o=0,a=e;o<a.length;o+=1){var s=a[o];r.push(t.substring(n,s)),n=s}return n<i.length&&r.push(t.substring(n,i.length)),r}(c,Uu(c,s,i,e));var E=[],S={positionedGlyphs:E,text:c.toString(),top:u[1],bottom:u[1],left:u[0],right:u[0],writingMode:l,lineCount:p.length};return function(t,e,r,i,n,o,a,s){for(var u=0,l=-17,p=0,c=t.positionedGlyphs,h="right"===o?1:"left"===o?0:.5,f=0,d=r;f<d.length;f+=1){var m=d[f];m.trim();var y=m.getMaxScale();if(m.length()){for(var v=c.length,_=0;_<m.length();_++){var g=m.getSection(_),x=m.getCharCode(_),b=24*(y-g.scale),w=e[g.fontStack],E=w&&w[x];E&&(yi(x)&&a!==Pu.horizontal?(c.push({glyph:x,x:u,y:b,vertical:!0,scale:g.scale,fontStack:g.fontStack}),u+=Cu*g.scale+s):(c.push({glyph:x,x:u,y:l+b,vertical:!1,scale:g.scale,fontStack:g.fontStack}),u+=E.metrics.advance*g.scale+s))}if(c.length!==v){var S=u-s;p=Math.max(S,p),Nu(c,e,v,c.length-1,h)}u=0,l+=i*y}else l+=i}var T=Vu(n),A=T.horizontalAlign,I=T.verticalAlign;!function(t,e,r,i,n,o,a){for(var s=(e-r)*n,u=(-i*a+.5)*o,l=0;l<t.length;l++)t[l].x+=s,t[l].y+=u}(c,h,A,I,p,i,r.length);var z=l- -17;t.top+=-I*z,t.bottom=t.top+z,t.left+=-A*p,t.right=t.left+p}(S,e,p,n,o,a,l,s),!!E.length&&S}Mu.fromFeature=function(t,e){for(var r=new Mu,i=0;i<t.sections.length;i++){var n=t.sections[i];r.sections.push({scale:n.scale||1,fontStack:n.fontStack||e}),r.text+=n.text;for(var o=0;o<n.text.length;o++)r.sectionIndex.push(i)}return r},Mu.prototype.length=function(){return this.text.length},Mu.prototype.getSection=function(t){return this.sections[this.sectionIndex[t]]},Mu.prototype.getCharCode=function(t){return this.text.charCodeAt(t)},Mu.prototype.verticalizePunctuation=function(){this.text=function(t){for(var e="",r=0;r<t.length;r++){var i=t.charCodeAt(r+1)||null,n=t.charCodeAt(r-1)||null;i&&vi(i)&&!ns[t[r+1]]||n&&vi(n)&&!ns[t[r-1]]||!ns[t[r]]?e+=t[r]:e+=ns[t[r]]}return e}(this.text)},Mu.prototype.trim=function(){for(var t=0,e=0;e<this.text.length&&Du[this.text.charCodeAt(e)];e++)t++;for(var r=this.text.length,i=this.text.length-1;i>=0&&i>=t&&Du[this.text.charCodeAt(i)];i--)r--;this.text=this.text.substring(t,r),this.sectionIndex=this.sectionIndex.slice(t,r)},Mu.prototype.substring=function(t,e){var r=new Mu;return r.text=this.text.substring(t,e),r.sectionIndex=this.sectionIndex.slice(t,e),r.sections=this.sections,r},Mu.prototype.toString=function(){return this.text},Mu.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,r){return Math.max(e,t.sections[r].scale)}),0)};var Du={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},Bu={};function Ru(t,e,r,i){var n=Math.pow(t-e,2);return i?t<e?n/2:2*n:n+Math.abs(r)*r}function Fu(t,e){var r=0;return 10===t&&(r-=1e4),40!==t&&65288!==t||(r+=50),41!==e&&65289!==e||(r+=50),r}function Ou(t,e,r,i,n,o){for(var a=null,s=Ru(e,r,n,o),u=0,l=i;u<l.length;u+=1){var p=l[u],c=Ru(e-p.x,r,n,o)+p.badness;c<=s&&(a=p,s=c)}return{index:t,x:e,priorBreak:a,badness:s}}function Uu(t,e,r,i){if(!r)return[];if(!t)return[];for(var n,o=[],a=function(t,e,r,i){for(var n=0,o=0;o<t.length();o++){var a=t.getSection(o),s=i[a.fontStack],u=s&&s[t.getCharCode(o)];u&&(n+=u.metrics.advance*a.scale+e)}return n/Math.max(1,Math.ceil(n/r))}(t,e,r,i),s=0,u=0;u<t.length();u++){var l=t.getSection(u),p=t.getCharCode(u),c=i[l.fontStack],h=c&&c[p];h&&!Du[p]&&(s+=h.metrics.advance*l.scale+e),u<t.length()-1&&(Bu[p]||!((n=p)<11904)&&(hi["Bopomofo Extended"](n)||hi.Bopomofo(n)||hi["CJK Compatibility Forms"](n)||hi["CJK Compatibility Ideographs"](n)||hi["CJK Compatibility"](n)||hi["CJK Radicals Supplement"](n)||hi["CJK Strokes"](n)||hi["CJK Symbols and Punctuation"](n)||hi["CJK Unified Ideographs Extension A"](n)||hi["CJK Unified Ideographs"](n)||hi["Enclosed CJK Letters and Months"](n)||hi["Halfwidth and Fullwidth Forms"](n)||hi.Hiragana(n)||hi["Ideographic Description Characters"](n)||hi["Kangxi Radicals"](n)||hi["Katakana Phonetic Extensions"](n)||hi.Katakana(n)||hi["Vertical Forms"](n)||hi["Yi Radicals"](n)||hi["Yi Syllables"](n)))&&o.push(Ou(u+1,s,a,o,Fu(p,t.getCharCode(u+1)),!1))}return function t(e){return e?t(e.priorBreak).concat(e.index):[]}(Ou(t.length(),s,a,o,0,!0))}function Vu(t){var e=.5,r=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0}switch(t){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0}return{horizontalAlign:e,verticalAlign:r}}function Nu(t,e,r,i,n){if(n){var o=t[i],a=e[o.fontStack],s=a&&a[o.glyph];if(s)for(var u=s.metrics.advance*o.scale,l=(t[i].x+u)*n,p=r;p<=i;p++)t[p].x-=l}}function ju(t,e,r){var i=Vu(r),n=i.horizontalAlign,o=i.verticalAlign,a=e[0],s=e[1],u=a-t.displaySize[0]*n,l=u+t.displaySize[0],p=s-t.displaySize[1]*o;return{image:t,top:p,bottom:p+t.displaySize[1],left:u,right:l}}function qu(t,e,r,i,n){if(void 0===e.segment)return!0;for(var o=e,a=e.segment+1,s=0;s>-r/2;){if(--a<0)return!1;s-=t[a].dist(o),o=t[a]}s+=t[a].dist(t[a+1]),a++;for(var u=[],l=0;s<r/2;){var p=t[a-1],c=t[a],h=t[a+1];if(!h)return!1;var f=p.angleTo(c)-c.angleTo(h);for(f=Math.abs((f+3*Math.PI)%(2*Math.PI)-Math.PI),u.push({distance:s,angleDelta:f}),l+=f;s-u[0].distance>i;)l-=u.shift().angleDelta;if(l>n)return!1;a++,s+=c.dist(h)}return!0}function Zu(t){for(var e=0,r=0;r<t.length-1;r++)e+=t[r].dist(t[r+1]);return e}function Gu(t,e,r){return t?.6*e*r:0}function Xu(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function Wu(t,e,r,i,n,o){for(var a=Gu(r,n,o),s=Xu(r,i)*o,u=0,l=Zu(t)/2,p=0;p<t.length-1;p++){var c=t[p],h=t[p+1],f=c.dist(h);if(u+f>l){var d=(l-u)/f,m=pe(c.x,h.x,d),y=pe(c.y,h.y,d),v=new os(m,y,h.angleTo(c),p);return v._round(),!a||qu(t,v,s,a,e)?v:void 0}u+=f}}function Ku(t,e,r,i,n,o,a,s,u){var l=Gu(i,o,a),p=Xu(i,n),c=p*a,h=0===t[0].x||t[0].x===u||0===t[0].y||t[0].y===u;return e-c<e/4&&(e=c+e/4),function t(e,r,i,n,o,a,s,u,l){for(var p=a/2,c=Zu(e),h=0,f=r-i,d=[],m=0;m<e.length-1;m++){for(var y=e[m],v=e[m+1],_=y.dist(v),g=v.angleTo(y);f+i<h+_;){var x=((f+=i)-h)/_,b=pe(y.x,v.x,x),w=pe(y.y,v.y,x);if(b>=0&&b<l&&w>=0&&w<l&&f-p>=0&&f+p<=c){var E=new os(b,w,g,m);E._round(),n&&!qu(e,E,a,n,o)||d.push(E)}}h+=_}return u||d.length||s||(d=t(e,h/2,i,n,o,a,s,!0,l)),d}(t,h?e/2*s%e:(p/2+2*o)*a*s%e,e,l,r,c,h,!1,u)}Bu[10]=!0,Bu[32]=!0,Bu[38]=!0,Bu[40]=!0,Bu[41]=!0,Bu[43]=!0,Bu[45]=!0,Bu[47]=!0,Bu[173]=!0,Bu[183]=!0,Bu[8203]=!0,Bu[8208]=!0,Bu[8211]=!0,Bu[8231]=!0;var Hu=function(t,e,r,i,o,a,s,u,l,p,c,h){var f=s.top*u-l,d=s.bottom*u+l,m=s.left*u-l,y=s.right*u+l;if(this.boxStartIndex=t.length,p){var v=d-f,_=y-m;v>0&&(v=Math.max(10*u,v),this._addLineCollisionCircles(t,e,r,r.segment,_,v,i,o,a,c))}else{if(h){var g=new n(m,f),x=new n(y,f),b=new n(m,d),w=new n(y,d),E=h*Math.PI/180;g._rotate(E),x._rotate(E),b._rotate(E),w._rotate(E),m=Math.min(g.x,x.x,b.x,w.x),y=Math.max(g.x,x.x,b.x,w.x),f=Math.min(g.y,x.y,b.y,w.y),d=Math.max(g.y,x.y,b.y,w.y)}t.emplaceBack(r.x,r.y,m,f,y,d,i,o,a,0,0)}this.boxEndIndex=t.length};Hu.prototype._addLineCollisionCircles=function(t,e,r,i,n,o,a,s,u,l){var p=o/2,c=Math.floor(n/p)||1,h=1+.4*Math.log(l)/Math.LN2,f=Math.floor(c*h/2),d=-o/2,m=r,y=i+1,v=d,_=-n/2,g=_-n/4;do{if(--y<0){if(v>_)return;y=0;break}v-=e[y].dist(m),m=e[y]}while(v>g);for(var x=e[y].dist(e[y+1]),b=-f;b<c+f;b++){var w=b*p,E=_+w;if(w<0&&(E+=w),w>n&&(E+=w-n),!(E<v)){for(;v+x<E;){if(v+=x,++y+1>=e.length)return;x=e[y].dist(e[y+1])}var S=E-v,T=e[y],A=e[y+1].sub(T)._unit()._mult(S)._add(T)._round(),I=Math.abs(E-d)<p?0:.8*(E-d);t.emplaceBack(A.x,A.y,-o/2,-o/2,o/2,o/2,a,s,u,o/2,I)}}};var Ju=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=Yu),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r)};function Yu(t,e){return t<e?-1:t>e?1:0}function $u(t,e,r){void 0===e&&(e=1),void 0===r&&(r=!1);for(var i=1/0,o=1/0,a=-1/0,s=-1/0,u=t[0],l=0;l<u.length;l++){var p=u[l];(!l||p.x<i)&&(i=p.x),(!l||p.y<o)&&(o=p.y),(!l||p.x>a)&&(a=p.x),(!l||p.y>s)&&(s=p.y)}var c=a-i,h=s-o,f=Math.min(c,h),d=f/2,m=new Ju([],Qu);if(0===f)return new n(i,o);for(var y=i;y<a;y+=f)for(var v=o;v<s;v+=f)m.push(new tl(y+d,v+d,d,t));for(var _=function(t){for(var e=0,r=0,i=0,n=t[0],o=0,a=n.length,s=a-1;o<a;s=o++){var u=n[o],l=n[s],p=u.x*l.y-l.x*u.y;r+=(u.x+l.x)*p,i+=(u.y+l.y)*p,e+=3*p}return new tl(r/e,i/e,0,t)}(t),g=m.length;m.length;){var x=m.pop();(x.d>_.d||!_.d)&&(_=x,r&&console.log("found best %d after %d probes",Math.round(1e4*x.d)/1e4,g)),x.max-_.d<=e||(d=x.h/2,m.push(new tl(x.p.x-d,x.p.y-d,d,t)),m.push(new tl(x.p.x+d,x.p.y-d,d,t)),m.push(new tl(x.p.x-d,x.p.y+d,d,t)),m.push(new tl(x.p.x+d,x.p.y+d,d,t)),g+=4)}return r&&(console.log("num probes: "+g),console.log("best distance: "+_.d)),_.p}function Qu(t,e){return e.max-t.max}function tl(t,e,r,i){this.p=new n(t,e),this.h=r,this.d=function(t,e){for(var r=!1,i=1/0,n=0;n<e.length;n++)for(var o=e[n],a=0,s=o.length,u=s-1;a<s;u=a++){var l=o[a],p=o[u];l.y>t.y!=p.y>t.y&&t.x<(p.x-l.x)*(t.y-l.y)/(p.y-l.y)+l.x&&(r=!r),i=Math.min(i,uo(t,l,p))}return(r?1:-1)*Math.sqrt(i)}(this.p,i),this.max=this.d+this.h*Math.SQRT2}Ju.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1)},Ju.prototype.pop=function(){if(0!==this.length){var t=this.data[0];return this.length--,this.length>0&&(this.data[0]=this.data[this.length],this._down(0)),this.data.pop(),t}},Ju.prototype.peek=function(){return this.data[0]},Ju.prototype._up=function(t){for(var e=this.data,r=this.compare,i=e[t];t>0;){var n=t-1>>1,o=e[n];if(r(i,o)>=0)break;e[t]=o,t=n}e[t]=i},Ju.prototype._down=function(t){for(var e=this.data,r=this.compare,i=this.length>>1,n=e[t];t<i;){var o=1+(t<<1),a=e[o],s=o+1;if(s<this.length&&r(e[s],a)<0&&(o=s,a=e[s]),r(a,n)>=0)break;e[t]=a,t=o}e[t]=n};var el=e((function(t){t.exports=function(t,e){var r,i,n,o,a,s,u,l;for(r=3&t.length,i=t.length-r,n=e,a=3432918353,s=461845907,l=0;l<i;)u=255&t.charCodeAt(l)|(255&t.charCodeAt(++l))<<8|(255&t.charCodeAt(++l))<<16|(255&t.charCodeAt(++l))<<24,++l,n=27492+(65535&(o=5*(65535&(n=(n^=u=(65535&(u=(u=(65535&u)*a+(((u>>>16)*a&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295)<<13|n>>>19))+((5*(n>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(u=0,r){case 3:u^=(255&t.charCodeAt(l+2))<<16;case 2:u^=(255&t.charCodeAt(l+1))<<8;case 1:n^=u=(65535&(u=(u=(65535&(u^=255&t.charCodeAt(l)))*a+(((u>>>16)*a&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295}return n^=t.length,n=2246822507*(65535&(n^=n>>>16))+((2246822507*(n>>>16)&65535)<<16)&4294967295,n=3266489909*(65535&(n^=n>>>13))+((3266489909*(n>>>16)&65535)<<16)&4294967295,(n^=n>>>16)>>>0}})),rl=e((function(t){t.exports=function(t,e){for(var r,i=t.length,n=e^i,o=0;i>=4;)r=1540483477*(65535&(r=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(r>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),i-=4,++o;switch(i){case 3:n^=(255&t.charCodeAt(o+2))<<16;case 2:n^=(255&t.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(o)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),(n^=n>>>15)>>>0}})),il=el,nl=el,ol=rl;il.murmur3=nl,il.murmur2=ol;var al=7;function sl(t,e){var r=0,i=0,n=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":i=n-al;break;case"bottom-right":case"bottom-left":i=-n+al;break;case"bottom":i=-e+al;break;case"top":i=e-al}switch(t){case"top-right":case"bottom-right":r=-n;break;case"top-left":case"bottom-left":r=n;break;case"left":r=e;break;case"right":r=-e}return[r,i]}function ul(t){switch(t){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function ll(t,e,r,i,o,a,s){var u=a.layoutTextSize.evaluate(e,{}),l=a.layoutIconSize.evaluate(e,{}),p=a.textMaxSize.evaluate(e,{});void 0===p&&(p=u);var c=t.layers[0].layout,h=c.get("icon-offset").evaluate(e,{}),f=hl(r.horizontal),d=u/24,m=t.tilePixelRatio*d,y=t.tilePixelRatio*p/24,v=t.tilePixelRatio*l,_=t.tilePixelRatio*c.get("symbol-spacing"),g=c.get("text-padding")*t.tilePixelRatio,x=c.get("icon-padding")*t.tilePixelRatio,b=c.get("text-max-angle")/180*Math.PI,E="map"===c.get("text-rotation-alignment")&&"point"!==c.get("symbol-placement"),S="map"===c.get("icon-rotation-alignment")&&"point"!==c.get("symbol-placement"),T=c.get("symbol-placement"),A=_/2,I=function(u,l){l.x<0||l.x>=Jn||l.y<0||l.y>=Jn||function(t,e,r,i,o,a,s,u,l,p,c,h,f,d,m,y,v,_,g,x,b){var E,S,T=t.addToLineVertexArray(e,r),A=0,I=0,z=0,k={},C=il(""),P=(a.layout.get("text-radial-offset").evaluate(g,{})||0)*Cu;for(var M in i.horizontal){var L=i.horizontal[M];if(!E){C=il(L.text);var D=a.layout.get("text-rotate").evaluate(g,{});E=new Hu(s,r,e,u,l,p,L,c,h,f,t.overscaling,D)}var B=1===L.lineCount;if(I+=cl(t,e,L,a,f,g,d,T,i.vertical?Pu.horizontal:Pu.horizontalOnly,B?Object.keys(i.horizontal):[M],k,x,b),B)break}i.vertical&&(z+=cl(t,e,i.vertical,a,f,g,d,T,Pu.vertical,["vertical"],k,x,b));var R=E?E.boxStartIndex:t.collisionBoxArray.length,F=E?E.boxEndIndex:t.collisionBoxArray.length;if(o){var O=function(t,e,r,i,o,a){var s,u,l,p,c=e.image,h=r.layout,f=e.top-1/c.pixelRatio,d=e.left-1/c.pixelRatio,m=e.bottom+1/c.pixelRatio,y=e.right+1/c.pixelRatio;if("none"!==h.get("icon-text-fit")&&o){var v=y-d,_=m-f,g=h.get("text-size").evaluate(a,{})/24,x=o.left*g,b=o.right*g,w=o.top*g,E=b-x,S=o.bottom*g-w,T=h.get("icon-text-fit-padding")[0],A=h.get("icon-text-fit-padding")[1],I=h.get("icon-text-fit-padding")[2],z=h.get("icon-text-fit-padding")[3],k="width"===h.get("icon-text-fit")?.5*(S-_):0,C="height"===h.get("icon-text-fit")?.5*(E-v):0,P="width"===h.get("icon-text-fit")||"both"===h.get("icon-text-fit")?E:v,M="height"===h.get("icon-text-fit")||"both"===h.get("icon-text-fit")?S:_;s=new n(x+C-z,w+k-T),u=new n(x+C+A+P,w+k-T),l=new n(x+C+A+P,w+k+I+M),p=new n(x+C-z,w+k+I+M)}else s=new n(d,f),u=new n(y,f),l=new n(y,m),p=new n(d,m);var L=r.layout.get("icon-rotate").evaluate(a,{})*Math.PI/180;if(L){var D=Math.sin(L),B=Math.cos(L),R=[B,-D,D,B];s._matMult(R),u._matMult(R),p._matMult(R),l._matMult(R)}return[{tl:s,tr:u,bl:p,br:l,tex:c.paddedRect,writingMode:void 0,glyphOffset:[0,0]}]}(0,o,a,0,hl(i.horizontal),g),U=a.layout.get("icon-rotate").evaluate(g,{});S=new Hu(s,r,e,u,l,p,o,m,y,!1,t.overscaling,U),A=4*O.length;var V=t.iconSizeData,N=null;"source"===V.functionType?(N=[as*a.layout.get("icon-size").evaluate(g,{})])[0]>pl&&w(t.layerIds[0]+': Value for "icon-size" is >= 256. Reduce your "icon-size".'):"composite"===V.functionType&&((N=[as*b.compositeIconSizes[0].evaluate(g,{}),as*b.compositeIconSizes[1].evaluate(g,{})])[0]>pl||N[1]>pl)&&w(t.layerIds[0]+': Value for "icon-size" is >= 256. Reduce your "icon-size".'),t.addSymbols(t.icon,O,N,_,v,g,!1,e,T.lineStartIndex,T.lineLength)}var j=S?S.boxStartIndex:t.collisionBoxArray.length,q=S?S.boxEndIndex:t.collisionBoxArray.length;t.glyphOffsetArray.length>=vs.MAX_GLYPHS&&w("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),t.symbolInstances.emplaceBack(e.x,e.y,k.right>=0?k.right:-1,k.center>=0?k.center:-1,k.left>=0?k.left:-1,k.vertical||-1,C,R,F,j,q,u,I,z,A,0,c,P)}(t,l,u,r,i,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,m,g,E,s,v,x,S,h,e,o,a)};if("line"===T)for(var z=0,k=function(t,e,r,i,o){for(var a=[],s=0;s<t.length;s++)for(var u=t[s],l=void 0,p=0;p<u.length-1;p++){var c=u[p],h=u[p+1];c.x<0&&h.x<0||(c.x<0?c=new n(0,c.y+(h.y-c.y)*((0-c.x)/(h.x-c.x)))._round():h.x<0&&(h=new n(0,c.y+(h.y-c.y)*((0-c.x)/(h.x-c.x)))._round()),c.y<0&&h.y<0||(c.y<0?c=new n(c.x+(h.x-c.x)*((0-c.y)/(h.y-c.y)),0)._round():h.y<0&&(h=new n(c.x+(h.x-c.x)*((0-c.y)/(h.y-c.y)),0)._round()),c.x>=i&&h.x>=i||(c.x>=i?c=new n(i,c.y+(h.y-c.y)*((i-c.x)/(h.x-c.x)))._round():h.x>=i&&(h=new n(i,c.y+(h.y-c.y)*((i-c.x)/(h.x-c.x)))._round()),c.y>=o&&h.y>=o||(c.y>=o?c=new n(c.x+(h.x-c.x)*((o-c.y)/(h.y-c.y)),o)._round():h.y>=o&&(h=new n(c.x+(h.x-c.x)*((o-c.y)/(h.y-c.y)),o)._round()),l&&c.equals(l[l.length-1])||(l=[c],a.push(l)),l.push(h)))))}return a}(e.geometry,0,0,Jn,Jn);z<k.length;z+=1)for(var C=k[z],P=0,M=Ku(C,_,b,r.vertical||f,i,24,y,t.overscaling,Jn);P<M.length;P+=1){var L=M[P];f&&fl(t,f.text,A,L)||I(C,L)}else if("line-center"===T)for(var D=0,B=e.geometry;D<B.length;D+=1){var R=B[D];if(R.length>1){var F=Wu(R,b,r.vertical||f,i,24,y);F&&I(R,F)}}else if("Polygon"===e.type)for(var O=0,U=ca(e.geometry,0);O<U.length;O+=1){var V=U[O],N=$u(V,16);I(V[0],new os(N.x,N.y,0))}else if("LineString"===e.type)for(var j=0,q=e.geometry;j<q.length;j+=1){var Z=q[j];I(Z,new os(Z[0].x,Z[0].y,0))}else if("Point"===e.type)for(var G=0,X=e.geometry;G<X.length;G+=1)for(var W=0,K=X[G];W<K.length;W+=1){var H=K[W];I([H],new os(H.x,H.y,0))}}var pl=65535;function cl(t,e,r,i,o,a,s,u,l,p,c,h,f){var d=function(t,e,r,i,o,a,s){for(var u=i.layout.get("text-rotate").evaluate(a,{})*Math.PI/180,l=e.positionedGlyphs,p=[],c=0;c<l.length;c++){var h=l[c],f=s[h.fontStack],d=f&&f[h.glyph];if(d){var m=d.rect;if(m){var y=ou+1,v=d.metrics.advance*h.scale/2,_=o?[h.x+v,h.y]:[0,0],g=o?[0,0]:[h.x+v+r[0],h.y+r[1]],x=(d.metrics.left-y)*h.scale-v+g[0],b=(-d.metrics.top-y)*h.scale+g[1],w=x+m.w*h.scale,E=b+m.h*h.scale,S=new n(x,b),T=new n(w,b),A=new n(x,E),I=new n(w,E);if(o&&h.vertical){var z=new n(-v,v),k=-Math.PI/2,C=new n(5,0);S._rotateAround(k,z)._add(C),T._rotateAround(k,z)._add(C),A._rotateAround(k,z)._add(C),I._rotateAround(k,z)._add(C)}if(u){var P=Math.sin(u),M=Math.cos(u),L=[M,-P,P,M];S._matMult(L),T._matMult(L),A._matMult(L),I._matMult(L)}p.push({tl:S,tr:T,bl:A,br:I,tex:m,writingMode:e.writingMode,glyphOffset:_})}}}return p}(0,r,s,i,o,a,h),m=t.textSizeData,y=null;"source"===m.functionType?(y=[as*i.layout.get("text-size").evaluate(a,{})])[0]>pl&&w(t.layerIds[0]+': Value for "text-size" is >= 256. Reduce your "text-size".'):"composite"===m.functionType&&((y=[as*f.compositeTextSizes[0].evaluate(a,{}),as*f.compositeTextSizes[1].evaluate(a,{})])[0]>pl||y[1]>pl)&&w(t.layerIds[0]+': Value for "text-size" is >= 256. Reduce your "text-size".'),t.addSymbols(t.text,d,y,s,o,a,l,e,u.lineStartIndex,u.lineLength);for(var v=0,_=p;v<_.length;v+=1)c[_[v]]=t.text.placedSymbolArray.length-1;return 4*d.length}function hl(t){for(var e in t)return t[e];return null}function fl(t,e,r,i){var n=t.compareText;if(e in n){for(var o=n[e],a=o.length-1;a>=0;a--)if(i.dist(o[a])<r)return!0}else n[e]=[];return n[e].push(i),!1}t.Actor=au,t.AlphaImage=ko,t.CanonicalTileID=yu,t.CollisionBoxArray=mn,t.Color=Ut,t.DEMData=xu,t.DataConstantProperty=Di,t.DictionaryCoder=wu,t.EXTENT=Jn,t.ErrorEvent=mt,t.EvaluationParameters=Ti,t.Event=dt,t.Evented=yt,t.FeatureIndex=Au,t.FillBucket=ma,t.FillExtrusionBucket=Pa,t.ImageAtlas=Cs,t.ImagePosition=zs,t.LineBucket=Ga,t.LngLat=lu,t.LngLatBounds=uu,t.MercatorCoordinate=mu,t.ONE_EM=Cu,t.OverscaledTileID=_u,t.Point=n,t.Point$1=n,t.ProgramConfiguration=Xn,t.Properties=Ui,t.Protobuf=Os,t.RGBAImage=Co,t.ResourceType=rt,t.SegmentVector=In,t.SourceFeatureState=Tu,t.StructArrayLayout1ui2=cn,t.StructArrayLayout2i4=Xi,t.StructArrayLayout2ui4=pn,t.StructArrayLayout3ui6=ln,t.StructArrayLayout4i8=Wi,t.SymbolBucket=vs,t.Texture=Bs,t.Tile=ku,t.Transitionable=zi,t.Uniform1f=Ln,t.Uniform1i=Mn,t.Uniform2f=Dn,t.Uniform3f=Bn,t.Uniform4f=Rn,t.UniformColor=Fn,t.UniformMatrix4f=Un,t.UnwrappedTileID=vu,t.ValidationError=_t,t.WritingMode=Pu,t.ZoomHistory=ci,t.addDynamicAttributes=ds,t.asyncAll=function(t,e,r){if(!t.length)return r(null,[]);var i=t.length,n=new Array(t.length),o=null;t.forEach((function(t,a){e(t,(function(t,e){t&&(o=t),n[a]=e,0==--i&&r(o,n)}))}))},t.bezier=s,t.bindAll=y,t.browser=M,t.canonicalizeTileset=function(t,e){if(!V(e))return t.tiles||[];for(var r=[],i=0,n=t.tiles;i<n.length;i+=1){var o=n[i],a=G(o);r.push(a)}return r},t.clamp=l,t.clone=function(t){var e=new vo(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=x,t.config=L,t.create=function(){var t=new vo(16);return vo!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=_o,t.create$2=function(){var t=new vo(4);return vo!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=yr,t.createLayout=Zi,t.createStyleLayer=function(t){return"custom"===t.type?new Ts(t):new As[t.type](t)},t.deepEqual=a,t.ease=u,t.emitValidationErrors=ei,t.endsWith=v,t.evaluateRadialOffset=sl,t.evaluateSizeForFeature=us,t.evaluateSizeForZoom=ls,t.evented=Ei,t.extend=c,t.featureFilter=Cr,t.filterObject=g,t.fromRotation=function(t,e){var r=Math.sin(e),i=Math.cos(e);return t[0]=i,t[1]=r,t[2]=0,t[3]=-r,t[4]=i,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.getAnchorAlignment=Vu,t.getAnchorJustification=ul,t.getArrayBuffer=lt,t.getImage=ct,t.getJSON=function(t,e){return ut(c(t,{type:"json"}),e)},t.getReferrer=st,t.getVideo=function(t,e){var r,i,n=self.document.createElement("video");n.muted=!0,n.onloadstart=function(){e(null,n)};for(var o=0;o<t.length;o++){var a=self.document.createElement("source");r=t[o],i=void 0,(i=self.document.createElement("a")).href=r,(i.protocol!==self.document.location.protocol||i.host!==self.document.location.host)&&(n.crossOrigin="Anonymous"),a.src=t[o],n.appendChild(a)}return{cancel:function(){}}},t.identity=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.invert=function(t,e){var r=e[0],i=e[1],n=e[2],o=e[3],a=e[4],s=e[5],u=e[6],l=e[7],p=e[8],c=e[9],h=e[10],f=e[11],d=e[12],m=e[13],y=e[14],v=e[15],_=r*s-i*a,g=r*u-n*a,x=r*l-o*a,b=i*u-n*s,w=i*l-o*s,E=n*l-o*u,S=p*m-c*d,T=p*y-h*d,A=p*v-f*d,I=c*y-h*m,z=c*v-f*m,k=h*v-f*y,C=_*k-g*z+x*I+b*A-w*T+E*S;return C?(C=1/C,t[0]=(s*k-u*z+l*I)*C,t[1]=(n*z-i*k-o*I)*C,t[2]=(m*E-y*w+v*b)*C,t[3]=(h*w-c*E-f*b)*C,t[4]=(u*A-a*k-l*T)*C,t[5]=(r*k-n*A+o*T)*C,t[6]=(y*x-d*E-v*g)*C,t[7]=(p*E-h*x+f*g)*C,t[8]=(a*z-s*A+l*S)*C,t[9]=(i*A-r*z-o*S)*C,t[10]=(d*w-m*x+v*_)*C,t[11]=(c*x-p*w-f*_)*C,t[12]=(s*T-a*I-u*S)*C,t[13]=(r*I-i*T+n*S)*C,t[14]=(m*g-d*b-y*_)*C,t[15]=(p*b-c*g+h*_)*C,t):null},t.isChar=hi,t.isMapboxURL=V,t.keysDifference=function(t,e){var r=[];for(var i in t)i in e||r.push(i);return r},t.makeRequest=ut,t.mapObject=_,t.mercatorXfromLng=cu,t.mercatorYfromLat=hu,t.mercatorZfromAltitude=fu,t.multiply=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],u=e[5],l=e[6],p=e[7],c=e[8],h=e[9],f=e[10],d=e[11],m=e[12],y=e[13],v=e[14],_=e[15],g=r[0],x=r[1],b=r[2],w=r[3];return t[0]=g*i+x*s+b*c+w*m,t[1]=g*n+x*u+b*h+w*y,t[2]=g*o+x*l+b*f+w*v,t[3]=g*a+x*p+b*d+w*_,g=r[4],x=r[5],b=r[6],w=r[7],t[4]=g*i+x*s+b*c+w*m,t[5]=g*n+x*u+b*h+w*y,t[6]=g*o+x*l+b*f+w*v,t[7]=g*a+x*p+b*d+w*_,g=r[8],x=r[9],b=r[10],w=r[11],t[8]=g*i+x*s+b*c+w*m,t[9]=g*n+x*u+b*h+w*y,t[10]=g*o+x*l+b*f+w*v,t[11]=g*a+x*p+b*d+w*_,g=r[12],x=r[13],b=r[14],w=r[15],t[12]=g*i+x*s+b*c+w*m,t[13]=g*n+x*u+b*h+w*y,t[14]=g*o+x*l+b*f+w*v,t[15]=g*a+x*p+b*d+w*_,t},t.mvt=Ia,t.normalizeGlyphsURL=function(t,e){if(!V(t))return t;var r=W(t);return r.path="/fonts/v1"+r.path,U(r,e)},t.normalizeSourceURL=function(t,e){if(!V(t))return t;var r=W(t);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),U(r,e)},t.normalizeSpriteURL=function(t,e,r,i){var n=W(t);return V(t)?(n.path="/styles/v1"+n.path+"/sprite"+e+r,U(n,i)):(n.path+=""+e+r,K(n))},t.normalizeStyleURL=function(t,e){if(!V(t))return t;var r=W(t);return r.path="/styles/v1"+r.path,U(r,e)},t.normalizeTileURL=function(t,e,r){if(!e||!V(e))return t;var i=W(t),n=M.devicePixelRatio>=2||512===r?"@2x":"",o=D.supported?".webp":"$1";return i.path=i.path.replace(q,""+n+o),i.path="/v4"+i.path,U(i)},t.number=pe,t.ortho=function(t,e,r,i,n,o,a){var s=1/(e-r),u=1/(i-n),l=1/(o-a);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+r)*s,t[13]=(n+i)*u,t[14]=(a+o)*l,t[15]=1,t},t.parseGlyphPBF=function(t){return new Os(t).readFields(ru,[])},t.pbf=Os,t.performSymbolLayout=function(t,e,r,i,n,o){t.createArrays();var a=512*t.overscaling;t.tilePixelRatio=Jn/a,t.compareText={},t.iconsNeedLinear=!1;var s=t.layers[0].layout,u=t.layers[0]._unevaluatedLayout._values,l={};if("composite"===t.textSizeData.functionType){var p=t.textSizeData.zoomRange,c=p.min,h=p.max;l.compositeTextSizes=[u["text-size"].possiblyEvaluate(new Ti(c)),u["text-size"].possiblyEvaluate(new Ti(h))]}if("composite"===t.iconSizeData.functionType){var f=t.iconSizeData.zoomRange,d=f.min,m=f.max;l.compositeIconSizes=[u["icon-size"].possiblyEvaluate(new Ti(d)),u["icon-size"].possiblyEvaluate(new Ti(m))]}l.layoutTextSize=u["text-size"].possiblyEvaluate(new Ti(t.zoom+1)),l.layoutIconSize=u["icon-size"].possiblyEvaluate(new Ti(t.zoom+1)),l.textMaxSize=u["text-size"].possiblyEvaluate(new Ti(18));for(var y=s.get("text-line-height")*Cu,v="map"===s.get("text-rotation-alignment")&&"point"!==s.get("symbol-placement"),_=s.get("text-keep-upright"),g=0,x=t.features;g<x.length;g+=1){var b=x[g],E=s.get("text-font").evaluate(b,{}).join(","),S=r,T={horizontal:{},vertical:void 0},A=b.text,I=[0,0];if(A){var z=A.toString(),k=s.get("text-letter-spacing").evaluate(b,{})*Cu,C=di(z)?k:0,P=s.get("text-anchor").evaluate(b,{}),M=s.get("text-variable-anchor"),L=s.get("text-radial-offset").evaluate(b,{});M||(I=L?sl(P,L*Cu):s.get("text-offset").evaluate(b,{}).map((function(t){return t*Cu})));var D=v?"center":s.get("text-justify").evaluate(b,{}),B="point"===s.get("symbol-placement")?s.get("text-max-width").evaluate(b,{})*Cu:0;if(!v&&M)for(var R="auto"===D?M.map((function(t){return ul(t)})):[D],F=!1,O=0;O<R.length;O++){var U=R[O];if(!T.horizontal[U])if(F)T.horizontal[U]=T.horizontal[0];else{var V=Lu(A,e,E,B,y,"center",U,C,I,Pu.horizontal);V&&(T.horizontal[U]=V,F=1===V.lineCount)}}else{"auto"===D&&(D=ul(P));var N=Lu(A,e,E,B,y,P,D,C,I,Pu.horizontal);N&&(T.horizontal[D]=N),fi(z)&&v&&_&&(T.vertical=Lu(A,e,E,B,y,P,D,C,I,Pu.vertical))}}var j=void 0;if(b.icon){var q=i[b.icon];q&&(j=ju(n[b.icon],s.get("icon-offset").evaluate(b,{}),s.get("icon-anchor").evaluate(b,{})),void 0===t.sdfIcons?t.sdfIcons=q.sdf:t.sdfIcons!==q.sdf&&w("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),q.pixelRatio!==t.pixelRatio?t.iconsNeedLinear=!0:0!==s.get("icon-rotate").constantOr(1)&&(t.iconsNeedLinear=!0))}(Object.keys(T.horizontal).length||j)&&ll(t,b,T,j,S,l,I)}o&&t.generateCollisionDebugBuffers()},t.perspective=function(t,e,r,i,n){var o,a=1/Math.tan(e/2);return t[0]=a/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=a,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=n&&n!==1/0?(o=1/(i-n),t[10]=(n+i)*o,t[14]=2*n*i*o):(t[10]=-1,t[14]=-2*i),t},t.pick=function(t,e){for(var r={},i=0;i<e.length;i++){var n=e[i];n in t&&(r[n]=t[n])}return r},t.plugin=Si,t.polygonIntersectsPolygon=eo,t.postMapLoadEvent=et,t.postTurnstileEvent=Q,t.potpack=Is,t.properties=gs,t.rasterBoundsAttributes=bu,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.register=si,t.registerForPluginAvailability=function(t){return bi?t({pluginURL:bi,completionCallback:gi}):Ei.once("pluginAvailable",t),t},t.rotate=function(t,e,r){var i=e[0],n=e[1],o=e[2],a=e[3],s=Math.sin(r),u=Math.cos(r);return t[0]=i*u+o*s,t[1]=n*u+a*s,t[2]=i*-s+o*u,t[3]=n*-s+a*u,t},t.rotateX=function(t,e,r){var i=Math.sin(r),n=Math.cos(r),o=e[4],a=e[5],s=e[6],u=e[7],l=e[8],p=e[9],c=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=o*n+l*i,t[5]=a*n+p*i,t[6]=s*n+c*i,t[7]=u*n+h*i,t[8]=l*n-o*i,t[9]=p*n-a*i,t[10]=c*n-s*i,t[11]=h*n-u*i,t},t.rotateZ=function(t,e,r){var i=Math.sin(r),n=Math.cos(r),o=e[0],a=e[1],s=e[2],u=e[3],l=e[4],p=e[5],c=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=o*n+l*i,t[1]=a*n+p*i,t[2]=s*n+c*i,t[3]=u*n+h*i,t[4]=l*n-o*i,t[5]=p*n-a*i,t[6]=c*n-s*i,t[7]=h*n-u*i,t},t.scale=function(t,e,r){var i=r[0],n=r[1],o=r[2];return t[0]=e[0]*i,t[1]=e[1]*i,t[2]=e[2]*i,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*o,t[9]=e[9]*o,t[10]=e[10]*o,t[11]=e[11]*o,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.setRTLTextPlugin=function(t,e){if(xi)throw new Error("setRTLTextPlugin cannot be called multiple times.");xi=!0,bi=M.resolveURL(t),gi=function(t){t?(xi=!1,bi=null,e&&e(t)):wi=!0},Ei.fire(new dt("pluginAvailable",{pluginURL:bi,completionCallback:gi}))},t.sphericalToCartesian=function(t){var e=t[0],r=t[1],i=t[2];return r+=90,r*=Math.PI/180,i*=Math.PI/180,{x:e*Math.cos(r)*Math.sin(i),y:e*Math.sin(r)*Math.sin(i),z:e*Math.cos(i)}},t.styleSpec=vt,t.symbolSize=ps,t.transformMat3=function(t,e,r){var i=e[0],n=e[1],o=e[2];return t[0]=i*r[0]+n*r[3]+o*r[6],t[1]=i*r[1]+n*r[4]+o*r[7],t[2]=i*r[2]+n*r[5]+o*r[8],t},t.transformMat4=bo,t.translate=function(t,e,r){var i,n,o,a,s,u,l,p,c,h,f,d,m=r[0],y=r[1],v=r[2];return e===t?(t[12]=e[0]*m+e[4]*y+e[8]*v+e[12],t[13]=e[1]*m+e[5]*y+e[9]*v+e[13],t[14]=e[2]*m+e[6]*y+e[10]*v+e[14],t[15]=e[3]*m+e[7]*y+e[11]*v+e[15]):(i=e[0],n=e[1],o=e[2],a=e[3],s=e[4],u=e[5],l=e[6],p=e[7],c=e[8],h=e[9],f=e[10],d=e[11],t[0]=i,t[1]=n,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t[6]=l,t[7]=p,t[8]=c,t[9]=h,t[10]=f,t[11]=d,t[12]=i*m+s*y+c*v+e[12],t[13]=n*m+u*y+h*v+e[13],t[14]=o*m+l*y+f*v+e[14],t[15]=a*m+p*y+d*v+e[15]),t},t.uniqueId=f,t.validateCustomStyleLayer=function(t){var e=[],r=t.id;return void 0===r&&e.push({message:"layers."+r+': missing required property "id"'}),void 0===t.render&&e.push({message:"layers."+r+': missing required method "render"'}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:"layers."+r+': property "renderingMode" must be either "2d" or "3d"'}),e},t.validateLight=$r,t.validateStyle=Yr,t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.vectorTile=Ia,t.version="0.54.1",t.warnOnce=w,t.webpSupported=D,t.window=self,t.wrap=p})),i(0,(function(t){function e(t){var r=typeof t;if("number"===r||"boolean"===r||"string"===r||null==t)return JSON.stringify(t);if(Array.isArray(t)){for(var i="[",n=0,o=t;n<o.length;n+=1)i+=e(o[n])+",";return i+"]"}for(var a=Object.keys(t).sort(),s="{",u=0;u<a.length;u++)s+=JSON.stringify(a[u])+":"+e(t[a[u]])+",";return s+"}"}function r(r){for(var i="",n=0,o=t.refProperties;n<o.length;n+=1)i+="/"+e(r[o[n]]);return i}var i=function(t){t&&this.replace(t)};i.prototype.replace=function(t){this._layerConfigs={},this._layers={},this.update(t,[])},i.prototype.update=function(e,i){for(var n=this,o=0,a=e;o<a.length;o+=1){var s=a[o];this._layerConfigs[s.id]=s;var u=this._layers[s.id]=t.createStyleLayer(s);u._featureFilter=t.featureFilter(u.filter)}for(var l=0,p=i;l<p.length;l+=1){var c=p[l];delete this._layerConfigs[c],delete this._layers[c]}this.familiesBySource={};for(var h=0,f=function(t){for(var e={},i=0;i<t.length;i++){var n=r(t[i]),o=e[n];o||(o=e[n]=[]),o.push(t[i])}var a=[];for(var s in e)a.push(e[s]);return a}(t.values(this._layerConfigs));h<f.length;h+=1){var d=f[h].map((function(t){return n._layers[t.id]})),m=d[0];if("none"!==m.visibility){var y=m.source||"",v=this.familiesBySource[y];v||(v=this.familiesBySource[y]={});var _=m.sourceLayer||"_geojsonTileLayer",g=v[_];g||(g=v[_]=[]),g.push(d)}}};var n=function(e){var r={},i=[];for(var n in e){var o=e[n],a=r[n]={};for(var s in o){var u=o[+s];if(u&&0!==u.bitmap.width&&0!==u.bitmap.height){var l={x:0,y:0,w:u.bitmap.width+2,h:u.bitmap.height+2};i.push(l),a[s]={rect:l,metrics:u.metrics}}}}var p=t.potpack(i),c=p.w,h=p.h,f=new t.AlphaImage({width:c||1,height:h||1});for(var d in e){var m=e[d];for(var y in m){var v=m[+y];if(v&&0!==v.bitmap.width&&0!==v.bitmap.height){var _=r[d][y].rect;t.AlphaImage.copy(v.bitmap,f,{x:0,y:0},{x:_.x+1,y:_.y+1},v.bitmap)}}}this.image=f,this.positions=r};t.register("GlyphAtlas",n);var o=function(e){this.tileID=new t.OverscaledTileID(e.tileID.overscaledZ,e.tileID.wrap,e.tileID.canonical.z,e.tileID.canonical.x,e.tileID.canonical.y),this.uid=e.uid,this.zoom=e.zoom,this.pixelRatio=e.pixelRatio,this.tileSize=e.tileSize,this.source=e.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=e.showCollisionBoxes,this.collectResourceTiming=!!e.collectResourceTiming,this.returnDependencies=!!e.returnDependencies};function a(e,r){for(var i=new t.EvaluationParameters(r),n=0,o=e;n<o.length;n+=1)o[n].recalculate(i)}o.prototype.parse=function(e,r,i,o){var s=this;this.status="parsing",this.data=e,this.collisionBoxArray=new t.CollisionBoxArray;var u=new t.DictionaryCoder(Object.keys(e.layers).sort()),l=new t.FeatureIndex(this.tileID);l.bucketLayerIDs=[];var p,c,h,f,d={},m={featureIndex:l,iconDependencies:{},patternDependencies:{},glyphDependencies:{}},y=r.familiesBySource[this.source];for(var v in y){var _=e.layers[v];if(_){1===_.version&&t.warnOnce('Vector tile source "'+this.source+'" layer "'+v+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var g=u.encode(v),x=[],b=0;b<_.length;b++){var w=_.feature(b);x.push({feature:w,index:b,sourceLayerIndex:g})}for(var E=0,S=y[v];E<S.length;E+=1){var T=S[E],A=T[0];A.minzoom&&this.zoom<Math.floor(A.minzoom)||A.maxzoom&&this.zoom>=A.maxzoom||"none"!==A.visibility&&(a(T,this.zoom),(d[A.id]=A.createBucket({index:l.bucketLayerIDs.length,layers:T,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:g,sourceID:this.source})).populate(x,m),l.bucketLayerIDs.push(T.map((function(t){return t.id}))))}}}var I=t.mapObject(m.glyphDependencies,(function(t){return Object.keys(t).map(Number)}));Object.keys(I).length?i.send("getGlyphs",{uid:this.uid,stacks:I},(function(t,e){p||(p=t,c=e,C.call(s))})):c={};var z=Object.keys(m.iconDependencies);z.length?i.send("getImages",{icons:z},(function(t,e){p||(p=t,h=e,C.call(s))})):h={};var k=Object.keys(m.patternDependencies);function C(){if(p)return o(p);if(c&&h&&f){var e=new n(c),r=new t.ImageAtlas(h,f);for(var i in d){var s=d[i];s instanceof t.SymbolBucket?(a(s.layers,this.zoom),t.performSymbolLayout(s,c,e.positions,h,r.iconPositions,this.showCollisionBoxes)):s.hasPattern&&(s instanceof t.LineBucket||s instanceof t.FillBucket||s instanceof t.FillExtrusionBucket)&&(a(s.layers,this.zoom),s.addFeatures(m,r.patternPositions))}this.status="done",o(null,{buckets:t.values(d).filter((function(t){return!t.isEmpty()})),featureIndex:l,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:e.image,imageAtlas:r,glyphMap:this.returnDependencies?c:null,iconMap:this.returnDependencies?h:null,glyphPositions:this.returnDependencies?e.positions:null})}}k.length?i.send("getImages",{icons:k},(function(t,e){p||(p=t,f=e,C.call(s))})):f={},C.call(this)};var s="undefined"!=typeof performance,u={getEntriesByName:function(t){return!!(s&&performance&&performance.getEntriesByName)&&performance.getEntriesByName(t)},mark:function(t){return!!(s&&performance&&performance.mark)&&performance.mark(t)},measure:function(t,e,r){return!!(s&&performance&&performance.measure)&&performance.measure(t,e,r)},clearMarks:function(t){return!!(s&&performance&&performance.clearMarks)&&performance.clearMarks(t)},clearMeasures:function(t){return!!(s&&performance&&performance.clearMeasures)&&performance.clearMeasures(t)}},l=function(t){this._marks={start:[t.url,"start"].join("#"),end:[t.url,"end"].join("#"),measure:t.url.toString()},u.mark(this._marks.start)};function p(e,r){var i=t.getArrayBuffer(e.request,(function(e,i,n,o){e?r(e):i&&r(null,{vectorTile:new t.vectorTile.VectorTile(new t.pbf(i)),rawData:i,cacheControl:n,expires:o})}));return function(){i.cancel(),r()}}l.prototype.finish=function(){u.mark(this._marks.end);var t=u.getEntriesByName(this._marks.measure);return 0===t.length&&(u.measure(this._marks.measure,this._marks.start,this._marks.end),t=u.getEntriesByName(this._marks.measure),u.clearMarks(this._marks.start),u.clearMarks(this._marks.end),u.clearMeasures(this._marks.measure)),t},u.Performance=l;var c=function(t,e,r){this.actor=t,this.layerIndex=e,this.loadVectorData=r||p,this.loading={},this.loaded={}};c.prototype.loadTile=function(e,r){var i=this,n=e.uid;this.loading||(this.loading={});var a=!!(e&&e.request&&e.request.collectResourceTiming)&&new u.Performance(e.request),s=this.loading[n]=new o(e);s.abort=this.loadVectorData(e,(function(e,o){if(delete i.loading[n],e||!o)return s.status="done",i.loaded[n]=s,r(e);var u=o.rawData,l={};o.expires&&(l.expires=o.expires),o.cacheControl&&(l.cacheControl=o.cacheControl);var p={};if(a){var c=a.finish();c&&(p.resourceTiming=JSON.parse(JSON.stringify(c)))}s.vectorTile=o.vectorTile,s.parse(o.vectorTile,i.layerIndex,i.actor,(function(e,i){if(e||!i)return r(e);r(null,t.extend({rawTileData:u.slice(0)},i,l,p))})),i.loaded=i.loaded||{},i.loaded[n]=s}))},c.prototype.reloadTile=function(t,e){var r=this.loaded,i=t.uid,n=this;if(r&&r[i]){var o=r[i];o.showCollisionBoxes=t.showCollisionBoxes;var a=function(t,r){var i=o.reloadCallback;i&&(delete o.reloadCallback,o.parse(o.vectorTile,n.layerIndex,n.actor,i)),e(t,r)};"parsing"===o.status?o.reloadCallback=a:"done"===o.status&&(o.vectorTile?o.parse(o.vectorTile,this.layerIndex,this.actor,a):a())}},c.prototype.abortTile=function(t,e){var r=this.loading,i=t.uid;r&&r[i]&&r[i].abort&&(r[i].abort(),delete r[i]),e()},c.prototype.removeTile=function(t,e){var r=this.loaded,i=t.uid;r&&r[i]&&delete r[i],e()};var h=function(){this.loaded={}};h.prototype.loadTile=function(e,r){var i=e.uid,n=e.encoding,o=e.rawImageData,a=new t.DEMData(i,o,n);this.loaded=this.loaded||{},this.loaded[i]=a,r(null,a)},h.prototype.removeTile=function(t){var e=this.loaded,r=t.uid;e&&e[r]&&delete e[r]};var f={RADIUS:6378137,FLATTENING:1/298.257223563,POLAR_RADIUS:6356752.3142};function d(t){var e=0;if(t&&t.length>0){e+=Math.abs(m(t[0]));for(var r=1;r<t.length;r++)e-=Math.abs(m(t[r]))}return e}function m(t){var e,r,i,n,o,a,s=0,u=t.length;if(u>2){for(a=0;a<u;a++)a===u-2?(i=u-2,n=u-1,o=0):a===u-1?(i=u-1,n=0,o=1):(i=a,n=a+1,o=a+2),e=t[i],r=t[n],s+=(y(t[o][0])-y(e[0]))*Math.sin(y(r[1]));s=s*f.RADIUS*f.RADIUS/2}return s}function y(t){return t*Math.PI/180}var v={geometry:function t(e){var r,i=0;switch(e.type){case"Polygon":return d(e.coordinates);case"MultiPolygon":for(r=0;r<e.coordinates.length;r++)i+=d(e.coordinates[r]);return i;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(r=0;r<e.geometries.length;r++)i+=t(e.geometries[r]);return i}},ring:m};function _(t,e){return function(r){return t(r,e)}}function g(t,e){e=!!e,t[0]=x(t[0],e);for(var r=1;r<t.length;r++)t[r]=x(t[r],!e);return t}function x(t,e){return function(t){return v.ring(t)>=0}(t)===e?t:t.reverse()}var b=t.vectorTile.VectorTileFeature.prototype.toGeoJSON,w=function(e){this._feature=e,this.extent=t.EXTENT,this.type=e.type,this.properties=e.tags,"id"in e&&!isNaN(e.id)&&(this.id=parseInt(e.id,10))};w.prototype.loadGeometry=function(){if(1===this._feature.type){for(var e=[],r=0,i=this._feature.geometry;r<i.length;r+=1){var n=i[r];e.push([new t.Point$1(n[0],n[1])])}return e}for(var o=[],a=0,s=this._feature.geometry;a<s.length;a+=1){for(var u=[],l=0,p=s[a];l<p.length;l+=1){var c=p[l];u.push(new t.Point$1(c[0],c[1]))}o.push(u)}return o},w.prototype.toGeoJSON=function(t,e,r){return b.call(this,t,e,r)};var E=function(e){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=t.EXTENT,this.length=e.length,this._features=e};E.prototype.feature=function(t){return new w(this._features[t])};var S=t.vectorTile.VectorTileFeature,T=A;function A(t,e){this.options=e||{},this.features=t,this.length=t.length}function I(t,e){this.id="number"==typeof t.id?t.id:void 0,this.type=t.type,this.rawGeometry=1===t.type?[t.geometry]:t.geometry,this.properties=t.tags,this.extent=e||4096}A.prototype.feature=function(t){return new I(this.features[t],this.options.extent)},I.prototype.loadGeometry=function(){var e=this.rawGeometry;this.geometry=[];for(var r=0;r<e.length;r++){for(var i=e[r],n=[],o=0;o<i.length;o++)n.push(new t.Point$1(i[o][0],i[o][1]));this.geometry.push(n)}return this.geometry},I.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var t=this.geometry,e=1/0,r=-1/0,i=1/0,n=-1/0,o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.length;s++){var u=a[s];e=Math.min(e,u.x),r=Math.max(r,u.x),i=Math.min(i,u.y),n=Math.max(n,u.y)}return[e,i,r,n]},I.prototype.toGeoJSON=S.prototype.toGeoJSON;var z=P,k=P,C=T;function P(e){var r=new t.pbf;return function(t,e){for(var r in t.layers)e.writeMessage(3,M,t.layers[r])}(e,r),r.finish()}function M(t,e){var r;e.writeVarintField(15,t.version||1),e.writeStringField(1,t.name||""),e.writeVarintField(5,t.extent||4096);var i={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<t.length;r++)i.feature=t.feature(r),e.writeMessage(2,L,i);var n=i.keys;for(r=0;r<n.length;r++)e.writeStringField(3,n[r]);var o=i.values;for(r=0;r<o.length;r++)e.writeMessage(4,O,o[r])}function L(t,e){var r=t.feature;void 0!==r.id&&e.writeVarintField(1,r.id),e.writeMessage(2,D,t),e.writeVarintField(3,r.type),e.writeMessage(4,F,r)}function D(t,e){var r=t.feature,i=t.keys,n=t.values,o=t.keycache,a=t.valuecache;for(var s in r.properties){var u=o[s];void 0===u&&(i.push(s),u=i.length-1,o[s]=u),e.writeVarint(u);var l=r.properties[s],p=typeof l;"string"!==p&&"boolean"!==p&&"number"!==p&&(l=JSON.stringify(l));var c=p+":"+l,h=a[c];void 0===h&&(n.push(l),h=n.length-1,a[c]=h),e.writeVarint(h)}}function B(t,e){return(e<<3)+(7&t)}function R(t){return t<<1^t>>31}function F(t,e){for(var r=t.loadGeometry(),i=t.type,n=0,o=0,a=r.length,s=0;s<a;s++){var u=r[s],l=1;1===i&&(l=u.length),e.writeVarint(B(1,l));for(var p=3===i?u.length-1:u.length,c=0;c<p;c++){1===c&&1!==i&&e.writeVarint(B(2,p-1));var h=u[c].x-n,f=u[c].y-o;e.writeVarint(R(h)),e.writeVarint(R(f)),n+=h,o+=f}3===i&&e.writeVarint(B(7,1))}}function O(t,e){var r=typeof t;"string"===r?e.writeStringField(1,t):"boolean"===r?e.writeBooleanField(7,t):"number"===r&&(t%1!=0?e.writeDoubleField(3,t):t<0?e.writeSVarintField(6,t):e.writeVarintField(5,t))}function U(t,e,r,i){V(t,r,i),V(e,2*r,2*i),V(e,2*r+1,2*i+1)}function V(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function N(t,e,r,i){var n=t-r,o=e-i;return n*n+o*o}z.fromVectorTileJs=k,z.fromGeojsonVt=function(t,e){e=e||{};var r={};for(var i in t)r[i]=new T(t[i].features,e),r[i].name=i,r[i].version=e.version,r[i].extent=e.extent;return P({layers:r})},z.GeoJSONWrapper=C;var j=function(t){return t[0]},q=function(t){return t[1]},Z=function(t,e,r,i,n){void 0===e&&(e=j),void 0===r&&(r=q),void 0===i&&(i=64),void 0===n&&(n=Float64Array),this.nodeSize=i,this.points=t;for(var o=t.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(t.length),s=this.coords=new n(2*t.length),u=0;u<t.length;u++)a[u]=u,s[2*u]=e(t[u]),s[2*u+1]=r(t[u]);!function t(e,r,i,n,o,a){if(!(o-n<=i)){var s=n+o>>1;!function t(e,r,i,n,o,a){for(;o>n;){if(o-n>600){var s=o-n+1,u=i-n+1,l=Math.log(s),p=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*p*(s-p)/s)*(u-s/2<0?-1:1);t(e,r,i,Math.max(n,Math.floor(i-u*p/s+c)),Math.min(o,Math.floor(i+(s-u)*p/s+c)),a)}var h=r[2*i+a],f=n,d=o;for(U(e,r,n,i),r[2*o+a]>h&&U(e,r,n,o);f<d;){for(U(e,r,f,d),f++,d--;r[2*f+a]<h;)f++;for(;r[2*d+a]>h;)d--}r[2*n+a]===h?U(e,r,n,d):U(e,r,++d,o),d<=i&&(n=d+1),i<=d&&(o=d-1)}}(e,r,s,n,o,a%2),t(e,r,i,n,s-1,a+1),t(e,r,i,s+1,o,a+1)}}(a,s,i,0,a.length-1,0)};Z.prototype.range=function(t,e,r,i){return function(t,e,r,i,n,o,a){for(var s,u,l=[0,t.length-1,0],p=[];l.length;){var c=l.pop(),h=l.pop(),f=l.pop();if(h-f<=a)for(var d=f;d<=h;d++)s=e[2*d],u=e[2*d+1],s>=r&&s<=n&&u>=i&&u<=o&&p.push(t[d]);else{var m=Math.floor((f+h)/2);s=e[2*m],u=e[2*m+1],s>=r&&s<=n&&u>=i&&u<=o&&p.push(t[m]);var y=(c+1)%2;(0===c?r<=s:i<=u)&&(l.push(f),l.push(m-1),l.push(y)),(0===c?n>=s:o>=u)&&(l.push(m+1),l.push(h),l.push(y))}}return p}(this.ids,this.coords,t,e,r,i,this.nodeSize)},Z.prototype.within=function(t,e,r){return function(t,e,r,i,n,o){for(var a=[0,t.length-1,0],s=[],u=n*n;a.length;){var l=a.pop(),p=a.pop(),c=a.pop();if(p-c<=o)for(var h=c;h<=p;h++)N(e[2*h],e[2*h+1],r,i)<=u&&s.push(t[h]);else{var f=Math.floor((c+p)/2),d=e[2*f],m=e[2*f+1];N(d,m,r,i)<=u&&s.push(t[f]);var y=(l+1)%2;(0===l?r-n<=d:i-n<=m)&&(a.push(c),a.push(f-1),a.push(y)),(0===l?r+n>=d:i+n>=m)&&(a.push(f+1),a.push(p),a.push(y))}}return s}(this.ids,this.coords,t,e,r,this.nodeSize)};var G={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,reduce:null,map:function(t){return t}},X=function(t){this.options=Q(Object.create(G),t),this.trees=new Array(this.options.maxZoom+1)};function W(t,e,r,i,n){return{x:t,y:e,zoom:1/0,id:r,parentId:-1,numPoints:i,properties:n}}function K(t,e){var r=t.geometry.coordinates,i=r[0],n=r[1];return{x:Y(i),y:$(n),zoom:1/0,index:e,parentId:-1}}function H(t){return{type:"Feature",id:t.id,properties:J(t),geometry:{type:"Point",coordinates:[(i=t.x,360*(i-.5)),(e=t.y,r=(180-360*e)*Math.PI/180,360*Math.atan(Math.exp(r))/Math.PI-90)]}};var e,r,i}function J(t){var e=t.numPoints,r=e>=1e4?Math.round(e/1e3)+"k":e>=1e3?Math.round(e/100)/10+"k":e;return Q(Q({},t.properties),{cluster:!0,cluster_id:t.id,point_count:e,point_count_abbreviated:r})}function Y(t){return t/360+.5}function $(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function Q(t,e){for(var r in e)t[r]=e[r];return t}function tt(t){return t.x}function et(t){return t.y}function rt(t,e,r,i,n,o){var a=n-r,s=o-i;if(0!==a||0!==s){var u=((t-r)*a+(e-i)*s)/(a*a+s*s);u>1?(r=n,i=o):u>0&&(r+=a*u,i+=s*u)}return(a=t-r)*a+(s=e-i)*s}function it(t,e,r,i){var n={id:void 0===t?null:t,type:e,geometry:r,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(t){var e=t.geometry,r=t.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)nt(t,e);else if("Polygon"===r||"MultiLineString"===r)for(var i=0;i<e.length;i++)nt(t,e[i]);else if("MultiPolygon"===r)for(i=0;i<e.length;i++)for(var n=0;n<e[i].length;n++)nt(t,e[i][n])}(n),n}function nt(t,e){for(var r=0;r<e.length;r+=3)t.minX=Math.min(t.minX,e[r]),t.minY=Math.min(t.minY,e[r+1]),t.maxX=Math.max(t.maxX,e[r]),t.maxY=Math.max(t.maxY,e[r+1])}function ot(t,e,r,i){if(e.geometry){var n=e.geometry.coordinates,o=e.geometry.type,a=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),s=[],u=e.id;if(r.promoteId?u=e.properties[r.promoteId]:r.generateId&&(u=i||0),"Point"===o)at(n,s);else if("MultiPoint"===o)for(var l=0;l<n.length;l++)at(n[l],s);else if("LineString"===o)st(n,s,a,!1);else if("MultiLineString"===o){if(r.lineMetrics){for(l=0;l<n.length;l++)s=[],st(n[l],s,a,!1),t.push(it(u,"LineString",s,e.properties));return}ut(n,s,a,!1)}else if("Polygon"===o)ut(n,s,a,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(l=0;l<e.geometry.geometries.length;l++)ot(t,{id:u,geometry:e.geometry.geometries[l],properties:e.properties},r,i);return}throw new Error("Input data is not a valid GeoJSON object.")}for(l=0;l<n.length;l++){var p=[];ut(n[l],p,a,!0),s.push(p)}}t.push(it(u,o,s,e.properties))}}function at(t,e){e.push(lt(t[0])),e.push(pt(t[1])),e.push(0)}function st(t,e,r,i){for(var n,o,a=0,s=0;s<t.length;s++){var u=lt(t[s][0]),l=pt(t[s][1]);e.push(u),e.push(l),e.push(0),s>0&&(a+=i?(n*l-u*o)/2:Math.sqrt(Math.pow(u-n,2)+Math.pow(l-o,2))),n=u,o=l}var p=e.length-3;e[2]=1,function t(e,r,i,n){for(var o,a=n,s=i-r>>1,u=i-r,l=e[r],p=e[r+1],c=e[i],h=e[i+1],f=r+3;f<i;f+=3){var d=rt(e[f],e[f+1],l,p,c,h);if(d>a)o=f,a=d;else if(d===a){var m=Math.abs(f-s);m<u&&(o=f,u=m)}}a>n&&(o-r>3&&t(e,r,o,n),e[o+2]=a,i-o>3&&t(e,o,i,n))}(e,0,p,r),e[p+2]=1,e.size=Math.abs(a),e.start=0,e.end=e.size}function ut(t,e,r,i){for(var n=0;n<t.length;n++){var o=[];st(t[n],o,r,i),e.push(o)}}function lt(t){return t/360+.5}function pt(t){var e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}function ct(t,e,r,i,n,o,a,s){if(i/=e,o>=(r/=e)&&a<i)return t;if(a<r||o>=i)return null;for(var u=[],l=0;l<t.length;l++){var p=t[l],c=p.geometry,h=p.type,f=0===n?p.minX:p.minY,d=0===n?p.maxX:p.maxY;if(f>=r&&d<i)u.push(p);else if(!(d<r||f>=i)){var m=[];if("Point"===h||"MultiPoint"===h)ht(c,m,r,i,n);else if("LineString"===h)ft(c,m,r,i,n,!1,s.lineMetrics);else if("MultiLineString"===h)mt(c,m,r,i,n,!1);else if("Polygon"===h)mt(c,m,r,i,n,!0);else if("MultiPolygon"===h)for(var y=0;y<c.length;y++){var v=[];mt(c[y],v,r,i,n,!0),v.length&&m.push(v)}if(m.length){if(s.lineMetrics&&"LineString"===h){for(y=0;y<m.length;y++)u.push(it(p.id,h,m[y],p.tags));continue}"LineString"!==h&&"MultiLineString"!==h||(1===m.length?(h="LineString",m=m[0]):h="MultiLineString"),"Point"!==h&&"MultiPoint"!==h||(h=3===m.length?"Point":"MultiPoint"),u.push(it(p.id,h,m,p.tags))}}}return u.length?u:null}function ht(t,e,r,i,n){for(var o=0;o<t.length;o+=3){var a=t[o+n];a>=r&&a<=i&&(e.push(t[o]),e.push(t[o+1]),e.push(t[o+2]))}}function ft(t,e,r,i,n,o,a){for(var s,u,l=dt(t),p=0===n?vt:_t,c=t.start,h=0;h<t.length-3;h+=3){var f=t[h],d=t[h+1],m=t[h+2],y=t[h+3],v=t[h+4],_=0===n?f:d,g=0===n?y:v,x=!1;a&&(s=Math.sqrt(Math.pow(f-y,2)+Math.pow(d-v,2))),_<r?g>r&&(u=p(l,f,d,y,v,r),a&&(l.start=c+s*u)):_>i?g<i&&(u=p(l,f,d,y,v,i),a&&(l.start=c+s*u)):yt(l,f,d,m),g<r&&_>=r&&(u=p(l,f,d,y,v,r),x=!0),g>i&&_<=i&&(u=p(l,f,d,y,v,i),x=!0),!o&&x&&(a&&(l.end=c+s*u),e.push(l),l=dt(t)),a&&(c+=s)}var b=t.length-3;f=t[b],d=t[b+1],m=t[b+2],(_=0===n?f:d)>=r&&_<=i&&yt(l,f,d,m),b=l.length-3,o&&b>=3&&(l[b]!==l[0]||l[b+1]!==l[1])&&yt(l,l[0],l[1],l[2]),l.length&&e.push(l)}function dt(t){var e=[];return e.size=t.size,e.start=t.start,e.end=t.end,e}function mt(t,e,r,i,n,o){for(var a=0;a<t.length;a++)ft(t[a],e,r,i,n,o,!1)}function yt(t,e,r,i){t.push(e),t.push(r),t.push(i)}function vt(t,e,r,i,n,o){var a=(o-e)/(i-e);return t.push(o),t.push(r+(n-r)*a),t.push(1),a}function _t(t,e,r,i,n,o){var a=(o-r)/(n-r);return t.push(e+(i-e)*a),t.push(o),t.push(1),a}function gt(t,e){for(var r=[],i=0;i<t.length;i++){var n,o=t[i],a=o.type;if("Point"===a||"MultiPoint"===a||"LineString"===a)n=xt(o.geometry,e);else if("MultiLineString"===a||"Polygon"===a){n=[];for(var s=0;s<o.geometry.length;s++)n.push(xt(o.geometry[s],e))}else if("MultiPolygon"===a)for(n=[],s=0;s<o.geometry.length;s++){for(var u=[],l=0;l<o.geometry[s].length;l++)u.push(xt(o.geometry[s][l],e));n.push(u)}r.push(it(o.id,a,n,o.tags))}return r}function xt(t,e){var r=[];r.size=t.size,void 0!==t.start&&(r.start=t.start,r.end=t.end);for(var i=0;i<t.length;i+=3)r.push(t[i]+e,t[i+1],t[i+2]);return r}function bt(t,e){if(t.transformed)return t;var r,i,n,o=1<<t.z,a=t.x,s=t.y;for(r=0;r<t.features.length;r++){var u=t.features[r],l=u.geometry,p=u.type;if(u.geometry=[],1===p)for(i=0;i<l.length;i+=2)u.geometry.push(wt(l[i],l[i+1],e,o,a,s));else for(i=0;i<l.length;i++){var c=[];for(n=0;n<l[i].length;n+=2)c.push(wt(l[i][n],l[i][n+1],e,o,a,s));u.geometry.push(c)}}return t.transformed=!0,t}function wt(t,e,r,i,n,o){return[Math.round(r*(t*i-n)),Math.round(r*(e*i-o))]}function Et(t,e,r,i,n){for(var o=e===n.maxZoom?0:n.tolerance/((1<<e)*n.extent),a={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:i,z:e,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},s=0;s<t.length;s++){a.numFeatures++,St(a,t[s],o,n);var u=t[s].minX,l=t[s].minY,p=t[s].maxX,c=t[s].maxY;u<a.minX&&(a.minX=u),l<a.minY&&(a.minY=l),p>a.maxX&&(a.maxX=p),c>a.maxY&&(a.maxY=c)}return a}function St(t,e,r,i){var n=e.geometry,o=e.type,a=[];if("Point"===o||"MultiPoint"===o)for(var s=0;s<n.length;s+=3)a.push(n[s]),a.push(n[s+1]),t.numPoints++,t.numSimplified++;else if("LineString"===o)Tt(a,n,t,r,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(s=0;s<n.length;s++)Tt(a,n[s],t,r,"Polygon"===o,0===s);else if("MultiPolygon"===o)for(var u=0;u<n.length;u++){var l=n[u];for(s=0;s<l.length;s++)Tt(a,l[s],t,r,!0,0===s)}if(a.length){var p=e.tags||null;if("LineString"===o&&i.lineMetrics){for(var c in p={},e.tags)p[c]=e.tags[c];p.mapbox_clip_start=n.start/n.size,p.mapbox_clip_end=n.end/n.size}var h={geometry:a,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:p};null!==e.id&&(h.id=e.id),t.features.push(h)}}function Tt(t,e,r,i,n,o){var a=i*i;if(i>0&&e.size<(n?a:i))r.numPoints+=e.length/3;else{for(var s=[],u=0;u<e.length;u+=3)(0===i||e[u+2]>a)&&(r.numSimplified++,s.push(e[u]),s.push(e[u+1])),r.numPoints++;n&&function(t,e){for(var r=0,i=0,n=t.length,o=n-2;i<n;o=i,i+=2)r+=(t[i]-t[o])*(t[i+1]+t[o+1]);if(r>0===e)for(i=0,n=t.length;i<n/2;i+=2){var a=t[i],s=t[i+1];t[i]=t[n-2-i],t[i+1]=t[n-1-i],t[n-2-i]=a,t[n-1-i]=s}}(s,o),t.push(s)}}function At(t,e){var r=(e=this.options=function(t,e){for(var r in e)t[r]=e[r];return t}(Object.create(this.options),e)).debug;if(r&&console.time("preprocess data"),e.maxZoom<0||e.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(e.promoteId&&e.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=function(t,e){var r=[];if("FeatureCollection"===t.type)for(var i=0;i<t.features.length;i++)ot(r,t.features[i],e,i);else"Feature"===t.type?ot(r,t,e):ot(r,{geometry:t},e);return r}(t,e);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",e.indexMaxZoom,e.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(i=function(t,e){var r=e.buffer/e.extent,i=t,n=ct(t,1,-1-r,r,0,-1,2,e),o=ct(t,1,1-r,2+r,0,-1,2,e);return(n||o)&&(i=ct(t,1,-r,1+r,0,-1,2,e)||[],n&&(i=gt(n,1).concat(i)),o&&(i=i.concat(gt(o,-1)))),i}(i,e)).length&&this.splitTile(i,0,0,0),r&&(i.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)))}function It(t,e,r){return 32*((1<<t)*r+e)+t}function zt(t,e){var r=t.tileID.canonical;if(!this._geoJSONIndex)return e(null,null);var i=this._geoJSONIndex.getTile(r.z,r.x,r.y);if(!i)return e(null,null);var n=new E(i.features),o=z(n);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),e(null,{vectorTile:n,rawData:o.buffer})}X.prototype.load=function(t){var e=this.options,r=e.log,i=e.minZoom,n=e.maxZoom,o=e.nodeSize;r&&console.time("total time");var a="prepare "+t.length+" points";r&&console.time(a),this.points=t;for(var s=[],u=0;u<t.length;u++)t[u].geometry&&s.push(K(t[u],u));this.trees[n+1]=new Z(s,tt,et,o,Float32Array),r&&console.timeEnd(a);for(var l=n;l>=i;l--){var p=+Date.now();s=this._cluster(s,l),this.trees[l]=new Z(s,tt,et,o,Float32Array),r&&console.log("z%d: %d clusters in %dms",l,s.length,+Date.now()-p)}return r&&console.timeEnd("total time"),this},X.prototype.getClusters=function(t,e){var r=((t[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,t[1])),n=180===t[2]?180:((t[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)r=-180,n=180;else if(r>n){var a=this.getClusters([r,i,180,o],e),s=this.getClusters([-180,i,n,o],e);return a.concat(s)}for(var u=this.trees[this._limitZoom(e)],l=[],p=0,c=u.range(Y(r),$(o),Y(n),$(i));p<c.length;p+=1){var h=c[p],f=u.points[h];l.push(f.numPoints?H(f):this.points[f.index])}return l},X.prototype.getChildren=function(t){var e=t>>5,r=t%32,i="No cluster with the specified id.",n=this.trees[r];if(!n)throw new Error(i);var o=n.points[e];if(!o)throw new Error(i);for(var a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),s=[],u=0,l=n.within(o.x,o.y,a);u<l.length;u+=1){var p=l[u],c=n.points[p];c.parentId===t&&s.push(c.numPoints?H(c):this.points[c.index])}if(0===s.length)throw new Error(i);return s},X.prototype.getLeaves=function(t,e,r){e=e||10,r=r||0;var i=[];return this._appendLeaves(i,t,e,r,0),i},X.prototype.getTile=function(t,e,r){var i=this.trees[this._limitZoom(t)],n=Math.pow(2,t),o=this.options,a=o.extent,s=o.radius/a,u=(r-s)/n,l=(r+1+s)/n,p={features:[]};return this._addTileFeatures(i.range((e-s)/n,u,(e+1+s)/n,l),i.points,e,r,n,p),0===e&&this._addTileFeatures(i.range(1-s/n,u,1,l),i.points,n,r,n,p),e===n-1&&this._addTileFeatures(i.range(0,u,s/n,l),i.points,-1,r,n,p),p.features.length?p:null},X.prototype.getClusterExpansionZoom=function(t){for(var e=t%32-1;e<=this.options.maxZoom;){var r=this.getChildren(t);if(e++,1!==r.length)break;t=r[0].properties.cluster_id}return e},X.prototype._appendLeaves=function(t,e,r,i,n){for(var o=0,a=this.getChildren(e);o<a.length;o+=1){var s=a[o],u=s.properties;if(u&&u.cluster?n+u.point_count<=i?n+=u.point_count:n=this._appendLeaves(t,u.cluster_id,r,i,n):n<i?n++:t.push(s),t.length===r)break}return n},X.prototype._addTileFeatures=function(t,e,r,i,n,o){for(var a=0,s=t;a<s.length;a+=1){var u=e[s[a]],l={type:1,geometry:[[Math.round(this.options.extent*(u.x*n-r)),Math.round(this.options.extent*(u.y*n-i))]],tags:u.numPoints?J(u):this.points[u.index].properties},p=u.numPoints?u.id:this.points[u.index].id;void 0!==p&&(l.id=p),o.features.push(l)}},X.prototype._limitZoom=function(t){return Math.max(this.options.minZoom,Math.min(t,this.options.maxZoom+1))},X.prototype._cluster=function(t,e){for(var r=[],i=this.options,n=i.radius,o=i.extent,a=i.reduce,s=n/(o*Math.pow(2,e)),u=0;u<t.length;u++){var l=t[u];if(!(l.zoom<=e)){l.zoom=e;for(var p=this.trees[e+1],c=p.within(l.x,l.y,s),h=l.numPoints||1,f=l.x*h,d=l.y*h,m=a?this._map(l,!0):null,y=(u<<5)+(e+1),v=0,_=c;v<_.length;v+=1){var g=_[v],x=p.points[g];if(!(x.zoom<=e)){x.zoom=e;var b=x.numPoints||1;f+=x.x*b,d+=x.y*b,h+=b,x.parentId=y,a&&a(m,this._map(x))}}1===h?r.push(l):(l.parentId=y,r.push(W(f/h,d/h,y,h,m)))}}return r},X.prototype._map=function(t,e){if(t.numPoints)return e?Q({},t.properties):t.properties;var r=this.points[t.index].properties,i=this.options.map(r);return e&&i===r?Q({},i):i},At.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},At.prototype.splitTile=function(t,e,r,i,n,o,a){for(var s=[t,e,r,i],u=this.options,l=u.debug;s.length;){i=s.pop(),r=s.pop(),e=s.pop(),t=s.pop();var p=1<<e,c=It(e,r,i),h=this.tiles[c];if(!h&&(l>1&&console.time("creation"),h=this.tiles[c]=Et(t,e,r,i,u),this.tileCoords.push({z:e,x:r,y:i}),l)){l>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",e,r,i,h.numFeatures,h.numPoints,h.numSimplified),console.timeEnd("creation"));var f="z"+e;this.stats[f]=(this.stats[f]||0)+1,this.total++}if(h.source=t,n){if(e===u.maxZoom||e===n)continue;var d=1<<n-e;if(r!==Math.floor(o/d)||i!==Math.floor(a/d))continue}else if(e===u.indexMaxZoom||h.numPoints<=u.indexMaxPoints)continue;if(h.source=null,0!==t.length){l>1&&console.time("clipping");var m,y,v,_,g,x,b=.5*u.buffer/u.extent,w=.5-b,E=.5+b,S=1+b;m=y=v=_=null,g=ct(t,p,r-b,r+E,0,h.minX,h.maxX,u),x=ct(t,p,r+w,r+S,0,h.minX,h.maxX,u),t=null,g&&(m=ct(g,p,i-b,i+E,1,h.minY,h.maxY,u),y=ct(g,p,i+w,i+S,1,h.minY,h.maxY,u),g=null),x&&(v=ct(x,p,i-b,i+E,1,h.minY,h.maxY,u),_=ct(x,p,i+w,i+S,1,h.minY,h.maxY,u),x=null),l>1&&console.timeEnd("clipping"),s.push(m||[],e+1,2*r,2*i),s.push(y||[],e+1,2*r,2*i+1),s.push(v||[],e+1,2*r+1,2*i),s.push(_||[],e+1,2*r+1,2*i+1)}}},At.prototype.getTile=function(t,e,r){var i=this.options,n=i.extent,o=i.debug;if(t<0||t>24)return null;var a=1<<t,s=It(t,e=(e%a+a)%a,r);if(this.tiles[s])return bt(this.tiles[s],n);o>1&&console.log("drilling down to z%d-%d-%d",t,e,r);for(var u,l=t,p=e,c=r;!u&&l>0;)l--,p=Math.floor(p/2),c=Math.floor(c/2),u=this.tiles[It(l,p,c)];return u&&u.source?(o>1&&console.log("found parent tile z%d-%d-%d",l,p,c),o>1&&console.time("drilling down"),this.splitTile(u.source,l,p,c,t,e,r),o>1&&console.timeEnd("drilling down"),this.tiles[s]?bt(this.tiles[s],n):null):null};var kt=function(e){function r(t,r,i){e.call(this,t,r,zt),i&&(this.loadGeoJSON=i)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadData=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=e,this._pendingLoadDataParams=t,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData())},r.prototype._loadData=function(){var e=this;if(this._pendingCallback&&this._pendingLoadDataParams){var r=this._pendingCallback,i=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var n=!!(i&&i.request&&i.request.collectResourceTiming)&&new u.Performance(i.request);this.loadGeoJSON(i,(function(o,a){if(o||!a)return r(o);if("object"!=typeof a)return r(new Error("Input data is not a valid GeoJSON object."));!function t(e,r){switch(e&&e.type||null){case"FeatureCollection":return e.features=e.features.map(_(t,r)),e;case"GeometryCollection":return e.geometries=e.geometries.map(_(t,r)),e;case"Feature":return e.geometry=t(e.geometry,r),e;case"Polygon":case"MultiPolygon":return function(t,e){return"Polygon"===t.type?t.coordinates=g(t.coordinates,e):"MultiPolygon"===t.type&&(t.coordinates=t.coordinates.map(_(g,e))),t}(e,r);default:return e}}(a,!0);try{e._geoJSONIndex=i.cluster?new X(function(e){var r=e.superclusterOptions,i=e.clusterProperties;if(!i||!r)return r;for(var n={},o={},a={accumulated:null,zoom:0},s={properties:null},u=Object.keys(i),l=0,p=u;l<p.length;l+=1){var c=p[l],h=i[c],f=h[0],d=h[1],m=t.createExpression(d),y=t.createExpression("string"==typeof f?[f,["accumulated"],["get",c]]:f);n[c]=m.value,o[c]=y.value}return r.map=function(t){s.properties=t;for(var e={},r=0,i=u;r<i.length;r+=1){var o=i[r];e[o]=n[o].evaluate(a,s)}return e},r.reduce=function(t,e){s.properties=e;for(var r=0,i=u;r<i.length;r+=1){var n=i[r];a.accumulated=t[n],t[n]=o[n].evaluate(a,s)}},r}(i)).load(a.features):function(t,e){return new At(t,e)}(a,i.geojsonVtOptions)}catch(o){return r(o)}e.loaded={};var s={};if(n){var u=n.finish();u&&(s.resourceTiming={},s.resourceTiming[i.source]=JSON.parse(JSON.stringify(u)))}r(null,s)}))}},r.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData())},r.prototype.reloadTile=function(t,r){var i=this.loaded,n=t.uid;return i&&i[n]?e.prototype.reloadTile.call(this,t,r):this.loadTile(t,r)},r.prototype.loadGeoJSON=function(e,r){if(e.request)t.getJSON(e.request,r);else{if("string"!=typeof e.data)return r(new Error("Input data is not a valid GeoJSON object."));try{return r(null,JSON.parse(e.data))}catch(t){return r(new Error("Input data is not a valid GeoJSON object."))}}},r.prototype.removeSource=function(t,e){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),e()},r.prototype.getClusterExpansionZoom=function(t,e){e(null,this._geoJSONIndex.getClusterExpansionZoom(t.clusterId))},r.prototype.getClusterChildren=function(t,e){e(null,this._geoJSONIndex.getChildren(t.clusterId))},r.prototype.getClusterLeaves=function(t,e){e(null,this._geoJSONIndex.getLeaves(t.clusterId,t.limit,t.offset))},r}(c),Ct=function(e){var r=this;this.self=e,this.actor=new t.Actor(e,this),this.layerIndexes={},this.workerSourceTypes={vector:c,geojson:kt},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(t,e){if(r.workerSourceTypes[t])throw new Error('Worker source with name "'+t+'" already registered.');r.workerSourceTypes[t]=e},this.self.registerRTLTextPlugin=function(e){if(t.plugin.isLoaded())throw new Error("RTL text plugin already registered.");t.plugin.applyArabicShaping=e.applyArabicShaping,t.plugin.processBidirectionalText=e.processBidirectionalText,t.plugin.processStyledBidirectionalText=e.processStyledBidirectionalText}};return Ct.prototype.setReferrer=function(t,e){this.referrer=e},Ct.prototype.setLayers=function(t,e,r){this.getLayerIndex(t).replace(e),r()},Ct.prototype.updateLayers=function(t,e,r){this.getLayerIndex(t).update(e.layers,e.removedIds),r()},Ct.prototype.loadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).loadTile(e,r)},Ct.prototype.loadDEMTile=function(t,e,r){this.getDEMWorkerSource(t,e.source).loadTile(e,r)},Ct.prototype.reloadTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).reloadTile(e,r)},Ct.prototype.abortTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).abortTile(e,r)},Ct.prototype.removeTile=function(t,e,r){this.getWorkerSource(t,e.type,e.source).removeTile(e,r)},Ct.prototype.removeDEMTile=function(t,e){this.getDEMWorkerSource(t,e.source).removeTile(e)},Ct.prototype.removeSource=function(t,e,r){if(this.workerSources[t]&&this.workerSources[t][e.type]&&this.workerSources[t][e.type][e.source]){var i=this.workerSources[t][e.type][e.source];delete this.workerSources[t][e.type][e.source],void 0!==i.removeSource?i.removeSource(e,r):r()}},Ct.prototype.loadWorkerSource=function(t,e,r){try{this.self.importScripts(e.url),r()}catch(t){r(t.toString())}},Ct.prototype.loadRTLTextPlugin=function(e,r,i){try{t.plugin.isLoaded()||(this.self.importScripts(r),i(t.plugin.isLoaded()?null:new Error("RTL Text Plugin failed to import scripts from "+r)))}catch(t){i(t.toString())}},Ct.prototype.getLayerIndex=function(t){var e=this.layerIndexes[t];return e||(e=this.layerIndexes[t]=new i),e},Ct.prototype.getWorkerSource=function(t,e,r){var i=this;if(this.workerSources[t]||(this.workerSources[t]={}),this.workerSources[t][e]||(this.workerSources[t][e]={}),!this.workerSources[t][e][r]){var n={send:function(e,r,n){i.actor.send(e,r,n,t)}};this.workerSources[t][e][r]=new this.workerSourceTypes[e](n,this.getLayerIndex(t))}return this.workerSources[t][e][r]},Ct.prototype.getDEMWorkerSource=function(t,e){return this.demWorkerSources[t]||(this.demWorkerSources[t]={}),this.demWorkerSources[t][e]||(this.demWorkerSources[t][e]=new h),this.demWorkerSources[t][e]},"undefined"!=typeof WorkerGlobalScope&&void 0!==t.window&&t.window instanceof WorkerGlobalScope&&(t.window.worker=new Ct(t.window)),Ct})),i(0,(function(t){var e=t.createCommonjsModule((function(t){function e(t){return!!("undefined"!=typeof window&&"undefined"!=typeof document&&Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray&&Function.prototype&&Function.prototype.bind&&Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions&&"JSON"in window&&"parse"in JSON&&"stringify"in JSON&&function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,r=new Blob([""],{type:"text/javascript"}),i=URL.createObjectURL(r);try{e=new Worker(i),t=!0}catch(e){t=!1}return e&&e.terminate(),URL.revokeObjectURL(i),t}()&&"Uint8ClampedArray"in window&&ArrayBuffer.isView&&function(t){return void 0===r[t]&&(r[t]=function(t){var r=document.createElement("canvas"),i=Object.create(e.webGLContextAttributes);return i.failIfMajorPerformanceCaveat=t,r.probablySupportsContext?r.probablySupportsContext("webgl",i)||r.probablySupportsContext("experimental-webgl",i):r.supportsContext?r.supportsContext("webgl",i)||r.supportsContext("experimental-webgl",i):r.getContext("webgl",i)||r.getContext("experimental-webgl",i)}(t)),r[t]}(t&&t.failIfMajorPerformanceCaveat))}t.exports?t.exports=e:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=e);var r={};e.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0}})),r={create:function(e,r,i){var n=t.window.document.createElement(e);return r&&(n.className=r),i&&i.appendChild(n),n},createNS:function(e,r){return t.window.document.createElementNS(e,r)}},i=t.window.document?t.window.document.documentElement.style:null;function n(t){if(!i)return null;for(var e=0;e<t.length;e++)if(t[e]in i)return t[e];return t[0]}var o,a=n(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);r.disableDrag=function(){i&&a&&(o=i[a],i[a]="none")},r.enableDrag=function(){i&&a&&(i[a]=o)};var s=n(["transform","WebkitTransform"]);r.setTransform=function(t,e){t.style[s]=e};var u=!1;try{var l=Object.defineProperty({},"passive",{get:function(){u=!0}});t.window.addEventListener("test",l,l),t.window.removeEventListener("test",l,l)}catch(t){u=!1}r.addEventListener=function(t,e,r,i){void 0===i&&(i={}),"passive"in i&&u?t.addEventListener(e,r,i):t.addEventListener(e,r,i.capture)},r.removeEventListener=function(t,e,r,i){void 0===i&&(i={}),"passive"in i&&u?t.removeEventListener(e,r,i):t.removeEventListener(e,r,i.capture)};var p=function(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener("click",p,!0)};function c(t){var e=t.userImage;return!!(e&&e.render&&e.render())&&(t.data.replace(new Uint8Array(e.data.buffer)),!0)}r.suppressClick=function(){t.window.addEventListener("click",p,!0),t.window.setTimeout((function(){t.window.removeEventListener("click",p,!0)}),0)},r.mousePos=function(e,r){var i=e.getBoundingClientRect();return r=r.touches?r.touches[0]:r,new t.Point(r.clientX-i.left-e.clientLeft,r.clientY-i.top-e.clientTop)},r.touchPos=function(e,r){for(var i=e.getBoundingClientRect(),n=[],o="touchend"===r.type?r.changedTouches:r.touches,a=0;a<o.length;a++)n.push(new t.Point(o[a].clientX-i.left-e.clientLeft,o[a].clientY-i.top-e.clientTop));return n},r.mouseButton=function(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button},r.remove=function(t){t.parentNode&&t.parentNode.removeChild(t)};var h=function(e){function r(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.isLoaded=function(){return this.loaded},r.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,r=this.requestors;e<r.length;e+=1){var i=r[e],n=i.ids,o=i.callback;this._notify(n,o)}this.requestors=[]}},r.prototype.getImage=function(t){return this.images[t]},r.prototype.addImage=function(t,e){this.images[t]=e},r.prototype.updateImage=function(t,e){var r=this.images[t];e.version=r.version+1,this.images[t]=e,this.updatedImages[t]=!0},r.prototype.removeImage=function(t){var e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove()},r.prototype.listImages=function(){return Object.keys(this.images)},r.prototype.getImages=function(t,e){var r=!0;if(!this.isLoaded())for(var i=0,n=t;i<n.length;i+=1){var o=n[i];this.images[o]||(r=!1)}this.isLoaded()||r?this._notify(t,e):this.requestors.push({ids:t,callback:e})},r.prototype._notify=function(e,r){for(var i={},n=0,o=e;n<o.length;n+=1){var a=o[n];this.images[a]||this.fire(new t.Event("styleimagemissing",{id:a}));var s=this.images[a];s?i[a]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:t.warnOnce('Image "'+a+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.')}r(null,i)},r.prototype.getPixelSize=function(){var t=this.atlasImage;return{width:t.width,height:t.height}},r.prototype.getPattern=function(e){var r=this.patterns[e],i=this.getImage(e);if(!i)return null;if(r&&r.position.version===i.version)return r.position;if(r)r.position.version=i.version;else{var n={w:i.data.width+2,h:i.data.height+2,x:0,y:0},o=new t.ImagePosition(n,i);this.patterns[e]={bin:n,position:o}}return this._updatePatternAtlas(),this.patterns[e].position},r.prototype.bind=function(e){var r=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,r.RGBA),this.atlasTexture.bind(r.LINEAR,r.CLAMP_TO_EDGE)},r.prototype._updatePatternAtlas=function(){var e=[];for(var r in this.patterns)e.push(this.patterns[r].bin);var i=t.potpack(e),n=i.w,o=i.h,a=this.atlasImage;for(var s in a.resize({width:n||1,height:o||1}),this.patterns){var u=this.patterns[s].bin,l=u.x+1,p=u.y+1,c=this.images[s].data,h=c.width,f=c.height;t.RGBAImage.copy(c,a,{x:0,y:0},{x:l,y:p},{width:h,height:f}),t.RGBAImage.copy(c,a,{x:0,y:f-1},{x:l,y:p-1},{width:h,height:1}),t.RGBAImage.copy(c,a,{x:0,y:0},{x:l,y:p+f},{width:h,height:1}),t.RGBAImage.copy(c,a,{x:h-1,y:0},{x:l-1,y:p},{width:1,height:f}),t.RGBAImage.copy(c,a,{x:0,y:0},{x:l+h,y:p},{width:1,height:f})}this.dirty=!0},r.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={}},r.prototype.dispatchRenderCallbacks=function(t){for(var e=0,r=t;e<r.length;e+=1){var i=r[e];if(!this.callbackDispatchedThisFrame[i]){this.callbackDispatchedThisFrame[i]=!0;var n=this.images[i];c(n)&&this.updateImage(i,n)}}},r}(t.Evented),f=m,d=1e20;function m(t,e,r,i,n,o){this.fontSize=t||24,this.buffer=void 0===e?3:e,this.cutoff=i||.25,this.fontFamily=n||"sans-serif",this.fontWeight=o||"normal",this.radius=r||8;var a=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=a,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(a*a),this.gridInner=new Float64Array(a*a),this.f=new Float64Array(a),this.d=new Float64Array(a),this.z=new Float64Array(a+1),this.v=new Int16Array(a),this.middle=Math.round(a/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1))}function y(t,e,r,i,n,o,a){for(var s=0;s<e;s++){for(var u=0;u<r;u++)i[u]=t[u*e+s];for(v(i,n,o,a,r),u=0;u<r;u++)t[u*e+s]=n[u]}for(u=0;u<r;u++){for(s=0;s<e;s++)i[s]=t[u*e+s];for(v(i,n,o,a,e),s=0;s<e;s++)t[u*e+s]=Math.sqrt(n[s])}}function v(t,e,r,i,n){r[0]=0,i[0]=-d,i[1]=+d;for(var o=1,a=0;o<n;o++){for(var s=(t[o]+o*o-(t[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);s<=i[a];)a--,s=(t[o]+o*o-(t[r[a]]+r[a]*r[a]))/(2*o-2*r[a]);r[++a]=o,i[a]=s,i[a+1]=+d}for(o=0,a=0;o<n;o++){for(;i[a+1]<o;)a++;e[o]=(o-r[a])*(o-r[a])+t[r[a]]}}m.prototype.draw=function(t){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(t,this.buffer,this.middle);for(var e=this.ctx.getImageData(0,0,this.size,this.size),r=new Uint8ClampedArray(this.size*this.size),i=0;i<this.size*this.size;i++){var n=e.data[4*i+3]/255;this.gridOuter[i]=1===n?0:0===n?d:Math.pow(Math.max(0,.5-n),2),this.gridInner[i]=1===n?d:0===n?0:Math.pow(Math.max(0,n-.5),2)}for(y(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),y(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),i=0;i<this.size*this.size;i++){var o=this.gridOuter[i]-this.gridInner[i];r[i]=Math.max(0,Math.min(255,Math.round(255-255*(o/this.radius+this.cutoff))))}return r};var _=function(t,e){this.requestTransform=t,this.localIdeographFontFamily=e,this.entries={}};_.prototype.setURL=function(t){this.url=t},_.prototype.getGlyphs=function(e,r){var i=this,n=[];for(var o in e)for(var a=0,s=e[o];a<s.length;a+=1){var u=s[a];n.push({stack:o,id:u})}t.asyncAll(n,(function(t,e){var r=t.stack,n=t.id,o=i.entries[r];o||(o=i.entries[r]={glyphs:{},requests:{}});var a=o.glyphs[n];if(void 0===a)if(a=i._tinySDF(o,r,n))e(null,{stack:r,id:n,glyph:a});else{var s=Math.floor(n/256);if(256*s>65535)e(new Error("glyphs > 65535 not supported"));else{var u=o.requests[s];u||(u=o.requests[s]=[],_.loadGlyphRange(r,s,i.url,i.requestTransform,(function(t,e){if(e)for(var r in e)o.glyphs[+r]=e[+r];for(var i=0,n=u;i<n.length;i+=1)(0,n[i])(t,e);delete o.requests[s]}))),u.push((function(t,i){t?e(t):i&&e(null,{stack:r,id:n,glyph:i[n]||null})}))}}else e(null,{stack:r,id:n,glyph:a})}),(function(t,e){if(t)r(t);else if(e){for(var i={},n=0,o=e;n<o.length;n+=1){var a=o[n],s=a.stack,u=a.id,l=a.glyph;(i[s]||(i[s]={}))[u]=l&&{id:l.id,bitmap:l.bitmap.clone(),metrics:l.metrics}}r(null,i)}}))},_.prototype._tinySDF=function(e,r,i){var n=this.localIdeographFontFamily;if(n&&(t.isChar["CJK Unified Ideographs"](i)||t.isChar["Hangul Syllables"](i))){var o=e.tinySDF;if(!o){var a="400";/bold/i.test(r)?a="900":/medium/i.test(r)?a="500":/light/i.test(r)&&(a="200"),o=e.tinySDF=new _.TinySDF(24,3,8,.25,n,a)}return{id:i,bitmap:new t.AlphaImage({width:30,height:30},o.draw(String.fromCharCode(i))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},_.loadGlyphRange=function(e,r,i,n,o){var a=256*r,s=a+255,u=n(t.normalizeGlyphsURL(i).replace("{fontstack}",e).replace("{range}",a+"-"+s),t.ResourceType.Glyphs);t.getArrayBuffer(u,(function(e,r){if(e)o(e);else if(r){for(var i={},n=0,a=t.parseGlyphPBF(r);n<a.length;n+=1){var s=a[n];i[s.id]=s}o(null,i)}}))},_.TinySDF=f;var g=function(){this.specification=t.styleSpec.light.position};g.prototype.possiblyEvaluate=function(e,r){return t.sphericalToCartesian(e.expression.evaluate(r))},g.prototype.interpolate=function(e,r,i){return{x:t.number(e.x,r.x,i),y:t.number(e.y,r.y,i),z:t.number(e.z,r.z,i)}};var x=new t.Properties({anchor:new t.DataConstantProperty(t.styleSpec.light.anchor),position:new g,color:new t.DataConstantProperty(t.styleSpec.light.color),intensity:new t.DataConstantProperty(t.styleSpec.light.intensity)}),b=function(e){function r(r){e.call(this),this._transitionable=new t.Transitionable(x),this.setLight(r),this._transitioning=this._transitionable.untransitioned()}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getLight=function(){return this._transitionable.serialize()},r.prototype.setLight=function(e,r){if(void 0===r&&(r={}),!this._validate(t.validateLight,e,r))for(var i in e){var n=e[i];t.endsWith(i,"-transition")?this._transitionable.setTransition(i.slice(0,-"-transition".length),n):this._transitionable.setValue(i,n)}},r.prototype.updateTransitions=function(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning)},r.prototype.hasTransition=function(){return this._transitioning.hasTransition()},r.prototype.recalculate=function(t){this.properties=this._transitioning.possiblyEvaluate(t)},r.prototype._validate=function(e,r,i){return(!i||!1!==i.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:r,style:{glyphs:!0,sprite:!0},styleSpec:t.styleSpec})))},r}(t.Evented),w=function(t,e){this.width=t,this.height=e,this.nextRow=0,this.bytes=4,this.data=new Uint8Array(this.width*this.height*this.bytes),this.positions={}};w.prototype.getDash=function(t,e){var r=t.join(",")+String(e);return this.positions[r]||(this.positions[r]=this.addDash(t,e)),this.positions[r]},w.prototype.addDash=function(e,r){var i=r?7:0,n=2*i+1;if(this.nextRow+n>this.height)return t.warnOnce("LineAtlas out of space"),null;for(var o=0,a=0;a<e.length;a++)o+=e[a];for(var s=this.width/o,u=s/2,l=e.length%2==1,p=-i;p<=i;p++)for(var c=this.nextRow+i+p,h=this.width*c,f=l?-e[e.length-1]:0,d=e[0],m=1,y=0;y<this.width;y++){for(;d<y/s;)f=d,d+=e[m],l&&m===e.length-1&&(d+=e[0]),m++;var v=Math.abs(y-f*s),_=Math.abs(y-d*s),g=Math.min(v,_),x=m%2==1,b=void 0;if(r){var w=i?p/i*(u+1):0;if(x){var E=u-Math.abs(w);b=Math.sqrt(g*g+E*E)}else b=u-Math.sqrt(g*g+w*w)}else b=(x?1:-1)*g;this.data[3+4*(h+y)]=Math.max(0,Math.min(255,b+128))}var S={y:(this.nextRow+i+.5)/this.height,height:2*i/this.height,width:o};return this.nextRow+=n,this.dirty=!0,S},w.prototype.bind=function(t){var e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.RGBA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,this.width,this.height,0,e.RGBA,e.UNSIGNED_BYTE,this.data))};var E=function e(r,i){this.workerPool=r,this.actors=[],this.currentActor=0,this.id=t.uniqueId();for(var n=this.workerPool.acquire(this.id),o=0;o<n.length;o++){var a=n[o],s=new e.Actor(a,i,this.id);s.name="Worker "+o,this.actors.push(s)}};function S(e,r,i){var n=function(r,n){if(r)return i(r);if(n){var o=t.pick(n,["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds"]);n.vector_layers&&(o.vectorLayers=n.vector_layers,o.vectorLayerIds=o.vectorLayers.map((function(t){return t.id}))),e.url&&(o.tiles=t.canonicalizeTileset(o,e.url)),i(null,o)}};return e.url?t.getJSON(r(t.normalizeSourceURL(e.url),t.ResourceType.Source),n):t.browser.frame((function(){return n(null,e)}))}E.prototype.broadcast=function(e,r,i){i=i||function(){},t.asyncAll(this.actors,(function(t,i){t.send(e,r,i)}),i)},E.prototype.send=function(t,e,r,i){return("number"!=typeof i||isNaN(i))&&(i=this.currentActor=(this.currentActor+1)%this.actors.length),this.actors[i].send(t,e,r),i},E.prototype.remove=function(){this.actors.forEach((function(t){t.remove()})),this.actors=[],this.workerPool.release(this.id)},E.Actor=t.Actor;var T=function(e,r,i){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=r||0,this.maxzoom=i||24};T.prototype.validateBounds=function(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]},T.prototype.contains=function(e){var r=Math.pow(2,e.z),i=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*r),n=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*r),o=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*r),a=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*r);return e.x>=i&&e.x<o&&e.y>=n&&e.y<a};var A=function(e){function r(r,i,n,o){if(e.call(this),this.id=r,this.dispatcher=n,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,t.extend(this,t.pick(i,["url","scheme","tileSize"])),this._options=t.extend({type:"vector"},i),this._collectResourceTiming=i.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(o)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=S(this._options,this.map._transformRequest,(function(r,i){e._tileJSONRequest=null,r?e.fire(new t.ErrorEvent(r)):i&&(t.extend(e,i),i.bounds&&(e.tileBounds=new T(i.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(i.tiles),t.postMapLoadEvent(i.tiles,e.map._getMapId()),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.loadTile=function(e,r){var i=t.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url),n={request:this.map._transformRequest(i,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};function o(t,i){return e.aborted?r(null):t&&404!==t.status?r(t):(i&&i.resourceTiming&&(e.resourceTiming=i.resourceTiming),this.map._refreshExpiredTiles&&i&&e.setExpiryData(i),e.loadVectorData(i,this.map.painter),r(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}n.request.collectResourceTiming=this._collectResourceTiming,void 0===e.workerID||"expired"===e.state?e.workerID=this.dispatcher.send("loadTile",n,o.bind(this)):"loading"===e.state?e.reloadCallback=r:this.dispatcher.send("reloadTile",n,o.bind(this),e.workerID)},r.prototype.abortTile=function(t){this.dispatcher.send("abortTile",{uid:t.uid,type:this.type,source:this.id},void 0,t.workerID)},r.prototype.unloadTile=function(t){t.unloadVectorData(),this.dispatcher.send("removeTile",{uid:t.uid,type:this.type,source:this.id},void 0,t.workerID)},r.prototype.hasTransition=function(){return!1},r}(t.Evented),I=function(e){function r(r,i,n,o){e.call(this),this.id=r,this.dispatcher=n,this.setEventedParent(o),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.extend({},i),t.extend(this,t.pick(i,["url","scheme","tileSize"]))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=S(this._options,this.map._transformRequest,(function(r,i){e._tileJSONRequest=null,r?e.fire(new t.ErrorEvent(r)):i&&(t.extend(e,i),i.bounds&&(e.tileBounds=new T(i.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(i.tiles),t.postMapLoadEvent(i.tiles,e.map._getMapId()),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})))}))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null)},r.prototype.serialize=function(){return t.extend({},this._options)},r.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},r.prototype.loadTile=function(e,r){var i=this,n=t.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);e.request=t.getImage(this.map._transformRequest(n,t.ResourceType.Tile),(function(n,o){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(n)e.state="errored",r(n);else if(o){i.map._refreshExpiredTiles&&e.setExpiryData(o),delete o.cacheControl,delete o.expires;var a=i.map.painter.context,s=a.gl;e.texture=i.map.painter.getTileTexture(o.width),e.texture?e.texture.update(o,{useMipmap:!0}):(e.texture=new t.Texture(a,o,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),a.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,a.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,a.extTextureFilterAnisotropicMax)),e.state="loaded",r(null)}}))},r.prototype.abortTile=function(t,e){t.request&&(t.request.cancel(),delete t.request),e()},r.prototype.unloadTile=function(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),e()},r.prototype.hasTransition=function(){return!1},r}(t.Evented),z=function(e){function r(r,i,n,o){e.call(this,r,i,n,o),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({},i),this.encoding=i.encoding||"mapbox"}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},r.prototype.loadTile=function(e,r){var i=t.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);e.request=t.getImage(this.map._transformRequest(i,t.ResourceType.Tile),function(i,n){if(delete e.request,e.aborted)e.state="unloaded",r(null);else if(i)e.state="errored",r(i);else if(n){this.map._refreshExpiredTiles&&e.setExpiryData(n),delete n.cacheControl,delete n.expires;var o=t.browser.getImageData(n),a={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:o,encoding:this.encoding};e.workerID&&"expired"!==e.state||(e.workerID=this.dispatcher.send("loadDEMTile",a,function(t,i){t&&(e.state="errored",r(t)),i&&(e.dem=i,e.needsHillshadePrepare=!0,e.state="loaded",r(null))}.bind(this)))}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID)},r.prototype._getNeighboringTiles=function(e){var r=e.canonical,i=Math.pow(2,r.z),n=(r.x-1+i)%i,o=0===r.x?e.wrap-1:e.wrap,a=(r.x+1+i)%i,s=r.x+1===i?e.wrap+1:e.wrap,u={};return u[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y).key]={backfilled:!1},u[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y).key]={backfilled:!1},r.y>0&&(u[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y-1).key]={backfilled:!1},u[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y-1).key]={backfilled:!1},u[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y-1).key]={backfilled:!1}),r.y+1<i&&(u[new t.OverscaledTileID(e.overscaledZ,o,r.z,n,r.y+1).key]={backfilled:!1},u[new t.OverscaledTileID(e.overscaledZ,e.wrap,r.z,r.x,r.y+1).key]={backfilled:!1},u[new t.OverscaledTileID(e.overscaledZ,s,r.z,a,r.y+1).key]={backfilled:!1}),u},r.prototype.unloadTile=function(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.state="unloaded",this.dispatcher.send("removeDEMTile",{uid:t.uid,source:this.id},void 0,t.workerID)},r}(I),k=function(e){function r(r,i,n,o){e.call(this),this.id=r,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this.dispatcher=n,this.setEventedParent(o),this._data=i.data,this._options=t.extend({},i),this._collectResourceTiming=i.collectResourceTiming,this._resourceTiming=[],void 0!==i.maxzoom&&(this.maxzoom=i.maxzoom),i.type&&(this.type=i.type),i.attribution&&(this.attribution=i.attribution);var a=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:i.cluster||!1,geojsonVtOptions:{buffer:(void 0!==i.buffer?i.buffer:128)*a,tolerance:(void 0!==i.tolerance?i.tolerance:.375)*a,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:i.lineMetrics||!1,generateId:i.generateId||!1},superclusterOptions:{maxZoom:void 0!==i.clusterMaxZoom?Math.min(i.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:t.EXTENT,radius:(i.clusterRadius||50)*a,log:!1},clusterProperties:i.clusterProperties},i.workerOptions)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(r){if(r)e.fire(new t.ErrorEvent(r));else{var i={dataType:"source",sourceDataType:"metadata"};e._collectResourceTiming&&e._resourceTiming&&e._resourceTiming.length>0&&(i.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event("data",i))}}))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setData=function(e){var r=this;return this._data=e,this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(e){if(e)r.fire(new t.ErrorEvent(e));else{var i={dataType:"source",sourceDataType:"content"};r._collectResourceTiming&&r._resourceTiming&&r._resourceTiming.length>0&&(i.resourceTiming=r._resourceTiming,r._resourceTiming=[]),r.fire(new t.Event("data",i))}})),this},r.prototype.getClusterExpansionZoom=function(t,e){return this.dispatcher.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e,this.workerID),this},r.prototype.getClusterChildren=function(t,e){return this.dispatcher.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e,this.workerID),this},r.prototype.getClusterLeaves=function(t,e,r,i){return this.dispatcher.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:r},i,this.workerID),this},r.prototype._updateWorkerData=function(e){var r=this,i=t.extend({},this.workerOptions),n=this._data;"string"==typeof n?(i.request=this.map._transformRequest(t.browser.resolveURL(n),t.ResourceType.Source),i.request.collectResourceTiming=this._collectResourceTiming):i.data=JSON.stringify(n),this.workerID=this.dispatcher.send(this.type+".loadData",i,(function(t,n){r._removed||n&&n.abandoned||(r._loaded=!0,n&&n.resourceTiming&&n.resourceTiming[r.id]&&(r._resourceTiming=n.resourceTiming[r.id].slice(0)),r.dispatcher.send(r.type+".coalesce",{source:i.source},null,r.workerID),e(t))}),this.workerID)},r.prototype.loadTile=function(e,r){var i=this,n=void 0===e.workerID?"loadTile":"reloadTile",o={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};e.workerID=this.dispatcher.send(n,o,(function(t,o){return e.unloadVectorData(),e.aborted?r(null):t?r(t):(e.loadVectorData(o,i.map.painter,"reloadTile"===n),r(null))}),this.workerID)},r.prototype.abortTile=function(t){t.aborted=!0},r.prototype.unloadTile=function(t){t.unloadVectorData(),this.dispatcher.send("removeTile",{uid:t.uid,type:this.type,source:this.id},null,t.workerID)},r.prototype.onRemove=function(){this._removed=!0,this.dispatcher.send("removeSource",{type:this.type,source:this.id},null,this.workerID)},r.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},r.prototype.hasTransition=function(){return!1},r}(t.Evented),C=function(e){function r(t,r,i,n){e.call(this),this.id=t,this.dispatcher=i,this.coordinates=r.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this.setEventedParent(n),this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(e,r){var i=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._transformRequest(this.url,t.ResourceType.Image),(function(n,o){n?i.fire(new t.ErrorEvent(n)):o&&(i.image=o,e&&(i.coordinates=e),r&&r(),i._finishLoading())}))},r.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null})),this):this},r.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})))},r.prototype.onAdd=function(t){this.map=t,this.load()},r.prototype.setCoordinates=function(e){var r=this;this.coordinates=e;var i=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var r=1/0,i=1/0,n=-1/0,o=-1/0,a=0,s=e;a<s.length;a+=1){var u=s[a];r=Math.min(r,u.x),i=Math.min(i,u.y),n=Math.max(n,u.x),o=Math.max(o,u.y)}var l=n-r,p=o-i,c=Math.max(l,p),h=Math.max(0,Math.floor(-Math.log(c)/Math.LN2)),f=Math.pow(2,h);return new t.CanonicalTileID(h,Math.floor((r+n)/2*f),Math.floor((i+o)/2*f))}(i),this.minzoom=this.maxzoom=this.tileID.z;var n=i.map((function(t){return r.tileID.getTilePoint(t)._round()}));return this._boundsArray=new t.StructArrayLayout4i8,this._boundsArray.emplaceBack(n[0].x,n[0].y,0,0),this._boundsArray.emplaceBack(n[1].x,n[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(n[3].x,n[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(n[2].x,n[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this},r.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,r=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new t.Texture(e,this.image,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var n=this.tiles[i];"loaded"!==n.state&&(n.state="loaded",n.texture=this.texture)}}},r.prototype.loadTile=function(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null))},r.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return!1},r}(t.Evented),P=function(e){function r(t,r,i,n){e.call(this,t,r,i,n),this.roundZoom=!0,this.type="video",this.options=r}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){var e=this,r=this.options;this.urls=[];for(var i=0,n=r.urls;i<n.length;i+=1){var o=n[i];this.urls.push(this.map._transformRequest(o,t.ResourceType.Source).url)}t.getVideo(this.urls,(function(r,i){r?e.fire(new t.ErrorEvent(r)):i&&(e.video=i,e.video.loop=!0,e.video.addEventListener("playing",(function(){e.map.triggerRepaint()})),e.map&&e.video.play(),e._finishLoading())}))},r.prototype.getVideo=function(){return this.video},r.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))},r.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,r=e.gl;for(var i in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE),r.texSubImage2D(r.TEXTURE_2D,0,0,0,r.RGBA,r.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,r.RGBA),this.texture.bind(r.LINEAR,r.CLAMP_TO_EDGE)),this.tiles){var n=this.tiles[i];"loaded"!==n.state&&(n.state="loaded",n.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this.video&&!this.video.paused},r}(C),M=function(e){function r(r,i,n,o){e.call(this,r,i,n,o),i.coordinates?Array.isArray(i.coordinates)&&4===i.coordinates.length&&!i.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return"number"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "coordinates"'))),i.animate&&"boolean"!=typeof i.animate&&this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'optional "animate" property must be a boolean value'))),i.canvas?"string"==typeof i.canvas||i.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+r,null,'missing required property "canvas"'))),this.options=i,this.animate=void 0===i.animate||i.animate}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.load=function(){this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())},r.prototype.getCanvas=function(){return this.canvas},r.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play()},r.prototype.onRemove=function(){this.pause()},r.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var r=this.map.painter.context,i=r.gl;for(var n in this.boundsBuffer||(this.boundsBuffer=r.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(r,this.canvas,i.RGBA,{premultiply:!0}),this.tiles){var o=this.tiles[n];"loaded"!==o.state&&(o.state="loaded",o.texture=this.texture)}}},r.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},r.prototype.hasTransition=function(){return this._playing},r.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];t<e.length;t+=1){var r=e[t];if(isNaN(r)||r<=0)return!0}return!1},r}(C),L={vector:A,raster:I,"raster-dem":z,geojson:k,video:P,image:C,canvas:M},D=function(e,r,i,n){var o=new L[r.type](e,r,i,n);if(o.id!==e)throw new Error("Expected Source id to be "+e+" instead of "+o.id);return t.bindAll(["load","abort","unload","serialize","prepare"],o),o};function B(e,r){var i=t.identity([]);return t.translate(i,i,[1,1,0]),t.scale(i,i,[.5*e.width,.5*e.height,1]),t.multiply(i,i,e.calculatePosMatrix(r.toUnwrapped()))}function R(t,e,r,i,n){var o=function(t,e,r){if(t)for(var i=0,n=t;i<n.length;i+=1){var o=e[n[i]];if(o&&o.source===r&&"fill-extrusion"===o.type)return!0}else for(var a in e){var s=e[a];if(s.source===r&&"fill-extrusion"===s.type)return!0}return!1}(i&&i.layers,e,t.id),a=n.maxPitchScaleFactor(),s=t.tilesIn(r,a,o);s.sort(F);for(var u=[],l=0,p=s;l<p.length;l+=1){var c=p[l];u.push({wrappedTileID:c.tileID.wrapped().key,queryResults:c.tile.queryRenderedFeatures(e,t._state,c.queryGeometry,c.cameraQueryGeometry,c.scale,i,n,a,B(t.transform,c.tileID))})}var h=function(t){for(var e={},r={},i=0,n=t;i<n.length;i+=1){var o=n[i],a=o.queryResults,s=o.wrappedTileID,u=r[s]=r[s]||{};for(var l in a)for(var p=a[l],c=u[l]=u[l]||{},h=e[l]=e[l]||[],f=0,d=p;f<d.length;f+=1){var m=d[f];c[m.featureIndex]||(c[m.featureIndex]=!0,h.push(m))}}return e}(u);for(var f in h)h[f].forEach((function(e){var r=e.feature,i=t.getFeatureState(r.layer["source-layer"],r.id);r.source=r.layer.source,r.layer["source-layer"]&&(r.sourceLayer=r.layer["source-layer"]),r.state=i}));return h}function F(t,e){var r=t.tileID,i=e.tileID;return r.overscaledZ-i.overscaledZ||r.canonical.y-i.canonical.y||r.wrap-i.wrap||r.canonical.x-i.canonical.x}var O=function(t,e){this.max=t,this.onRemove=e,this.reset()};O.prototype.reset=function(){for(var t in this.data)for(var e=0,r=this.data[t];e<r.length;e+=1){var i=r[e];i.timeout&&clearTimeout(i.timeout),this.onRemove(i.value)}return this.data={},this.order=[],this},O.prototype.add=function(t,e,r){var i=this,n=t.wrapped().key;void 0===this.data[n]&&(this.data[n]=[]);var o={value:e,timeout:void 0};if(void 0!==r&&(o.timeout=setTimeout((function(){i.remove(t,o)}),r)),this.data[n].push(o),this.order.push(n),this.order.length>this.max){var a=this._getAndRemoveByKey(this.order[0]);a&&this.onRemove(a)}return this},O.prototype.has=function(t){return t.wrapped().key in this.data},O.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},O.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},O.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},O.prototype.remove=function(t,e){if(!this.has(t))return this;var r=t.wrapped().key,i=void 0===e?0:this.data[r].indexOf(e),n=this.data[r][i];return this.data[r].splice(i,1),n.timeout&&clearTimeout(n.timeout),0===this.data[r].length&&delete this.data[r],this.onRemove(n.value),this.order.splice(this.order.indexOf(r),1),this},O.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e)}return this};var U=function(t,e,r){this.context=t;var i=t.gl;this.buffer=i.createBuffer(),this.dynamicDraw=Boolean(r),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),i.bufferData(i.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?i.DYNAMIC_DRAW:i.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};U.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer)},U.prototype.updateData=function(t){var e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer)},U.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var V={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},N=function(t,e,r,i){this.length=e.length,this.attributes=r,this.itemSize=e.bytesPerElement,this.dynamicDraw=i,this.context=t;var n=t.gl;this.buffer=n.createBuffer(),t.bindVertexBuffer.set(this.buffer),n.bufferData(n.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?n.DYNAMIC_DRAW:n.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer};N.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer)},N.prototype.updateData=function(t){var e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer)},N.prototype.enableAttributes=function(t,e){for(var r=0;r<this.attributes.length;r++){var i=this.attributes[r],n=e.attributes[i.name];void 0!==n&&t.enableVertexAttribArray(n)}},N.prototype.setVertexAttribPointers=function(t,e,r){for(var i=0;i<this.attributes.length;i++){var n=this.attributes[i],o=e.attributes[n.name];void 0!==o&&t.vertexAttribPointer(o,n.components,t[V[n.type]],!1,this.itemSize,n.offset+this.itemSize*(r||0))}},N.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer)};var j=function(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1};j.prototype.get=function(){return this.current},j.prototype.set=function(t){},j.prototype.getDefault=function(){return this.default},j.prototype.setDefault=function(){this.set(this.default)};var q=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(j),Z=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 1},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1)},e}(j),G=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1)},e}(j),X=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[!0,!0,!0,!0]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(j),W=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1)},e}(j),K=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 255},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1)},e}(j),H=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},e.prototype.set=function(t){var e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1)},e}(j),J=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1)},e}(j),Y=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1}},e}(j),$=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[0,1]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1)},e}(j),Q=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1}},e}(j),tt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.LESS},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1)},e}(j),et=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1}},e}(j),rt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.ONE,t.ZERO]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1)},e}(j),it=function(e){function r(){e.apply(this,arguments)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getDefault=function(){return t.Color.transparent},r.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1)},r}(j),nt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.FUNC_ADD},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1)},e}(j),ot=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1}},e}(j),at=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.BACK},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1)},e}(j),st=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.CCW},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1)},e}(j),ut=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1)},e}(j),lt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.TEXTURE0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1)},e}(j),pt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1)},e}(j),ct=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1}},e}(j),ht=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(j),ft=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1}},e}(j),dt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1}},e}(j),mt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){var e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1},e}(j),yt=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1)},e}(j),vt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 4},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1}},e}(j),_t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1}},e}(j),gt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1}},e}(j),xt=function(t){function e(e,r){t.call(this,e),this.context=e,this.parent=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e}(j),bt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setDirty=function(){this.dirty=!0},e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1}},e}(xt),wt=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1}},e}(xt),Et=function(t,e,r){this.context=t,this.width=e,this.height=r;var i=t.gl,n=this.framebuffer=i.createFramebuffer();this.colorAttachment=new bt(t,n),this.depthAttachment=new wt(t,n)};Et.prototype.destroy=function(){var t=this.context.gl,e=this.colorAttachment.get();e&&t.deleteTexture(e);var r=this.depthAttachment.get();r&&t.deleteRenderbuffer(r),t.deleteFramebuffer(this.framebuffer)};var St=function(t,e,r){this.func=t,this.mask=e,this.range=r};St.ReadOnly=!1,St.ReadWrite=!0,St.disabled=new St(519,St.ReadOnly,[0,1]);var Tt=function(t,e,r,i,n,o){this.test=t,this.ref=e,this.mask=r,this.fail=i,this.depthFail=n,this.pass=o};Tt.disabled=new Tt({func:519,mask:0},0,0,7680,7680,7680);var At=function(t,e,r){this.blendFunction=t,this.blendColor=e,this.mask=r};At.disabled=new At(At.Replace=[1,0],t.Color.transparent,[!1,!1,!1,!1]),At.unblended=new At(At.Replace,t.Color.transparent,[!0,!0,!0,!0]),At.alphaBlended=new At([1,771],t.Color.transparent,[!0,!0,!0,!0]);var It=function(t,e,r){this.enable=t,this.mode=e,this.frontFace=r};It.disabled=new It(!1,1029,2305),It.backCCW=new It(!0,1029,2305);var zt=function(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new q(this),this.clearDepth=new Z(this),this.clearStencil=new G(this),this.colorMask=new X(this),this.depthMask=new W(this),this.stencilMask=new K(this),this.stencilFunc=new H(this),this.stencilOp=new J(this),this.stencilTest=new Y(this),this.depthRange=new $(this),this.depthTest=new Q(this),this.depthFunc=new tt(this),this.blend=new et(this),this.blendFunc=new rt(this),this.blendColor=new it(this),this.blendEquation=new nt(this),this.cullFace=new ot(this),this.cullFaceSide=new at(this),this.frontFace=new st(this),this.program=new ut(this),this.activeTexture=new lt(this),this.viewport=new pt(this),this.bindFramebuffer=new ct(this),this.bindRenderbuffer=new ht(this),this.bindTexture=new ft(this),this.bindVertexBuffer=new dt(this),this.bindElementBuffer=new mt(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new yt(this),this.pixelStoreUnpack=new vt(this),this.pixelStoreUnpackPremultiplyAlpha=new _t(this),this.pixelStoreUnpackFlipY=new gt(this),this.extTextureFilterAnisotropic=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&t.getExtension("OES_texture_half_float_linear")};zt.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0},zt.prototype.createIndexBuffer=function(t,e){return new U(this,t,e)},zt.prototype.createVertexBuffer=function(t,e,r){return new N(this,t,e,r)},zt.prototype.createRenderbuffer=function(t,e,r){var i=this.gl,n=i.createRenderbuffer();return this.bindRenderbuffer.set(n),i.renderbufferStorage(i.RENDERBUFFER,t,e,r),this.bindRenderbuffer.set(null),n},zt.prototype.createFramebuffer=function(t,e){return new Et(this,t,e)},zt.prototype.clear=function(t){var e=t.color,r=t.depth,i=this.gl,n=0;e&&(n|=i.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==r&&(n|=i.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(r),this.depthMask.set(!0)),i.clear(n)},zt.prototype.setCullFace=function(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace))},zt.prototype.setDepthMode=function(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1)},zt.prototype.setStencilMode=function(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1)},zt.prototype.setColorMode=function(e){t.deepEqual(e.blendFunction,At.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask)},zt.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null)};var kt=function(e){function r(r,i,n){var o=this;e.call(this),this.id=r,this.dispatcher=n,this.on("data",(function(t){"source"===t.dataType&&"metadata"===t.sourceDataType&&(o._sourceLoaded=!0),o._sourceLoaded&&!o._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(o.reload(),o.transform&&o.update(o.transform))})),this.on("error",(function(){o._sourceErrored=!0})),this._source=D(r,i,n,this),this._tiles={},this._cache=new O(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._coveredTiles={},this._state=new t.SourceFeatureState}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.onAdd=function(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t)},r.prototype.onRemove=function(t){this._source&&this._source.onRemove&&this._source.onRemove(t)},r.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;for(var t in this._tiles){var e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0},r.prototype.getSource=function(){return this._source},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){if(this._paused){var t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform)}},r.prototype._loadTile=function(t,e){return this._source.loadTile(t,e)},r.prototype._unloadTile=function(t){if(this._source.unloadTile)return this._source.unloadTile(t,(function(){}))},r.prototype._abortTile=function(t){if(this._source.abortTile)return this._source.abortTile(t,(function(){}))},r.prototype.serialize=function(){return this._source.serialize()},r.prototype.prepare=function(t){for(var e in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var r=this._tiles[e];r.upload(t),r.prepare(this.map.style.imageManager)}},r.prototype.getIds=function(){return Object.keys(this._tiles).map(Number).sort(Ct)},r.prototype.getRenderableIds=function(e){var r=this,i=[];for(var n in this._tiles)this._isIdRenderable(+n,e)&&i.push(+n);return e?i.sort((function(e,i){var n=r._tiles[e].tileID,o=r._tiles[i].tileID,a=new t.Point(n.canonical.x,n.canonical.y)._rotate(r.transform.angle),s=new t.Point(o.canonical.x,o.canonical.y)._rotate(r.transform.angle);return n.overscaledZ-o.overscaledZ||s.y-a.y||s.x-a.x})):i.sort(Ct)},r.prototype.hasRenderableParent=function(t){var e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)},r.prototype._isIdRenderable=function(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())},r.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var t in this._cache.reset(),this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(t,"reloading")},r.prototype._reloadTile=function(t,e){var r=this._tiles[t];r&&("loading"!==r.state&&(r.state=e),this._loadTile(r,this._tileLoaded.bind(this,r,t,e)))},r.prototype._tileLoaded=function(e,r,i,n){if(n)return e.state="errored",void(404!==n.status?this._source.fire(new t.ErrorEvent(n,{tile:e})):this.update(this.transform));e.timeAdded=t.browser.now(),"expired"===i&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(r,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new t.Event("data",{dataType:"source",tile:e,coord:e.tileID}))},r.prototype._backfillDEM=function(t){for(var e=this.getRenderableIds(),r=0;r<e.length;r++){var i=e[r];if(t.neighboringTiles&&t.neighboringTiles[i]){var n=this.getTileByID(i);o(t,n),o(n,t)}}function o(t,e){t.needsHillshadePrepare=!0;var r=e.tileID.canonical.x-t.tileID.canonical.x,i=e.tileID.canonical.y-t.tileID.canonical.y,n=Math.pow(2,t.tileID.canonical.z),o=e.tileID.key;0===r&&0===i||Math.abs(i)>1||(Math.abs(r)>1&&(1===Math.abs(r+n)?r+=n:1===Math.abs(r-n)&&(r-=n)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,r,i),t.neighboringTiles&&t.neighboringTiles[o]&&(t.neighboringTiles[o].backfilled=!0)))}},r.prototype.getTile=function(t){return this.getTileByID(t.key)},r.prototype.getTileByID=function(t){return this._tiles[t]},r.prototype.getZoom=function(t){return t.zoom+t.scaleZoom(t.tileSize/this._source.tileSize)},r.prototype._retainLoadedChildren=function(t,e,r,i){for(var n in this._tiles){var o=this._tiles[n];if(!(i[n]||!o.hasData()||o.tileID.overscaledZ<=e||o.tileID.overscaledZ>r)){for(var a=o.tileID;o&&o.tileID.overscaledZ>e+1;){var s=o.tileID.scaledTo(o.tileID.overscaledZ-1);(o=this._tiles[s.key])&&o.hasData()&&(a=s)}for(var u=a;u.overscaledZ>e;)if(t[(u=u.scaledTo(u.overscaledZ-1)).key]){i[a.key]=a;break}}}},r.prototype.findLoadedParent=function(t,e){for(var r=t.overscaledZ-1;r>=e;r--){var i=t.scaledTo(r);if(!i)return;var n=String(i.key),o=this._tiles[n];if(o&&o.hasData())return o;if(this._cache.has(i))return this._cache.get(i)}},r.prototype.updateCacheSize=function(t){var e=(Math.ceil(t.width/this._source.tileSize)+1)*(Math.ceil(t.height/this._source.tileSize)+1),r=Math.floor(5*e),i="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,r):r;this._cache.setMaxSize(i)},r.prototype.handleWrapJump=function(t){var e=(t-(void 0===this._prevLng?t:this._prevLng))/360,r=Math.round(e);if(this._prevLng=t,r){var i={};for(var n in this._tiles){var o=this._tiles[n];o.tileID=o.tileID.unwrapTo(o.tileID.wrap+r),i[o.tileID.key]=o}for(var a in this._tiles=i,this._timers)clearTimeout(this._timers[a]),delete this._timers[a];for(var s in this._tiles){var u=this._tiles[s];this._setTileReloadTimer(s,u)}}},r.prototype.update=function(e){var i=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var n;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?n=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(n=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(n=n.filter((function(t){return i._source.hasTile(t)})))):n=[];var o=(this._source.roundZoom?Math.round:Math.floor)(this.getZoom(e)),a=Math.max(o-r.maxOverzooming,this._source.minzoom),s=Math.max(o+r.maxUnderzooming,this._source.minzoom),u=this._updateRetainedTiles(n,o);if(Pt(this._source.type)){for(var l={},p={},c=0,h=Object.keys(u);c<h.length;c+=1){var f=h[c],d=u[f],m=this._tiles[f];if(m&&!(m.fadeEndTime&&m.fadeEndTime<=t.browser.now())){var y=this.findLoadedParent(d,a);y&&(this._addTile(y.tileID),l[y.tileID.key]=y.tileID),p[f]=d}}for(var v in this._retainLoadedChildren(p,o,s,u),l)u[v]||(this._coveredTiles[v]=!0,u[v]=l[v])}for(var _ in u)this._tiles[_].clearFadeHold();for(var g=0,x=t.keysDifference(this._tiles,u);g<x.length;g+=1){var b=x[g],w=this._tiles[b];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(b)}}},r.prototype.releaseSymbolFadeTiles=function(){for(var t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t)},r.prototype._updateRetainedTiles=function(t,e){for(var i={},n={},o=Math.max(e-r.maxOverzooming,this._source.minzoom),a=Math.max(e+r.maxUnderzooming,this._source.minzoom),s={},u=0,l=t;u<l.length;u+=1){var p=l[u],c=this._addTile(p);i[p.key]=p,c.hasData()||e<this._source.maxzoom&&(s[p.key]=p)}this._retainLoadedChildren(s,e,a,i);for(var h=0,f=t;h<f.length;h+=1){var d=f[h],m=this._tiles[d.key];if(!m.hasData()){if(e+1>this._source.maxzoom){var y=d.children(this._source.maxzoom)[0],v=this.getTile(y);if(v&&v.hasData()){i[y.key]=y;continue}}else{var _=d.children(this._source.maxzoom);if(i[_[0].key]&&i[_[1].key]&&i[_[2].key]&&i[_[3].key])continue}for(var g=m.wasRequested(),x=d.overscaledZ-1;x>=o;--x){var b=d.scaledTo(x);if(n[b.key])break;if(n[b.key]=!0,!(m=this.getTile(b))&&g&&(m=this._addTile(b)),m&&(i[b.key]=b,g=m.wasRequested(),m.hasData()))break}}}return i},r.prototype._addTile=function(e){var r=this._tiles[e.key];if(r)return r;(r=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,r),r.tileID=e,this._state.initializeTileState(r,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,r)));var i=Boolean(r);return i||(r=new t.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(r,this._tileLoaded.bind(this,r,e.key,r.state))),r?(r.uses++,this._tiles[e.key]=r,i||this._source.fire(new t.Event("dataloading",{tile:r,coord:r.tileID,dataType:"source"})),r):null},r.prototype._setTileReloadTimer=function(t,e){var r=this;t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);var i=e.getExpiryTimeout();i&&(this._timers[t]=setTimeout((function(){r._reloadTile(t,"expired"),delete r._timers[t]}),i))},r.prototype._removeTile=function(t){var e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))))},r.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset()},r.prototype.tilesIn=function(e,r,i){var n=this,o=[],a=this.transform;if(!a)return o;for(var s=i?a.getCameraQueryGeometry(e):e,u=e.map((function(t){return a.pointCoordinate(t)})),l=s.map((function(t){return a.pointCoordinate(t)})),p=this.getIds(),c=1/0,h=1/0,f=-1/0,d=-1/0,m=0,y=l;m<y.length;m+=1){var v=y[m];c=Math.min(c,v.x),h=Math.min(h,v.y),f=Math.max(f,v.x),d=Math.max(d,v.y)}for(var _=function(e){var i=n._tiles[p[e]];if(!i.holdingForFade()){var s=i.tileID,m=Math.pow(2,a.zoom-i.tileID.overscaledZ),y=r*i.queryPadding*t.EXTENT/i.tileSize/m,v=[s.getTilePoint(new t.MercatorCoordinate(c,h)),s.getTilePoint(new t.MercatorCoordinate(f,d))];if(v[0].x-y<t.EXTENT&&v[0].y-y<t.EXTENT&&v[1].x+y>=0&&v[1].y+y>=0){var _=u.map((function(t){return s.getTilePoint(t)})),g=l.map((function(t){return s.getTilePoint(t)}));o.push({tile:i,tileID:s,queryGeometry:_,cameraQueryGeometry:g,scale:m})}}},g=0;g<p.length;g++)_(g);return o},r.prototype.getVisibleCoordinates=function(t){for(var e=this,r=this.getRenderableIds(t).map((function(t){return e._tiles[t].tileID})),i=0,n=r;i<n.length;i+=1){var o=n[i];o.posMatrix=this.transform.calculatePosMatrix(o.toUnwrapped())}return r},r.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Pt(this._source.type))for(var e in this._tiles){var r=this._tiles[e];if(void 0!==r.fadeEndTime&&r.fadeEndTime>=t.browser.now())return!0}return!1},r.prototype.setFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.updateState(t,e,r)},r.prototype.removeFeatureState=function(t,e,r){t=t||"_geojsonTileLayer",this._state.removeFeatureState(t,e,r)},r.prototype.getFeatureState=function(t,e){return t=t||"_geojsonTileLayer",this._state.getState(t,e)},r}(t.Evented);function Ct(t,e){return t%32-e%32||e-t}function Pt(t){return"raster"===t||"image"===t||"video"===t}function Mt(){return new t.window.Worker($i.workerUrl)}kt.maxOverzooming=10,kt.maxUnderzooming=3;var Lt=function(){this.active={}};Lt.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length<Lt.workerCount;)this.workers.push(new Mt);return this.active[t]=!0,this.workers.slice()},Lt.prototype.release=function(t){delete this.active[t],0===Object.keys(this.active).length&&(this.workers.forEach((function(t){t.terminate()})),this.workers=null)};var Dt,Bt=Math.floor(t.browser.hardwareConcurrency/2);function Rt(e,r){var i={};for(var n in e)"ref"!==n&&(i[n]=e[n]);return t.refProperties.forEach((function(t){t in r&&(i[t]=r[t])})),i}function Ft(t){t=t.slice();for(var e=Object.create(null),r=0;r<t.length;r++)e[t[r].id]=t[r];for(var i=0;i<t.length;i++)"ref"in t[i]&&(t[i]=Rt(t[i],e[t[i].ref]));return t}Lt.workerCount=Math.max(Math.min(Bt,6),1);var Ot={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function Ut(t,e,r){r.push({command:Ot.addSource,args:[t,e[t]]})}function Vt(t,e,r){e.push({command:Ot.removeSource,args:[t]}),r[t]=!0}function Nt(t,e,r,i){Vt(t,r,i),Ut(t,e,r)}function jt(e,r,i){var n;for(n in e[i])if(e[i].hasOwnProperty(n)&&"data"!==n&&!t.deepEqual(e[i][n],r[i][n]))return!1;for(n in r[i])if(r[i].hasOwnProperty(n)&&"data"!==n&&!t.deepEqual(e[i][n],r[i][n]))return!1;return!0}function qt(e,r,i,n,o,a){var s;for(s in r=r||{},e=e||{})e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||i.push({command:a,args:[n,s,r[s],o]}));for(s in r)r.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t.deepEqual(e[s],r[s])||i.push({command:a,args:[n,s,r[s],o]}))}function Zt(t){return t.id}function Gt(t,e){return t[e.id]=e,t}var Xt=function(t,e,r){var i=this.boxCells=[],n=this.circleCells=[];this.xCellCount=Math.ceil(t/r),this.yCellCount=Math.ceil(e/r);for(var o=0;o<this.xCellCount*this.yCellCount;o++)i.push([]),n.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0};Xt.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Xt.prototype.insert=function(t,e,r,i,n){this._forEachCell(e,r,i,n,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(i),this.bboxes.push(n)},Xt.prototype.insertCircle=function(t,e,r,i){this._forEachCell(e-i,r-i,e+i,r+i,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(r),this.circles.push(i)},Xt.prototype._insertBoxCell=function(t,e,r,i,n,o){this.boxCells[n].push(o)},Xt.prototype._insertCircleCell=function(t,e,r,i,n,o){this.circleCells[n].push(o)},Xt.prototype._query=function(t,e,r,i,n,o){if(r<0||t>this.width||i<0||e>this.height)return!n&&[];var a=[];if(t<=0&&e<=0&&this.width<=r&&this.height<=i){if(n)return!0;for(var s=0;s<this.boxKeys.length;s++)a.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var u=0;u<this.circleKeys.length;u++){var l=this.circles[3*u],p=this.circles[3*u+1],c=this.circles[3*u+2];a.push({key:this.circleKeys[u],x1:l-c,y1:p-c,x2:l+c,y2:p+c})}return o?a.filter(o):a}var h={hitTest:n,seenUids:{box:{},circle:{}}};return this._forEachCell(t,e,r,i,this._queryCell,a,h,o),n?a.length>0:a},Xt.prototype._queryCircle=function(t,e,r,i,n){var o=t-r,a=t+r,s=e-r,u=e+r;if(a<0||o>this.width||u<0||s>this.height)return!i&&[];var l=[],p={hitTest:i,circle:{x:t,y:e,radius:r},seenUids:{box:{},circle:{}}};return this._forEachCell(o,s,a,u,this._queryCellCircle,l,p,n),i?l.length>0:l},Xt.prototype.query=function(t,e,r,i,n){return this._query(t,e,r,i,!1,n)},Xt.prototype.hitTest=function(t,e,r,i,n){return this._query(t,e,r,i,!0,n)},Xt.prototype.hitTestCircle=function(t,e,r,i){return this._queryCircle(t,e,r,!0,i)},Xt.prototype._queryCell=function(t,e,r,i,n,o,a,s){var u=a.seenUids,l=this.boxCells[n];if(null!==l)for(var p=this.bboxes,c=0,h=l;c<h.length;c+=1){var f=h[c];if(!u.box[f]){u.box[f]=!0;var d=4*f;if(t<=p[d+2]&&e<=p[d+3]&&r>=p[d+0]&&i>=p[d+1]&&(!s||s(this.boxKeys[f]))){if(a.hitTest)return o.push(!0),!0;o.push({key:this.boxKeys[f],x1:p[d],y1:p[d+1],x2:p[d+2],y2:p[d+3]})}}}var m=this.circleCells[n];if(null!==m)for(var y=this.circles,v=0,_=m;v<_.length;v+=1){var g=_[v];if(!u.circle[g]){u.circle[g]=!0;var x=3*g;if(this._circleAndRectCollide(y[x],y[x+1],y[x+2],t,e,r,i)&&(!s||s(this.circleKeys[g]))){if(a.hitTest)return o.push(!0),!0;var b=y[x],w=y[x+1],E=y[x+2];o.push({key:this.circleKeys[g],x1:b-E,y1:w-E,x2:b+E,y2:w+E})}}}},Xt.prototype._queryCellCircle=function(t,e,r,i,n,o,a,s){var u=a.circle,l=a.seenUids,p=this.boxCells[n];if(null!==p)for(var c=this.bboxes,h=0,f=p;h<f.length;h+=1){var d=f[h];if(!l.box[d]){l.box[d]=!0;var m=4*d;if(this._circleAndRectCollide(u.x,u.y,u.radius,c[m+0],c[m+1],c[m+2],c[m+3])&&(!s||s(this.boxKeys[d])))return o.push(!0),!0}}var y=this.circleCells[n];if(null!==y)for(var v=this.circles,_=0,g=y;_<g.length;_+=1){var x=g[_];if(!l.circle[x]){l.circle[x]=!0;var b=3*x;if(this._circlesCollide(v[b],v[b+1],v[b+2],u.x,u.y,u.radius)&&(!s||s(this.circleKeys[x])))return o.push(!0),!0}}},Xt.prototype._forEachCell=function(t,e,r,i,n,o,a,s){for(var u=this._convertToXCellCoord(t),l=this._convertToYCellCoord(e),p=this._convertToXCellCoord(r),c=this._convertToYCellCoord(i),h=u;h<=p;h++)for(var f=l;f<=c;f++){var d=this.xCellCount*f+h;if(n.call(this,t,e,r,i,d,o,a,s))return}},Xt.prototype._convertToXCellCoord=function(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))},Xt.prototype._convertToYCellCoord=function(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))},Xt.prototype._circlesCollide=function(t,e,r,i,n,o){var a=i-t,s=n-e,u=r+o;return u*u>a*a+s*s},Xt.prototype._circleAndRectCollide=function(t,e,r,i,n,o,a){var s=(o-i)/2,u=Math.abs(t-(i+s));if(u>s+r)return!1;var l=(a-n)/2,p=Math.abs(e-(n+l));if(p>l+r)return!1;if(u<=s||p<=l)return!0;var c=u-s,h=p-l;return c*c+h*h<=r*r};var Wt=t.properties.layout;function Kt(e,r,i,n,o){var a=t.create();return r?(t.scale(a,a,[1/o,1/o,1]),i||t.rotateZ(a,a,n.angle)):t.multiply(a,n.labelPlaneMatrix,e),a}function Ht(e,r,i,n,o){if(r){var a=t.clone(e);return t.scale(a,a,[o,o,1]),i||t.rotateZ(a,a,-n.angle),a}return n.glCoordMatrix}function Jt(e,r){var i=[e.x,e.y,0,1];ae(i,i,r);var n=i[3];return{point:new t.Point(i[0]/n,i[1]/n),signedDistanceFromCamera:n}}function Yt(t,e){var r=t[0]/t[3],i=t[1]/t[3];return r>=-e[0]&&r<=e[0]&&i>=-e[1]&&i<=e[1]}function $t(e,r,i,n,o,a,s,u){var l=n?e.textSizeData:e.iconSizeData,p=t.evaluateSizeForZoom(l,i.transform.zoom,Wt.properties[n?"text-size":"icon-size"]),c=[256/i.width*2+1,256/i.height*2+1],h=n?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;h.clear();for(var f=e.lineVertexArray,d=n?e.text.placedSymbolArray:e.icon.placedSymbolArray,m=i.transform.width/i.transform.height,y=!1,v=0;v<d.length;v++){var _=d.get(v);if(_.hidden||_.writingMode===t.WritingMode.vertical&&!y)oe(_.numGlyphs,h);else{y=!1;var g=[_.anchorX,_.anchorY,0,1];if(t.transformMat4(g,g,r),Yt(g,c)){var x=.5+g[3]/i.transform.cameraToCenterDistance*.5,b=t.evaluateSizeForFeature(l,p,_),w=s?b*x:b/x,E=new t.Point(_.anchorX,_.anchorY),S=Jt(E,o).point,T={},A=ee(_,w,!1,u,r,o,a,e.glyphOffsetArray,f,h,S,E,T,m);y=A.useVertical,(A.notEnoughRoom||y||A.needsFlipping&&ee(_,w,!0,u,r,o,a,e.glyphOffsetArray,f,h,S,E,T,m).notEnoughRoom)&&oe(_.numGlyphs,h)}else oe(_.numGlyphs,h)}}n?e.text.dynamicLayoutVertexBuffer.updateData(h):e.icon.dynamicLayoutVertexBuffer.updateData(h)}function Qt(t,e,r,i,n,o,a,s,u,l,p,c){var h=s.glyphStartIndex+s.numGlyphs,f=s.lineStartIndex,d=s.lineStartIndex+s.lineLength,m=e.getoffsetX(s.glyphStartIndex),y=e.getoffsetX(h-1),v=ie(t*m,r,i,n,o,a,s.segment,f,d,u,l,p,c);if(!v)return null;var _=ie(t*y,r,i,n,o,a,s.segment,f,d,u,l,p,c);return _?{first:v,last:_}:null}function te(e,r,i,n){return e===t.WritingMode.horizontal&&Math.abs(i.y-r.y)>Math.abs(i.x-r.x)*n?{useVertical:!0}:(e===t.WritingMode.vertical?r.y<i.y:r.x>i.x)?{needsFlipping:!0}:null}function ee(e,r,i,n,o,a,s,u,l,p,c,h,f,d){var m,y=r/24,v=e.lineOffsetX*y,_=e.lineOffsetY*y;if(e.numGlyphs>1){var g=e.glyphStartIndex+e.numGlyphs,x=e.lineStartIndex,b=e.lineStartIndex+e.lineLength,w=Qt(y,u,v,_,i,c,h,e,l,a,f,!1);if(!w)return{notEnoughRoom:!0};var E=Jt(w.first.point,s).point,S=Jt(w.last.point,s).point;if(n&&!i){var T=te(e.writingMode,E,S,d);if(T)return T}m=[w.first];for(var A=e.glyphStartIndex+1;A<g-1;A++)m.push(ie(y*u.getoffsetX(A),v,_,i,c,h,e.segment,x,b,l,a,f,!1));m.push(w.last)}else{if(n&&!i){var I=Jt(h,o).point,z=e.lineStartIndex+e.segment+1,k=new t.Point(l.getx(z),l.gety(z)),C=Jt(k,o),P=C.signedDistanceFromCamera>0?C.point:re(h,k,I,1,o),M=te(e.writingMode,I,P,d);if(M)return M}var L=ie(y*u.getoffsetX(e.glyphStartIndex),v,_,i,c,h,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,l,a,f,!1);if(!L)return{notEnoughRoom:!0};m=[L]}for(var D=0,B=m;D<B.length;D+=1){var R=B[D];t.addDynamicAttributes(p,R.point,R.angle)}return{}}function re(t,e,r,i,n){var o=Jt(t.add(t.sub(e)._unit()),n).point,a=r.sub(o);return r.add(a._mult(i/a.mag()))}function ie(e,r,i,n,o,a,s,u,l,p,c,h,f){var d=n?e-r:e+r,m=d>0?1:-1,y=0;n&&(m*=-1,y=Math.PI),m<0&&(y+=Math.PI);for(var v=m>0?u+s:u+s+1,_=v,g=o,x=o,b=0,w=0,E=Math.abs(d);b+w<=E;){if((v+=m)<u||v>=l)return null;if(x=g,void 0===(g=h[v])){var S=new t.Point(p.getx(v),p.gety(v)),T=Jt(S,c);if(T.signedDistanceFromCamera>0)g=h[v]=T.point;else{var A=v-m;g=re(0===b?a:new t.Point(p.getx(A),p.gety(A)),S,x,E-b+1,c)}}b+=w,w=x.dist(g)}var I=(E-b)/w,z=g.sub(x),k=z.mult(I)._add(x);return k._add(z._unit()._perp()._mult(i*m)),{point:k,angle:y+Math.atan2(g.y-x.y,g.x-x.x),tileDistance:f?{prevTileDistance:v-m===_?0:p.gettileUnitDistanceFromAnchor(v-m),lastSegmentViewportDistance:E-b}:null}}var ne=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function oe(t,e){for(var r=0;r<t;r++){var i=e.length;e.resize(i+4),e.float32.set(ne,3*i)}}function ae(t,e,r){var i=e[0],n=e[1];return t[0]=r[0]*i+r[4]*n+r[12],t[1]=r[1]*i+r[5]*n+r[13],t[3]=r[3]*i+r[7]*n+r[15],t}var se=function(t,e,r){void 0===e&&(e=new Xt(t.width+200,t.height+200,25)),void 0===r&&(r=new Xt(t.width+200,t.height+200,25)),this.transform=t,this.grid=e,this.ignoredGrid=r,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+100,this.screenBottomBoundary=t.height+100,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200};function ue(t,e,r){t[e+4]=r?1:0}function le(e,r,i){return r*(t.EXTENT/(e.tileSize*Math.pow(2,i-e.tileID.overscaledZ)))}se.prototype.placeCollisionBox=function(t,e,r,i,n){var o=this.projectAndGetPerspectiveRatio(i,t.anchorPointX,t.anchorPointY),a=r*o.perspectiveRatio,s=t.x1*a+o.point.x,u=t.y1*a+o.point.y,l=t.x2*a+o.point.x,p=t.y2*a+o.point.y;return!this.isInsideGrid(s,u,l,p)||!e&&this.grid.hitTest(s,u,l,p,n)?{box:[],offscreen:!1}:{box:[s,u,l,p],offscreen:this.isOffscreen(s,u,l,p)}},se.prototype.approximateTileDistance=function(t,e,r,i,n){var o=n?1:i/this.pitchfactor,a=t.lastSegmentViewportDistance*r;return t.prevTileDistance+a+(o-1)*a*Math.abs(Math.sin(e))},se.prototype.placeCollisionCircles=function(e,r,i,n,o,a,s,u,l,p,c,h,f){var d=[],m=this.projectAnchor(l,o.anchorX,o.anchorY),y=u/24,v=o.lineOffsetX*u,_=o.lineOffsetY*u,g=new t.Point(o.anchorX,o.anchorY),x=Qt(y,s,v,_,!1,Jt(g,p).point,g,o,a,p,{},!0),b=!1,w=!1,E=!0,S=m.perspectiveRatio*n,T=1/(n*i),A=0,I=0;x&&(A=this.approximateTileDistance(x.first.tileDistance,x.first.angle,T,m.cameraDistance,h),I=this.approximateTileDistance(x.last.tileDistance,x.last.angle,T,m.cameraDistance,h));for(var z=0;z<e.length;z+=5){var k=e[z],C=e[z+1],P=e[z+2],M=e[z+3];if(!x||M<-A||M>I)ue(e,z,!1);else{var L=this.projectPoint(l,k,C),D=P*S;if(d.length>0){var B=L.x-d[d.length-4],R=L.y-d[d.length-3];if(D*D*2>B*B+R*R&&z+8<e.length){var F=e[z+8];if(F>-A&&F<I){ue(e,z,!1);continue}}}var O=z/5;d.push(L.x,L.y,D,O),ue(e,z,!0);var U=L.x-D,V=L.y-D,N=L.x+D,j=L.y+D;if(E=E&&this.isOffscreen(U,V,N,j),w=w||this.isInsideGrid(U,V,N,j),!r&&this.grid.hitTestCircle(L.x,L.y,D,f)){if(!c)return{circles:[],offscreen:!1};b=!0}}}return{circles:b||!w?[]:d,offscreen:E}},se.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var r=[],i=1/0,n=1/0,o=-1/0,a=-1/0,s=0,u=e;s<u.length;s+=1){var l=u[s],p=new t.Point(l.x+100,l.y+100);i=Math.min(i,p.x),n=Math.min(n,p.y),o=Math.max(o,p.x),a=Math.max(a,p.y),r.push(p)}for(var c={},h={},f=0,d=this.grid.query(i,n,o,a).concat(this.ignoredGrid.query(i,n,o,a));f<d.length;f+=1){var m=d[f],y=m.key;if(void 0===c[y.bucketInstanceId]&&(c[y.bucketInstanceId]={}),!c[y.bucketInstanceId][y.featureIndex]){var v=[new t.Point(m.x1,m.y1),new t.Point(m.x2,m.y1),new t.Point(m.x2,m.y2),new t.Point(m.x1,m.y2)];t.polygonIntersectsPolygon(r,v)&&(c[y.bucketInstanceId][y.featureIndex]=!0,void 0===h[y.bucketInstanceId]&&(h[y.bucketInstanceId]=[]),h[y.bucketInstanceId].push(y.featureIndex))}}return h},se.prototype.insertCollisionBox=function(t,e,r,i,n){var o={bucketInstanceId:r,featureIndex:i,collisionGroupID:n};(e?this.ignoredGrid:this.grid).insert(o,t[0],t[1],t[2],t[3])},se.prototype.insertCollisionCircles=function(t,e,r,i,n){for(var o=e?this.ignoredGrid:this.grid,a={bucketInstanceId:r,featureIndex:i,collisionGroupID:n},s=0;s<t.length;s+=4)o.insertCircle(a,t[s],t[s+1],t[s+2])},se.prototype.projectAnchor=function(t,e,r){var i=[e,r,0,1];return ae(i,i,t),{perspectiveRatio:.5+this.transform.cameraToCenterDistance/i[3]*.5,cameraDistance:i[3]}},se.prototype.projectPoint=function(e,r,i){var n=[r,i,0,1];return ae(n,n,e),new t.Point((n[0]/n[3]+1)/2*this.transform.width+100,(-n[1]/n[3]+1)/2*this.transform.height+100)},se.prototype.projectAndGetPerspectiveRatio=function(e,r,i){var n=[r,i,0,1];return ae(n,n,e),{point:new t.Point((n[0]/n[3]+1)/2*this.transform.width+100,(-n[1]/n[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/n[3]*.5}},se.prototype.isOffscreen=function(t,e,r,i){return r<100||t>=this.screenRightBoundary||i<100||e>this.screenBottomBoundary},se.prototype.isInsideGrid=function(t,e,r,i){return r>=0&&t<this.gridRightBoundary&&i>=0&&e<this.gridBottomBoundary};var pe=function(t,e,r,i){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):i&&r?1:0,this.placed=r};pe.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var ce=function(t,e,r,i,n){this.text=new pe(t?t.text:null,e,r,n),this.icon=new pe(t?t.icon:null,e,i,n)};ce.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var he=function(t,e,r){this.text=t,this.icon=e,this.skipFade=r},fe=function(t,e,r,i,n){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=r,this.bucketIndex=i,this.tileID=n},de=function(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={}};function me(e,r,i,n,o){var a=t.getAnchorAlignment(e),s=-(a.horizontalAlign-.5)*r,u=-(a.verticalAlign-.5)*i,l=t.evaluateRadialOffset(e,n);return new t.Point(s+l[0]*o,u+l[1]*o)}de.prototype.get=function(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){var e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:function(t){return t.collisionGroupID===e}}}return this.collisionGroups[t]};var ye=function(t,e,r,i){this.transform=t.clone(),this.collisionIndex=new se(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new de(r),this.prevPlacement=i,i&&(i.prevPlacement=void 0)};function ve(t,e,r,i,n){t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0),t.emplaceBack(e?1:0,r?1:0,i||0,n||0)}ye.prototype.placeLayerTile=function(e,r,i,n){var o=r.getBucket(e),a=r.latestFeatureIndex;if(o&&a&&e.id===o.layerIds[0]){var s=r.collisionBoxArray,u=o.layers[0].layout,l=Math.pow(2,this.transform.zoom-r.tileID.overscaledZ),p=r.tileSize/t.EXTENT,c=this.transform.calculatePosMatrix(r.tileID.toUnwrapped()),h=Kt(c,"map"===u.get("text-pitch-alignment"),"map"===u.get("text-rotation-alignment"),this.transform,le(r,1,this.transform.zoom)),f=Kt(c,"map"===u.get("icon-pitch-alignment"),"map"===u.get("icon-rotation-alignment"),this.transform,le(r,1,this.transform.zoom));this.retainedQueryData[o.bucketInstanceId]=new fe(o.bucketInstanceId,a,o.sourceLayerIndex,o.index,r.tileID),this.placeLayerBucket(o,c,h,f,l,p,i,r.holdingForFade(),n,s)}},ye.prototype.attemptAnchorPlacement=function(e,r,i,n,o,a,s,u,l,p,c,h,f,d){var m,y=me(e,i,n,o,a),v=this.collisionIndex.placeCollisionBox(function(e,r,i,n,o,a){var s=e.x1,u=e.x2,l=e.y1,p=e.y2,c=e.anchorPointX,h=e.anchorPointY,f=new t.Point(r,i);return n&&f._rotate(o?a:-a),{x1:s+f.x,y1:l+f.y,x2:u+f.x,y2:p+f.y,anchorPointX:c,anchorPointY:h}}(r,y.x,y.y,s,u,this.transform.angle),h,l,p,c.predicate);if(v.box.length>0)return this.prevPlacement&&this.prevPlacement.variableOffsets[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID]&&this.prevPlacement.placements[f.crossTileID].text&&(m=this.prevPlacement.variableOffsets[f.crossTileID].anchor),this.variableOffsets[f.crossTileID]={radialOffset:o,width:i,height:n,anchor:e,textBoxScale:a,prevAnchor:m},this.markUsedJustification(d,e,f),v},ye.prototype.placeLayerBucket=function(e,r,i,n,o,a,s,u,l,p){var c=e.layers[0].layout,h=t.evaluateSizeForZoom(e.textSizeData,this.transform.zoom,t.properties.layout.properties["text-size"]),f=c.get("text-optional"),d=c.get("icon-optional"),m=c.get("text-allow-overlap"),y=c.get("icon-allow-overlap"),v=m&&(y||!e.hasIconData()||d),_=y&&(m||!e.hasTextData()||f),g=this.collisionGroups.get(e.sourceID),x="map"===c.get("text-rotation-alignment"),b="map"===c.get("text-pitch-alignment");!e.collisionArrays&&p&&e.deserializeCollisionBoxes(p);for(var w=0;w<e.symbolInstances.length;w++){var E=e.symbolInstances.get(w);if(!l[E.crossTileID]){if(u){this.placements[E.crossTileID]=new he(!1,!1,!1);continue}var S=!1,T=!1,A=!0,I=null,z=null,k=null,C=0,P=0,M=e.collisionArrays[w];M.textFeatureIndex&&(C=M.textFeatureIndex);var L=M.textBox;if(L)if(c.get("text-variable-anchor")){var D=L.x2-L.x1,B=L.y2-L.y1,R=E.textBoxScale,F=c.get("text-variable-anchor");if(this.prevPlacement&&this.prevPlacement.variableOffsets[E.crossTileID]){var O=this.prevPlacement.variableOffsets[E.crossTileID];F[0]!==O.anchor&&(F=F.filter((function(t){return t!==O.anchor}))).unshift(O.anchor)}for(var U=0,V=F;U<V.length;U+=1){var N=V[U];if(I=this.attemptAnchorPlacement(N,L,D,B,E.radialTextOffset,R,x,b,a,r,g,m,E,e)){S=!0;break}}if(!this.variableOffsets[E.crossTileID]&&this.prevPlacement){var j=this.prevPlacement.variableOffsets[E.crossTileID];j&&(this.variableOffsets[E.crossTileID]=j,this.markUsedJustification(e,j.anchor,E))}}else S=(I=this.collisionIndex.placeCollisionBox(L,c.get("text-allow-overlap"),a,r,g.predicate)).box.length>0;A=I&&I.offscreen;var q=M.textCircles;if(q){var Z=e.text.placedSymbolArray.get(E.centerJustifiedTextSymbolIndex),G=t.evaluateSizeForFeature(e.textSizeData,h,Z);z=this.collisionIndex.placeCollisionCircles(q,c.get("text-allow-overlap"),o,a,Z,e.lineVertexArray,e.glyphOffsetArray,G,r,i,s,b,g.predicate),S=c.get("text-allow-overlap")||z.circles.length>0,A=A&&z.offscreen}M.iconFeatureIndex&&(P=M.iconFeatureIndex),M.iconBox&&(T=(k=this.collisionIndex.placeCollisionBox(M.iconBox,c.get("icon-allow-overlap"),a,r,g.predicate)).box.length>0,A=A&&k.offscreen);var X=f||0===E.numHorizontalGlyphVertices&&0===E.numVerticalGlyphVertices,W=d||0===E.numIconVertices;X||W?W?X||(T=T&&S):S=T&&S:T=S=T&&S,S&&I&&this.collisionIndex.insertCollisionBox(I.box,c.get("text-ignore-placement"),e.bucketInstanceId,C,g.ID),T&&k&&this.collisionIndex.insertCollisionBox(k.box,c.get("icon-ignore-placement"),e.bucketInstanceId,P,g.ID),S&&z&&this.collisionIndex.insertCollisionCircles(z.circles,c.get("text-ignore-placement"),e.bucketInstanceId,C,g.ID),this.placements[E.crossTileID]=new he(S||v,T||_,A||e.justReloaded),l[E.crossTileID]=!0}}e.justReloaded=!1},ye.prototype.markUsedJustification=function(e,r,i){var n={left:i.leftJustifiedTextSymbolIndex,center:i.centerJustifiedTextSymbolIndex,right:i.rightJustifiedTextSymbolIndex},o=n[t.getAnchorJustification(r)];for(var a in n){var s=n[a];s>=0&&(e.text.placedSymbolArray.get(s).crossTileID=o>=0&&s!==o?0:i.crossTileID)}},ye.prototype.commit=function(t){this.commitTime=t;var e=this.prevPlacement,r=!1,i=e&&0!==this.fadeDuration?(this.commitTime-e.commitTime)/this.fadeDuration:1,n=e?e.opacities:{},o=e?e.variableOffsets:{};for(var a in this.placements){var s=this.placements[a],u=n[a];u?(this.opacities[a]=new ce(u,i,s.text,s.icon),r=r||s.text!==u.text.placed||s.icon!==u.icon.placed):(this.opacities[a]=new ce(null,i,s.text,s.icon,s.skipFade),r=r||s.text||s.icon)}for(var l in n){var p=n[l];if(!this.opacities[l]){var c=new ce(p,i,!1,!1);c.isHidden()||(this.opacities[l]=c,r=r||p.text.placed||p.icon.placed)}}for(var h in o)this.variableOffsets[h]||!this.opacities[h]||this.opacities[h].isHidden()||(this.variableOffsets[h]=o[h]);r?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t)},ye.prototype.updateLayerOpacities=function(t,e){for(var r={},i=0,n=e;i<n.length;i+=1){var o=n[i],a=o.getBucket(t);a&&o.latestFeatureIndex&&t.id===a.layerIds[0]&&this.updateBucketOpacities(a,r,o.collisionBoxArray)}},ye.prototype.updateBucketOpacities=function(e,r,i){e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasCollisionBoxData()&&e.collisionBox.collisionVertexArray.clear(),e.hasCollisionCircleData()&&e.collisionCircle.collisionVertexArray.clear();var n=e.layers[0].layout,o=new ce(null,0,!1,!1,!0),a=n.get("text-allow-overlap"),s=n.get("icon-allow-overlap"),u=n.get("text-variable-anchor"),l="map"===n.get("text-rotation-alignment"),p="map"===n.get("text-pitch-alignment"),c=new ce(null,0,a&&(s||!e.hasIconData()||n.get("icon-optional")),s&&(a||!e.hasTextData()||n.get("text-optional")),!0);!e.collisionArrays&&i&&(e.hasCollisionBoxData()||e.hasCollisionCircleData())&&e.deserializeCollisionBoxes(i);for(var h=0;h<e.symbolInstances.length;h++){var f=e.symbolInstances.get(h),d=f.numHorizontalGlyphVertices,m=f.numVerticalGlyphVertices,y=f.crossTileID,v=r[y],_=this.opacities[y];v?_=o:_||(_=c,this.opacities[y]=_),r[y]=!0;var g=d>0||m>0,x=f.numIconVertices>0;if(g){for(var b=Te(_.text),w=(d+m)/4,E=0;E<w;E++)e.text.opacityVertexArray.emplaceBack(b);var S=_.text.isHidden()?1:0;[f.rightJustifiedTextSymbolIndex,f.centerJustifiedTextSymbolIndex,f.leftJustifiedTextSymbolIndex,f.verticalPlacedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=S)}));var T=this.variableOffsets[f.crossTileID];T&&this.markUsedJustification(e,T.anchor,f)}if(x){for(var A=Te(_.icon),I=0;I<f.numIconVertices/4;I++)e.icon.opacityVertexArray.emplaceBack(A);e.icon.placedSymbolArray.get(h).hidden=_.icon.isHidden()}if(e.hasCollisionBoxData()||e.hasCollisionCircleData()){var z=e.collisionArrays[h];if(z){if(z.textBox){var k=new t.Point(0,0),C=!0;if(u){var P=this.variableOffsets[y];P?(k=me(P.anchor,P.width,P.height,P.radialOffset,P.textBoxScale),l&&k._rotate(p?this.transform.angle:-this.transform.angle)):C=!1}ve(e.collisionBox.collisionVertexArray,_.text.placed,!C,k.x,k.y)}z.iconBox&&ve(e.collisionBox.collisionVertexArray,_.icon.placed,!1);var M=z.textCircles;if(M&&e.hasCollisionCircleData())for(var L=0;L<M.length;L+=5){var D=v||0===M[L+4];ve(e.collisionCircle.collisionVertexArray,_.text.placed,D)}}}}e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasCollisionBoxData()&&e.collisionBox.collisionVertexBuffer&&e.collisionBox.collisionVertexBuffer.updateData(e.collisionBox.collisionVertexArray),e.hasCollisionCircleData()&&e.collisionCircle.collisionVertexBuffer&&e.collisionCircle.collisionVertexBuffer.updateData(e.collisionCircle.collisionVertexArray)},ye.prototype.symbolFadeChange=function(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration},ye.prototype.hasTransitions=function(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration},ye.prototype.stillRecent=function(t){return this.commitTime+this.fadeDuration>t},ye.prototype.setStale=function(){this.stale=!0};var _e=Math.pow(2,25),ge=Math.pow(2,24),xe=Math.pow(2,17),be=Math.pow(2,16),we=Math.pow(2,9),Ee=Math.pow(2,8),Se=Math.pow(2,1);function Te(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,r=Math.floor(127*t.opacity);return r*_e+e*ge+r*xe+e*be+r*we+e*Ee+r*Se+e}var Ae=function(){this._currentTileIndex=0,this._seenCrossTileIDs={}};Ae.prototype.continuePlacement=function(t,e,r,i,n){for(;this._currentTileIndex<t.length;){var o=t[this._currentTileIndex];if(e.placeLayerTile(i,o,r,this._seenCrossTileIDs),this._currentTileIndex++,n())return!0}};var Ie=function(t,e,r,i,n,o,a){this.placement=new ye(t,n,o,a),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=r,this._showCollisionBoxes=i,this._done=!1};Ie.prototype.isDone=function(){return this._done},Ie.prototype.continuePlacement=function(e,r,i){for(var n=this,o=t.browser.now(),a=function(){var e=t.browser.now()-o;return!n._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var s=r[e[this._currentPlacementIndex]],u=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=u)&&(!s.maxzoom||s.maxzoom>u)){if(this._inProgressLayer||(this._inProgressLayer=new Ae),this._inProgressLayer.continuePlacement(i[s.source],this.placement,this._showCollisionBoxes,s,a))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0},Ie.prototype.commit=function(t){return this.placement.commit(t),this.placement};var ze=512/t.EXTENT/2,ke=function(t,e,r){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=r;for(var i=0;i<e.length;i++){var n=e.get(i),o=n.key;this.indexedSymbolInstances[o]||(this.indexedSymbolInstances[o]=[]),this.indexedSymbolInstances[o].push({crossTileID:n.crossTileID,coord:this.getScaledCoordinates(n,t)})}};ke.prototype.getScaledCoordinates=function(e,r){var i=r.canonical.z-this.tileID.canonical.z,n=ze/Math.pow(2,i);return{x:Math.floor((r.canonical.x*t.EXTENT+e.anchorX)*n),y:Math.floor((r.canonical.y*t.EXTENT+e.anchorY)*n)}},ke.prototype.findMatches=function(t,e,r){for(var i=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z),n=0;n<t.length;n++){var o=t.get(n);if(!o.crossTileID){var a=this.indexedSymbolInstances[o.key];if(a)for(var s=this.getScaledCoordinates(o,e),u=0,l=a;u<l.length;u+=1){var p=l[u];if(Math.abs(p.coord.x-s.x)<=i&&Math.abs(p.coord.y-s.y)<=i&&!r[p.crossTileID]){r[p.crossTileID]=!0,o.crossTileID=p.crossTileID;break}}}}};var Ce=function(){this.maxCrossTileID=0};Ce.prototype.generate=function(){return++this.maxCrossTileID};var Pe=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0};Pe.prototype.handleWrapJump=function(t){var e=Math.round((t-this.lng)/360);if(0!==e)for(var r in this.indexes){var i=this.indexes[r],n={};for(var o in i){var a=i[o];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+e),n[a.tileID.key]=a}this.indexes[r]=n}this.lng=t},Pe.prototype.addBucket=function(t,e,r){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key])}for(var i=0;i<e.symbolInstances.length;i++)e.symbolInstances.get(i).crossTileID=0;this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});var n=this.usedCrossTileIDs[t.overscaledZ];for(var o in this.indexes){var a=this.indexes[o];if(Number(o)>t.overscaledZ)for(var s in a){var u=a[s];u.tileID.isChildOf(t)&&u.findMatches(e.symbolInstances,t,n)}else{var l=a[t.scaledTo(Number(o)).key];l&&l.findMatches(e.symbolInstances,t,n)}}for(var p=0;p<e.symbolInstances.length;p++){var c=e.symbolInstances.get(p);c.crossTileID||(c.crossTileID=r.generate(),n[c.crossTileID]=!0)}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new ke(t,e.symbolInstances,e.bucketInstanceId),!0},Pe.prototype.removeBucketCrossTileIDs=function(t,e){for(var r in e.indexedSymbolInstances)for(var i=0,n=e.indexedSymbolInstances[r];i<n.length;i+=1){var o=n[i];delete this.usedCrossTileIDs[t][o.crossTileID]}},Pe.prototype.removeStaleBuckets=function(t){var e=!1;for(var r in this.indexes){var i=this.indexes[r];for(var n in i)t[i[n].bucketInstanceId]||(this.removeBucketCrossTileIDs(r,i[n]),delete i[n],e=!0)}return e};var Me=function(){this.layerIndexes={},this.crossTileIDs=new Ce,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={}};Me.prototype.addLayer=function(t,e,r){var i=this.layerIndexes[t.id];void 0===i&&(i=this.layerIndexes[t.id]=new Pe);var n=!1,o={};i.handleWrapJump(r);for(var a=0,s=e;a<s.length;a+=1){var u=s[a],l=u.getBucket(t);l&&t.id===l.layerIds[0]&&(l.bucketInstanceId||(l.bucketInstanceId=++this.maxBucketInstanceId),i.addBucket(u.tileID,l,this.crossTileIDs)&&(n=!0),o[l.bucketInstanceId]=!0)}return i.removeStaleBuckets(o)&&(n=!0),n},Me.prototype.pruneUnusedLayers=function(t){var e={};for(var r in t.forEach((function(t){e[t]=!0})),this.layerIndexes)e[r]||delete this.layerIndexes[r]};var Le=function(e,r){return t.emitValidationErrors(e,r&&r.filter((function(t){return"source.canvas"!==t.identifier})))},De=t.pick(Ot,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Be=t.pick(Ot,["setCenter","setZoom","setBearing","setPitch"]),Re=function(e){function r(i,n){var o=this;void 0===n&&(n={}),e.call(this),this.map=i,this.dispatcher=new E((Dt||(Dt=new Lt),Dt),this),this.imageManager=new h,this.imageManager.setEventedParent(this),this.glyphManager=new _(i._transformRequest,n.localIdeographFontFamily),this.lineAtlas=new w(256,512),this.crossTileSymbolIndex=new Me,this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());var a=this;this._rtlTextPluginCallback=r.registerForPluginAvailability((function(t){for(var e in a.dispatcher.broadcast("loadRTLTextPlugin",t.pluginURL,t.completionCallback),a.sourceCaches)a.sourceCaches[e].reload()})),this.on("data",(function(t){if("source"===t.dataType&&"metadata"===t.sourceDataType){var e=o.sourceCaches[t.sourceId];if(e){var r=e.getSource();if(r&&r.vectorLayerIds)for(var i in o._layers){var n=o._layers[i];n.source===r.id&&o._validateLayer(n)}}}}))}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.loadURL=function(e,r){var i=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"}));var n="boolean"==typeof r.validate?r.validate:!t.isMapboxURL(e);e=t.normalizeStyleURL(e,r.accessToken);var o=this.map._transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(o,(function(e,r){i._request=null,e?i.fire(new t.ErrorEvent(e)):r&&i._load(r,n)}))},r.prototype.loadJSON=function(e,r){var i=this;void 0===r&&(r={}),this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.browser.frame((function(){i._request=null,i._load(e,!1!==r.validate)}))},r.prototype._load=function(e,r){var i=this;if(!r||!Le(this,t.validateStyle(e))){for(var n in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(n,e.sources[n],{validate:!1});e.sprite?this._spriteRequest=function(e,r,i){var n,o,a,s=t.browser.devicePixelRatio>1?"@2x":"",u=t.getJSON(r(t.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),(function(t,e){u=null,a||(a=t,n=e,p())})),l=t.getImage(r(t.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),(function(t,e){l=null,a||(a=t,o=e,p())}));function p(){if(a)i(a);else if(n&&o){var e=t.browser.getImageData(o),r={};for(var s in n){var u=n[s],l=u.width,p=u.height,c=u.x,h=u.y,f=u.sdf,d=u.pixelRatio,m=new t.RGBAImage({width:l,height:p});t.RGBAImage.copy(e,m,{x:c,y:h},{x:0,y:0},{width:l,height:p}),r[s]={data:m,pixelRatio:d,sdf:f}}i(null,r)}}return{cancel:function(){u&&(u.cancel(),u=null),l&&(l.cancel(),l=null)}}}(e.sprite,this.map._transformRequest,(function(e,r){if(i._spriteRequest=null,e)i.fire(new t.ErrorEvent(e));else if(r)for(var n in r)i.imageManager.addImage(n,r[n]);i.imageManager.setLoaded(!0),i.fire(new t.Event("data",{dataType:"style"}))})):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);var o=Ft(this.stylesheet.layers);this._order=o.map((function(t){return t.id})),this._layers={};for(var a=0,s=o;a<s.length;a+=1){var u=s[a];(u=t.createStyleLayer(u)).setEventedParent(this,{layer:{id:u.id}}),this._layers[u.id]=u}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new b(this.stylesheet.light),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"))}},r.prototype._validateLayer=function(e){var r=this.sourceCaches[e.source];if(r){var i=e.sourceLayer;if(i){var n=r.getSource();("geojson"===n.type||n.vectorLayerIds&&-1===n.vectorLayerIds.indexOf(i))&&this.fire(new t.ErrorEvent(new Error('Source layer "'+i+'" does not exist on source "'+n.id+'" as specified by style layer "'+e.id+'"')))}}},r.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},r.prototype._serializeLayers=function(t){for(var e=[],r=0,i=t;r<i.length;r+=1){var n=i[r],o=this._layers[n];"custom"!==o.type&&e.push(o.serialize())}return e},r.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(var e in this._layers)if(this._layers[e].hasTransition())return!0;return!1},r.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},r.prototype.update=function(e){if(this._loaded){var r=this._changed;if(this._changed){var i=Object.keys(this._updatedLayers),n=Object.keys(this._removedLayers);for(var o in(i.length||n.length)&&this._updateWorkerLayers(i,n),this._updatedSources){var a=this._updatedSources[o];"reload"===a?this._reloadSource(o):"clear"===a&&this._clearSource(o)}for(var s in this._updatedPaintProps)this._layers[s].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates()}for(var u in this.sourceCaches)this.sourceCaches[u].used=!1;for(var l=0,p=this._order;l<p.length;l+=1){var c=p[l],h=this._layers[c];h.recalculate(e),!h.isHidden(e.zoom)&&h.source&&(this.sourceCaches[h.source].used=!0)}this.light.recalculate(e),this.z=e.zoom,r&&this.fire(new t.Event("data",{dataType:"style"}))}},r.prototype._updateWorkerLayers=function(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e})},r.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={}},r.prototype.setState=function(e){var r=this;if(this._checkLoaded(),Le(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=Ft(e.layers);var i=function(e,r){if(!e)return[{command:Ot.setStyle,args:[r]}];var i=[];try{if(!t.deepEqual(e.version,r.version))return[{command:Ot.setStyle,args:[r]}];t.deepEqual(e.center,r.center)||i.push({command:Ot.setCenter,args:[r.center]}),t.deepEqual(e.zoom,r.zoom)||i.push({command:Ot.setZoom,args:[r.zoom]}),t.deepEqual(e.bearing,r.bearing)||i.push({command:Ot.setBearing,args:[r.bearing]}),t.deepEqual(e.pitch,r.pitch)||i.push({command:Ot.setPitch,args:[r.pitch]}),t.deepEqual(e.sprite,r.sprite)||i.push({command:Ot.setSprite,args:[r.sprite]}),t.deepEqual(e.glyphs,r.glyphs)||i.push({command:Ot.setGlyphs,args:[r.glyphs]}),t.deepEqual(e.transition,r.transition)||i.push({command:Ot.setTransition,args:[r.transition]}),t.deepEqual(e.light,r.light)||i.push({command:Ot.setLight,args:[r.light]});var n={},o=[];!function(e,r,i,n){var o;for(o in r=r||{},e=e||{})e.hasOwnProperty(o)&&(r.hasOwnProperty(o)||Vt(o,i,n));for(o in r)r.hasOwnProperty(o)&&(e.hasOwnProperty(o)?t.deepEqual(e[o],r[o])||("geojson"===e[o].type&&"geojson"===r[o].type&&jt(e,r,o)?i.push({command:Ot.setGeoJSONSourceData,args:[o,r[o].data]}):Nt(o,r,i,n)):Ut(o,r,i))}(e.sources,r.sources,o,n);var a=[];e.layers&&e.layers.forEach((function(t){n[t.source]?i.push({command:Ot.removeLayer,args:[t.id]}):a.push(t)})),i=i.concat(o),function(e,r,i){r=r||[];var n,o,a,s,u,l,p,c=(e=e||[]).map(Zt),h=r.map(Zt),f=e.reduce(Gt,{}),d=r.reduce(Gt,{}),m=c.slice(),y=Object.create(null);for(n=0,o=0;n<c.length;n++)a=c[n],d.hasOwnProperty(a)?o++:(i.push({command:Ot.removeLayer,args:[a]}),m.splice(m.indexOf(a,o),1));for(n=0,o=0;n<h.length;n++)a=h[h.length-1-n],m[m.length-1-n]!==a&&(f.hasOwnProperty(a)?(i.push({command:Ot.removeLayer,args:[a]}),m.splice(m.lastIndexOf(a,m.length-o),1)):o++,l=m[m.length-n],i.push({command:Ot.addLayer,args:[d[a],l]}),m.splice(m.length-n,0,a),y[a]=!0);for(n=0;n<h.length;n++)if(s=f[a=h[n]],u=d[a],!y[a]&&!t.deepEqual(s,u))if(t.deepEqual(s.source,u.source)&&t.deepEqual(s["source-layer"],u["source-layer"])&&t.deepEqual(s.type,u.type)){for(p in qt(s.layout,u.layout,i,a,null,Ot.setLayoutProperty),qt(s.paint,u.paint,i,a,null,Ot.setPaintProperty),t.deepEqual(s.filter,u.filter)||i.push({command:Ot.setFilter,args:[a,u.filter]}),t.deepEqual(s.minzoom,u.minzoom)&&t.deepEqual(s.maxzoom,u.maxzoom)||i.push({command:Ot.setLayerZoomRange,args:[a,u.minzoom,u.maxzoom]}),s)s.hasOwnProperty(p)&&"layout"!==p&&"paint"!==p&&"filter"!==p&&"metadata"!==p&&"minzoom"!==p&&"maxzoom"!==p&&(0===p.indexOf("paint.")?qt(s[p],u[p],i,a,p.slice(6),Ot.setPaintProperty):t.deepEqual(s[p],u[p])||i.push({command:Ot.setLayerProperty,args:[a,p,u[p]]}));for(p in u)u.hasOwnProperty(p)&&!s.hasOwnProperty(p)&&"layout"!==p&&"paint"!==p&&"filter"!==p&&"metadata"!==p&&"minzoom"!==p&&"maxzoom"!==p&&(0===p.indexOf("paint.")?qt(s[p],u[p],i,a,p.slice(6),Ot.setPaintProperty):t.deepEqual(s[p],u[p])||i.push({command:Ot.setLayerProperty,args:[a,p,u[p]]}))}else i.push({command:Ot.removeLayer,args:[a]}),l=m[m.lastIndexOf(a)+1],i.push({command:Ot.addLayer,args:[u,l]})}(a,r.layers,i)}catch(t){console.warn("Unable to compute style diff:",t),i=[{command:Ot.setStyle,args:[r]}]}return i}(this.serialize(),e).filter((function(t){return!(t.command in Be)}));if(0===i.length)return!1;var n=i.filter((function(t){return!(t.command in De)}));if(n.length>0)throw new Error("Unimplemented: "+n.map((function(t){return t.command})).join(", ")+".");return i.forEach((function(t){"setTransition"!==t.command&&r[t.command].apply(r,t.args)})),this.stylesheet=e,!0},r.prototype.addImage=function(e,r){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(e,r),this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e)},r.prototype.getImage=function(t){return this.imageManager.getImage(t)},r.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(e),this.fire(new t.Event("data",{dataType:"style"}))},r.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},r.prototype.addSource=function(e,r,i){var n=this;if(void 0===i&&(i={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!r.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(r).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(r.type)>=0&&this._validate(t.validateStyle.source,"sources."+e,r,null,i))){this.map&&this.map._collectResourceTiming&&(r.collectResourceTiming=!0);var o=this.sourceCaches[e]=new kt(e,r,this.dispatcher);o.style=this,o.setEventedParent(this,(function(){return{isSourceLoaded:n.loaded(),source:o.serialize(),sourceId:e}})),o.onAdd(this.map),this._changed=!0}},r.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var r in this._layers)if(this._layers[r].source===e)return this.fire(new t.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+r+'" is using it.')));var i=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],i.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),i.setEventedParent(null),i.clearTiles(),i.onRemove&&i.onRemove(this.map),this._changed=!0},r.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0},r.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},r.prototype.addLayer=function(e,r,i){void 0===i&&(i={}),this._checkLoaded();var n=e.id;if(this.getLayer(n))this.fire(new t.ErrorEvent(new Error('Layer with id "'+n+'" already exists on this map')));else{var o;if("custom"===e.type){if(Le(this,t.validateCustomStyleLayer(e)))return;o=t.createStyleLayer(e)}else{if("object"==typeof e.source&&(this.addSource(n,e.source),e=t.clone$1(e),e=t.extend(e,{source:n})),this._validate(t.validateStyle.layer,"layers."+n,e,{arrayIndex:-1},i))return;o=t.createStyleLayer(e),this._validateLayer(o),o.setEventedParent(this,{layer:{id:n}})}var a=r?this._order.indexOf(r):this._order.length;if(r&&-1===a)this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.')));else{if(this._order.splice(a,0,n),this._layerOrderChanged=!0,this._layers[n]=o,this._removedLayers[n]&&o.source&&"custom"!==o.type){var s=this._removedLayers[n];delete this._removedLayers[n],s.type!==o.type?this._updatedSources[o.source]="clear":(this._updatedSources[o.source]="reload",this.sourceCaches[o.source].pause())}this._updateLayer(o),o.onAdd&&o.onAdd(this.map)}}},r.prototype.moveLayer=function(e,r){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==r){var i=this._order.indexOf(e);this._order.splice(i,1);var n=r?this._order.indexOf(r):this._order.length;r&&-1===n?this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" does not exist on this map.'))):(this._order.splice(n,0,e),this._layerOrderChanged=!0)}}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")))},r.prototype.removeLayer=function(e){this._checkLoaded();var r=this._layers[e];if(r){r.setEventedParent(null);var i=this._order.indexOf(e);this._order.splice(i,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=r,delete this._layers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],r.onRemove&&r.onRemove(this.map)}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")))},r.prototype.getLayer=function(t){return this._layers[t]},r.prototype.setLayerZoomRange=function(e,r,i){this._checkLoaded();var n=this.getLayer(e);n?n.minzoom===r&&n.maxzoom===i||(null!=r&&(n.minzoom=r),null!=i&&(n.maxzoom=i),this._updateLayer(n)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")))},r.prototype.setFilter=function(e,r,i){void 0===i&&(i={}),this._checkLoaded();var n=this.getLayer(e);if(n){if(!t.deepEqual(n.filter,r))return null==r?(n.filter=void 0,void this._updateLayer(n)):void(this._validate(t.validateStyle.filter,"layers."+n.id+".filter",r,null,i)||(n.filter=t.clone$1(r),this._updateLayer(n)))}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")))},r.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},r.prototype.setLayoutProperty=function(e,r,i,n){void 0===n&&(n={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getLayoutProperty(r),i)||(o.setLayoutProperty(r,i,n),this._updateLayer(o)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getLayoutProperty=function(e,r){var i=this.getLayer(e);if(i)return i.getLayoutProperty(r);this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")))},r.prototype.setPaintProperty=function(e,r,i,n){void 0===n&&(n={}),this._checkLoaded();var o=this.getLayer(e);o?t.deepEqual(o.getPaintProperty(r),i)||(o.setPaintProperty(r,i,n)&&this._updateLayer(o),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")))},r.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},r.prototype.setFeatureState=function(e,r){this._checkLoaded();var i=e.source,n=e.sourceLayer,o=this.sourceCaches[i],a=parseInt(e.id,10);if(void 0!==o){var s=o.getSource().type;"geojson"===s&&n?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||n?isNaN(a)||a<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative."))):o.setFeatureState(n,a,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},r.prototype.removeFeatureState=function(e,r){this._checkLoaded();var i=e.source,n=this.sourceCaches[i];if(void 0!==n){var o=n.getSource().type,a="vector"===o?e.sourceLayer:void 0,s=parseInt(e.id,10);"vector"!==o||a?void 0!==e.id&&isNaN(s)||s<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be non-negative."))):r&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):n.removeFeatureState(a,s,r):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")))}else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")))},r.prototype.getFeatureState=function(e){this._checkLoaded();var r=e.source,i=e.sourceLayer,n=this.sourceCaches[r],o=parseInt(e.id,10);if(void 0!==n)if("vector"!==n.getSource().type||i){if(!(isNaN(o)||o<0))return n.getFeatureState(i,o);this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative.")))}else this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));else this.fire(new t.ErrorEvent(new Error("The source '"+r+"' does not exist in the map's style.")))},r.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},r.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},r.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0},r.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,r=function(t){return"fill-extrusion"===e._layers[t].type},i={},n=[],o=this._order.length-1;o>=0;o--){var a=this._order[o];if(r(a)){i[a]=o;for(var s=0,u=t;s<u.length;s+=1){var l=u[s][a];if(l)for(var p=0,c=l;p<c.length;p+=1){var h=c[p];n.push(h)}}}}n.sort((function(t,e){return e.intersectionZ-t.intersectionZ}));for(var f=[],d=this._order.length-1;d>=0;d--){var m=this._order[d];if(r(m))for(var y=n.length-1;y>=0;y--){var v=n[y].feature;if(i[v.layer.id]<d)break;f.push(v),n.pop()}else for(var _=0,g=t;_<g.length;_+=1){var x=g[_][m];if(x)for(var b=0,w=x;b<w.length;b+=1){var E=w[b];f.push(E.feature)}}}return f},r.prototype.queryRenderedFeatures=function(e,r,i){r&&r.filter&&this._validate(t.validateStyle.filter,"queryRenderedFeatures.filter",r.filter);var n={};if(r&&r.layers){if(!Array.isArray(r.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var o=0,a=r.layers;o<a.length;o+=1){var s=a[o],u=this._layers[s];if(!u)return this.fire(new t.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];n[u.source]=!0}}var l=[];for(var p in this.sourceCaches)r.layers&&!n[p]||l.push(R(this.sourceCaches[p],this._layers,e,r,i));return this.placement&&l.push(function(t,e,r,i,n,o){for(var a={},s=n.queryRenderedSymbols(r),u=[],l=0,p=Object.keys(s).map(Number);l<p.length;l+=1){var c=p[l];u.push(o[c])}u.sort(F);for(var h=function(){var e=d[f],r=e.featureIndex.lookupSymbolFeatures(s[e.bucketInstanceId],e.bucketIndex,e.sourceLayerIndex,i.filter,i.layers,t);for(var n in r){var o=a[n]=a[n]||[],u=r[n];u.sort((function(t,r){var i=e.featureSortOrder;if(i){var n=i.indexOf(t.featureIndex);return i.indexOf(r.featureIndex)-n}return r.featureIndex-t.featureIndex}));for(var l=0,p=u;l<p.length;l+=1){var c=p[l];o.push(c)}}},f=0,d=u;f<d.length;f+=1)h();var m=function(r){a[r].forEach((function(i){var n=i.feature,o=t[r],a=e[o.source].getFeatureState(n.layer["source-layer"],n.id);n.source=n.layer.source,n.layer["source-layer"]&&(n.sourceLayer=n.layer["source-layer"]),n.state=a}))};for(var y in a)m(y);return a}(this._layers,this.sourceCaches,e,r,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(l)},r.prototype.querySourceFeatures=function(e,r){r&&r.filter&&this._validate(t.validateStyle.filter,"querySourceFeatures.filter",r.filter);var i=this.sourceCaches[e];return i?function(t,e){for(var r=t.getRenderableIds().map((function(e){return t.getTileByID(e)})),i=[],n={},o=0;o<r.length;o++){var a=r[o],s=a.tileID.canonical.key;n[s]||(n[s]=!0,a.querySourceFeatures(i,e))}return i}(i,r):[]},r.prototype.addSourceType=function(t,e,i){return r.getSourceType(t)?i(new Error('A source type called "'+t+'" already exists.')):(r.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},i):i(null,null))},r.prototype.getLight=function(){return this.light.getLight()},r.prototype.setLight=function(e,r){void 0===r&&(r={}),this._checkLoaded();var i=this.light.getLight(),n=!1;for(var o in e)if(!t.deepEqual(e[o],i[o])){n=!0;break}if(n){var a={now:t.browser.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,r),this.light.updateTransitions(a)}},r.prototype._validate=function(e,r,i,n,o){return void 0===o&&(o={}),(!o||!1!==o.validate)&&Le(this,e.call(t.validateStyle,t.extend({key:r,style:this.serialize(),value:i,styleSpec:t.styleSpec},n)))},r.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginAvailable",this._rtlTextPluginCallback),this.sourceCaches)this.sourceCaches[e].clearTiles();this.dispatcher.remove()},r.prototype._clearSource=function(t){this.sourceCaches[t].clearTiles()},r.prototype._reloadSource=function(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload()},r.prototype._updateSources=function(t){for(var e in this.sourceCaches)this.sourceCaches[e].update(t)},r.prototype._generateCollisionBoxes=function(){for(var t in this.sourceCaches)this._reloadSource(t)},r.prototype._updatePlacement=function(e,r,i,n){for(var o=!1,a=!1,s={},u=0,l=this._order;u<l.length;u+=1){var p=l[u],c=this._layers[p];if("symbol"===c.type){if(!s[c.source]){var h=this.sourceCaches[c.source];s[c.source]=h.getRenderableIds(!0).map((function(t){return h.getTileByID(t)})).sort((function(t,e){return e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)}))}var f=this.crossTileSymbolIndex.addLayer(c,s[c.source],e.center.lng);o=o||f}}this.crossTileSymbolIndex.pruneUnusedLayers(this._order);var d=this._layerOrderChanged||0===i;if((d||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.browser.now()))&&(this.pauseablePlacement=new Ie(e,this._order,d,r,i,n,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,s),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.browser.now()),a=!0),o&&this.pauseablePlacement.placement.setStale()),a||o)for(var m=0,y=this._order;m<y.length;m+=1){var v=y[m],_=this._layers[v];"symbol"===_.type&&this.placement.updateLayerOpacities(_,s[_.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.browser.now())},r.prototype._releaseSymbolFadeTiles=function(){for(var t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles()},r.prototype.getImages=function(t,e,r){this.imageManager.getImages(e.icons,r)},r.prototype.getGlyphs=function(t,e,r){this.glyphManager.getGlyphs(e.stacks,r)},r.prototype.getResource=function(e,r,i){return t.makeRequest(r,i)},r}(t.Evented);Re.getSourceType=function(t){return L[t]},Re.setSourceType=function(t,e){L[t]=e},Re.registerForPluginAvailability=t.registerForPluginAvailability;var Fe=t.createLayout([{name:"a_pos",type:"Int16",components:2}]),Oe=lr("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),Ue=lr("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ve=lr("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),Ne=lr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvarying vec3 v_data;void main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvarying vec3 v_data;void main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/DEVICE_PIXEL_RATIO/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),je=lr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),qe=lr("#pragma mapbox: define highp float weight\nuniform highp float u_intensity;varying vec2 v_extrude;\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nuniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;const highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Ze=lr("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),Ge=lr("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),Xe=lr("uniform float u_overscale_factor;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {float alpha=0.5;vec4 color=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {color=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {color*=.2;}float extrude_scale_length=length(v_extrude_scale);float extrude_length=length(v_extrude)*extrude_scale_length;float stroke_width=15.0*extrude_scale_length/u_overscale_factor;float radius=v_radius*extrude_scale_length;float distance_to_edge=abs(extrude_length-radius);float opacity_t=smoothstep(-stroke_width,0.0,-distance_to_edge);gl_FragColor=opacity_t*color;}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);highp float padding_factor=1.2;gl_Position.xy+=a_extrude*u_extrude_scale*padding_factor*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;v_radius=abs(a_extrude.y);v_extrude=a_extrude*padding_factor;v_extrude_scale=u_extrude_scale*u_camera_to_center_distance*collision_perspective_ratio;}"),We=lr("uniform highp vec4 u_color;void main() {gl_FragColor=u_color;}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ke=lr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),He=lr("#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvarying vec2 v_pos;void main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Je=lr("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),Ye=lr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),$e=lr("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),Qe=lr("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec4 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),tr=lr("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;return (data.r+data.g*256.0+data.b*256.0*256.0)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),er=lr("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),rr=lr("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvarying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;void main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/DEVICE_PIXEL_RATIO)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define ANTIALIASING 1.0/DEVICE_PIXEL_RATIO/2.0\n#define scale 0.015873016\nattribute vec4 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_gl_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nvec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=a_pos_normal.xy;mediump vec2 normal=a_pos_normal.zw;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_gl_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),ir=lr("#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nuniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;void main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/DEVICE_PIXEL_RATIO)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define MAX_LINE_DISTANCE 32767.0\n#define ANTIALIASING 1.0/DEVICE_PIXEL_RATIO/2.0\n#define scale 0.015873016\nattribute vec4 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_gl_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nvec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=a_pos_normal.xy;mediump vec2 normal=a_pos_normal.zw;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_gl_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),nr=lr("uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec4 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/DEVICE_PIXEL_RATIO)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x,1.0);float x_b=mod(v_linesofar/pattern_size_b.x,1.0);float y_a=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_a.y+2.0)/2.0)/pattern_size_a.y);float y_b=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_b.y+2.0)/2.0)/pattern_size_b.y);vec2 pos_a=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,vec2(x_a,y_a));vec2 pos_b=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,vec2(x_b,y_b));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\n#define ANTIALIASING 1.0/DEVICE_PIXEL_RATIO/2.0\nattribute vec4 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_gl_units_to_pixels;uniform mediump float u_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=a_pos_normal.xy;mediump vec2 normal=a_pos_normal.zw;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_gl_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);}"),or=lr("uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/DEVICE_PIXEL_RATIO)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\n#define ANTIALIASING 1.0/DEVICE_PIXEL_RATIO/2.0\nattribute vec4 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_gl_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nvec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=a_pos_normal.xy;mediump vec2 normal=a_pos_normal.zw;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_gl_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),ar=lr("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),sr=lr("uniform sampler2D u_texture;\n#pragma mapbox: define lowp float opacity\nvarying vec2 v_tex;varying float v_fade_opacity;void main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;\n#pragma mapbox: define lowp float opacity\nuniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_gl_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;void main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size[0],a_size[1],u_size_t)/256.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size[0]/256.0;} else if (!u_is_size_zoom_constant && u_is_size_feature_constant) {size=u_size;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_gl_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),ur=lr("#define SDF_PX 8.0\n#define EDGE_GAMMA 0.105/DEVICE_PIXEL_RATIO\nuniform bool u_is_halo;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nuniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;void main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nuniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_gl_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;void main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size[0],a_size[1],u_size_t)/256.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size[0]/256.0;} else if (!u_is_size_zoom_constant && u_is_size_feature_constant) {size=u_size;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_gl_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=vec2(tex.x,tex.y);v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}");function lr(t,e){var r=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,i={};return{fragmentSource:t=t.replace(r,(function(t,e,r,n,o){return i[o]=!0,"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nvarying "+r+" "+n+" "+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n"})),vertexSource:e=e.replace(r,(function(t,e,r,n,o){var a="float"===n?"vec2":"vec4",s=o.match(/color/)?"color":a;return i[o]?"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float a_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\nvarying "+r+" "+n+" "+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = a_"+o+";\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+o+" = unpack_mix_"+s+"(a_"+o+", a_"+o+"_t);\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"define"===e?"\n#ifndef HAS_UNIFORM_u_"+o+"\nuniform lowp float a_"+o+"_t;\nattribute "+r+" "+a+" a_"+o+";\n#else\nuniform "+r+" "+n+" u_"+o+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = a_"+o+";\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+o+"\n "+r+" "+n+" "+o+" = unpack_mix_"+s+"(a_"+o+", a_"+o+"_t);\n#else\n "+r+" "+n+" "+o+" = u_"+o+";\n#endif\n"}))}}var pr=Object.freeze({prelude:Oe,background:Ue,backgroundPattern:Ve,circle:Ne,clippingMask:je,heatmap:qe,heatmapTexture:Ze,collisionBox:Ge,collisionCircle:Xe,debug:We,fill:Ke,fillOutline:He,fillOutlinePattern:Je,fillPattern:Ye,fillExtrusion:$e,fillExtrusionPattern:Qe,hillshadePrepare:tr,hillshade:er,line:rr,lineGradient:ir,linePattern:nr,lineSDF:or,raster:ar,symbolIcon:sr,symbolSDF:ur}),cr=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null};cr.prototype.bind=function(t,e,r,i,n,o,a,s){this.context=t;for(var u=this.boundPaintVertexBuffers.length!==i.length,l=0;!u&&l<i.length;l++)this.boundPaintVertexBuffers[l]!==i[l]&&(u=!0);var p=!this.vao||this.boundProgram!==e||this.boundLayoutVertexBuffer!==r||u||this.boundIndexBuffer!==n||this.boundVertexOffset!==o||this.boundDynamicVertexBuffer!==a||this.boundDynamicVertexBuffer2!==s;!t.extVertexArrayObject||p?this.freshBind(e,r,i,n,o,a,s):(t.bindVertexArrayOES.set(this.vao),a&&a.bind(),n&&n.dynamicDraw&&n.bind(),s&&s.bind())},cr.prototype.freshBind=function(t,e,r,i,n,o,a){var s,u=t.numAttributes,l=this.context,p=l.gl;if(l.extVertexArrayObject)this.vao&&this.destroy(),this.vao=l.extVertexArrayObject.createVertexArrayOES(),l.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=r,this.boundIndexBuffer=i,this.boundVertexOffset=n,this.boundDynamicVertexBuffer=o,this.boundDynamicVertexBuffer2=a;else{s=l.currentNumAttributes||0;for(var c=u;c<s;c++)p.disableVertexAttribArray(c)}e.enableAttributes(p,t);for(var h=0,f=r;h<f.length;h+=1)f[h].enableAttributes(p,t);o&&o.enableAttributes(p,t),a&&a.enableAttributes(p,t),e.bind(),e.setVertexAttribPointers(p,t,n);for(var d=0,m=r;d<m.length;d+=1){var y=m[d];y.bind(),y.setVertexAttribPointers(p,t,n)}o&&(o.bind(),o.setVertexAttribPointers(p,t,n)),i&&i.bind(),a&&(a.bind(),a.setVertexAttribPointers(p,t,n)),l.currentNumAttributes=u},cr.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null)};var hr=function(e,r,i,n,o){var a=e.gl;this.program=a.createProgram();var s=i.defines().concat("#define DEVICE_PIXEL_RATIO "+t.browser.devicePixelRatio.toFixed(1));o&&s.push("#define OVERDRAW_INSPECTOR;");var u=s.concat(Oe.fragmentSource,r.fragmentSource).join("\n"),l=s.concat(Oe.vertexSource,r.vertexSource).join("\n"),p=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(p,u),a.compileShader(p),a.attachShader(this.program,p);var c=a.createShader(a.VERTEX_SHADER);a.shaderSource(c,l),a.compileShader(c),a.attachShader(this.program,c);for(var h=i.layoutAttributes||[],f=0;f<h.length;f++)a.bindAttribLocation(this.program,f,h[f].name);a.linkProgram(this.program),this.numAttributes=a.getProgramParameter(this.program,a.ACTIVE_ATTRIBUTES),this.attributes={};for(var d={},m=0;m<this.numAttributes;m++){var y=a.getActiveAttrib(this.program,m);y&&(this.attributes[y.name]=a.getAttribLocation(this.program,y.name))}for(var v=a.getProgramParameter(this.program,a.ACTIVE_UNIFORMS),_=0;_<v;_++){var g=a.getActiveUniform(this.program,_);g&&(d[g.name]=a.getUniformLocation(this.program,g.name))}this.fixedUniforms=n(e,d),this.binderUniforms=i.getUniforms(e,d)};function fr(e,r,i){var n=1/le(i,1,r.transform.tileZoom),o=Math.pow(2,i.tileID.overscaledZ),a=i.tileSize*Math.pow(2,r.transform.tileZoom)/o,s=a*(i.tileID.canonical.x+i.tileID.wrap*o),u=a*i.tileID.canonical.y;return{u_image:0,u_texsize:i.imageAtlasTexture.size,u_scale:[t.browser.devicePixelRatio,n,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[s>>16,u>>16],u_pixel_coord_lower:[65535&s,65535&u]}}hr.prototype.draw=function(t,e,r,i,n,o,a,s,u,l,p,c,h,f,d,m){var y,v=t.gl;for(var _ in t.program.set(this.program),t.setDepthMode(r),t.setStencilMode(i),t.setColorMode(n),t.setCullFace(o),this.fixedUniforms)this.fixedUniforms[_].set(a[_]);f&&f.setUniforms(t,this.binderUniforms,c,{zoom:h});for(var g=(y={},y[v.LINES]=2,y[v.TRIANGLES]=3,y[v.LINE_STRIP]=1,y)[e],x=0,b=p.get();x<b.length;x+=1){var w=b[x],E=w.vaos||(w.vaos={});(E[s]||(E[s]=new cr)).bind(t,this,u,f?f.getPaintVertexBuffers():[],l,w.vertexOffset,d,m),v.drawElements(e,w.primitiveLength*g,v.UNSIGNED_SHORT,w.primitiveOffset*g*2)}};var dr=function(e,r,i,n){var o=r.style.light,a=o.properties.get("position"),s=[a.x,a.y,a.z],u=t.create$1();"viewport"===o.properties.get("anchor")&&t.fromRotation(u,-r.transform.angle),t.transformMat3(s,s,u);var l=o.properties.get("color");return{u_matrix:e,u_lightpos:s,u_lightintensity:o.properties.get("intensity"),u_lightcolor:[l.r,l.g,l.b],u_vertical_gradient:+i,u_opacity:n}},mr=function(e,r,i,n,o,a,s){return t.extend(dr(e,r,i,n),fr(a,r,s),{u_height_factor:-Math.pow(2,o.overscaledZ)/s.tileSize/8})},yr=function(t){return{u_matrix:t}},vr=function(e,r,i,n){return t.extend(yr(e),fr(i,r,n))},_r=function(t,e){return{u_matrix:t,u_world:e}},gr=function(e,r,i,n,o){return t.extend(vr(e,r,i,n),{u_world:o})},xr=function(t,e,r,i){var n,o,a=t.transform;if("map"===i.paint.get("circle-pitch-alignment")){var s=le(r,1,a.zoom);n=!0,o=[s,s]}else n=!1,o=a.pixelsToGLUnits;return{u_camera_to_center_distance:a.cameraToCenterDistance,u_scale_with_map:+("map"===i.paint.get("circle-pitch-scale")),u_matrix:t.translatePosMatrix(e.posMatrix,r,i.paint.get("circle-translate"),i.paint.get("circle-translate-anchor")),u_pitch_with_map:+n,u_extrude_scale:o}},br=function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,r.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,r.u_overscale_factor)}},wr=function(t,e,r){var i=le(r,1,e.zoom),n=Math.pow(2,e.zoom-r.tileID.overscaledZ),o=r.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:i,u_extrude_scale:[e.pixelsToGLUnits[0]/(i*n),e.pixelsToGLUnits[1]/(i*n)],u_overscale_factor:o}},Er=function(t,e){return{u_matrix:t,u_color:e}},Sr=function(t){return{u_matrix:t}},Tr=function(t,e,r,i){return{u_matrix:t,u_extrude_scale:le(e,1,r),u_intensity:i}},Ar=function(t,e,r){var i=r.paint.get("hillshade-shadow-color"),n=r.paint.get("hillshade-highlight-color"),o=r.paint.get("hillshade-accent-color"),a=r.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===r.paint.get("hillshade-illumination-anchor")&&(a-=t.transform.angle);var s=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(e.tileID.toUnwrapped(),s),u_image:0,u_latrange:zr(0,e.tileID),u_light:[r.paint.get("hillshade-exaggeration"),a],u_shadow:i,u_highlight:n,u_accent:o}},Ir=function(e,r){var i=e.dem.stride,n=t.create();return t.ortho(n,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(n,n,[0,-t.EXTENT,0]),{u_matrix:n,u_image:1,u_dimension:[i,i],u_zoom:e.tileID.overscaledZ,u_maxzoom:r}};function zr(e,r){var i=Math.pow(2,r.canonical.z),n=r.canonical.y;return[new t.MercatorCoordinate(0,n/i).toLngLat().lat,new t.MercatorCoordinate(0,(n+1)/i).toLngLat().lat]}var kr=function(t,e,r){var i=t.transform;return{u_matrix:Dr(t,e,r),u_ratio:1/le(e,1,i.zoom),u_gl_units_to_pixels:[1/i.pixelsToGLUnits[0],1/i.pixelsToGLUnits[1]]}},Cr=function(e,r,i){return t.extend(kr(e,r,i),{u_image:0})},Pr=function(e,r,i,n){var o=e.transform,a=Lr(r,o);return{u_matrix:Dr(e,r,i),u_texsize:r.imageAtlasTexture.size,u_ratio:1/le(r,1,o.zoom),u_image:0,u_scale:[t.browser.devicePixelRatio,a,n.fromScale,n.toScale],u_fade:n.t,u_gl_units_to_pixels:[1/o.pixelsToGLUnits[0],1/o.pixelsToGLUnits[1]]}},Mr=function(e,r,i,n,o){var a=e.transform,s=e.lineAtlas,u=Lr(r,a),l="round"===i.layout.get("line-cap"),p=s.getDash(n.from,l),c=s.getDash(n.to,l),h=p.width*o.fromScale,f=c.width*o.toScale;return t.extend(kr(e,r,i),{u_patternscale_a:[u/h,-p.height/2],u_patternscale_b:[u/f,-c.height/2],u_sdfgamma:s.width/(256*Math.min(h,f)*t.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:p.y,u_tex_y_b:c.y,u_mix:o.t})};function Lr(t,e){return 1/le(t,1,e.tileZoom)}function Dr(t,e,r){return t.translatePosMatrix(e.tileID.posMatrix,e,r.paint.get("line-translate"),r.paint.get("line-translate-anchor"))}var Br=function(t,e,r,i,n){return{u_matrix:t,u_tl_parent:e,u_scale_parent:r,u_buffer_scale:1,u_fade_t:i.mix,u_opacity:i.opacity*n.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:n.paint.get("raster-brightness-min"),u_brightness_high:n.paint.get("raster-brightness-max"),u_saturation_factor:(a=n.paint.get("raster-saturation"),a>0?1-1/(1.001-a):-a),u_contrast_factor:(o=n.paint.get("raster-contrast"),o>0?1/(1-o):1+o),u_spin_weights:Rr(n.paint.get("raster-hue-rotate"))};var o,a};function Rr(t){t*=Math.PI/180;var e=Math.sin(t),r=Math.cos(t);return[(2*r+1)/3,(-Math.sqrt(3)*e-r+1)/3,(Math.sqrt(3)*e-r+1)/3]}var Fr=function(t,e,r,i,n,o,a,s,u,l){var p=n.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:p.cameraToCenterDistance,u_pitch:p.pitch/360*2*Math.PI,u_rotate_symbol:+r,u_aspect_ratio:p.width/p.height,u_fade_change:n.options.fadeDuration?n.symbolFadeChange:1,u_matrix:o,u_label_plane_matrix:a,u_gl_coord_matrix:s,u_is_text:+u,u_pitch_with_map:+i,u_texsize:l,u_texture:0}},Or=function(e,r,i,n,o,a,s,u,l,p,c){var h=o.transform;return t.extend(Fr(e,r,i,n,o,a,s,u,l,p),{u_gamma_scale:n?Math.cos(h._pitch)*h.cameraToCenterDistance:1,u_is_halo:+c})},Ur=function(t,e,r){return{u_matrix:t,u_opacity:e,u_color:r}},Vr=function(e,r,i,n,o,a){return t.extend(function(t,e,r,i){var n=r.imageManager.getPattern(t.from),o=r.imageManager.getPattern(t.to),a=r.imageManager.getPixelSize(),s=a.width,u=a.height,l=Math.pow(2,i.tileID.overscaledZ),p=i.tileSize*Math.pow(2,r.transform.tileZoom)/l,c=p*(i.tileID.canonical.x+i.tileID.wrap*l),h=p*i.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:n.tl,u_pattern_br_a:n.br,u_pattern_tl_b:o.tl,u_pattern_br_b:o.br,u_texsize:[s,u],u_mix:e.t,u_pattern_size_a:n.displaySize,u_pattern_size_b:o.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/le(i,1,r.transform.tileZoom),u_pixel_coord_upper:[c>>16,h>>16],u_pixel_coord_lower:[65535&c,65535&h]}}(n,a,i,o),{u_matrix:e,u_opacity:r})},Nr={fillExtrusion:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fillExtrusionPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_lightpos:new t.Uniform3f(e,r.u_lightpos),u_lightintensity:new t.Uniform1f(e,r.u_lightintensity),u_lightcolor:new t.Uniform3f(e,r.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,r.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,r.u_height_factor),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade),u_opacity:new t.Uniform1f(e,r.u_opacity)}},fill:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},fillPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},fillOutline:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world)}},fillOutlinePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_texsize:new t.Uniform2f(e,r.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},circle:function(e,r){return{u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,r.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,r.u_extrude_scale),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},collisionBox:br,collisionCircle:br,debug:function(e,r){return{u_color:new t.UniformColor(e,r.u_color),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},clippingMask:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmap:function(e,r){return{u_extrude_scale:new t.Uniform1f(e,r.u_extrude_scale),u_intensity:new t.Uniform1f(e,r.u_intensity),u_matrix:new t.UniformMatrix4f(e,r.u_matrix)}},heatmapTexture:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_world:new t.Uniform2f(e,r.u_world),u_image:new t.Uniform1i(e,r.u_image),u_color_ramp:new t.Uniform1i(e,r.u_color_ramp),u_opacity:new t.Uniform1f(e,r.u_opacity)}},hillshade:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_latrange:new t.Uniform2f(e,r.u_latrange),u_light:new t.Uniform2f(e,r.u_light),u_shadow:new t.UniformColor(e,r.u_shadow),u_highlight:new t.UniformColor(e,r.u_highlight),u_accent:new t.UniformColor(e,r.u_accent)}},hillshadePrepare:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_image:new t.Uniform1i(e,r.u_image),u_dimension:new t.Uniform2f(e,r.u_dimension),u_zoom:new t.Uniform1f(e,r.u_zoom),u_maxzoom:new t.Uniform1f(e,r.u_maxzoom)}},line:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_gl_units_to_pixels:new t.Uniform2f(e,r.u_gl_units_to_pixels)}},lineGradient:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_gl_units_to_pixels:new t.Uniform2f(e,r.u_gl_units_to_pixels),u_image:new t.Uniform1i(e,r.u_image)}},linePattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_texsize:new t.Uniform2f(e,r.u_texsize),u_ratio:new t.Uniform1f(e,r.u_ratio),u_image:new t.Uniform1i(e,r.u_image),u_gl_units_to_pixels:new t.Uniform2f(e,r.u_gl_units_to_pixels),u_scale:new t.Uniform4f(e,r.u_scale),u_fade:new t.Uniform1f(e,r.u_fade)}},lineSDF:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_gl_units_to_pixels:new t.Uniform2f(e,r.u_gl_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,r.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,r.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,r.u_sdfgamma),u_image:new t.Uniform1i(e,r.u_image),u_tex_y_a:new t.Uniform1f(e,r.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,r.u_tex_y_b),u_mix:new t.Uniform1f(e,r.u_mix)}},raster:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_tl_parent:new t.Uniform2f(e,r.u_tl_parent),u_scale_parent:new t.Uniform1f(e,r.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,r.u_buffer_scale),u_fade_t:new t.Uniform1f(e,r.u_fade_t),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image0:new t.Uniform1i(e,r.u_image0),u_image1:new t.Uniform1i(e,r.u_image1),u_brightness_low:new t.Uniform1f(e,r.u_brightness_low),u_brightness_high:new t.Uniform1f(e,r.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,r.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,r.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,r.u_spin_weights)}},symbolIcon:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_gl_coord_matrix:new t.UniformMatrix4f(e,r.u_gl_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture)}},symbolSDF:function(e,r){return{u_is_size_zoom_constant:new t.Uniform1i(e,r.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,r.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,r.u_size_t),u_size:new t.Uniform1f(e,r.u_size),u_camera_to_center_distance:new t.Uniform1f(e,r.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,r.u_pitch),u_rotate_symbol:new t.Uniform1i(e,r.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,r.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,r.u_fade_change),u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,r.u_label_plane_matrix),u_gl_coord_matrix:new t.UniformMatrix4f(e,r.u_gl_coord_matrix),u_is_text:new t.Uniform1f(e,r.u_is_text),u_pitch_with_map:new t.Uniform1i(e,r.u_pitch_with_map),u_texsize:new t.Uniform2f(e,r.u_texsize),u_texture:new t.Uniform1i(e,r.u_texture),u_gamma_scale:new t.Uniform1f(e,r.u_gamma_scale),u_is_halo:new t.Uniform1f(e,r.u_is_halo)}},background:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_color:new t.UniformColor(e,r.u_color)}},backgroundPattern:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_opacity:new t.Uniform1f(e,r.u_opacity),u_image:new t.Uniform1i(e,r.u_image),u_pattern_tl_a:new t.Uniform2f(e,r.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,r.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,r.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,r.u_pattern_br_b),u_texsize:new t.Uniform2f(e,r.u_texsize),u_mix:new t.Uniform1f(e,r.u_mix),u_pattern_size_a:new t.Uniform2f(e,r.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,r.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,r.u_scale_a),u_scale_b:new t.Uniform1f(e,r.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,r.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,r.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,r.u_tile_units_to_pixels)}}};function jr(e,r){for(var i=e.sort((function(t,e){return t.tileID.isLessThan(e.tileID)?-1:e.tileID.isLessThan(t.tileID)?1:0})),n=0;n<i.length;n++){var o={},a=i[n],s=i.slice(n+1);qr(a.tileID.wrapped(),a.tileID,s,new t.OverscaledTileID(0,a.tileID.wrap+1,0,0,0),o),a.setMask(o,r)}}function qr(e,r,i,n,o){for(var a=0;a<i.length;a++){var s=i[a];if(n.isLessThan(s.tileID))break;if(r.key===s.tileID.key)return;if(s.tileID.isChildOf(r)){for(var u=r.children(1/0),l=0;l<u.length;l++)qr(e,u[l],i.slice(a),n,o);return}}var p=r.overscaledZ-e.overscaledZ,c=new t.CanonicalTileID(p,r.canonical.x-(e.canonical.x<<p),r.canonical.y-(e.canonical.y<<p));o[c.key]=o[c.key]||c}function Zr(t,e,r,i,n){for(var o=t.context,a=o.gl,s=n?t.useProgram("collisionCircle"):t.useProgram("collisionBox"),u=0;u<i.length;u++){var l=i[u],p=e.getTile(l),c=p.getBucket(r);if(c){var h=n?c.collisionCircle:c.collisionBox;h&&s.draw(o,n?a.TRIANGLES:a.LINES,St.disabled,Tt.disabled,t.colorModeForRenderPass(),It.disabled,wr(l.posMatrix,t.transform,p),r.id,h.layoutVertexBuffer,h.indexBuffer,h.segments,null,t.transform.zoom,null,null,h.collisionVertexBuffer)}}}var Gr=t.identity(new Float32Array(16)),Xr=t.properties.layout;function Wr(e,r,i,n,o,a){var s=t.getAnchorAlignment(e),u=-(s.horizontalAlign-.5)*r,l=-(s.verticalAlign-.5)*i,p=t.evaluateRadialOffset(e,n);return new t.Point((u/o+p[0])*a,(l/o+p[1])*a)}function Kr(e,r,i,n,o,a,s,u,l,p){var c=e.text.placedSymbolArray,h=e.text.dynamicLayoutVertexArray;h.clear();for(var f=0;f<c.length;f++){var d=c.get(f),m=!d.hidden&&d.crossTileID?n[d.crossTileID]:null;if(m){var y=new t.Point(d.anchorX,d.anchorY),v=Jt(y,i?u:s),_=.5+a.cameraToCenterDistance/v.signedDistanceFromCamera*.5,g=o.evaluateSizeForFeature(e.textSizeData,p,d)*_/t.ONE_EM;i&&(g*=e.tilePixelRatio/l);for(var x=m.width,b=m.height,w=m.radialOffset,E=m.textBoxScale,S=Wr(m.anchor,x,b,w,E,g),T=i?Jt(y.add(S),s).point:v.point.add(r?S.rotate(-a.angle):S),A=0;A<d.numGlyphs;A++)t.addDynamicAttributes(h,T,0)}else oe(d.numGlyphs,h)}e.text.dynamicLayoutVertexBuffer.updateData(h)}function Hr(e,r,i,n,o,a,s,u,l,p,c,h,f){for(var d,m,y=e.context,v=y.gl,_=e.transform,g="map"===u,x="map"===l,b=g&&"point"!==i.layout.get("symbol-placement"),w=g&&!x&&!b,E=void 0!==i.layout.get("symbol-sort-key").constantOr(1),S=e.depthModeForSublayer(0,St.ReadOnly),T=i.layout.get("text-variable-anchor"),A=[],I=0,z=n;I<z.length;I+=1){var k=z[I],C=r.getTile(k),P=C.getBucket(i);if(P){var M=o?P.text:P.icon;if(M&&M.segments.get().length){var L=M.programConfigurations.get(i.id),D=o||P.sdfIcons,B=o?P.textSizeData:P.iconSizeData;d||(d=e.useProgram(D?"symbolSDF":"symbolIcon",L),m=t.evaluateSizeForZoom(B,_.zoom,Xr.properties[o?"text-size":"icon-size"])),y.activeTexture.set(v.TEXTURE0);var R=void 0,F=void 0,O=void 0;if(o)F=C.glyphAtlasTexture,O=v.LINEAR,R=C.glyphAtlasTexture.size;else{var U=1!==i.layout.get("icon-size").constantOr(0)||P.iconsNeedLinear,V=x||0!==_.pitch;F=C.imageAtlasTexture,O=D||e.options.rotating||e.options.zooming||U||V?v.LINEAR:v.NEAREST,R=C.imageAtlasTexture.size}var N=le(C,1,e.transform.zoom),j=Kt(k.posMatrix,x,g,e.transform,N),q=Ht(k.posMatrix,x,g,e.transform,N);if(b)$t(P,k.posMatrix,e,o,j,q,x,p);else if(o&&m&&T){var Z=Math.pow(2,_.zoom-C.tileID.overscaledZ);Kr(P,g,x,f,t.symbolSize,_,j,k.posMatrix,Z,m)}var G=e.translatePosMatrix(k.posMatrix,C,a,s),X=b||o&&T?Gr:j,W=e.translatePosMatrix(q,C,a,s,!0),K=D&&0!==i.paint.get(o?"text-halo-width":"icon-halo-width").constantOr(1),H={program:d,buffers:M,uniformValues:D?Or(B.functionType,m,w,x,e,G,X,W,o,R,!0):Fr(B.functionType,m,w,x,e,G,X,W,o,R),atlasTexture:F,atlasInterpolation:O,isSDF:D,hasHalo:K};if(E)for(var J=0,Y=M.segments.get();J<Y.length;J+=1){var $=Y[J];A.push({segments:new t.SegmentVector([$]),sortKey:$.sortKey,state:H})}else A.push({segments:M.segments,sortKey:0,state:H})}}}E&&A.sort((function(t,e){return t.sortKey-e.sortKey}));for(var Q=0,tt=A;Q<tt.length;Q+=1){var et=tt[Q],rt=et.state;if(rt.atlasTexture.bind(rt.atlasInterpolation,v.CLAMP_TO_EDGE),rt.isSDF){var it=rt.uniformValues;rt.hasHalo&&(it.u_is_halo=1,Jr(rt.buffers,et.segments,i,e,rt.program,S,c,h,it)),it.u_is_halo=0}Jr(rt.buffers,et.segments,i,e,rt.program,S,c,h,rt.uniformValues)}}function Jr(t,e,r,i,n,o,a,s,u){var l=i.context,p=l.gl;n.draw(l,p.TRIANGLES,o,a,s,It.disabled,u,r.id,t.layoutVertexBuffer,t.indexBuffer,e,r.paint,i.transform.zoom,t.programConfigurations.get(r.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer)}function Yr(t,e,r,i,n,o,a){var s,u,l,p,c,h=t.context.gl,f=r.paint.get("fill-pattern"),d=f&&f.constantOr(1),m=r.getCrossfadeParameters();a?(u=d&&!r.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=h.LINES):(u=d?"fillPattern":"fill",s=h.TRIANGLES);for(var y=0,v=i;y<v.length;y+=1){var _=v[y],g=e.getTile(_);if(!d||g.patternsLoaded()){var x=g.getBucket(r);if(x){var b=x.programConfigurations.get(r.id),w=t.useProgram(u,b);d&&(t.context.activeTexture.set(h.TEXTURE0),g.imageAtlasTexture.bind(h.LINEAR,h.CLAMP_TO_EDGE),b.updatePatternPaintBuffers(m));var E=f.constantOr(null);if(E&&g.imageAtlas){var S=g.imageAtlas.patternPositions[E.to],T=g.imageAtlas.patternPositions[E.from];S&&T&&b.setConstantPatternPositions(S,T)}var A=t.translatePosMatrix(_.posMatrix,g,r.paint.get("fill-translate"),r.paint.get("fill-translate-anchor"));if(a){p=x.indexBuffer2,c=x.segments2;var I=[h.drawingBufferWidth,h.drawingBufferHeight];l="fillOutlinePattern"===u&&d?gr(A,t,m,g,I):_r(A,I)}else p=x.indexBuffer,c=x.segments,l=d?vr(A,t,m,g):yr(A);w.draw(t.context,s,n,t.stencilModeForClipping(_),o,It.disabled,l,r.id,x.layoutVertexBuffer,p,c,r.paint,t.transform.zoom,b)}}}}function $r(t,e,r,i,n,o,a){for(var s=t.context,u=s.gl,l=r.paint.get("fill-extrusion-pattern"),p=l.constantOr(1),c=r.getCrossfadeParameters(),h=r.paint.get("fill-extrusion-opacity"),f=0,d=i;f<d.length;f+=1){var m=d[f],y=e.getTile(m),v=y.getBucket(r);if(v){var _=v.programConfigurations.get(r.id),g=t.useProgram(p?"fillExtrusionPattern":"fillExtrusion",_);p&&(t.context.activeTexture.set(u.TEXTURE0),y.imageAtlasTexture.bind(u.LINEAR,u.CLAMP_TO_EDGE),_.updatePatternPaintBuffers(c));var x=l.constantOr(null);if(x&&y.imageAtlas){var b=y.imageAtlas.patternPositions[x.to],w=y.imageAtlas.patternPositions[x.from];b&&w&&_.setConstantPatternPositions(b,w)}var E=t.translatePosMatrix(m.posMatrix,y,r.paint.get("fill-extrusion-translate"),r.paint.get("fill-extrusion-translate-anchor")),S=r.paint.get("fill-extrusion-vertical-gradient"),T=p?mr(E,t,S,h,m,c,y):dr(E,t,S,h);g.draw(s,s.gl.TRIANGLES,n,o,a,It.backCCW,T,r.id,v.layoutVertexBuffer,v.indexBuffer,v.segments,r.paint,t.transform.zoom,_)}}}function Qr(t,e,r,i,n,o){var a=t.context,s=a.gl,u=e.fbo;if(u){var l=t.useProgram("hillshade");a.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,u.colorAttachment.get());var p=Ar(t,e,r);e.maskedBoundsBuffer&&e.maskedIndexBuffer&&e.segments?l.draw(a,s.TRIANGLES,i,n,o,It.disabled,p,r.id,e.maskedBoundsBuffer,e.maskedIndexBuffer,e.segments):l.draw(a,s.TRIANGLES,i,n,o,It.disabled,p,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}}function ti(e,r,i,n,o,a,s){var u=e.context,l=u.gl;if(r.dem&&r.dem.data){var p=r.dem.dim,c=r.dem.stride,h=r.dem.getPixels();if(u.activeTexture.set(l.TEXTURE1),u.pixelStoreUnpackPremultiplyAlpha.set(!1),r.demTexture=r.demTexture||e.getTileTexture(c),r.demTexture){var f=r.demTexture;f.update(h,{premultiply:!1}),f.bind(l.NEAREST,l.CLAMP_TO_EDGE)}else r.demTexture=new t.Texture(u,h,l.RGBA,{premultiply:!1}),r.demTexture.bind(l.NEAREST,l.CLAMP_TO_EDGE);u.activeTexture.set(l.TEXTURE0);var d=r.fbo;if(!d){var m=new t.Texture(u,{width:p,height:p,data:null},l.RGBA);m.bind(l.LINEAR,l.CLAMP_TO_EDGE),(d=r.fbo=u.createFramebuffer(p,p)).colorAttachment.set(m.texture)}u.bindFramebuffer.set(d.framebuffer),u.viewport.set([0,0,p,p]),e.useProgram("hillshadePrepare").draw(u,l.TRIANGLES,o,a,s,It.disabled,Ir(r,n),i.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),r.needsHillshadePrepare=!1}}function ei(e,r,i,n,o){var a=n.paint.get("raster-fade-duration");if(a>0){var s=t.browser.now(),u=(s-e.timeAdded)/a,l=r?(s-r.timeAdded)/a:-1,p=i.getSource(),c=o.coveringZoomLevel({tileSize:p.tileSize,roundZoom:p.roundZoom}),h=!r||Math.abs(r.tileID.overscaledZ-c)>Math.abs(e.tileID.overscaledZ-c),f=h&&e.refreshedUponExpiration?1:t.clamp(h?u:1-l,0,1);return e.refreshedUponExpiration&&u>=1&&(e.refreshedUponExpiration=!1),r?{opacity:1,mix:1-f}:{opacity:f,mix:0}}return{opacity:1,mix:0}}function ri(e,r,i){var n=e.context,o=n.gl,a=i.posMatrix,s=e.useProgram("debug"),u=St.disabled,l=Tt.disabled,p=e.colorModeForRenderPass(),c="$debug";s.draw(n,o.LINE_STRIP,u,l,p,It.disabled,Er(a,t.Color.red),c,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);for(var h=r.getTileByID(i.key).latestRawTileData,f=h&&h.byteLength||0,d=Math.floor(f/1024),m=function(t,e,r,i){i=i||1;var n,o,a,s,u,l,p,c,h=[];for(n=0,o=t.length;n<o;n++)if(u=ii[t[n]]){for(c=null,a=0,s=u[1].length;a<s;a+=2)-1===u[1][a]&&-1===u[1][a+1]?c=null:(l=e+u[1][a]*i,p=200-u[1][a+1]*i,c&&h.push(c.x,c.y,l,p),c={x:l,y:p});e+=u[0]*i}return h}(i.toString()+" "+d+"kb",50,0,5),y=new t.StructArrayLayout2i4,v=new t.StructArrayLayout2ui4,_=0;_<m.length;_+=2)y.emplaceBack(m[_],m[_+1]),v.emplaceBack(_,_+1);for(var g=n.createVertexBuffer(y,Fe.members),x=n.createIndexBuffer(v),b=t.SegmentVector.simpleSegment(0,0,y.length/2,y.length/2),w=r.getTile(i).tileSize,E=t.EXTENT/(Math.pow(2,e.transform.zoom-i.overscaledZ)*w),S=[[-1,-1],[-1,1],[1,-1],[1,1]],T=0;T<S.length;T++){var A=S[T];s.draw(n,o.LINES,u,l,p,It.disabled,Er(t.translate([],a,[E*A[0],E*A[1],0]),t.Color.white),c,g,x,b)}s.draw(n,o.LINES,u,l,p,It.disabled,Er(a,t.Color.black),c,g,x,b)}var ii={" ":[16,[]],"!":[10,[5,21,5,7,-1,-1,5,2,4,1,5,0,6,1,5,2]],'"':[16,[4,21,4,14,-1,-1,12,21,12,14]],"#":[21,[11,25,4,-7,-1,-1,17,25,10,-7,-1,-1,4,12,18,12,-1,-1,3,6,17,6]],$:[20,[8,25,8,-4,-1,-1,12,25,12,-4,-1,-1,17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],"%":[24,[21,21,3,0,-1,-1,8,21,10,19,10,17,9,15,7,14,5,14,3,16,3,18,4,20,6,21,8,21,10,20,13,19,16,19,19,20,21,21,-1,-1,17,7,15,6,14,4,14,2,16,0,18,0,20,1,21,3,21,5,19,7,17,7]],"&":[26,[23,12,23,13,22,14,21,14,20,13,19,11,17,6,15,3,13,1,11,0,7,0,5,1,4,2,3,4,3,6,4,8,5,9,12,13,13,14,14,16,14,18,13,20,11,21,9,20,8,18,8,16,9,13,11,10,16,3,18,1,20,0,22,0,23,1,23,2]],"'":[10,[5,19,4,20,5,21,6,20,6,18,5,16,4,15]],"(":[14,[11,25,9,23,7,20,5,16,4,11,4,7,5,2,7,-2,9,-5,11,-7]],")":[14,[3,25,5,23,7,20,9,16,10,11,10,7,9,2,7,-2,5,-5,3,-7]],"*":[16,[8,21,8,9,-1,-1,3,18,13,12,-1,-1,13,18,3,12]],"+":[26,[13,18,13,0,-1,-1,4,9,22,9]],",":[10,[6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"-":[26,[4,9,22,9]],".":[10,[5,2,4,1,5,0,6,1,5,2]],"/":[22,[20,25,2,-7]],0:[20,[9,21,6,20,4,17,3,12,3,9,4,4,6,1,9,0,11,0,14,1,16,4,17,9,17,12,16,17,14,20,11,21,9,21]],1:[20,[6,17,8,18,11,21,11,0]],2:[20,[4,16,4,17,5,19,6,20,8,21,12,21,14,20,15,19,16,17,16,15,15,13,13,10,3,0,17,0]],3:[20,[5,21,16,21,10,13,13,13,15,12,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],4:[20,[13,21,3,7,18,7,-1,-1,13,21,13,0]],5:[20,[15,21,5,21,4,12,5,13,8,14,11,14,14,13,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],6:[20,[16,18,15,20,12,21,10,21,7,20,5,17,4,12,4,7,5,3,7,1,10,0,11,0,14,1,16,3,17,6,17,7,16,10,14,12,11,13,10,13,7,12,5,10,4,7]],7:[20,[17,21,7,0,-1,-1,3,21,17,21]],8:[20,[8,21,5,20,4,18,4,16,5,14,7,13,11,12,14,11,16,9,17,7,17,4,16,2,15,1,12,0,8,0,5,1,4,2,3,4,3,7,4,9,6,11,9,12,13,13,15,14,16,16,16,18,15,20,12,21,8,21]],9:[20,[16,14,15,11,13,9,10,8,9,8,6,9,4,11,3,14,3,15,4,18,6,20,9,21,10,21,13,20,15,18,16,14,16,9,15,4,13,1,10,0,8,0,5,1,4,3]],":":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,5,2,4,1,5,0,6,1,5,2]],";":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"<":[24,[20,18,4,9,20,0]],"=":[26,[4,12,22,12,-1,-1,4,6,22,6]],">":[24,[4,18,20,9,4,0]],"?":[18,[3,16,3,17,4,19,5,20,7,21,11,21,13,20,14,19,15,17,15,15,14,13,13,12,9,10,9,7,-1,-1,9,2,8,1,9,0,10,1,9,2]],"@":[27,[18,13,17,15,15,16,12,16,10,15,9,14,8,11,8,8,9,6,11,5,14,5,16,6,17,8,-1,-1,12,16,10,14,9,11,9,8,10,6,11,5,-1,-1,18,16,17,8,17,6,19,5,21,5,23,7,24,10,24,12,23,15,22,17,20,19,18,20,15,21,12,21,9,20,7,19,5,17,4,15,3,12,3,9,4,6,5,4,7,2,9,1,12,0,15,0,18,1,20,2,21,3,-1,-1,19,16,18,8,18,6,19,5]],A:[18,[9,21,1,0,-1,-1,9,21,17,0,-1,-1,4,7,14,7]],B:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,-1,-1,4,11,13,11,16,10,17,9,18,7,18,4,17,2,16,1,13,0,4,0]],C:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5]],D:[21,[4,21,4,0,-1,-1,4,21,11,21,14,20,16,18,17,16,18,13,18,8,17,5,16,3,14,1,11,0,4,0]],E:[19,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11,-1,-1,4,0,17,0]],F:[18,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11]],G:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,18,8,-1,-1,13,8,18,8]],H:[22,[4,21,4,0,-1,-1,18,21,18,0,-1,-1,4,11,18,11]],I:[8,[4,21,4,0]],J:[16,[12,21,12,5,11,2,10,1,8,0,6,0,4,1,3,2,2,5,2,7]],K:[21,[4,21,4,0,-1,-1,18,21,4,7,-1,-1,9,12,18,0]],L:[17,[4,21,4,0,-1,-1,4,0,16,0]],M:[24,[4,21,4,0,-1,-1,4,21,12,0,-1,-1,20,21,12,0,-1,-1,20,21,20,0]],N:[22,[4,21,4,0,-1,-1,4,21,18,0,-1,-1,18,21,18,0]],O:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21]],P:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,14,17,12,16,11,13,10,4,10]],Q:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21,-1,-1,12,4,18,-2]],R:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,4,11,-1,-1,11,11,18,0]],S:[20,[17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],T:[16,[8,21,8,0,-1,-1,1,21,15,21]],U:[22,[4,21,4,6,5,3,7,1,10,0,12,0,15,1,17,3,18,6,18,21]],V:[18,[1,21,9,0,-1,-1,17,21,9,0]],W:[24,[2,21,7,0,-1,-1,12,21,7,0,-1,-1,12,21,17,0,-1,-1,22,21,17,0]],X:[20,[3,21,17,0,-1,-1,17,21,3,0]],Y:[18,[1,21,9,11,9,0,-1,-1,17,21,9,11]],Z:[20,[17,21,3,0,-1,-1,3,21,17,21,-1,-1,3,0,17,0]],"[":[14,[4,25,4,-7,-1,-1,5,25,5,-7,-1,-1,4,25,11,25,-1,-1,4,-7,11,-7]],"\\":[14,[0,21,14,-3]],"]":[14,[9,25,9,-7,-1,-1,10,25,10,-7,-1,-1,3,25,10,25,-1,-1,3,-7,10,-7]],"^":[16,[6,15,8,18,10,15,-1,-1,3,12,8,17,13,12,-1,-1,8,17,8,0]],_:[16,[0,-2,16,-2]],"`":[10,[6,21,5,20,4,18,4,16,5,15,6,16,5,17]],a:[19,[15,14,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],b:[19,[4,21,4,0,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],c:[18,[15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],d:[19,[15,21,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],e:[18,[3,8,15,8,15,10,14,12,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],f:[12,[10,21,8,21,6,20,5,17,5,0,-1,-1,2,14,9,14]],g:[19,[15,14,15,-2,14,-5,13,-6,11,-7,8,-7,6,-6,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],h:[19,[4,21,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],i:[8,[3,21,4,20,5,21,4,22,3,21,-1,-1,4,14,4,0]],j:[10,[5,21,6,20,7,21,6,22,5,21,-1,-1,6,14,6,-3,5,-6,3,-7,1,-7]],k:[17,[4,21,4,0,-1,-1,14,14,4,4,-1,-1,8,8,15,0]],l:[8,[4,21,4,0]],m:[30,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0,-1,-1,15,10,18,13,20,14,23,14,25,13,26,10,26,0]],n:[19,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],o:[19,[8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3,16,6,16,8,15,11,13,13,11,14,8,14]],p:[19,[4,14,4,-7,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],q:[19,[15,14,15,-7,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],r:[13,[4,14,4,0,-1,-1,4,8,5,11,7,13,9,14,12,14]],s:[17,[14,11,13,13,10,14,7,14,4,13,3,11,4,9,6,8,11,7,13,6,14,4,14,3,13,1,10,0,7,0,4,1,3,3]],t:[12,[5,21,5,4,6,1,8,0,10,0,-1,-1,2,14,9,14]],u:[19,[4,14,4,4,5,1,7,0,10,0,12,1,15,4,-1,-1,15,14,15,0]],v:[16,[2,14,8,0,-1,-1,14,14,8,0]],w:[22,[3,14,7,0,-1,-1,11,14,7,0,-1,-1,11,14,15,0,-1,-1,19,14,15,0]],x:[17,[3,14,14,0,-1,-1,14,14,3,0]],y:[16,[2,14,8,0,-1,-1,14,14,8,0,6,-4,4,-6,2,-7,1,-7]],z:[17,[14,14,3,0,-1,-1,3,14,14,14,-1,-1,3,0,14,0]],"{":[14,[9,25,7,24,6,23,5,21,5,19,6,17,7,16,8,14,8,12,6,10,-1,-1,7,24,6,22,6,20,7,18,8,17,9,15,9,13,8,11,4,9,8,7,9,5,9,3,8,1,7,0,6,-2,6,-4,7,-6,-1,-1,6,8,8,6,8,4,7,2,6,1,5,-1,5,-3,6,-5,7,-6,9,-7]],"|":[8,[4,25,4,-7]],"}":[14,[5,25,7,24,8,23,9,21,9,19,8,17,7,16,6,14,6,12,8,10,-1,-1,7,24,8,22,8,20,7,18,6,17,5,15,5,13,6,11,10,9,6,7,5,5,5,3,6,1,7,0,8,-2,8,-4,7,-6,-1,-1,8,8,6,6,6,4,7,2,8,1,9,-1,9,-3,8,-5,7,-6,5,-7]],"~":[24,[3,6,3,8,4,11,6,12,8,12,10,11,14,8,16,7,18,7,20,8,21,10,-1,-1,3,8,4,10,6,11,8,11,10,10,14,7,16,6,18,6,20,7,21,10,21,12]]},ni={symbol:function(t,e,r,i,n){if("translucent"===t.renderPass){var o=Tt.disabled,a=t.colorModeForRenderPass();0!==r.paint.get("icon-opacity").constantOr(1)&&Hr(t,e,r,i,!1,r.paint.get("icon-translate"),r.paint.get("icon-translate-anchor"),r.layout.get("icon-rotation-alignment"),r.layout.get("icon-pitch-alignment"),r.layout.get("icon-keep-upright"),o,a,n),0!==r.paint.get("text-opacity").constantOr(1)&&Hr(t,e,r,i,!0,r.paint.get("text-translate"),r.paint.get("text-translate-anchor"),r.layout.get("text-rotation-alignment"),r.layout.get("text-pitch-alignment"),r.layout.get("text-keep-upright"),o,a,n),e.map.showCollisionBoxes&&function(t,e,r,i){Zr(t,e,r,i,!1),Zr(t,e,r,i,!0)}(t,e,r,i)}},circle:function(t,e,r,i){if("translucent"===t.renderPass){var n=r.paint.get("circle-opacity"),o=r.paint.get("circle-stroke-width"),a=r.paint.get("circle-stroke-opacity");if(0!==n.constantOr(1)||0!==o.constantOr(1)&&0!==a.constantOr(1))for(var s=t.context,u=s.gl,l=t.depthModeForSublayer(0,St.ReadOnly),p=Tt.disabled,c=t.colorModeForRenderPass(),h=0;h<i.length;h++){var f=i[h],d=e.getTile(f),m=d.getBucket(r);if(m){var y=m.programConfigurations.get(r.id);t.useProgram("circle",y).draw(s,u.TRIANGLES,l,p,c,It.disabled,xr(t,f,d,r),r.id,m.layoutVertexBuffer,m.indexBuffer,m.segments,r.paint,t.transform.zoom,y)}}}},heatmap:function(e,r,i,n){if(0!==i.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){var o=e.context,a=o.gl,s=e.depthModeForSublayer(0,St.ReadOnly),u=Tt.disabled,l=new At([a.ONE,a.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,r){var i=t.gl;t.activeTexture.set(i.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);var n=r.heatmapFbo;if(n)i.bindTexture(i.TEXTURE_2D,n.colorAttachment.get()),t.bindFramebuffer.set(n.framebuffer);else{var o=i.createTexture();i.bindTexture(i.TEXTURE_2D,o),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_S,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_WRAP_T,i.CLAMP_TO_EDGE),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MIN_FILTER,i.LINEAR),i.texParameteri(i.TEXTURE_2D,i.TEXTURE_MAG_FILTER,i.LINEAR),n=r.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4),function t(e,r,i,n){var o=e.gl;o.texImage2D(o.TEXTURE_2D,0,o.RGBA,r.width/4,r.height/4,0,o.RGBA,e.extTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:o.UNSIGNED_BYTE,null),n.colorAttachment.set(i),e.extTextureHalfFloat&&o.checkFramebufferStatus(o.FRAMEBUFFER)!==o.FRAMEBUFFER_COMPLETE&&(e.extTextureHalfFloat=null,n.colorAttachment.setDirty(),t(e,r,i,n))}(t,e,o,n)}}(o,e,i),o.clear({color:t.Color.transparent});for(var p=0;p<n.length;p++){var c=n[p];if(!r.hasRenderableParent(c)){var h=r.getTile(c),f=h.getBucket(i);if(f){var d=f.programConfigurations.get(i.id),m=e.useProgram("heatmap",d),y=e.transform.zoom;m.draw(o,a.TRIANGLES,s,u,l,It.disabled,Tr(c.posMatrix,h,y,i.paint.get("heatmap-intensity")),i.id,f.layoutVertexBuffer,f.indexBuffer,f.segments,i.paint,e.transform.zoom,d)}}}o.viewport.set([0,0,e.width,e.height])}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,r){var i=e.context,n=i.gl,o=r.heatmapFbo;if(o){i.activeTexture.set(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,o.colorAttachment.get()),i.activeTexture.set(n.TEXTURE1);var a=r.colorRampTexture;a||(a=r.colorRampTexture=new t.Texture(i,r.colorRamp,n.RGBA)),a.bind(n.LINEAR,n.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(i,n.TRIANGLES,St.disabled,Tt.disabled,e.colorModeForRenderPass(),It.disabled,function(e,r,i,n){var o=t.create();t.ortho(o,0,e.width,e.height,0,0,1);var a=e.context.gl;return{u_matrix:o,u_world:[a.drawingBufferWidth,a.drawingBufferHeight],u_image:i,u_color_ramp:n,u_opacity:r.paint.get("heatmap-opacity")}}(e,r,0,1),r.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,r.paint,e.transform.zoom)}}(e,i))},line:function(e,r,i,n){if("translucent"===e.renderPass){var o=i.paint.get("line-opacity"),a=i.paint.get("line-width");if(0!==o.constantOr(1)&&0!==a.constantOr(1)){var s=e.depthModeForSublayer(0,St.ReadOnly),u=e.colorModeForRenderPass(),l=i.paint.get("line-dasharray"),p=i.paint.get("line-pattern"),c=p.constantOr(1),h=i.paint.get("line-gradient"),f=i.getCrossfadeParameters(),d=l?"lineSDF":c?"linePattern":h?"lineGradient":"line",m=e.context,y=m.gl,v=!0;if(h){m.activeTexture.set(y.TEXTURE0);var _=i.gradientTexture;if(!i.gradient)return;_||(_=i.gradientTexture=new t.Texture(m,i.gradient,y.RGBA)),_.bind(y.LINEAR,y.CLAMP_TO_EDGE)}for(var g=0,x=n;g<x.length;g+=1){var b=x[g],w=r.getTile(b);if(!c||w.patternsLoaded()){var E=w.getBucket(i);if(E){var S=E.programConfigurations.get(i.id),T=e.context.program.get(),A=e.useProgram(d,S),I=v||A.program!==T,z=p.constantOr(null);if(z&&w.imageAtlas){var k=w.imageAtlas.patternPositions[z.to],C=w.imageAtlas.patternPositions[z.from];k&&C&&S.setConstantPatternPositions(k,C)}var P=l?Mr(e,w,i,l,f):c?Pr(e,w,i,f):h?Cr(e,w,i):kr(e,w,i);l&&(I||e.lineAtlas.dirty)?(m.activeTexture.set(y.TEXTURE0),e.lineAtlas.bind(m)):c&&(m.activeTexture.set(y.TEXTURE0),w.imageAtlasTexture.bind(y.LINEAR,y.CLAMP_TO_EDGE),S.updatePatternPaintBuffers(f)),A.draw(m,y.TRIANGLES,s,e.stencilModeForClipping(b),u,It.disabled,P,i.id,E.layoutVertexBuffer,E.indexBuffer,E.segments,i.paint,e.transform.zoom,S),v=!1}}}}}},fill:function(e,r,i,n){var o=i.paint.get("fill-color"),a=i.paint.get("fill-opacity");if(0!==a.constantOr(1)){var s=e.colorModeForRenderPass(),u=i.paint.get("fill-pattern"),l=e.opaquePassEnabledForLayer()&&!u.constantOr(1)&&1===o.constantOr(t.Color.transparent).a&&1===a.constantOr(0)?"opaque":"translucent";if(e.renderPass===l){var p=e.depthModeForSublayer(1,"opaque"===e.renderPass?St.ReadWrite:St.ReadOnly);Yr(e,r,i,n,p,s,!1)}if("translucent"===e.renderPass&&i.paint.get("fill-antialias")){var c=e.depthModeForSublayer(i.getPaintProperty("fill-outline-color")?2:0,St.ReadOnly);Yr(e,r,i,n,c,s,!0)}}},"fill-extrusion":function(t,e,r,i){var n=r.paint.get("fill-extrusion-opacity");if(0!==n&&"translucent"===t.renderPass){var o=new St(t.context.gl.LEQUAL,St.ReadWrite,t.depthRangeFor3D);if(1!==n||r.paint.get("fill-extrusion-pattern").constantOr(1))$r(t,e,r,i,o,Tt.disabled,At.disabled),$r(t,e,r,i,o,t.stencilModeFor3D(),t.colorModeForRenderPass());else{var a=t.colorModeForRenderPass();$r(t,e,r,i,o,Tt.disabled,a)}}},hillshade:function(t,e,r,i){if("offscreen"===t.renderPass||"translucent"===t.renderPass){for(var n=t.context,o=e.getSource().maxzoom,a=t.depthModeForSublayer(0,St.ReadOnly),s=Tt.disabled,u=t.colorModeForRenderPass(),l=0,p=i;l<p.length;l+=1){var c=p[l],h=e.getTile(c);h.needsHillshadePrepare&&"offscreen"===t.renderPass?ti(t,h,r,o,a,s,u):"translucent"===t.renderPass&&Qr(t,h,r,a,s,u)}n.viewport.set([0,0,t.width,t.height])}},raster:function(t,e,r,i){if("translucent"===t.renderPass&&0!==r.paint.get("raster-opacity"))for(var n=t.context,o=n.gl,a=e.getSource(),s=t.useProgram("raster"),u=Tt.disabled,l=t.colorModeForRenderPass(),p=i.length&&i[0].overscaledZ,c=!t.options.moving,h=0,f=i;h<f.length;h+=1){var d=f[h],m=t.depthModeForSublayer(d.overscaledZ-p,1===r.paint.get("raster-opacity")?St.ReadWrite:St.ReadOnly,o.LESS),y=e.getTile(d),v=t.transform.calculatePosMatrix(d.toUnwrapped(),c);y.registerFadeDuration(r.paint.get("raster-fade-duration"));var _=e.findLoadedParent(d,0),g=ei(y,_,e,r,t.transform),x=void 0,b=void 0,w="nearest"===r.paint.get("raster-resampling")?o.NEAREST:o.LINEAR;n.activeTexture.set(o.TEXTURE0),y.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),n.activeTexture.set(o.TEXTURE1),_?(_.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST),x=Math.pow(2,_.tileID.overscaledZ-y.tileID.overscaledZ),b=[y.tileID.canonical.x*x%1,y.tileID.canonical.y*x%1]):y.texture.bind(w,o.CLAMP_TO_EDGE,o.LINEAR_MIPMAP_NEAREST);var E=Br(v,b||[0,0],x||1,g,r);a instanceof C?s.draw(n,o.TRIANGLES,m,u,l,It.disabled,E,r.id,a.boundsBuffer,t.quadTriangleIndexBuffer,a.boundsSegments):y.maskedBoundsBuffer&&y.maskedIndexBuffer&&y.segments?s.draw(n,o.TRIANGLES,m,u,l,It.disabled,E,r.id,y.maskedBoundsBuffer,y.maskedIndexBuffer,y.segments,r.paint,t.transform.zoom):s.draw(n,o.TRIANGLES,m,u,l,It.disabled,E,r.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments)}},background:function(t,e,r){var i=r.paint.get("background-color"),n=r.paint.get("background-opacity");if(0!==n){var o=t.context,a=o.gl,s=t.transform,u=s.tileSize,l=r.paint.get("background-pattern");if(!t.isPatternMissing(l)){var p=l||1!==i.a||1!==n?"translucent":"opaque";if(t.renderPass===p){var c=Tt.disabled,h=t.depthModeForSublayer(0,"opaque"===p?St.ReadWrite:St.ReadOnly),f=t.colorModeForRenderPass(),d=t.useProgram(l?"backgroundPattern":"background"),m=s.coveringTiles({tileSize:u});l&&(o.activeTexture.set(a.TEXTURE0),t.imageManager.bind(t.context));for(var y=r.getCrossfadeParameters(),v=0,_=m;v<_.length;v+=1){var g=_[v],x=t.transform.calculatePosMatrix(g.toUnwrapped()),b=l?Vr(x,n,t,l,{tileID:g,tileSize:u},y):Ur(x,n,i);d.draw(o,a.TRIANGLES,h,c,f,It.disabled,b,r.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments)}}}}},debug:function(t,e,r){for(var i=0;i<r.length;i++)ri(t,e,r[i])},custom:function(t,e,r){var i=t.context,n=r.implementation;if("offscreen"===t.renderPass){var o=n.prerender;o&&(t.setCustomLayerDefaults(),i.setColorMode(t.colorModeForRenderPass()),o.call(n,i.gl,t.transform.customLayerMatrix()),i.setDirty(),t.setBaseState())}else if("translucent"===t.renderPass){t.setCustomLayerDefaults(),i.setColorMode(t.colorModeForRenderPass()),i.setStencilMode(Tt.disabled);var a="3d"===n.renderingMode?new St(t.context.gl.LEQUAL,St.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,St.ReadOnly);i.setDepthMode(a),n.render(i.gl,t.transform.customLayerMatrix()),i.setDirty(),t.setBaseState(),i.bindFramebuffer.set(null)}}},oi=function(e,r){this.context=new zt(e),this.transform=r,this._tileTextures={},this.setup(),this.numSublayers=kt.maxUnderzooming+kt.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.depthRboNeedsClear=!0,this.emptyProgramConfiguration=new t.ProgramConfiguration,this.crossTileSymbolIndex=new Me};function ai(t,e){if(t.y>e.y){var r=t;t=e,e=r}return{x0:t.x,y0:t.y,x1:e.x,y1:e.y,dx:e.x-t.x,dy:e.y-t.y}}function si(t,e,r,i,n){var o=Math.max(r,Math.floor(e.y0)),a=Math.min(i,Math.ceil(e.y1));if(t.x0===e.x0&&t.y0===e.y0?t.x0+e.dy/t.dy*t.dx<e.x1:t.x1-e.dy/t.dy*t.dx<e.x0){var s=t;t=e,e=s}for(var u=t.dx/t.dy,l=e.dx/e.dy,p=t.dx>0,c=e.dx<0,h=o;h<a;h++){var f=u*Math.max(0,Math.min(t.dy,h+p-t.y0))+t.x0,d=l*Math.max(0,Math.min(e.dy,h+c-e.y0))+e.x0;n(Math.floor(d),Math.ceil(f),h)}}function ui(t,e,r,i,n,o){var a,s=ai(t,e),u=ai(e,r),l=ai(r,t);s.dy>u.dy&&(a=s,s=u,u=a),s.dy>l.dy&&(a=s,s=l,l=a),u.dy>l.dy&&(a=u,u=l,l=a),s.dy&&si(l,s,i,n,o),u.dy&&si(l,u,i,n,o)}oi.prototype.resize=function(e,r){var i=this.context.gl;if(this.width=e*t.browser.devicePixelRatio,this.height=r*t.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var n=0,o=this.style._order;n<o.length;n+=1){var a=o[n];this.style._layers[a].resize()}this.depthRbo&&(i.deleteRenderbuffer(this.depthRbo),this.depthRbo=null)},oi.prototype.setup=function(){var e=this.context,r=new t.StructArrayLayout2i4;r.emplaceBack(0,0),r.emplaceBack(t.EXTENT,0),r.emplaceBack(0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(r,Fe.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);var i=new t.StructArrayLayout2i4;i.emplaceBack(0,0),i.emplaceBack(t.EXTENT,0),i.emplaceBack(0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(i,Fe.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);var n=new t.StructArrayLayout4i8;n.emplaceBack(0,0,0,0),n.emplaceBack(t.EXTENT,0,t.EXTENT,0),n.emplaceBack(0,t.EXTENT,0,t.EXTENT),n.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(n,t.rasterBoundsAttributes.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);var o=new t.StructArrayLayout2i4;o.emplaceBack(0,0),o.emplaceBack(1,0),o.emplaceBack(0,1),o.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(o,Fe.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);var a=new t.StructArrayLayout1ui2;a.emplaceBack(0),a.emplaceBack(1),a.emplaceBack(3),a.emplaceBack(2),a.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(a);var s=new t.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(s);var u=this.context.gl;this.stencilClearMode=new Tt({func:u.ALWAYS,mask:0},0,255,u.ZERO,u.ZERO,u.ZERO)},oi.prototype.clearStencil=function(){var e=this.context,r=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var i=t.create();t.ortho(i,0,this.width,this.height,0,0,1),t.scale(i,i,[r.drawingBufferWidth,r.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,r.TRIANGLES,St.disabled,this.stencilClearMode,At.disabled,It.disabled,Sr(i),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)},oi.prototype._renderTileClippingMasks=function(t,e){if(this.currentStencilSource!==t.source&&t.isTileClipped()&&e&&e.length){this.currentStencilSource=t.source;var r=this.context,i=r.gl;this.nextStencilID+e.length>256&&this.clearStencil(),r.setColorMode(At.disabled),r.setDepthMode(St.disabled);var n=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var o=0,a=e;o<a.length;o+=1){var s=a[o],u=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;n.draw(r,i.TRIANGLES,St.disabled,new Tt({func:i.ALWAYS,mask:0},u,255,i.KEEP,i.KEEP,i.REPLACE),At.disabled,It.disabled,Sr(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}},oi.prototype.stencilModeFor3D=function(){this.nextStencilID+1>256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new Tt({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},oi.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new Tt({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},oi.prototype.colorModeForRenderPass=function(){var e=this.context.gl;return this._showOverdrawInspector?new At([e.CONSTANT_COLOR,e.ONE],new t.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0]):"opaque"===this.renderPass?At.unblended:At.alphaBlended},oi.prototype.depthModeForSublayer=function(t,e,r){if(!this.opaquePassEnabledForLayer())return St.disabled;var i=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new St(r||this.context.gl.LEQUAL,e,[i,i])},oi.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},oi.prototype.render=function(e,r){this.style=e,this.options=r,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.browser.now()),this.imageManager.beginFrame();var i=this.style._order,n=this.style.sourceCaches;for(var o in n){var a=n[o];a.used&&a.prepare(this.context)}var s={},u={},l={};for(var p in n){var c=n[p];s[p]=c.getVisibleCoordinates(),u[p]=s[p].slice().reverse(),l[p]=c.getVisibleCoordinates(!0).reverse()}for(var h in n){var f=n[h],d=f.getSource();if("raster"===d.type||"raster-dem"===d.type){for(var m=[],y=0,v=s[h];y<v.length;y+=1){var _=v[y];m.push(f.getTile(_))}jr(m,this.context)}}this.opaquePassCutoff=1/0;for(var g=0;g<i.length;g++){var x=i[g];if(this.style._layers[x].is3D()){this.opaquePassCutoff=g;break}}this.renderPass="offscreen",this.depthRboNeedsClear=!0;for(var b=0,w=i;b<w.length;b+=1){var E=w[b],S=this.style._layers[E];if(S.hasOffscreenPass()&&!S.isHidden(this.transform.zoom)){var T=u[S.source];("custom"===S.type||T.length)&&this.renderLayer(this,n[S.source],S,T)}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:r.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=r.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=i.length-1;this.currentLayer>=0;this.currentLayer--){var A=this.style._layers[i[this.currentLayer]],I=n[A.source],z=s[A.source];this._renderTileClippingMasks(A,z),this.renderLayer(this,I,A,z)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<i.length;this.currentLayer++){var k=this.style._layers[i[this.currentLayer]],C=n[k.source],P=("symbol"===k.type?l:u)[k.source];this._renderTileClippingMasks(k,s[k.source]),this.renderLayer(this,C,k,P)}if(this.options.showTileBoundaries)for(var M in n){ni.debug(this,n[M],s[M]);break}this.setCustomLayerDefaults()},oi.prototype.setupOffscreenDepthRenderbuffer=function(){var t=this.context;this.depthRbo||(this.depthRbo=t.createRenderbuffer(t.gl.DEPTH_COMPONENT16,this.width,this.height))},oi.prototype.renderLayer=function(t,e,r,i){r.isHidden(this.transform.zoom)||("background"===r.type||"custom"===r.type||i.length)&&(this.id=r.id,ni[r.type](t,e,r,i,this.style.placement.variableOffsets))},oi.prototype.translatePosMatrix=function(e,r,i,n,o){if(!i[0]&&!i[1])return e;var a=o?"map"===n?this.transform.angle:0:"viewport"===n?-this.transform.angle:0;if(a){var s=Math.sin(a),u=Math.cos(a);i=[i[0]*u-i[1]*s,i[0]*s+i[1]*u]}var l=[o?i[0]:le(r,i[0],this.transform.zoom),o?i[1]:le(r,i[1],this.transform.zoom),0],p=new Float32Array(16);return t.translate(p,e,l),p},oi.prototype.saveTileTexture=function(t){var e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t]},oi.prototype.getTileTexture=function(t){var e=this._tileTextures[t];return e&&e.length>0?e.pop():null},oi.prototype.isPatternMissing=function(t){if(!t)return!1;var e=this.imageManager.getPattern(t.from),r=this.imageManager.getPattern(t.to);return!e||!r},oi.prototype.useProgram=function(t,e){void 0===e&&(e=this.emptyProgramConfiguration),this.cache=this.cache||{};var r=""+t+(e.cacheKey||"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[r]||(this.cache[r]=new hr(this.context,pr[t],e,Nr[t],this._showOverdrawInspector)),this.cache[r]},oi.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()},oi.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD)};var li=function(e,r,i){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===i||i,this._minZoom=e||0,this._maxZoom=r||22,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._posMatrixCache={},this._alignedPosMatrixCache={}},pi={minZoom:{configurable:!0},maxZoom:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerPoint:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};li.prototype.clone=function(){var t=new li(this._minZoom,this._maxZoom,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._calcMatrices(),t},pi.minZoom.get=function(){return this._minZoom},pi.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t))},pi.maxZoom.get=function(){return this._maxZoom},pi.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t))},pi.renderWorldCopies.get=function(){return this._renderWorldCopies},pi.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t},pi.worldSize.get=function(){return this.tileSize*this.scale},pi.centerPoint.get=function(){return this.size._div(2)},pi.size.get=function(){return new t.Point(this.width,this.height)},pi.bearing.get=function(){return-this.angle/Math.PI*180},pi.bearing.set=function(e){var r=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==r&&(this._unmodified=!1,this.angle=r,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle))},pi.pitch.get=function(){return this._pitch/Math.PI*180},pi.pitch.set=function(e){var r=t.clamp(e,0,60)/180*Math.PI;this._pitch!==r&&(this._unmodified=!1,this._pitch=r,this._calcMatrices())},pi.fov.get=function(){return this._fov/Math.PI*180},pi.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices())},pi.zoom.get=function(){return this._zoom},pi.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices())},pi.center.get=function(){return this._center},pi.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices())},li.prototype.coveringZoomLevel=function(t){return(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize))},li.prototype.getVisibleUnwrappedCoordinates=function(e){var r=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var i=this.pointCoordinate(new t.Point(0,0)),n=this.pointCoordinate(new t.Point(this.width,0)),o=this.pointCoordinate(new t.Point(this.width,this.height)),a=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(i.x,n.x,o.x,a.x)),u=Math.floor(Math.max(i.x,n.x,o.x,a.x)),l=s-1;l<=u+1;l++)0!==l&&r.push(new t.UnwrappedTileID(l,e));return r},li.prototype.coveringTiles=function(e){var r=this.coveringZoomLevel(e),i=r;if(void 0!==e.minzoom&&r<e.minzoom)return[];void 0!==e.maxzoom&&r>e.maxzoom&&(r=e.maxzoom);var n=t.MercatorCoordinate.fromLngLat(this.center),o=Math.pow(2,r),a=new t.Point(o*n.x-.5,o*n.y-.5);return function(e,r,i,n){void 0===n&&(n=!0);var o=1<<e,a={};function s(r,s,u){var l,p,c,h;if(u>=0&&u<=o)for(l=r;l<s;l++)p=Math.floor(l/o),c=(l%o+o)%o,0!==p&&!0!==n||(h=new t.OverscaledTileID(i,p,e,c,u),a[h.key]=h)}var u=r.map((function(e){return new t.Point(e.x,e.y)._mult(o)}));return ui(u[0],u[1],u[2],0,o,s),ui(u[2],u[3],u[0],0,o,s),Object.keys(a).map((function(t){return a[t]}))}(r,[this.pointCoordinate(new t.Point(0,0)),this.pointCoordinate(new t.Point(this.width,0)),this.pointCoordinate(new t.Point(this.width,this.height)),this.pointCoordinate(new t.Point(0,this.height))],e.reparseOverscaled?i:r,this._renderWorldCopies).sort((function(t,e){return a.dist(t.canonical)-a.dist(e.canonical)}))},li.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices()},pi.unmodified.get=function(){return this._unmodified},li.prototype.zoomScale=function(t){return Math.pow(2,t)},li.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},li.prototype.project=function(e){var r=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(r)*this.worldSize)},li.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},pi.point.get=function(){return this.project(this.center)},li.prototype.setLocationAtPoint=function(e,r){var i=this.pointCoordinate(r),n=this.pointCoordinate(this.centerPoint),o=this.locationCoordinate(e),a=new t.MercatorCoordinate(o.x-(i.x-n.x),o.y-(i.y-n.y));this.center=this.coordinateLocation(a),this._renderWorldCopies&&(this.center=this.center.wrap())},li.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},li.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},li.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},li.prototype.coordinateLocation=function(t){return t.toLngLat()},li.prototype.pointCoordinate=function(e){var r=[e.x,e.y,0,1],i=[e.x,e.y,1,1];t.transformMat4(r,r,this.pixelMatrixInverse),t.transformMat4(i,i,this.pixelMatrixInverse);var n=r[3],o=i[3],a=r[0]/n,s=i[0]/o,u=r[1]/n,l=i[1]/o,p=r[2]/n,c=i[2]/o,h=p===c?0:(0-p)/(c-p);return new t.MercatorCoordinate(t.number(a,s,h)/this.worldSize,t.number(u,l,h)/this.worldSize)},li.prototype.coordinatePoint=function(e){var r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix),new t.Point(r[0]/r[3],r[1]/r[3])},li.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},li.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},li.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude])},li.prototype.calculatePosMatrix=function(e,r){void 0===r&&(r=!1);var i=e.key,n=r?this._alignedPosMatrixCache:this._posMatrixCache;if(n[i])return n[i];var o=e.canonical,a=this.worldSize/this.zoomScale(o.z),s=o.x+Math.pow(2,o.z)*e.wrap,u=t.identity(new Float64Array(16));return t.translate(u,u,[s*a,o.y*a,0]),t.scale(u,u,[a/t.EXTENT,a/t.EXTENT,1]),t.multiply(u,r?this.alignedProjMatrix:this.projMatrix,u),n[i]=new Float32Array(u),n[i]},li.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},li.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,r,i,n,o=-90,a=90,s=-180,u=180,l=this.size,p=this._unmodified;if(this.latRange){var c=this.latRange;o=t.mercatorYfromLat(c[1])*this.worldSize,e=(a=t.mercatorYfromLat(c[0])*this.worldSize)-o<l.y?l.y/(a-o):0}if(this.lngRange){var h=this.lngRange;s=t.mercatorXfromLng(h[0])*this.worldSize,r=(u=t.mercatorXfromLng(h[1])*this.worldSize)-s<l.x?l.x/(u-s):0}var f=this.point,d=Math.max(r||0,e||0);if(d)return this.center=this.unproject(new t.Point(r?(u+s)/2:f.x,e?(a+o)/2:f.y)),this.zoom+=this.scaleZoom(d),this._unmodified=p,void(this._constraining=!1);if(this.latRange){var m=f.y,y=l.y/2;m-y<o&&(n=o+y),m+y>a&&(n=a-y)}if(this.lngRange){var v=f.x,_=l.x/2;v-_<s&&(i=s+_),v+_>u&&(i=u-_)}void 0===i&&void 0===n||(this.center=this.unproject(new t.Point(void 0!==i?i:f.x,void 0!==n?n:f.y))),this._unmodified=p,this._constraining=!1}},li.prototype._calcMatrices=function(){if(this.height){this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var e=this._fov/2,r=Math.PI/2+this._pitch,i=Math.sin(e)*this.cameraToCenterDistance/Math.sin(Math.PI-r-e),n=this.point,o=n.x,a=n.y,s=1.01*(Math.cos(Math.PI/2-this._pitch)*i+this.cameraToCenterDistance),u=new Float64Array(16);t.perspective(u,this._fov,this.width/this.height,1,s),t.scale(u,u,[1,-1,1]),t.translate(u,u,[0,0,-this.cameraToCenterDistance]),t.rotateX(u,u,this._pitch),t.rotateZ(u,u,this.angle),t.translate(u,u,[-o,-a,0]),this.mercatorMatrix=t.scale([],u,[this.worldSize,this.worldSize,this.worldSize]),t.scale(u,u,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=u;var l=this.width%2/2,p=this.height%2/2,c=Math.cos(this.angle),h=Math.sin(this.angle),f=o-Math.round(o)+c*l+h*p,d=a-Math.round(a)+c*p+h*l,m=new Float64Array(u);if(t.translate(m,m,[f>.5?f-1:f,d>.5?d-1:d,0]),this.alignedProjMatrix=m,u=t.create(),t.scale(u,u,[this.width/2,-this.height/2,1]),t.translate(u,u,[1,-1,0]),this.labelPlaneMatrix=u,u=t.create(),t.scale(u,u,[1,-1,1]),t.translate(u,u,[-1,-1,0]),t.scale(u,u,[2/this.width,2/this.height,1]),this.glCoordMatrix=u,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(u=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=u,this._posMatrixCache={},this._alignedPosMatrixCache={}}},li.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),r=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(r,r,this.pixelMatrix)[3]/this.cameraToCenterDistance},li.prototype.getCameraPoint=function(){var e=this._pitch,r=Math.tan(e)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,r))},li.prototype.getCameraQueryGeometry=function(e){var r=this.getCameraPoint();if(1===e.length)return[e[0],r];for(var i=r.x,n=r.y,o=r.x,a=r.y,s=0,u=e;s<u.length;s+=1){var l=u[s];i=Math.min(i,l.x),n=Math.min(n,l.y),o=Math.max(o,l.x),a=Math.max(a,l.y)}return[new t.Point(i,n),new t.Point(o,n),new t.Point(o,a),new t.Point(i,a),new t.Point(i,n)]},Object.defineProperties(li.prototype,pi);var ci=function(){var e,r,i,n;t.bindAll(["_onHashChange","_updateHash"],this),this._updateHash=(e=this._updateHashUnthrottled.bind(this),r=!1,i=0,n=function(){i=0,r&&(e(),i=setTimeout(n,300),r=!1)},function(){return r=!0,i||n(),i})};ci.prototype.addTo=function(e){return this._map=e,t.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},ci.prototype.remove=function(){return t.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},ci.prototype.getHashString=function(t){var e=this._map.getCenter(),r=Math.round(100*this._map.getZoom())/100,i=Math.ceil((r*Math.LN2+Math.log(512/360/.5))/Math.LN10),n=Math.pow(10,i),o=Math.round(e.lng*n)/n,a=Math.round(e.lat*n)/n,s=this._map.getBearing(),u=this._map.getPitch(),l="";return l+=t?"#/"+o+"/"+a+"/"+r:"#"+r+"/"+a+"/"+o,(s||u)&&(l+="/"+Math.round(10*s)/10),u&&(l+="/"+Math.round(u)),l},ci.prototype._onHashChange=function(){var e=t.window.location.hash.replace("#","").split("/");return e.length>=3&&(this._map.jumpTo({center:[+e[2],+e[1]],zoom:+e[0],bearing:+(e[3]||0),pitch:+(e[4]||0)}),!0)},ci.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{t.window.history.replaceState(t.window.history.state,"",e)}catch(t){}};var hi=function(e){function i(i,n,o,a){void 0===a&&(a={});var s=r.mousePos(n.getCanvasContainer(),o),u=n.unproject(s);e.call(this,i,t.extend({point:s,lngLat:u,originalEvent:o},a)),this._defaultPrevented=!1,this.target=n}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={defaultPrevented:{configurable:!0}};return i.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(i.prototype,n),i}(t.Event),fi=function(e){function i(i,n,o){var a=r.touchPos(n.getCanvasContainer(),o),s=a.map((function(t){return n.unproject(t)})),u=a.reduce((function(t,e,r,i){return t.add(e.div(i.length))}),new t.Point(0,0)),l=n.unproject(u);e.call(this,i,{points:a,point:u,lngLats:s,lngLat:l,originalEvent:o}),this._defaultPrevented=!1}e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i;var n={defaultPrevented:{configurable:!0}};return i.prototype.preventDefault=function(){this._defaultPrevented=!0},n.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(i.prototype,n),i}(t.Event),di=function(t){function e(e,r,i){t.call(this,e,{originalEvent:i}),this._defaultPrevented=!1}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,r),e}(t.Event),mi=function(e){this._map=e,this._el=e.getCanvasContainer(),this._delta=0,t.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this)};mi.prototype.isEnabled=function(){return!!this._enabled},mi.prototype.isActive=function(){return!!this._active},mi.prototype.isZooming=function(){return!!this._zooming},mi.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around)},mi.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},mi.prototype.onWheel=function(e){if(this.isEnabled()){var r=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,i=t.browser.now(),n=i-(this._lastWheelEventTime||0);this._lastWheelEventTime=i,0!==r&&r%4.000244140625==0?this._type="wheel":0!==r&&Math.abs(r)<4?this._type="trackpad":n>400?(this._type=null,this._lastValue=r,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(n*r)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,r+=this._lastValue)),e.shiftKey&&r&&(r/=4),this._type&&(this._lastWheelEvent=e,this._delta-=r,this.isActive()||this._start(e)),e.preventDefault()}},mi.prototype._onTimeout=function(t){this._type="wheel",this._delta-=this._lastValue,this.isActive()||this._start(t)},mi.prototype._start=function(e){if(this._delta){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),this._active=!0,this._zooming=!0,this._map.fire(new t.Event("movestart",{originalEvent:e})),this._map.fire(new t.Event("zoomstart",{originalEvent:e})),this._finishTimeout&&clearTimeout(this._finishTimeout);var i=r.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(i)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame))}},mi.prototype._onScrollFrame=function(){var e=this;if(this._frameId=null,this.isActive()){var r=this._map.transform;if(0!==this._delta){var i="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?1/450:.01,n=2/(1+Math.exp(-Math.abs(this._delta*i)));this._delta<0&&0!==n&&(n=1/n);var o="number"==typeof this._targetZoom?r.zoomScale(this._targetZoom):r.scale;this._targetZoom=Math.min(r.maxZoom,Math.max(r.minZoom,r.scaleZoom(o*n))),"wheel"===this._type&&(this._startZoom=r.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}var a="number"==typeof this._targetZoom?this._targetZoom:r.zoom,s=this._startZoom,u=this._easing,l=!1;if("wheel"===this._type&&s&&u){var p=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),c=u(p);r.zoom=t.number(s,a,c),p<1?this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame)):l=!0}else r.zoom=a,l=!0;r.setLocationAtPoint(this._around,this._aroundPoint),this._map.fire(new t.Event("move",{originalEvent:this._lastWheelEvent})),this._map.fire(new t.Event("zoom",{originalEvent:this._lastWheelEvent})),l&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._map.fire(new t.Event("zoomend",{originalEvent:e._lastWheelEvent})),e._map.fire(new t.Event("moveend",{originalEvent:e._lastWheelEvent})),delete e._targetZoom}),200))}},mi.prototype._smoothOutEasing=function(e){var r=t.ease;if(this._prevEase){var i=this._prevEase,n=(t.browser.now()-i.start)/i.duration,o=i.easing(n+.01)-i.easing(n),a=.27/Math.sqrt(o*o+1e-4)*.01,s=Math.sqrt(.0729-a*a);r=t.bezier(a,s,.25,1)}return this._prevEase={start:t.browser.now(),duration:e,easing:r},r};var yi=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=r.clickTolerance||1,t.bindAll(["_onMouseMove","_onMouseUp","_onKeyDown"],this)};yi.prototype.isEnabled=function(){return!!this._enabled},yi.prototype.isActive=function(){return!!this._active},yi.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},yi.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},yi.prototype.onMouseDown=function(e){this.isEnabled()&&e.shiftKey&&0===e.button&&(t.window.document.addEventListener("mousemove",this._onMouseMove,!1),t.window.document.addEventListener("keydown",this._onKeyDown,!1),t.window.document.addEventListener("mouseup",this._onMouseUp,!1),r.disableDrag(),this._startPos=this._lastPos=r.mousePos(this._el,e),this._active=!0)},yi.prototype._onMouseMove=function(t){var e=r.mousePos(this._el,t);if(!(this._lastPos.equals(e)||!this._box&&e.dist(this._startPos)<this._clickTolerance)){var i=this._startPos;this._lastPos=e,this._box||(this._box=r.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));var n=Math.min(i.x,e.x),o=Math.max(i.x,e.x),a=Math.min(i.y,e.y),s=Math.max(i.y,e.y);r.setTransform(this._box,"translate("+n+"px,"+a+"px)"),this._box.style.width=o-n+"px",this._box.style.height=s-a+"px"}},yi.prototype._onMouseUp=function(e){if(0===e.button){var i=this._startPos,n=r.mousePos(this._el,e);this._finish(),r.suppressClick(),i.x===n.x&&i.y===n.y?this._fireEvent("boxzoomcancel",e):this._map.fitScreenCoordinates(i,n,this._map.getBearing(),{linear:!0}).fire(new t.Event("boxzoomend",{originalEvent:e}))}},yi.prototype._onKeyDown=function(t){27===t.keyCode&&(this._finish(),this._fireEvent("boxzoomcancel",t))},yi.prototype._finish=function(){this._active=!1,t.window.document.removeEventListener("mousemove",this._onMouseMove,!1),t.window.document.removeEventListener("keydown",this._onKeyDown,!1),t.window.document.removeEventListener("mouseup",this._onMouseUp,!1),this._container.classList.remove("mapboxgl-crosshair"),this._box&&(r.remove(this._box),this._box=null),r.enableDrag(),delete this._startPos,delete this._lastPos},yi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,{originalEvent:r}))};var vi=t.bezier(0,0,.25,1),_i=function(e,r){this._map=e,this._el=r.element||e.getCanvasContainer(),this._state="disabled",this._button=r.button||"right",this._bearingSnap=r.bearingSnap||0,this._pitchWithRotate=!1!==r.pitchWithRotate,t.bindAll(["onMouseDown","_onMouseMove","_onMouseUp","_onBlur","_onDragFrame"],this)};_i.prototype.isEnabled=function(){return"disabled"!==this._state},_i.prototype.isActive=function(){return"active"===this._state},_i.prototype.enable=function(){this.isEnabled()||(this._state="enabled")},_i.prototype.disable=function(){if(this.isEnabled())switch(this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend"),this._pitchWithRotate&&this._fireEvent("pitchend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled"}},_i.prototype.onMouseDown=function(e){if("enabled"===this._state){if("right"===this._button){if(this._eventButton=r.mouseButton(e),this._eventButton!==(e.ctrlKey?0:2))return}else{if(e.ctrlKey||0!==r.mouseButton(e))return;this._eventButton=0}r.disableDrag(),t.window.document.addEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("mouseup",this._onMouseUp),t.window.addEventListener("blur",this._onBlur),this._state="pending",this._inertia=[[t.browser.now(),this._map.getBearing()]],this._startPos=this._lastPos=r.mousePos(this._el,e),this._center=this._map.transform.centerPoint,e.preventDefault()}},_i.prototype._onMouseMove=function(t){var e=r.mousePos(this._el,t);this._lastPos.equals(e)||(this._lastMoveEvent=t,this._lastPos=e,"pending"===this._state&&(this._state="active",this._fireEvent("rotatestart",t),this._fireEvent("movestart",t),this._pitchWithRotate&&this._fireEvent("pitchstart",t)),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)))},_i.prototype._onDragFrame=function(){this._frameId=null;var e=this._lastMoveEvent;if(e){var r=this._map.transform,i=this._startPos,n=this._lastPos,o=.8*(i.x-n.x),a=-.5*(i.y-n.y),s=r.bearing-o,u=r.pitch-a,l=this._inertia,p=l[l.length-1];this._drainInertiaBuffer(),l.push([t.browser.now(),this._map._normalizeBearing(s,p[1])]),r.bearing=s,this._pitchWithRotate&&(this._fireEvent("pitch",e),r.pitch=u),this._fireEvent("rotate",e),this._fireEvent("move",e),delete this._lastMoveEvent,this._startPos=this._lastPos}},_i.prototype._onMouseUp=function(t){if(r.mouseButton(t)===this._eventButton)switch(this._state){case"active":this._state="enabled",r.suppressClick(),this._unbind(),this._deactivate(),this._inertialRotate(t);break;case"pending":this._state="enabled",this._unbind()}},_i.prototype._onBlur=function(t){switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend",t),this._pitchWithRotate&&this._fireEvent("pitchend",t),this._fireEvent("moveend",t);break;case"pending":this._state="enabled",this._unbind()}},_i.prototype._unbind=function(){t.window.document.removeEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("mouseup",this._onMouseUp),t.window.removeEventListener("blur",this._onBlur),r.enableDrag()},_i.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._lastPos},_i.prototype._inertialRotate=function(t){var e=this;this._fireEvent("rotateend",t),this._drainInertiaBuffer();var r=this._map,i=r.getBearing(),n=this._inertia,o=function(){Math.abs(i)<e._bearingSnap?r.resetNorth({noMoveStart:!0},{originalEvent:t}):e._fireEvent("moveend",t),e._pitchWithRotate&&e._fireEvent("pitchend",t)};if(n.length<2)o();else{var a=n[0],s=n[n.length-1],u=n[n.length-2],l=r._normalizeBearing(i,u[1]),p=s[1]-a[1],c=p<0?-1:1,h=(s[0]-a[0])/1e3;if(0!==p&&0!==h){var f=Math.abs(p*(.25/h));f>180&&(f=180);var d=f/180;l+=c*f*(d/2),Math.abs(r._normalizeBearing(l,0))<this._bearingSnap&&(l=r._normalizeBearing(0,l)),r.rotateTo(l,{duration:1e3*d,easing:vi,noMoveStart:!0},{originalEvent:t})}else o()}},_i.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},_i.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>0&&r-e[0][0]>160;)e.shift()};var gi=t.bezier(0,0,.3,1),xi=function(e,r){this._map=e,this._el=e.getCanvasContainer(),this._state="disabled",this._clickTolerance=r.clickTolerance||1,t.bindAll(["_onMove","_onMouseUp","_onTouchEnd","_onBlur","_onDragFrame"],this)};xi.prototype.isEnabled=function(){return"disabled"!==this._state},xi.prototype.isActive=function(){return"active"===this._state},xi.prototype.enable=function(){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-drag-pan"),this._state="enabled")},xi.prototype.disable=function(){if(this.isEnabled())switch(this._el.classList.remove("mapboxgl-touch-drag-pan"),this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("dragend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled"}},xi.prototype.onMouseDown=function(e){"enabled"===this._state&&(e.ctrlKey||0!==r.mouseButton(e)||(r.addEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),r.addEventListener(t.window.document,"mouseup",this._onMouseUp),this._start(e)))},xi.prototype.onTouchStart=function(e){"enabled"===this._state&&(e.touches.length>1||(r.addEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),r.addEventListener(t.window.document,"touchend",this._onTouchEnd),this._start(e)))},xi.prototype._start=function(e){t.window.addEventListener("blur",this._onBlur),this._state="pending",this._startPos=this._mouseDownPos=this._lastPos=r.mousePos(this._el,e),this._inertia=[[t.browser.now(),this._startPos]]},xi.prototype._onMove=function(e){e.preventDefault();var i=r.mousePos(this._el,e);this._lastPos.equals(i)||"pending"===this._state&&i.dist(this._mouseDownPos)<this._clickTolerance||(this._lastMoveEvent=e,this._lastPos=i,this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),this._lastPos]),"pending"===this._state&&(this._state="active",this._fireEvent("dragstart",e),this._fireEvent("movestart",e)),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)))},xi.prototype._onDragFrame=function(){this._frameId=null;var t=this._lastMoveEvent;if(t){var e=this._map.transform;e.setLocationAtPoint(e.pointLocation(this._startPos),this._lastPos),this._fireEvent("drag",t),this._fireEvent("move",t),this._startPos=this._lastPos,delete this._lastMoveEvent}},xi.prototype._onMouseUp=function(t){if(0===r.mouseButton(t))switch(this._state){case"active":this._state="enabled",r.suppressClick(),this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._onTouchEnd=function(t){switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._onBlur=function(t){switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._fireEvent("dragend",t),this._fireEvent("moveend",t);break;case"pending":this._state="enabled",this._unbind()}},xi.prototype._unbind=function(){r.removeEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),r.removeEventListener(t.window.document,"touchend",this._onTouchEnd),r.removeEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),r.removeEventListener(t.window.document,"mouseup",this._onMouseUp),r.removeEventListener(t.window,"blur",this._onBlur)},xi.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._mouseDownPos,delete this._lastPos},xi.prototype._inertialPan=function(t){this._fireEvent("dragend",t),this._drainInertiaBuffer();var e=this._inertia;if(e.length<2)this._fireEvent("moveend",t);else{var r=e[e.length-1],i=e[0],n=r[1].sub(i[1]),o=(r[0]-i[0])/1e3;if(0===o||r[1].equals(i[1]))this._fireEvent("moveend",t);else{var a=n.mult(.3/o),s=a.mag();s>1400&&(s=1400,a._unit()._mult(s));var u=s/750,l=a.mult(-u/2);this._map.panBy(l,{duration:1e3*u,easing:gi,noMoveStart:!0},{originalEvent:t})}}},xi.prototype._fireEvent=function(e,r){return this._map.fire(new t.Event(e,r?{originalEvent:r}:{}))},xi.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>0&&r-e[0][0]>160;)e.shift()};var bi=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onKeyDown"],this)};function wi(t){return t*(2-t)}bi.prototype.isEnabled=function(){return!!this._enabled},bi.prototype.enable=function(){this.isEnabled()||(this._el.addEventListener("keydown",this._onKeyDown,!1),this._enabled=!0)},bi.prototype.disable=function(){this.isEnabled()&&(this._el.removeEventListener("keydown",this._onKeyDown),this._enabled=!1)},bi.prototype._onKeyDown=function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e=0,r=0,i=0,n=0,o=0;switch(t.keyCode){case 61:case 107:case 171:case 187:e=1;break;case 189:case 109:case 173:e=-1;break;case 37:t.shiftKey?r=-1:(t.preventDefault(),n=-1);break;case 39:t.shiftKey?r=1:(t.preventDefault(),n=1);break;case 38:t.shiftKey?i=1:(t.preventDefault(),o=-1);break;case 40:t.shiftKey?i=-1:(o=1,t.preventDefault());break;default:return}var a=this._map,s=a.getZoom(),u={duration:300,delayEndEvents:500,easing:wi,zoom:e?Math.round(s)+e*(t.shiftKey?2:1):s,bearing:a.getBearing()+15*r,pitch:a.getPitch()+10*i,offset:[100*-n,100*-o],center:a.getCenter()};a.easeTo(u,{originalEvent:t})}};var Ei=function(e){this._map=e,t.bindAll(["_onDblClick","_onZoomEnd"],this)};Ei.prototype.isEnabled=function(){return!!this._enabled},Ei.prototype.isActive=function(){return!!this._active},Ei.prototype.enable=function(){this.isEnabled()||(this._enabled=!0)},Ei.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1)},Ei.prototype.onTouchStart=function(t){var e=this;this.isEnabled()&&(t.points.length>1||(this._tapped?(clearTimeout(this._tapped),this._tapped=null,this._zoom(t)):this._tapped=setTimeout((function(){e._tapped=null}),300)))},Ei.prototype.onDblClick=function(t){this.isEnabled()&&(t.originalEvent.preventDefault(),this._zoom(t))},Ei.prototype._zoom=function(t){this._active=!0,this._map.on("zoomend",this._onZoomEnd),this._map.zoomTo(this._map.getZoom()+(t.originalEvent.shiftKey?-1:1),{around:t.lngLat},t)},Ei.prototype._onZoomEnd=function(){this._active=!1,this._map.off("zoomend",this._onZoomEnd)};var Si=t.bezier(0,0,.15,1),Ti=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onMove","_onEnd","_onTouchFrame"],this)};Ti.prototype.isEnabled=function(){return!!this._enabled},Ti.prototype.enable=function(t){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-zoom-rotate"),this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around)},Ti.prototype.disable=function(){this.isEnabled()&&(this._el.classList.remove("mapboxgl-touch-zoom-rotate"),this._enabled=!1)},Ti.prototype.disableRotation=function(){this._rotationDisabled=!0},Ti.prototype.enableRotation=function(){this._rotationDisabled=!1},Ti.prototype.onStart=function(e){if(this.isEnabled()&&2===e.touches.length){var i=r.mousePos(this._el,e.touches[0]),n=r.mousePos(this._el,e.touches[1]),o=i.add(n).div(2);this._startVec=i.sub(n),this._startAround=this._map.transform.pointLocation(o),this._gestureIntent=void 0,this._inertia=[],r.addEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),r.addEventListener(t.window.document,"touchend",this._onEnd)}},Ti.prototype._getTouchEventData=function(t){var e=r.mousePos(this._el,t.touches[0]),i=r.mousePos(this._el,t.touches[1]),n=e.sub(i);return{vec:n,center:e.add(i).div(2),scale:n.mag()/this._startVec.mag(),bearing:this._rotationDisabled?0:180*n.angleWith(this._startVec)/Math.PI}},Ti.prototype._onMove=function(e){if(2===e.touches.length){var r=this._getTouchEventData(e),i=r.vec,n=r.scale,o=r.bearing;if(!this._gestureIntent){var a=this._rotationDisabled&&1!==n||Math.abs(1-n)>.15;Math.abs(o)>10?this._gestureIntent="rotate":a&&(this._gestureIntent="zoom"),this._gestureIntent&&(this._map.fire(new t.Event(this._gestureIntent+"start",{originalEvent:e})),this._map.fire(new t.Event("movestart",{originalEvent:e})),this._startVec=i)}this._lastTouchEvent=e,this._frameId||(this._frameId=this._map._requestRenderFrame(this._onTouchFrame)),e.preventDefault()}},Ti.prototype._onTouchFrame=function(){this._frameId=null;var e=this._gestureIntent;if(e){var r=this._map.transform;this._startScale||(this._startScale=r.scale,this._startBearing=r.bearing);var i=this._getTouchEventData(this._lastTouchEvent),n=i.center,o=i.bearing,a=i.scale,s=r.pointLocation(n),u=r.locationPoint(s);"rotate"===e&&(r.bearing=this._startBearing+o),r.zoom=r.scaleZoom(this._startScale*a),r.setLocationAtPoint(this._startAround,u),this._map.fire(new t.Event(e,{originalEvent:this._lastTouchEvent})),this._map.fire(new t.Event("move",{originalEvent:this._lastTouchEvent})),this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),a,n])}},Ti.prototype._onEnd=function(e){r.removeEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),r.removeEventListener(t.window.document,"touchend",this._onEnd);var i=this._gestureIntent,n=this._startScale;if(this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._gestureIntent,delete this._startScale,delete this._startBearing,delete this._lastTouchEvent,i){this._map.fire(new t.Event(i+"end",{originalEvent:e})),this._drainInertiaBuffer();var o=this._inertia,a=this._map;if(o.length<2)a.snapToNorth({},{originalEvent:e});else{var s=o[o.length-1],u=o[0],l=a.transform.scaleZoom(n*s[1]),p=a.transform.scaleZoom(n*u[1]),c=l-p,h=(s[0]-u[0])/1e3,f=s[2];if(0!==h&&l!==p){var d=.15*c/h;Math.abs(d)>2.5&&(d=d>0?2.5:-2.5);var m=1e3*Math.abs(d/(12*.15)),y=l+d*m/2e3;y<0&&(y=0),a.easeTo({zoom:y,duration:m,easing:Si,around:this._aroundCenter?a.getCenter():a.unproject(f),noMoveStart:!0},{originalEvent:e})}else a.snapToNorth({},{originalEvent:e})}}},Ti.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,r=t.browser.now();e.length>2&&r-e[0][0]>160;)e.shift()};var Ai={scrollZoom:mi,boxZoom:yi,dragRotate:_i,dragPan:xi,keyboard:bi,doubleClickZoom:Ei,touchZoomRotate:Ti},Ii=function(e){function r(r,i){e.call(this),this._moving=!1,this._zooming=!1,this.transform=r,this._bearingSnap=i.bearingSnap,t.bindAll(["_renderFrameCallback"],this)}return e&&(r.__proto__=e),r.prototype=Object.create(e&&e.prototype),r.prototype.constructor=r,r.prototype.getCenter=function(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)},r.prototype.setCenter=function(t,e){return this.jumpTo({center:t},e)},r.prototype.panBy=function(e,r,i){return e=t.Point.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},r),i)},r.prototype.panTo=function(e,r,i){return this.easeTo(t.extend({center:e},r),i)},r.prototype.getZoom=function(){return this.transform.zoom},r.prototype.setZoom=function(t,e){return this.jumpTo({zoom:t},e),this},r.prototype.zoomTo=function(e,r,i){return this.easeTo(t.extend({zoom:e},r),i)},r.prototype.zoomIn=function(t,e){return this.zoomTo(this.getZoom()+1,t,e),this},r.prototype.zoomOut=function(t,e){return this.zoomTo(this.getZoom()-1,t,e),this},r.prototype.getBearing=function(){return this.transform.bearing},r.prototype.setBearing=function(t,e){return this.jumpTo({bearing:t},e),this},r.prototype.rotateTo=function(e,r,i){return this.easeTo(t.extend({bearing:e},r),i)},r.prototype.resetNorth=function(e,r){return this.rotateTo(0,t.extend({duration:1e3},e),r),this},r.prototype.snapToNorth=function(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this},r.prototype.getPitch=function(){return this.transform.pitch},r.prototype.setPitch=function(t,e){return this.jumpTo({pitch:t},e),this},r.prototype.cameraForBounds=function(e,r){return e=t.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,r)},r.prototype._cameraForBoxAndBearing=function(e,r,i,n){if("number"==typeof(n=t.extend({padding:{top:0,bottom:0,right:0,left:0},offset:[0,0],maxZoom:this.transform.maxZoom},n)).padding){var o=n.padding;n.padding={top:o,bottom:o,right:o,left:o}}if(t.deepEqual(Object.keys(n.padding).sort((function(t,e){return t<e?-1:t>e?1:0})),["bottom","left","right","top"])){var a=this.transform,s=a.project(t.LngLat.convert(e)),u=a.project(t.LngLat.convert(r)),l=s.rotate(-i*Math.PI/180),p=u.rotate(-i*Math.PI/180),c=new t.Point(Math.max(l.x,p.x),Math.max(l.y,p.y)),h=new t.Point(Math.min(l.x,p.x),Math.min(l.y,p.y)),f=c.sub(h),d=(a.width-n.padding.left-n.padding.right)/f.x,m=(a.height-n.padding.top-n.padding.bottom)/f.y;if(!(m<0||d<0)){var y=Math.min(a.scaleZoom(a.scale*Math.min(d,m)),n.maxZoom),v=t.Point.convert(n.offset),_=(n.padding.left-n.padding.right)/2,g=(n.padding.top-n.padding.bottom)/2,x=new t.Point(v.x+_,v.y+g).mult(a.scale/a.zoomScale(y));return{center:a.unproject(s.add(u).div(2).sub(x)),zoom:y,bearing:i}}t.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.")}else t.warnOnce("options.padding must be a positive number, or an Object with keys 'bottom', 'left', 'right', 'top'")},r.prototype.fitBounds=function(t,e,r){return this._fitInternal(this.cameraForBounds(t,e),e,r)},r.prototype.fitScreenCoordinates=function(e,r,i,n,o){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)),this.transform.pointLocation(t.Point.convert(r)),i,n),n,o)},r.prototype._fitInternal=function(e,r,i){return e?(r=t.extend(e,r)).linear?this.easeTo(r,i):this.flyTo(r,i):this},r.prototype.jumpTo=function(e,r){this.stop();var i=this.transform,n=!1,o=!1,a=!1;return"zoom"in e&&i.zoom!==+e.zoom&&(n=!0,i.zoom=+e.zoom),void 0!==e.center&&(i.center=t.LngLat.convert(e.center)),"bearing"in e&&i.bearing!==+e.bearing&&(o=!0,i.bearing=+e.bearing),"pitch"in e&&i.pitch!==+e.pitch&&(a=!0,i.pitch=+e.pitch),this.fire(new t.Event("movestart",r)).fire(new t.Event("move",r)),n&&this.fire(new t.Event("zoomstart",r)).fire(new t.Event("zoom",r)).fire(new t.Event("zoomend",r)),o&&this.fire(new t.Event("rotatestart",r)).fire(new t.Event("rotate",r)).fire(new t.Event("rotateend",r)),a&&this.fire(new t.Event("pitchstart",r)).fire(new t.Event("pitch",r)).fire(new t.Event("pitchend",r)),this.fire(new t.Event("moveend",r))},r.prototype.easeTo=function(e,r){var i=this;this.stop(),!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate&&(e.duration=0);var n=this.transform,o=this.getZoom(),a=this.getBearing(),s=this.getPitch(),u="zoom"in e?+e.zoom:o,l="bearing"in e?this._normalizeBearing(e.bearing,a):a,p="pitch"in e?+e.pitch:s,c=n.centerPoint.add(t.Point.convert(e.offset)),h=n.pointLocation(c),f=t.LngLat.convert(e.center||h);this._normalizeCenter(f);var d,m,y=n.project(h),v=n.project(f).sub(y),_=n.zoomScale(u-o);return e.around&&(d=t.LngLat.convert(e.around),m=n.locationPoint(d)),this._zooming=u!==o,this._rotating=a!==l,this._pitching=p!==s,this._prepareEase(r,e.noMoveStart),clearTimeout(this._easeEndTimeoutID),this._ease((function(e){if(i._zooming&&(n.zoom=t.number(o,u,e)),i._rotating&&(n.bearing=t.number(a,l,e)),i._pitching&&(n.pitch=t.number(s,p,e)),d)n.setLocationAtPoint(d,m);else{var h=n.zoomScale(n.zoom-o),f=u>o?Math.min(2,_):Math.max(.5,_),g=Math.pow(f,1-e),x=n.unproject(y.add(v.mult(e*g)).mult(h));n.setLocationAtPoint(n.renderWorldCopies?x.wrap():x,c)}i._fireMoveEvents(r)}),(function(){e.delayEndEvents?i._easeEndTimeoutID=setTimeout((function(){return i._afterEase(r)}),e.delayEndEvents):i._afterEase(r)}),e),this},r.prototype._prepareEase=function(e,r){this._moving=!0,r||this.fire(new t.Event("movestart",e)),this._zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&this.fire(new t.Event("pitchstart",e))},r.prototype._fireMoveEvents=function(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e))},r.prototype._afterEase=function(e){var r=this._zooming,i=this._rotating,n=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,r&&this.fire(new t.Event("zoomend",e)),i&&this.fire(new t.Event("rotateend",e)),n&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e))},r.prototype.flyTo=function(e,r){var i=this;this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var n=this.transform,o=this.getZoom(),a=this.getBearing(),s=this.getPitch(),u="zoom"in e?t.clamp(+e.zoom,n.minZoom,n.maxZoom):o,l="bearing"in e?this._normalizeBearing(e.bearing,a):a,p="pitch"in e?+e.pitch:s,c=n.zoomScale(u-o),h=n.centerPoint.add(t.Point.convert(e.offset)),f=n.pointLocation(h),d=t.LngLat.convert(e.center||f);this._normalizeCenter(d);var m=n.project(f),y=n.project(d).sub(m),v=e.curve,_=Math.max(n.width,n.height),g=_/c,x=y.mag();if("minZoom"in e){var b=t.clamp(Math.min(e.minZoom,o,u),n.minZoom,n.maxZoom),w=_/n.zoomScale(b-o);v=Math.sqrt(w/x*2)}var E=v*v;function S(t){var e=(g*g-_*_+(t?-1:1)*E*E*x*x)/(2*(t?g:_)*E*x);return Math.log(Math.sqrt(e*e+1)-e)}function T(t){return(Math.exp(t)-Math.exp(-t))/2}function A(t){return(Math.exp(t)+Math.exp(-t))/2}var I=S(0),z=function(t){return A(I)/A(I+v*t)},k=function(t){return _*((A(I)*(T(e=I+v*t)/A(e))-T(I))/E)/x;var e},C=(S(1)-I)/v;if(Math.abs(x)<1e-6||!isFinite(C)){if(Math.abs(_-g)<1e-6)return this.easeTo(e,r);var P=g<_?-1:1;C=Math.abs(Math.log(g/_))/v,k=function(){return 0},z=function(t){return Math.exp(P*v*t)}}if("duration"in e)e.duration=+e.duration;else{var M="screenSpeed"in e?+e.screenSpeed/v:+e.speed;e.duration=1e3*C/M}return e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=a!==l,this._pitching=p!==s,this._prepareEase(r,!1),this._ease((function(e){var c=e*C,f=1/z(c);n.zoom=1===e?u:o+n.scaleZoom(f),i._rotating&&(n.bearing=t.number(a,l,e)),i._pitching&&(n.pitch=t.number(s,p,e));var v=1===e?d:n.unproject(m.add(y.mult(k(c))).mult(f));n.setLocationAtPoint(n.renderWorldCopies?v.wrap():v,h),i._fireMoveEvents(r)}),(function(){return i._afterEase(r)}),e),this},r.prototype.isEasing=function(){return!!this._easeFrameId},r.prototype.stop=function(){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var t=this._onEaseEnd;delete this._onEaseEnd,t.call(this)}return this},r.prototype._ease=function(e,r,i){!1===i.animate||0===i.duration?(e(1),r()):(this._easeStart=t.browser.now(),this._easeOptions=i,this._onEaseFrame=e,this._onEaseEnd=r,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))},r.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},r.prototype._normalizeBearing=function(e,r){e=t.wrap(e,-180,180);var i=Math.abs(e-r);return Math.abs(e-360-r)<i&&(e-=360),Math.abs(e+360-r)<i&&(e+=360),e},r.prototype._normalizeCenter=function(t){var e=this.transform;if(e.renderWorldCopies&&!e.lngRange){var r=t.lng-e.center.lng;t.lng+=r>180?-360:r<-180?360:0}},r}(t.Evented),zi=function(e){void 0===e&&(e={}),this.options=e,t.bindAll(["_updateEditLink","_updateData","_updateCompact"],this)};zi.prototype.getDefaultPosition=function(){return"bottom-right"},zi.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=r.create("div","mapboxgl-ctrl-attrib-inner",this._container),e&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===e&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},zi.prototype.onRemove=function(){r.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0},zi.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var r=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:t.config.ACCESS_TOKEN}];if(e){var i=r.reduce((function(t,e,i){return e.value&&(t+=e.key+"="+e.value+(i<r.length-1?"&":"")),t}),"?");e.href=t.config.FEEDBACK_URL+"/"+i+(this._map._hash?this._map._hash.getHashString(!0):""),e.rel="noopener"}},zi.prototype._updateData=function(t){!t||"metadata"!==t.sourceDataType&&"style"!==t.dataType||(this._updateAttributions(),this._updateEditLink())},zi.prototype._updateAttributions=function(){if(this._map.style){var t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((function(t){return"string"!=typeof t?"":t}))):"string"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id}var r=this._map.style.sourceCaches;for(var i in r){var n=r[i];if(n.used){var o=n.getSource();o.attribution&&t.indexOf(o.attribution)<0&&t.push(o.attribution)}}t.sort((function(t,e){return t.length-e.length})),(t=t.filter((function(e,r){for(var i=r+1;i<t.length;i++)if(t[i].indexOf(e)>=0)return!1;return!0}))).length?(this._innerContainer.innerHTML=t.join(" | "),this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null}},zi.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact")};var ki=function(){t.bindAll(["_updateLogo"],this),t.bindAll(["_updateCompact"],this)};ki.prototype.onAdd=function(t){this._map=t,this._container=r.create("div","mapboxgl-ctrl");var e=r.create("a","mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener",e.href="https://www.mapbox.com/",e.setAttribute("aria-label","Mapbox logo"),e.setAttribute("rel","noopener"),this._container.appendChild(e),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},ki.prototype.onRemove=function(){r.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact)},ki.prototype.getDefaultPosition=function(){return"bottom-left"},ki.prototype._updateLogo=function(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none")},ki.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t)if(t[e].getSource().mapbox_logo)return!0;return!1}},ki.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact")}};var Ci=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1};Ci.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},Ci.prototype.remove=function(t){for(var e=this._currentlyRunning,r=0,i=e?this._queue.concat(e):this._queue;r<i.length;r+=1){var n=i[r];if(n.id===t)return void(n.cancelled=!0)}},Ci.prototype.run=function(){var t=this._currentlyRunning=this._queue;this._queue=[];for(var e=0,r=t;e<r.length;e+=1){var i=r[e];if(!i.cancelled&&(i.callback(),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1},Ci.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]};var Pi=t.window.HTMLImageElement,Mi=t.window.HTMLElement,Li={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:0,maxZoom:22,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,bearingSnap:7,clickTolerance:3,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,fadeDuration:300,crossSourceCollisions:!0},Di=function(i){function n(e){var n=this;if(null!=(e=t.extend({},Li,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than minZoom");var o=new li(e.minZoom,e.maxZoom,e.renderWorldCopies);i.call(this,o,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new Ci,this._controls=[],this._mapId=t.uniqueId();var a=e.transformRequest;if(this._transformRequest=a?function(t,e){return a(t,e)||{url:t}}:function(t){return{url:t}},"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof Mi))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return n._update(!1)})),this.on("moveend",(function(){return n._update(!1)})),this.on("zoom",(function(){return n._update(!0)})),void 0!==t.window&&(t.window.addEventListener("online",this._onWindowOnline,!1),t.window.addEventListener("resize",this._onWindowResize,!1)),function(t,e){var i=t.getCanvasContainer(),n=null,o=!1,a=null;for(var s in Ai)t[s]=new Ai[s](t,e),e.interactive&&e[s]&&t[s].enable(e[s]);r.addEventListener(i,"mouseout",(function(e){t.fire(new hi("mouseout",t,e))})),r.addEventListener(i,"mousedown",(function(n){o=!0,a=r.mousePos(i,n);var s=new hi("mousedown",t,n);t.fire(s),s.defaultPrevented||(e.interactive&&!t.doubleClickZoom.isActive()&&t.stop(),t.boxZoom.onMouseDown(n),t.boxZoom.isActive()||t.dragPan.isActive()||t.dragRotate.onMouseDown(n),t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onMouseDown(n))})),r.addEventListener(i,"mouseup",(function(e){var r=t.dragRotate.isActive();n&&!r&&t.fire(new hi("contextmenu",t,n)),n=null,o=!1,t.fire(new hi("mouseup",t,e))})),r.addEventListener(i,"mousemove",(function(e){if(!t.dragPan.isActive()&&!t.dragRotate.isActive()){for(var r=e.target;r&&r!==i;)r=r.parentNode;r===i&&t.fire(new hi("mousemove",t,e))}})),r.addEventListener(i,"mouseover",(function(e){for(var r=e.target;r&&r!==i;)r=r.parentNode;r===i&&t.fire(new hi("mouseover",t,e))})),r.addEventListener(i,"touchstart",(function(r){var i=new fi("touchstart",t,r);t.fire(i),i.defaultPrevented||(e.interactive&&t.stop(),t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onTouchStart(r),t.touchZoomRotate.onStart(r),t.doubleClickZoom.onTouchStart(i))}),{passive:!1}),r.addEventListener(i,"touchmove",(function(e){t.fire(new fi("touchmove",t,e))}),{passive:!1}),r.addEventListener(i,"touchend",(function(e){t.fire(new fi("touchend",t,e))})),r.addEventListener(i,"touchcancel",(function(e){t.fire(new fi("touchcancel",t,e))})),r.addEventListener(i,"click",(function(n){var o=r.mousePos(i,n);(o.equals(a)||o.dist(a)<e.clickTolerance)&&t.fire(new hi("click",t,n))})),r.addEventListener(i,"dblclick",(function(e){var r=new hi("dblclick",t,e);t.fire(r),r.defaultPrevented||t.doubleClickZoom.onDblClick(r)})),r.addEventListener(i,"contextmenu",(function(e){var r=t.dragRotate.isActive();o||r?o&&(n=e):t.fire(new hi("contextmenu",t,e)),(t.dragRotate.isEnabled()||t.listens("contextmenu"))&&e.preventDefault()})),r.addEventListener(i,"wheel",(function(r){e.interactive&&t.stop();var i=new di("wheel",t,r);t.fire(i),i.defaultPrevented||t.scrollZoom.onWheel(r)}),{passive:!1})}(this,e),this._hash=e.hash&&(new ci).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new zi({customAttribution:e.customAttribution})),this.addControl(new ki,e.logoPosition),this.on("style.load",(function(){n.transform.unmodified&&n.jumpTo(n.style.stylesheet)})),this.on("data",(function(e){n._update("style"===e.dataType),n.fire(new t.Event(e.dataType+"data",e))})),this.on("dataloading",(function(e){n.fire(new t.Event(e.dataType+"dataloading",e))}))}i&&(n.__proto__=i),n.prototype=Object.create(i&&i.prototype),n.prototype.constructor=n;var o={showTileBoundaries:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0}};return n.prototype._getMapId=function(){return this._mapId},n.prototype.addControl=function(e,r){if(void 0===r&&e.getDefaultPosition&&(r=e.getDefaultPosition()),void 0===r&&(r="top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var i=e.onAdd(this);this._controls.push(e);var n=this._controlPositions[r];return-1!==r.indexOf("bottom")?n.insertBefore(i,n.firstChild):n.appendChild(i),this},n.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var r=this._controls.indexOf(e);return r>-1&&this._controls.splice(r,1),e.onRemove(this),this},n.prototype.resize=function(e){var r=this._containerDimensions(),i=r[0],n=r[1];return this._resizeCanvas(i,n),this.transform.resize(i,n),this.painter.resize(i,n),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e)).fire(new t.Event("resize",e)).fire(new t.Event("moveend",e)),this},n.prototype.getBounds=function(){return this.transform.getBounds()},n.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},n.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},n.prototype.setMinZoom=function(t){if((t=null==t?0:t)>=0&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error("minZoom must be between 0 and the current maxZoom, inclusive")},n.prototype.getMinZoom=function(){return this.transform.minZoom},n.prototype.setMaxZoom=function(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")},n.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},n.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},n.prototype.getMaxZoom=function(){return this.transform.maxZoom},n.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},n.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},n.prototype.isMoving=function(){return this._moving||this.dragPan.isActive()||this.dragRotate.isActive()||this.scrollZoom.isActive()},n.prototype.isZooming=function(){return this._zooming||this.scrollZoom.isZooming()},n.prototype.isRotating=function(){return this._rotating||this.dragRotate.isActive()},n.prototype.on=function(t,e,r){var n=this;if(void 0===r)return i.prototype.on.call(this,t,e);var o=function(){var i;if("mouseenter"===t||"mouseover"===t){var o=!1;return{layer:e,listener:r,delegates:{mousemove:function(i){var a=n.getLayer(e)?n.queryRenderedFeatures(i.point,{layers:[e]}):[];a.length?o||(o=!0,r.call(n,new hi(t,n,i.originalEvent,{features:a}))):o=!1},mouseout:function(){o=!1}}}}if("mouseleave"===t||"mouseout"===t){var a=!1;return{layer:e,listener:r,delegates:{mousemove:function(i){(n.getLayer(e)?n.queryRenderedFeatures(i.point,{layers:[e]}):[]).length?a=!0:a&&(a=!1,r.call(n,new hi(t,n,i.originalEvent)))},mouseout:function(e){a&&(a=!1,r.call(n,new hi(t,n,e.originalEvent)))}}}}return{layer:e,listener:r,delegates:(i={},i[t]=function(t){var i=n.getLayer(e)?n.queryRenderedFeatures(t.point,{layers:[e]}):[];i.length&&(t.features=i,r.call(n,t),delete t.features)},i)}}();for(var a in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(o),o.delegates)this.on(a,o.delegates[a]);return this},n.prototype.off=function(t,e,r){if(void 0===r)return i.prototype.off.call(this,t,e);if(this._delegatedListeners&&this._delegatedListeners[t])for(var n=this._delegatedListeners[t],o=0;o<n.length;o++){var a=n[o];if(a.layer===e&&a.listener===r){for(var s in a.delegates)this.off(s,a.delegates[s]);return n.splice(o,1),this}}return this},n.prototype.queryRenderedFeatures=function(e,r){if(!this.style)return[];var i;if(void 0!==r||void 0===e||e instanceof t.Point||Array.isArray(e)||(r=e,e=void 0),r=r||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.Point||"number"==typeof e[0])i=[t.Point.convert(e)];else{var n=t.Point.convert(e[0]),o=t.Point.convert(e[1]);i=[n,new t.Point(o.x,n.y),o,new t.Point(n.x,o.y),n]}return this.style.queryRenderedFeatures(i,r,this.transform)},n.prototype.querySourceFeatures=function(t,e){return this.style.querySourceFeatures(t,e)},n.prototype.setStyle=function(e,r){return!1!==(r=t.extend({},{localIdeographFontFamily:Li.localIdeographFontFamily},r)).diff&&r.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,r),this):(this._localIdeographFontFamily=r.localIdeographFontFamily,this._updateStyle(e,r))},n.prototype._updateStyle=function(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new Re(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)},n.prototype._diffStyle=function(e,r){var i=this;if("string"==typeof e){var n=t.normalizeStyleURL(e),o=this._transformRequest(n,t.ResourceType.Style);t.getJSON(o,(function(e,n){e?i.fire(new t.ErrorEvent(e)):n&&i._updateDiff(n,r)}))}else"object"==typeof e&&this._updateDiff(e,r)},n.prototype._updateDiff=function(e,r){try{this.style.setState(e)&&this._update(!0)}catch(i){t.warnOnce("Unable to perform style diff: "+(i.message||i.error||i)+". Rebuilding the style from scratch."),this._updateStyle(e,r)}},n.prototype.getStyle=function(){if(this.style)return this.style.serialize()},n.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():t.warnOnce("There is no style added to the map.")},n.prototype.addSource=function(t,e){return this.style.addSource(t,e),this._update(!0)},n.prototype.isSourceLoaded=function(e){var r=this.style&&this.style.sourceCaches[e];if(void 0!==r)return r.loaded();this.fire(new t.ErrorEvent(new Error("There is no source with ID '"+e+"'")))},n.prototype.areTilesLoaded=function(){var t=this.style&&this.style.sourceCaches;for(var e in t){var r=t[e]._tiles;for(var i in r){var n=r[i];if("loaded"!==n.state&&"errored"!==n.state)return!1}}return!0},n.prototype.addSourceType=function(t,e,r){return this.style.addSourceType(t,e,r)},n.prototype.removeSource=function(t){return this.style.removeSource(t),this._update(!0)},n.prototype.getSource=function(t){return this.style.getSource(t)},n.prototype.addImage=function(e,r,i){void 0===i&&(i={});var n=i.pixelRatio;void 0===n&&(n=1);var o=i.sdf;if(void 0===o&&(o=!1),r instanceof Pi){var a=t.browser.getImageData(r),s=a.width,u=a.height,l=a.data;this.style.addImage(e,{data:new t.RGBAImage({width:s,height:u},l),pixelRatio:n,sdf:o,version:0})}else{if(void 0===r.width||void 0===r.height)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var p=r.width,c=r.height,h=r.data,f=r;this.style.addImage(e,{data:new t.RGBAImage({width:p,height:c},new Uint8Array(h)),pixelRatio:n,sdf:o,version:0,userImage:f}),f.onAdd&&f.onAdd(this,e)}},n.prototype.updateImage=function(e,r){var i=this.style.getImage(e);if(!i)return this.fire(new t.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var n=r instanceof Pi?t.browser.getImageData(r):r,o=n.width,a=n.height,s=n.data;if(void 0===o||void 0===a)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(o!==i.data.width||a!==i.data.height)return this.fire(new t.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));var u=!(r instanceof Pi);i.data.replace(s,u),this.style.updateImage(e,i)},n.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)},n.prototype.removeImage=function(t){this.style.removeImage(t)},n.prototype.loadImage=function(e,r){t.getImage(this._transformRequest(e,t.ResourceType.Image),r)},n.prototype.listImages=function(){return this.style.listImages()},n.prototype.addLayer=function(t,e){return this.style.addLayer(t,e),this._update(!0)},n.prototype.moveLayer=function(t,e){return this.style.moveLayer(t,e),this._update(!0)},n.prototype.removeLayer=function(t){return this.style.removeLayer(t),this._update(!0)},n.prototype.getLayer=function(t){return this.style.getLayer(t)},n.prototype.setFilter=function(t,e,r){return void 0===r&&(r={}),this.style.setFilter(t,e,r),this._update(!0)},n.prototype.setLayerZoomRange=function(t,e,r){return this.style.setLayerZoomRange(t,e,r),this._update(!0)},n.prototype.getFilter=function(t){return this.style.getFilter(t)},n.prototype.setPaintProperty=function(t,e,r,i){return void 0===i&&(i={}),this.style.setPaintProperty(t,e,r,i),this._update(!0)},n.prototype.getPaintProperty=function(t,e){return this.style.getPaintProperty(t,e)},n.prototype.setLayoutProperty=function(t,e,r,i){return void 0===i&&(i={}),this.style.setLayoutProperty(t,e,r,i),this._update(!0)},n.prototype.getLayoutProperty=function(t,e){return this.style.getLayoutProperty(t,e)},n.prototype.setLight=function(t,e){return void 0===e&&(e={}),this.style.setLight(t,e),this._update(!0)},n.prototype.getLight=function(){return this.style.getLight()},n.prototype.setFeatureState=function(t,e){return this.style.setFeatureState(t,e),this._update()},n.prototype.removeFeatureState=function(t,e){return this.style.removeFeatureState(t,e),this._update()},n.prototype.getFeatureState=function(t){return this.style.getFeatureState(t)},n.prototype.getContainer=function(){return this._container},n.prototype.getCanvasContainer=function(){return this._canvasContainer},n.prototype.getCanvas=function(){return this._canvas},n.prototype._containerDimensions=function(){var t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]},n.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&t.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.")},n.prototype._setupContainer=function(){var t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=r.create("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();var e=this._canvasContainer=r.create("div","mapboxgl-canvas-container",t);this._interactive&&e.classList.add("mapboxgl-interactive"),this._canvas=r.create("canvas","mapboxgl-canvas",e),this._canvas.style.position="absolute",this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var i=this._containerDimensions();this._resizeCanvas(i[0],i[1]);var n=this._controlContainer=r.create("div","mapboxgl-control-container",t),o=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(t){o[t]=r.create("div","mapboxgl-ctrl-"+t,n)}))},n.prototype._resizeCanvas=function(e,r){var i=t.window.devicePixelRatio||1;this._canvas.width=i*e,this._canvas.height=i*r,this._canvas.style.width=e+"px",this._canvas.style.height=r+"px"},n.prototype._setupPainter=function(){var r=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),i=this._canvas.getContext("webgl",r)||this._canvas.getContext("experimental-webgl",r);i?(this.painter=new oi(i,this.transform),t.webpSupported.testSupport(i)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")))},n.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}))},n.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}))},n.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},n.prototype._update=function(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this},n.prototype._requestRenderFrame=function(t){return this._update(),this._renderTaskQueue.add(t)},n.prototype._cancelRenderFrame=function(t){this._renderTaskQueue.remove(t)},n.prototype._render=function(){this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run();var e=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var r=this.transform.zoom,i=t.browser.now();this.style.zoomHistory.update(r,i);var n=new t.EvaluationParameters(r,{now:i,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),o=n.crossFadingFactor();1===o&&o===this._crossFadingFactor||(e=!0,this._crossFadingFactor=o),this.style.update(n)}return this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||e)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this._sourcesDirty||this._repaint||this._styleDirty||this._placementDirty?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.Event("idle")),this},n.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,r=this._controls;e<r.length;e+=1)r[e].onRemove(this);this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener("resize",this._onWindowResize,!1),t.window.removeEventListener("online",this._onWindowOnline,!1));var i=this.painter.context.gl.getExtension("WEBGL_lose_context");i&&i.loseContext(),Bi(this._canvasContainer),Bi(this._controlContainer),Bi(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this.fire(new t.Event("remove"))},n.prototype.triggerRepaint=function(){var e=this;this.style&&!this._frame&&(this._frame=t.browser.frame((function(){e._frame=null,e._render()})))},n.prototype._onWindowOnline=function(){this._update()},n.prototype._onWindowResize=function(){this._trackResize&&this.resize()._update()},o.showTileBoundaries.get=function(){return!!this._showTileBoundaries},o.showTileBoundaries.set=function(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update())},o.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},o.showCollisionBoxes.set=function(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update())},o.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},o.showOverdrawInspector.set=function(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update())},o.repaint.get=function(){return!!this._repaint},o.repaint.set=function(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint())},o.vertices.get=function(){return!!this._vertices},o.vertices.set=function(t){this._vertices=t,this._update()},Object.defineProperties(n.prototype,o),n}(Ii);function Bi(t){t.parentNode&&t.parentNode.removeChild(t)}var Ri={showCompass:!0,showZoom:!0},Fi=function(e){var i=this;this.options=t.extend({},Ri,e),this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this.options.showZoom&&(t.bindAll(["_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-icon mapboxgl-ctrl-zoom-in","Zoom in",(function(){return i._map.zoomIn()})),this._zoomOutButton=this._createButton("mapboxgl-ctrl-icon mapboxgl-ctrl-zoom-out","Zoom out",(function(){return i._map.zoomOut()}))),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-icon mapboxgl-ctrl-compass","Reset bearing to north",(function(){return i._map.resetNorth()})),this._compassArrow=r.create("span","mapboxgl-ctrl-compass-arrow",this._compass))};function Oi(e,r,i){if(e=new t.LngLat(e.lng,e.lat),r){var n=new t.LngLat(e.lng-360,e.lat),o=new t.LngLat(e.lng+360,e.lat),a=i.locationPoint(e).distSqr(r);i.locationPoint(n).distSqr(r)<a?e=n:i.locationPoint(o).distSqr(r)<a&&(e=o)}for(;Math.abs(e.lng-i.center.lng)>180;){var s=i.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=i.width&&s.y<=i.height)break;e.lng>i.center.lng?e.lng-=360:e.lng+=360}return e}Fi.prototype._updateZoomButtons=function(){var t=this._map.getZoom();this._zoomInButton.classList.toggle("mapboxgl-ctrl-icon-disabled",t===this._map.getMaxZoom()),this._zoomOutButton.classList.toggle("mapboxgl-ctrl-icon-disabled",t===this._map.getMinZoom())},Fi.prototype._rotateCompassArrow=function(){var t="rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassArrow.style.transform=t},Fi.prototype.onAdd=function(t){return this._map=t,this.options.showZoom&&(this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new _i(t,{button:"left",element:this._compass}),r.addEventListener(this._compass,"mousedown",this._handler.onMouseDown),this._handler.enable()),this._container},Fi.prototype.onRemove=function(){r.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this._map.off("rotate",this._rotateCompassArrow),r.removeEventListener(this._compass,"mousedown",this._handler.onMouseDown),this._handler.disable(),delete this._handler),delete this._map},Fi.prototype._createButton=function(t,e,i){var n=r.create("button",t,this._container);return n.type="button",n.title=e,n.setAttribute("aria-label",e),n.addEventListener("click",i),n};var Ui={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Vi(t,e,r){var i=t.classList;for(var n in Ui)i.remove("mapboxgl-"+r+"-anchor-"+n);i.add("mapboxgl-"+r+"-anchor-"+e)}var Ni,ji=function(e){function i(i,n){if(e.call(this),(i instanceof t.window.HTMLElement||n)&&(i=t.extend({element:i},n)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick"],this),this._anchor=i&&i.anchor||"center",this._color=i&&i.color||"#3FB1CE",this._draggable=i&&i.draggable||!1,this._state="inactive",i&&i.element)this._element=i.element,this._offset=t.Point.convert(i&&i.offset||[0,0]);else{this._defaultMarker=!0,this._element=r.create("div");var o=r.createNS("http://www.w3.org/2000/svg","svg");o.setAttributeNS(null,"display","block"),o.setAttributeNS(null,"height","41px"),o.setAttributeNS(null,"width","27px"),o.setAttributeNS(null,"viewBox","0 0 27 41");var a=r.createNS("http://www.w3.org/2000/svg","g");a.setAttributeNS(null,"stroke","none"),a.setAttributeNS(null,"stroke-width","1"),a.setAttributeNS(null,"fill","none"),a.setAttributeNS(null,"fill-rule","evenodd");var s=r.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"fill-rule","nonzero");var u=r.createNS("http://www.w3.org/2000/svg","g");u.setAttributeNS(null,"transform","translate(3.0, 29.0)"),u.setAttributeNS(null,"fill","#000000");for(var l=0,p=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];l<p.length;l+=1){var c=p[l],h=r.createNS("http://www.w3.org/2000/svg","ellipse");h.setAttributeNS(null,"opacity","0.04"),h.setAttributeNS(null,"cx","10.5"),h.setAttributeNS(null,"cy","5.80029008"),h.setAttributeNS(null,"rx",c.rx),h.setAttributeNS(null,"ry",c.ry),u.appendChild(h)}var f=r.createNS("http://www.w3.org/2000/svg","g");f.setAttributeNS(null,"fill",this._color);var d=r.createNS("http://www.w3.org/2000/svg","path");d.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),f.appendChild(d);var m=r.createNS("http://www.w3.org/2000/svg","g");m.setAttributeNS(null,"opacity","0.25"),m.setAttributeNS(null,"fill","#000000");var y=r.createNS("http://www.w3.org/2000/svg","path");y.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),m.appendChild(y);var v=r.createNS("http://www.w3.org/2000/svg","g");v.setAttributeNS(null,"transform","translate(6.0, 7.0)"),v.setAttributeNS(null,"fill","#FFFFFF");var _=r.createNS("http://www.w3.org/2000/svg","g");_.setAttributeNS(null,"transform","translate(8.0, 8.0)");var g=r.createNS("http://www.w3.org/2000/svg","circle");g.setAttributeNS(null,"fill","#000000"),g.setAttributeNS(null,"opacity","0.25"),g.setAttributeNS(null,"cx","5.5"),g.setAttributeNS(null,"cy","5.5"),g.setAttributeNS(null,"r","5.4999962");var x=r.createNS("http://www.w3.org/2000/svg","circle");x.setAttributeNS(null,"fill","#FFFFFF"),x.setAttributeNS(null,"cx","5.5"),x.setAttributeNS(null,"cy","5.5"),x.setAttributeNS(null,"r","5.4999962"),_.appendChild(g),_.appendChild(x),s.appendChild(u),s.appendChild(f),s.appendChild(m),s.appendChild(v),s.appendChild(_),o.appendChild(s),this._element.appendChild(o),this._offset=t.Point.convert(i&&i.offset||[0,-14])}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(t){t.preventDefault()})),Vi(this._element,this._anchor,"marker"),this._popup=null}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._update),t.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},i.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),delete this._map),r.remove(this._element),this._popup&&this._popup.remove(),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},i.prototype.getElement=function(){return this._element},i.prototype.setPopup=function(t){if(this._popup&&(this._popup.remove(),this._popup=null),t){if(!("offset"in t.options)){var e=Math.sqrt(Math.pow(13.5,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[e,-1*(24.6+e)],"bottom-right":[-e,-1*(24.6+e)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat)}return this},i.prototype._onMapClick=function(t){var e=t.originalEvent.target,r=this._element;this._popup&&(e===r||r.contains(e))&&this.togglePopup()},i.prototype.getPopup=function(){return this._popup},i.prototype.togglePopup=function(){var t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this},i.prototype._update=function(t){this._map&&(this._map.transform.renderWorldCopies&&(this._lngLat=Oi(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset),t&&"moveend"!==t.type||(this._pos=this._pos.round()),r.setTransform(this._element,Ui[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px)"))},i.prototype.getOffset=function(){return this._offset},i.prototype.setOffset=function(e){return this._offset=t.Point.convert(e),this._update(),this},i.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag"))},i.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive"},i.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},i.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},i.prototype.isDraggable=function(){return this._draggable},i}(t.Evented),qi={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showUserLocation:!0},Zi=function(e){function i(r){e.call(this),this.options=t.extend({},qi,r),t.bindAll(["_onSuccess","_onError","_finish","_setupUI","_updateCamera","_updateMarker"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.onAdd=function(e){var i;return this._map=e,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),i=this._setupUI,void 0!==Ni?i(Ni):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((function(t){Ni="denied"!==t.state,i(Ni)})):(Ni=!!t.window.navigator.geolocation,i(Ni)),this._container},i.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),r.remove(this._container),this._map=void 0},i.prototype._onSuccess=function(e){if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background")}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish()},i.prototype._updateCamera=function(e){var r=new t.LngLat(e.coords.longitude,e.coords.latitude),i=e.coords.accuracy,n=this._map.getBearing(),o=t.extend({bearing:n},this.options.fitBoundsOptions);this._map.fitBounds(r.toBounds(i),o,{geolocateSource:!0})},i.prototype._updateMarker=function(t){t?this._userLocationDotMarker.setLngLat([t.coords.longitude,t.coords.latitude]).addTo(this._map):this._userLocationDotMarker.remove()},i.prototype._onError=function(e){if(this.options.trackUserLocation)if(1===e.code)this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),void 0!==this._geolocationWatchID&&this._clearWatch();else switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting")}"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish()},i.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},i.prototype._setupUI=function(e){var i=this;!1!==e?(this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this._geolocateButton=r.create("button","mapboxgl-ctrl-icon mapboxgl-ctrl-geolocate",this._container),this._geolocateButton.type="button",this._geolocateButton.setAttribute("aria-label","Geolocate"),this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=r.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new ji(this._dotElement),this.options.trackUserLocation&&(this._watchState="OFF")),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(e){e.geolocateSource||"ACTIVE_LOCK"!==i._watchState||(i._watchState="BACKGROUND",i._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),i._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),i.fire(new t.Event("trackuserlocationend")))}))):t.warnOnce("Geolocation support is not available, the GeolocateControl will not be visible.")},i.prototype.trigger=function(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"))}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error")}"OFF"===this._watchState&&void 0!==this._geolocationWatchID?this._clearWatch():void 0===this._geolocationWatchID&&(this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,this.options.positionOptions))}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},i.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)},i}(t.Evented),Gi={maxWidth:100,unit:"metric"},Xi=function(e){this.options=t.extend({},Gi,e),t.bindAll(["_onMove","setUnit"],this)};function Wi(t,e,r){var i,n,o,a,s,u,l=r&&r.maxWidth||100,p=t._container.clientHeight/2,c=(i=t.unproject([0,p]),n=t.unproject([l,p]),o=Math.PI/180,a=i.lat*o,s=n.lat*o,u=Math.sin(a)*Math.sin(s)+Math.cos(a)*Math.cos(s)*Math.cos((n.lng-i.lng)*o),6371e3*Math.acos(Math.min(u,1)));if(r&&"imperial"===r.unit){var h=3.2808*c;h>5280?Ki(e,l,h/5280,"mi"):Ki(e,l,h,"ft")}else r&&"nautical"===r.unit?Ki(e,l,c/1852,"nm"):Ki(e,l,c,"m")}function Ki(t,e,r,i){var n,o,a,s=(n=r,(o=Math.pow(10,(""+Math.floor(n)).length-1))*(a=(a=n/o)>=10?10:a>=5?5:a>=3?3:a>=2?2:a>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(a))),u=s/r;"m"===i&&s>=1e3&&(s/=1e3,i="km"),t.style.width=e*u+"px",t.innerHTML=s+i}Xi.prototype.getDefaultPosition=function(){return"bottom-left"},Xi.prototype._onMove=function(){Wi(this._map,this._container,this.options)},Xi.prototype.onAdd=function(t){return this._map=t,this._container=r.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Xi.prototype.onRemove=function(){r.remove(this._container),this._map.off("move",this._onMove),this._map=void 0},Xi.prototype.setUnit=function(t){this.options.unit=t,Wi(this._map,this._container,this.options)};var Hi=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in t.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in t.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in t.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in t.window.document&&(this._fullscreenchange="MSFullscreenChange"),this._className="mapboxgl-ctrl"};Hi.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=r.create("div",this._className+" mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},Hi.prototype.onRemove=function(){r.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon)},Hi.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},Hi.prototype._setupUI=function(){(this._fullscreenButton=r.create("button",this._className+"-icon "+this._className+"-fullscreen",this._controlContainer)).type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon)},Hi.prototype._updateTitle=function(){var t=this._isFullscreen()?"Exit fullscreen":"Enter fullscreen";this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t},Hi.prototype._isFullscreen=function(){return this._fullscreen},Hi.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(this._className+"-shrink"),this._fullscreenButton.classList.toggle(this._className+"-fullscreen"),this._updateTitle())},Hi.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen()};var Ji={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},Yi=function(e){function i(r){e.call(this),this.options=t.extend(Object.create(Ji),r),t.bindAll(["_update","_onClickClose","remove"],this)}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.addTo=function(e){return this._map=e,this._map.on("move",this._update),this.options.closeOnClick&&this._map.on("click",this._onClickClose),this._map.on("remove",this.remove),this._update(),this.fire(new t.Event("open")),this},i.prototype.isOpen=function(){return!!this._map},i.prototype.remove=function(){return this._content&&r.remove(this._content),this._container&&(r.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("click",this._onClickClose),this._map.off("remove",this.remove),delete this._map),this.fire(new t.Event("close")),this},i.prototype.getLngLat=function(){return this._lngLat},i.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._update(),this},i.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},i.prototype.setHTML=function(e){var r,i=t.window.document.createDocumentFragment(),n=t.window.document.createElement("body");for(n.innerHTML=e;r=n.firstChild;)i.appendChild(r);return this.setDOMContent(i)},i.prototype.getMaxWidth=function(){return this._container.style.maxWidth},i.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},i.prototype.setDOMContent=function(t){return this._createContent(),this._content.appendChild(t),this._update(),this},i.prototype._createContent=function(){this._content&&r.remove(this._content),this._content=r.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=r.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClickClose))},i.prototype._update=function(){var e=this;if(this._map&&this._lngLat&&this._content){this._container||(this._container=r.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=r.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(t){return e._container.classList.add(t)}))),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&(this._lngLat=Oi(this._lngLat,this._pos,this._map.transform));var i=this._pos=this._map.project(this._lngLat),n=this.options.anchor,o=function e(r){if(r){if("number"==typeof r){var i=Math.round(Math.sqrt(.5*Math.pow(r,2)));return{center:new t.Point(0,0),top:new t.Point(0,r),"top-left":new t.Point(i,i),"top-right":new t.Point(-i,i),bottom:new t.Point(0,-r),"bottom-left":new t.Point(i,-i),"bottom-right":new t.Point(-i,-i),left:new t.Point(r,0),right:new t.Point(-r,0)}}if(r instanceof t.Point||Array.isArray(r)){var n=t.Point.convert(r);return{center:n,top:n,"top-left":n,"top-right":n,bottom:n,"bottom-left":n,"bottom-right":n,left:n,right:n}}return{center:t.Point.convert(r.center||[0,0]),top:t.Point.convert(r.top||[0,0]),"top-left":t.Point.convert(r["top-left"]||[0,0]),"top-right":t.Point.convert(r["top-right"]||[0,0]),bottom:t.Point.convert(r.bottom||[0,0]),"bottom-left":t.Point.convert(r["bottom-left"]||[0,0]),"bottom-right":t.Point.convert(r["bottom-right"]||[0,0]),left:t.Point.convert(r.left||[0,0]),right:t.Point.convert(r.right||[0,0])}}return e(new t.Point(0,0))}(this.options.offset);if(!n){var a,s=this._container.offsetWidth,u=this._container.offsetHeight;a=i.y+o.bottom.y<u?["top"]:i.y>this._map.transform.height-u?["bottom"]:[],i.x<s/2?a.push("left"):i.x>this._map.transform.width-s/2&&a.push("right"),n=0===a.length?"bottom":a.join("-")}var l=i.add(o[n]).round();r.setTransform(this._container,Ui[n]+" translate("+l.x+"px,"+l.y+"px)"),Vi(this._container,n,"popup")}},i.prototype._onClickClose=function(){this.remove()},i}(t.Evented),$i={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,Map:Di,NavigationControl:Fi,GeolocateControl:Zi,AttributionControl:zi,ScaleControl:Xi,FullscreenControl:Hi,Popup:Yi,Marker:ji,Style:Re,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e},get workerCount(){return Lt.workerCount},set workerCount(t){Lt.workerCount=t},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e},workerUrl:""};return $i})),r}()},283:function(t,e,r){}}]);
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.rtl.css b/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.rtl.css deleted file mode 100644 index 0efbf5be..00000000 --- a/plugins/jetpack/_inc/blocks/vendors~map/mapbox-gl.1239e27c56411388bad5.rtl.css +++ /dev/null @@ -1 +0,0 @@ -.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass{cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;right:0}.mapboxgl-ctrl-top-right{top:0;left:0}.mapboxgl-ctrl-bottom-left{bottom:0;right:0}.mapboxgl-ctrl-bottom-right{left:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-group{border-radius:4px;overflow:hidden;background:#fff}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}.mapboxgl-ctrl-group>button{width:30px;height:30px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group>button+button{border-top:1px solid #ddd}.mapboxgl-ctrl>button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl>button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-icon,.mapboxgl-ctrl-icon>.mapboxgl-ctrl-compass-arrow{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mapboxgl-ctrl-icon{padding:5px}.mapboxgl-ctrl-icon.mapboxgl-ctrl-icon-disabled{opacity:.25;border-color:#373737}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-out{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 9c-.554 0-1 .446-1 1s.446 1 1 1h6c.554 0 1-.446 1-1s-.446-1-1-1z' fill='%23333'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-in{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 6c-.554 0-1 .446-1 1v2H7c-.554 0-1 .446-1 1s.446 1 1 1h2v2c0 .554.446 1 1 1s1-.446 1-1v-2h2c.554 0 1-.446 1-1s-.446-1-1-1h-2V7c0-.554-.446-1-1-1z' fill='%23333'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate:disabled{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 013.5 3.5 3.5 3.5 0 01-3.5 3.5A3.5 3.5 0 016.5 10 3.5 3.5 0 0110 6.5zm0 1.8A1.8 1.8 0 008.3 10a1.8 1.8 0 001.7 1.8 1.8 1.8 0 001.8-1.8A1.8 1.8 0 0010 8.3z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 010-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 010-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting{animation:mapboxgl-spin 2s linear infinite}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}.mapboxgl-ctrl-icon.mapboxgl-ctrl-fullscreen{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4c-.5 0-1 .5-1 1v4h.5l1.277-1.703c1 .763 2.059 1.66 3.114 2.703a30.38 30.38 0 01-3.11 2.707L4.5 11H4v4c0 .5.5 1 1 1h4v-.5l-1.727-1.295a35.498 35.498 0 012.688-3.137 30.312 30.312 0 012.746 3.15L11 15.5v.5h4c.5 0 1-.5 1-1v-4h-.5l-1.295 1.727a35.513 35.513 0 01-3.168-2.717 47.787 47.787 0 013.192-2.705L15.5 9h.5V5c0-.5-.5-1-1-1h-4v.5l1.703 1.277A32.243 32.243 0 019.971 8.92 47.761 47.761 0 017.305 5.77L9 4.5V4H5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-shrink{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.242 3.492a.75.75 0 00-.523 1.29l2.246 2.245L4 8.5V9h4c.5 0 1-.5 1-1V4h-.5L7.018 5.955 4.78 3.72a.75.75 0 00-.539-.227zm11.492 0a.75.75 0 00-.515.227l-2.235 2.234L11.5 4H11v4c0 .5.5 1 1 1h4v-.5l-1.965-1.473 2.246-2.246a.75.75 0 00-.547-1.289zM4 11v.5l1.965 1.473-2.246 2.246A.751.751 0 104.78 16.28l2.246-2.246L8.5 16H9v-4c0-.5-.5-1-1-1H4zm8 0c-.5 0-1 .5-1 1v4h.5l1.473-1.965 2.246 2.246a.751.751 0 101.062-1.062l-2.246-2.246L16 11.5V11h-4z'/%3E%3C/svg%3E")}.mapboxgl-ctrl-icon.mapboxgl-ctrl-compass>.mapboxgl-ctrl-compass-arrow{width:20px;height:20px;margin:5px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' d='M6 9l4-8 4 8z'/%3E%3Cpath fill='%23CCC' d='M6 11l4 8 4-8z'/%3E%3C/svg%3E");background-repeat:no-repeat;display:inline-block}a.mapboxgl-ctrl-logo{width:85px;height:21px;margin:0 -3px -3px 0;display:block;background-repeat:no-repeat;cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84.49 21'%3E%3Cpath class='st0' d='M83.25 14.26c0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.39-1.44 2.39a.34.34 0 01-.3.17h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.68-2.39-3.64a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.36 1.4-2.35a.34.34 0 01.3-.17H83c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.63 2.43 3.67c0 .05.01.09.01.13zM66.24 9.59c-.39-1.88-1.96-3.28-3.84-3.28-1.03 0-2.03.42-2.73 1.18V3.51c0-.13-.1-.23-.23-.23h-1.4c-.13 0-.23.11-.23.23v10.72c0 .13.1.23.23.23h1.4c.13 0 .23-.11.23-.23v-.73c.71.75 1.7 1.18 2.73 1.18 1.88 0 3.45-1.41 3.84-3.29.13-.6.13-1.21 0-1.8zM62.08 13c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51S63.41 13 62.08 13zM71.67 6.32a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19s-1.9-4.17-4.27-4.17zm-.02 6.69c-1.33 0-2.42-1.12-2.42-2.51s1.08-2.52 2.42-2.52c1.33 0 2.42 1.12 2.42 2.51s-1.08 2.51-2.42 2.52z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M62.08 7.98c-1.32 0-2.39 1.11-2.41 2.48v.06c.01 1.38 1.08 2.48 2.41 2.48s2.42-1.12 2.42-2.51-1.09-2.51-2.42-2.51zm0 3.78c-.63 0-1.14-.56-1.17-1.25v-.04c.01-.69.54-1.25 1.17-1.25.63 0 1.17.57 1.17 1.27-.01.71-.52 1.27-1.17 1.27zM71.65 7.98c-1.33 0-2.42 1.12-2.42 2.51S70.32 13 71.65 13s2.42-1.12 2.42-2.51-1.08-2.51-2.42-2.51zm0 3.78c-.64 0-1.17-.57-1.17-1.27 0-.7.53-1.26 1.17-1.26s1.17.57 1.17 1.27c0 .71-.53 1.26-1.17 1.26z' opacity='.35'/%3E%3Cpath class='st0' d='M45.74 6.53h-1.4c-.13 0-.23.11-.23.23v.73c-.71-.75-1.7-1.18-2.73-1.18-2.17 0-3.94 1.87-3.94 4.19s1.77 4.19 3.94 4.19c1.04 0 2.03-.43 2.73-1.19v.73c0 .13.1.23.23.23h1.4c.13 0 .23-.11.23-.23V6.74c0-.12-.09-.22-.22-.22 0 .01 0 .01-.01.01zm-1.62 4C44.11 11.9 43.03 13 41.71 13s-2.42-1.12-2.42-2.51 1.08-2.52 2.4-2.52c1.33 0 2.39 1.11 2.41 2.48l.02.08z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M41.71 7.98c-1.33 0-2.42 1.12-2.42 2.51S40.37 13 41.71 13s2.39-1.11 2.41-2.48v-.06c-.02-1.37-1.09-2.48-2.41-2.48zm-1.16 2.51c0-.7.52-1.27 1.17-1.27.64 0 1.14.56 1.17 1.25v.04c-.01.68-.53 1.24-1.17 1.24-.64 0-1.17-.56-1.17-1.26z' opacity='.35'/%3E%3Cpath class='st0' d='M52.41 6.32c-1.03 0-2.03.42-2.73 1.18v-.75c0-.13-.1-.23-.23-.23h-1.4c-.13 0-.23.11-.23.23v10.72c0 .13.1.23.23.23h1.4c.13 0 .23-.1.23-.23V13.5c.71.75 1.7 1.18 2.74 1.18 2.17 0 3.94-1.87 3.94-4.19s-1.78-4.17-3.95-4.17zm-.33 6.69c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51S53.4 13 52.08 13.01z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M52.08 7.98c-1.32 0-2.39 1.11-2.42 2.48v.06c.03 1.38 1.1 2.48 2.42 2.48s2.41-1.12 2.41-2.51-1.09-2.51-2.41-2.51zm0 3.78c-.63 0-1.14-.56-1.17-1.25v-.04c.01-.69.54-1.25 1.17-1.25.63 0 1.17.58 1.17 1.27s-.53 1.27-1.17 1.27z' opacity='.35'/%3E%3Cpath class='st0' d='M36.08 14.24c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.66c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.48c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V6.74c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.66c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.17z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M84.34 13.59l-.07-.13-1.96-2.99 1.94-2.95c.44-.67.26-1.56-.41-2.02-.02 0-.03 0-.04-.01-.23-.15-.5-.22-.78-.22h-1.61c-.56 0-1.08.29-1.37.78l-.32.55-.34-.56c-.29-.48-.81-.77-1.38-.77h-1.6c-.6 0-1.13.37-1.35.92a5.59 5.59 0 00-7.26.45c-.35.34-.65.72-.89 1.14-.9-1.62-2.58-2.72-4.5-2.72-.5 0-1.01.07-1.48.23V3.51c0-.82-.66-1.48-1.47-1.48h-1.4c-.81 0-1.47.66-1.47 1.47v3.75a5.12 5.12 0 00-4.17-2.19c-.74 0-1.46.16-2.12.47-.24-.17-.54-.26-.84-.26h-1.4c-.45 0-.87.21-1.15.56a1.498 1.498 0 00-1.16-.55h-1.39c-.3 0-.6.09-.84.26-.67-.3-1.39-.46-2.12-.46-1.83 0-3.43 1-4.37 2.5-.2-.46-.48-.89-.83-1.25-.8-.81-1.89-1.25-3.02-1.25h-.01c-.89.01-1.75.33-2.46.88-.74-.57-1.64-.88-2.57-.88h-.03c-.29 0-.58.03-.86.11-.28.06-.56.16-.82.28-.21-.12-.45-.18-.7-.18h-1.4c-.82 0-1.47.66-1.47 1.47v7.5c0 .82.66 1.47 1.47 1.47h1.4c.82 0 1.48-.66 1.48-1.48V9.79c.03-.36.23-.59.36-.59.18 0 .38.18.38.47v4.57c0 .82.66 1.47 1.47 1.47h1.41c.82 0 1.47-.66 1.47-1.47l-.01-4.57c.06-.32.25-.47.35-.47.18 0 .38.18.38.47v4.57c0 .82.66 1.47 1.47 1.47h1.41c.82 0 1.47-.66 1.47-1.47v-.38a5.068 5.068 0 004.06 2.06c.74 0 1.46-.16 2.12-.47.24.17.54.26.84.26h1.39c.3 0 .6-.09.84-.26v2.01c0 .82.66 1.47 1.47 1.47h1.4c.82 0 1.47-.66 1.47-1.47v-1.77c.48.15.99.23 1.49.22 1.7 0 3.22-.87 4.17-2.2v.52c0 .82.66 1.47 1.47 1.47h1.4c.3 0 .6-.09.84-.26.66.31 1.39.47 2.12.47 1.92 0 3.6-1.1 4.49-2.73 1.54 2.65 4.95 3.53 7.58 1.98.18-.11.36-.22.53-.36.22.55.76.91 1.35.9H78c.56 0 1.08-.29 1.37-.78l.37-.61.37.61c.29.48.81.78 1.38.78h1.6c.81 0 1.46-.66 1.45-1.46-.05-.22-.1-.44-.2-.65zm-48.48.88h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.66c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23V9.68c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.48c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V6.74a.23.23 0 01.23-.22h1.4c.13 0 .22.11.23.22v.66c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.01 5.16c.02.13-.09.23-.21.24zm10.11-.23c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23v-.74c-.7.76-1.69 1.18-2.72 1.18-2.17 0-3.94-1.87-3.94-4.19s1.77-4.19 3.94-4.19c1.03 0 2.02.43 2.73 1.18v-.74c0-.13.1-.23.23-.23h1.4c.12-.01.22.08.23.21V14.25h-.01v-.01zm6.44.43c-1.03 0-2.02-.43-2.73-1.18v3.97c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V6.75c0-.13.1-.22.23-.22h1.4c.13 0 .23.11.23.23v.73a3.73 3.73 0 012.73-1.18c2.17 0 3.94 1.86 3.94 4.18s-1.77 4.18-3.94 4.18zm13.83-3.28c-.39 1.87-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.73c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.11-.23-.23V3.51c0-.13.1-.23.23-.23h1.4c.13 0 .23.11.23.23v3.97a3.72 3.72 0 012.73-1.17c1.88 0 3.45 1.4 3.84 3.28.13.6.13 1.21 0 1.8zm5.43 3.29c-2 .01-3.73-1.35-4.17-3.3-.13-.59-.13-1.19 0-1.77a4.243 4.243 0 014.17-3.3c2.36 0 4.26 1.87 4.26 4.19s-1.9 4.18-4.26 4.18zm11.37-.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.39-1.44 2.39a.34.34 0 01-.3.17h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.68-2.39-3.64a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.36 1.41-2.36a.34.34 0 01.3-.17h1.61c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.38 3.64 2.43 3.67c.02.03.03.07.03.12-.03.13-.12.22-.24.22z' opacity='.35'/%3E%3Cpath class='st0' d='M10.5 1.24c-5.11 0-9.25 4.15-9.25 9.25s4.15 9.25 9.25 9.25 9.25-4.15 9.25-9.25c0-5.11-4.14-9.25-9.25-9.25zm4.39 11.53c-1.93 1.93-4.78 2.31-6.7 2.31-.7 0-1.41-.05-2.1-.16 0 0-1.02-5.64 2.14-8.81a4.4 4.4 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42 1.84 1.84 1.89 4.75.14 6.52z' opacity='.9' fill='%23fff'/%3E%3Cpath class='st1' d='M10.5-.01C4.7-.01 0 4.7 0 10.49s4.7 10.5 10.5 10.5S21 16.29 21 10.49C20.99 4.7 16.3-.01 10.5-.01zm0 19.75c-5.11 0-9.25-4.15-9.25-9.25s4.14-9.26 9.25-9.26 9.25 4.15 9.25 9.25c0 5.13-4.14 9.26-9.25 9.26z' opacity='.35'/%3E%3Cpath class='st1' d='M14.74 6.25c-1.84-1.84-4.76-1.9-6.51-.15-3.16 3.17-2.14 8.81-2.14 8.81s5.64 1.02 8.81-2.14c1.74-1.77 1.69-4.68-.16-6.52zm-2.27 4.09l-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9-1.86.91z' opacity='.35'/%3E%3Cpath class='st0' opacity='.9' fill='%23fff' d='M14.33 9.43l-1.86.91-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87z'/%3E%3C/svg%3E")}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:21px;height:21px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Cpath d='M10.5 1.25c-5.11 0-9.25 4.15-9.25 9.25s4.15 9.25 9.25 9.25 9.25-4.15 9.25-9.25c0-5.11-4.14-9.25-9.25-9.25zm4.39 11.53c-1.93 1.93-4.78 2.31-6.7 2.31-.7 0-1.41-.05-2.1-.16 0 0-1.02-5.64 2.14-8.81a4.4 4.4 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42 1.84 1.84 1.89 4.75.14 6.52z' class='st0' opacity='.9' fill='%23fff'/%3E%3Cpath d='M10.5 0C4.7 0 0 4.71 0 10.5S4.7 21 10.5 21 21 16.3 21 10.5C20.99 4.71 16.3 0 10.5 0zm0 19.75c-5.11 0-9.25-4.15-9.25-9.25s4.14-9.26 9.25-9.26 9.25 4.15 9.25 9.25c0 5.13-4.14 9.26-9.25 9.26z' class='st1' opacity='.35'/%3E%3Cpath d='M14.74 6.26c-1.84-1.84-4.76-1.9-6.51-.15-3.16 3.17-2.14 8.81-2.14 8.81s5.64 1.02 8.81-2.14c1.74-1.77 1.69-4.68-.16-6.52zm-2.27 4.09l-.91 1.87-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9z' class='st1' opacity='.35'/%3E%3Cpath class='st0' opacity='.9' fill='%23fff' d='M11.56 12.22l-.9-1.87-1.86-.91 1.86-.9.9-1.87.91 1.87 1.86.9-1.86.91z'/%3E%3C/svg%3E")}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact:after{content:"";cursor:pointer;position:absolute;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' fill-rule='evenodd' d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;left:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{top:0;right:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}}.mapboxgl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-right:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;right:0;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-close-button{position:absolute;left:0;top:0;border:0;border-radius:3px 0 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-marker{position:absolute;top:0;right:0;will-change:transform}.mapboxgl-user-location-dot{box-shadow:0 0 2px rgba(0,0,0,.25)}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before{content:"";position:absolute;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:"";height:19px;right:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;right:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.js b/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.js deleted file mode 100644 index df6ab040..00000000 --- a/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{253:function(e,t,i){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function s(s,a){var r=[],n=0;if(s&&!a&&s instanceof i)return s;if(s)if("string"==typeof s){var o,l,d=s.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else for(o=a||"#"!==s[0]||s.match(/[ .<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else if(s.nodeType||s===t||s===e)r.push(s);else if(s.length>0&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return new i(r)}function a(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var a in e)this[s][a]=e[a],this[s].setAttribute(a,e[a]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var a=i.getAttribute("data-"+e);return a||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var a=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),s(t).is(r))n.apply(t,i);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(r)&&n.apply(a[o],i)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(a=(e=t)[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var h,p=a.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(h=0;h<p.length;h+=1){var v=p[h];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]),u.dom7LiveListeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,o)}else for(h=0;h<p.length;h+=1){var f=p[h];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:n,proxyListener:d}),u.addEventListener(f,d,o)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(s=(e=t)[0],r=e[1],n=e[2],a=void 0),n||(n=!1);for(var o=s.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],h=0;h<this.length;h+=1){var p=this[h],c=void 0;if(!a&&p.dom7Listeners?c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]),c&&c.length)for(var u=c.length-1;u>=0;u-=1){var v=c[u];r&&v.listener===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r||(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1))}}return this},trigger:function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];for(var a=i[0].split(" "),r=i[1],n=0;n<a.length;n+=1)for(var o=a[n],l=0;l<this.length;l+=1){var d=this[l],h=void 0;try{h=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(p){(h=e.createEvent("Event")).initEvent(o,!0,!0),h.detail=r}d.dom7EventData=i.filter((function(e,t){return t>0})),d.dispatchEvent(h),d.dom7EventData=[],delete d.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var i=this[0],s=i.getBoundingClientRect(),a=e.body,r=i.clientTop||a.clientTop||0,n=i.clientLeft||a.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:s.top+o-r,left:s.left+l-n}}return null},css:function(e,i){var s;if(1===arguments.length){if("string"!=typeof e){for(s=0;s<this.length;s+=1)for(var a in e)this[s].style[a]=e[a];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(s=0;s<this.length;s+=1)this[s].style[e]=i;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(a){var r,n,o=this[0];if(!o||void 0===a)return!1;if("string"==typeof a){if(o.matches)return o.matches(a);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(a);if(o.msMatchesSelector)return o.msMatchesSelector(a);for(r=s(a),n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}if(a===e)return o===e;if(a===t)return o===t;if(a.nodeType||a instanceof i){for(r=a.nodeType?[a]:a,n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,s=this.length;return new i(e>s-1?[]:e<0?(t=s+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,s=[],a=arguments.length;a--;)s[a]=arguments[a];for(var r=0;r<s.length;r+=1){t=s[r];for(var n=0;n<this.length;n+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[n].appendChild(o.firstChild)}else if(t instanceof i)for(var l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else this[n].appendChild(t)}return this},prepend:function(t){var s,a;for(s=0;s<this.length;s+=1)if("string"==typeof t){var r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[s].insertBefore(r.childNodes[a],this[s].childNodes[0])}else if(t instanceof i)for(a=0;a<t.length;a+=1)this[s].insertBefore(t[a],this[s].childNodes[0]);else this[s].insertBefore(t,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.nextElementSibling;){var r=a.nextElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])}return new i([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.previousElementSibling;){var r=a.previousElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?s(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return s(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)e?s(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return s(a(t))},closest:function(e){var t=this;return void 0===e?new i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],s=0;s<this.length;s+=1)for(var a=this[s].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return new i(t)},children:function(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&s(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return new i(a(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,a;for(i=0;i<e.length;i+=1){var r=s(e[i]);for(a=0;a<r.length;a+=1)this[this.length]=r[a],this.length+=1}return this},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach((function(e){s.fn[e]=s.fn[e]||r[e]}));var n,o,l,d={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(i){}try{delete t[e]}catch(i){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,i){var s,a,r;void 0===i&&(i="x");var n=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((a=n.transform||n.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new t.WebKitCSSMatrix("none"===a?"":a)):s=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(a=t.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===i&&(a=t.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),a||0},parseUrlQuery:function(e){var i,s,a,r,n={},o=e||t.location.href;if("string"==typeof o&&o.length)for(r=(s=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,i=0;i<r;i+=1)a=s[i].replace(/#\S+/g,"").split("="),n[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var a=e[s];if(null!=a)for(var r=Object.keys(Object(a)),n=0,o=r.length;n<o;n+=1){var l=r[n],h=Object.getOwnPropertyDescriptor(a,l);void 0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l])?d.extend(i[l],a[l]):!d.isObject(i[l])&&d.isObject(a[l])?(i[l]={},d.extend(i[l],a[l])):i[l]=a[l])}}return i}},h=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(o=l.style,"transition"in o||"webkitTransition"in o||"MozTransition"in o),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=l.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=l.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(s){}return e}(),gestures:"ongesturestart"in t}),p={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(n=t.navigator.userAgent.toLowerCase(),n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},c=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},u={components:{configurable:!0}};c.prototype.on=function(e,t,i){var s=this;if("function"!=typeof t)return s;var a=i?"unshift":"push";return e.split(" ").forEach((function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)})),s},c.prototype.once=function(e,t,i){var s=this;if("function"!=typeof t)return s;function a(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];t.apply(s,i),s.off(e,a),a.f7proxy&&delete a.f7proxy}return a.f7proxy=t,s.on(e,a,i)},c.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(s,a){(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a,1)}))})),i):i},c.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a=r):(i=e[0].events,s=e[0].data,a=e[0].context||r);var n=Array.isArray(i)?i:i.split(" ");return n.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(a,s)}))}})),r},c.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i];s.params&&d.extend(e,s.params)}))},c.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach((function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i})),s.on&&t.on&&Object.keys(s.on).forEach((function(e){t.on(e,s.on[e])})),s.create&&s.create.bind(t)(a)}))},u.components.set=function(e){this.use&&this.use(e)},c.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var a=e.name||Object.keys(s.prototype.modules).length+"_"+d.now();return s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(t){s.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){s[t]=e.static[t]})),e.install&&e.install.apply(s,t),s},c.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach((function(e){return s.installModule(e)})),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(c,u);var v={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),d.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,i=this.$wrapperEl,s=this.size,a=this.rtlTranslate,r=this.wrongRTL,n=this.virtual&&e.virtual.enabled,o=n?this.virtual.slides.length:this.slides.length,l=i.children("."+this.params.slideClass),c=n?this.virtual.slides.length:l.length,u=[],v=[],f=[],m=e.slidesOffsetBefore;"function"==typeof m&&(m=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var b=this.snapGrid.length,w=this.snapGrid.length,y=e.spaceBetween,x=-m,T=0,E=0;if(void 0!==s){var S,C;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*s),this.virtualSize=-y,a?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(S=Math.floor(c/e.slidesPerColumn)===c/this.params.slidesPerColumn?c:Math.ceil(c/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(S=Math.max(S,e.slidesPerView*e.slidesPerColumn)));for(var M,P=e.slidesPerColumn,k=S/P,z=Math.floor(c/e.slidesPerColumn),$=0;$<c;$+=1){C=0;var I=l.eq($);if(e.slidesPerColumn>1){var L=void 0,D=void 0,O=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)O=$-(D=Math.floor($/P))*P,(D>z||D===z&&O===P-1)&&(O+=1)>=P&&(O=0,D+=1);else{var A=Math.floor($/e.slidesPerGroup);D=$-(O=Math.floor($/e.slidesPerView)-A*e.slidesPerColumn)*e.slidesPerView-A*e.slidesPerView}L=D+O*S/P,I.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else D=$-(O=Math.floor($/k))*k;I.css("margin-"+(this.isHorizontal()?"top":"left"),0!==O&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",O)}if("none"!==I.css("display")){if("auto"===e.slidesPerView){var H=t.getComputedStyle(I[0],null),G=I[0].style.transform,N=I[0].style.webkitTransform;if(G&&(I[0].style.transform="none"),N&&(I[0].style.webkitTransform="none"),e.roundLengths)C=this.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(H.getPropertyValue("width")),X=parseFloat(H.getPropertyValue("padding-left")),V=parseFloat(H.getPropertyValue("padding-right")),Y=parseFloat(H.getPropertyValue("margin-left")),F=parseFloat(H.getPropertyValue("margin-right")),R=H.getPropertyValue("box-sizing");C=R&&"border-box"===R&&!p.isIE?B+Y+F:B+X+V+Y+F}else{var q=parseFloat(H.getPropertyValue("height")),W=parseFloat(H.getPropertyValue("padding-top")),j=parseFloat(H.getPropertyValue("padding-bottom")),U=parseFloat(H.getPropertyValue("margin-top")),K=parseFloat(H.getPropertyValue("margin-bottom")),_=H.getPropertyValue("box-sizing");C=_&&"border-box"===_&&!p.isIE?q+U+K:q+W+j+U+K}G&&(I[0].style.transform=G),N&&(I[0].style.webkitTransform=N),e.roundLengths&&(C=Math.floor(C))}else C=(s-(e.slidesPerView-1)*y)/e.slidesPerView,e.roundLengths&&(C=Math.floor(C)),l[$]&&(this.isHorizontal()?l[$].style.width=C+"px":l[$].style.height=C+"px");l[$]&&(l[$].swiperSlideSize=C),f.push(C),e.centeredSlides?(x=x+C/2+T/2+y,0===T&&0!==$&&(x=x-s/2-y),0===$&&(x=x-s/2-y),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),E%e.slidesPerGroup==0&&u.push(x),v.push(x)):(e.roundLengths&&(x=Math.floor(x)),E%e.slidesPerGroup==0&&u.push(x),v.push(x),x=x+C+y),this.virtualSize+=C+y,T=C,E+=1}}if(this.virtualSize=Math.max(this.virtualSize,s)+g,a&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),h.flexbox&&!e.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(C+e.spaceBetween)*S,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){M=[];for(var J=0;J<u.length;J+=1){var Z=u[J];e.roundLengths&&(Z=Math.floor(Z)),u[J]<this.virtualSize+u[0]&&M.push(Z)}u=M}if(!e.centeredSlides){M=[];for(var Q=0;Q<u.length;Q+=1){var ee=u[Q];e.roundLengths&&(ee=Math.floor(ee)),u[Q]<=this.virtualSize-s&&M.push(ee)}u=M,Math.floor(this.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(this.virtualSize-s)}if(0===u.length&&(u=[0]),0!==e.spaceBetween&&(this.isHorizontal()?a?l.css({marginLeft:y+"px"}):l.css({marginRight:y+"px"}):l.css({marginBottom:y+"px"})),e.centerInsufficientSlides){var te=0;if(f.forEach((function(t){te+=t+(e.spaceBetween?e.spaceBetween:0)})),(te-=e.spaceBetween)<s){var ie=(s-te)/2;u.forEach((function(e,t){u[t]=e-ie})),v.forEach((function(e,t){v[t]=e+ie}))}}d.extend(this,{slides:l,snapGrid:u,slidesGrid:v,slidesSizesGrid:f}),c!==o&&this.emit("slidesLengthChange"),u.length!==b&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),v.length!==w&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],s=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var a=this.activeIndex+t;if(a>this.slides.length)break;i.push(this.slides.eq(a)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;s=r>s?r:s}s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,a=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var r=-e;a&&(r=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(t.centeredSlides?this.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),h=d+this.slidesSizesGrid[n];(d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(n),i.eq(n).addClass(t.slideVisibleClass))}o.progress=a?-l:l}this.visibleSlides=s(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),s=this.progress,a=this.isBeginning,r=this.isEnd,n=a,o=r;0===i?(s=0,a=!0,r=!0):(a=(s=(e-this.minTranslate())/i)<=0,r=s>=1),d.extend(this,{progress:s,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),a&&!n&&this.emit("reachBeginning toEdge"),r&&!o&&this.emit("reachEnd toEdge"),(n&&!a||o&&!r)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,h=e;if(void 0===h){for(var p=0;p<s.length;p+=1)void 0!==s[p+1]?i>=s[p]&&i<s[p+1]-(s[p+1]-s[p])/2?h=p:i>=s[p]&&i<s[p+1]&&(h=p+1):i>=s[p]&&(h=p);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if((t=a.indexOf(i)>=0?a.indexOf(i):Math.floor(h/r.slidesPerGroup))>=a.length&&(t=a.length-1),h!==n){var c=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);d.extend(this,{snapIndex:t,realIndex:c,previousIndex:n,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==c&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=s(e.target).closest("."+t.slideClass)[0],a=!1;if(i)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(a=!0);if(!i||!a)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s(i).attr("data-swiper-slide-index"),10):this.clickedIndex=s(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},f={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;var r=d.getTranslate(a[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.progress,n=0,o=0;this.isHorizontal()?n=i?-e:e:o=e,s.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),s.virtualTranslate||(h.transforms3d?a.transform("translate3d("+n+"px, "+o+"px, 0px)"):a.transform("translate("+n+"px, "+o+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?n:o;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},m={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.params,a=this.previousIndex;s.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>a?"next":i<a?"prev":"reset"),this.emit("transitionStart"),e&&i!==a){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.previousIndex;this.animating=!1,this.setTransition(0);var a=t;if(a||(a=i>s?"next":i<s?"prev":"reset"),this.emit("transitionEnd"),e&&i!==s){if("reset"===a)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===a?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},g={slideTo:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,r=e;r<0&&(r=0);var n=a.params,o=a.snapGrid,l=a.slidesGrid,d=a.previousIndex,p=a.activeIndex,c=a.rtlTranslate;if(a.animating&&n.preventInteractionOnTransition)return!1;var u=Math.floor(r/n.slidesPerGroup);u>=o.length&&(u=o.length-1),(p||n.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");var v,f=-o[u];if(a.updateProgress(f),n.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*f)>=Math.floor(100*l[m])&&(r=m);if(a.initialized&&r!==p){if(!a.allowSlideNext&&f<a.translate&&f<a.minTranslate())return!1;if(!a.allowSlidePrev&&f>a.translate&&f>a.maxTranslate()&&(p||0)!==r)return!1}return v=r>p?"next":r<p?"prev":"reset",c&&-f===a.translate||!c&&f===a.translate?(a.updateActiveIndex(r),n.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==n.effect&&a.setTranslate(f),"reset"!==v&&(a.transitionStart(i,v),a.transitionEnd(i,v)),!1):(0!==t&&h.transition?(a.setTransition(t),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,v))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))):(a.setTransition(0),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.transitionEnd(i,v)),!0)},slideToLoop:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=e;return this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating;return s.loop?!a&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)):this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating,r=this.snapGrid,n=this.slidesGrid,o=this.rtlTranslate;if(s.loop){if(a)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,h=l(o?this.translate:-this.translate),p=r.map((function(e){return l(e)})),c=(n.map((function(e){return l(e)})),r[p.indexOf(h)],r[p.indexOf(h)-1]);return void 0!==c&&(d=n.indexOf(c))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.activeIndex,a=Math.floor(s/this.params.slidesPerGroup);if(a<this.snapGrid.length-1){var r=this.rtlTranslate?this.translate:-this.translate,n=this.snapGrid[a];r-n>(this.snapGrid[a+1]-n)/2&&(s=this.params.slidesPerGroup)}return this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(n)}))):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(n)}))):t.slideTo(n)}else t.slideTo(n)}},b={loopCreate:function(){var t=this,i=t.params,a=t.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var r=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var o=0;o<n;o+=1){var l=s(e.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}r=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var d=[],h=[];r.each((function(e,i){var a=s(i);e<t.loopedSlides&&h.push(i),e<r.length&&e>=r.length-t.loopedSlides&&d.push(i),a.attr("data-swiper-slide-index",e)}));for(var p=0;p<h.length;p+=1)a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var c=d.length-1;c>=0;c-=1)a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e,t=this.params,i=this.activeIndex,s=this.slides,a=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var d=-o[i]-this.getTranslate();i<a?(e=s.length-3*a+i,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)):("auto"===t.slidesPerView&&i>=2*a||i>=s.length-a)&&(e=-s.length+i+a,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)),this.allowSlidePrev=r,this.allowSlideNext=n},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},w={setGrabCursor:function(e){if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},y={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var a=s+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,s=this.params,a=this.activeIndex;s.loop&&(a-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+s.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var n=a>e?a+1:a,o=[],l=r-1;l>=e;l-=1){var d=this.slides.eq(l);d.remove(),o.unshift(d)}if("object"==typeof t&&"length"in t){for(var p=0;p<t.length;p+=1)t[p]&&i.append(t[p]);n=a>e?a+t.length:a}else i.append(t);for(var c=0;c<o.length;c+=1)i.append(o[c]);s.loop&&this.loopCreate(),s.observer&&h.observer||this.update(),s.loop?this.slideTo(n+this.loopedSlides,0,!1):this.slideTo(n,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var a,r=s;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)a=e[n],this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1);r=Math.max(r,0)}else a=e,this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},x=function(){var i=t.navigator.userAgent,s={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},a=i.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),r=i.match(/(Android);?[\s\/]+([\d.]+)?/),n=i.match(/(iPad).*OS\s([\d_]+)/),o=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!n&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(s.os="windows",s.osVersion=a[2],s.windows=!0),r&&!a&&(s.os="android",s.osVersion=r[2],s.android=!0,s.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(n||l||o)&&(s.os="ios",s.ios=!0),l&&!o&&(s.osVersion=l[2].replace(/_/g,"."),s.iphone=!0),n&&(s.osVersion=n[2].replace(/_/g,"."),s.ipad=!0),o&&(s.osVersion=o[3]?o[3].replace(/_/g,"."):null,s.iphone=!0),s.ios&&s.osVersion&&i.indexOf("Version/")>=0&&"10"===s.osVersion.split(".")[0]&&(s.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),s.desktop=!(s.os||s.android||s.webView),s.webView=(l||n||o)&&i.match(/.*AppleWebKit(?!.*Safari)/i),s.os&&"ios"===s.os){var d=s.osVersion.split("."),h=e.querySelector('meta[name="viewport"]');s.minimalUi=!s.webView&&(o||l)&&(1*d[0]==7?1*d[1]>=1:1*d[0]>7)&&h&&h.getAttribute("content").indexOf("minimal-ui")>=0}return s.pixelRatio=t.devicePixelRatio||1,s}();function T(i){var a=this.touchEventsData,r=this.params,n=this.touches;if(!this.animating||!r.preventInteractionOnTransition){var o=i;if(o.originalEvent&&(o=o.originalEvent),a.isTouchEvent="touchstart"===o.type,(a.isTouchEvent||!("which"in o)||3!==o.which)&&!(!a.isTouchEvent&&"button"in o&&o.button>0||a.isTouched&&a.isMoved))if(r.noSwiping&&s(o.target).closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else if(!r.swipeHandler||s(o).closest(r.swipeHandler)[0]){n.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,n.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;var l=n.currentX,h=n.currentY,p=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,c=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!p||!(l<=c||l>=t.screen.width-c)){if(d.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=l,n.startY=h,a.touchStartTime=d.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==o.type){var u=!0;s(o.target).is(a.formElements)&&(u=!1),e.activeElement&&s(e.activeElement).is(a.formElements)&&e.activeElement!==o.target&&e.activeElement.blur();var v=u&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||v)&&o.preventDefault()}this.emit("touchStart",o)}}}}function E(t){var i=this.touchEventsData,a=this.params,r=this.touches,n=this.rtlTranslate,o=t;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==o.type){var l="touchmove"===o.type?o.targetTouches[0].pageX:o.pageX,h="touchmove"===o.type?o.targetTouches[0].pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=l,void(r.startY=h);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(d.extend(r,{startX:l,startY:h,currentX:l,currentY:h}),i.touchStartTime=d.now()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(this.isVertical()){if(h<r.startY&&this.translate<=this.maxTranslate()||h>r.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<r.startX&&this.translate<=this.maxTranslate()||l>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&o.target===e.activeElement&&s(o.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=l,r.currentY=h;var p,c=r.currentX-r.startX,u=r.currentY-r.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(u,2))<this.params.threshold))if(void 0===i.isScrolling&&(this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:c*c+u*u>=25&&(p=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=this.isHorizontal()?p>a.touchAngle:90-p>a.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",o),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,o.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&o.stopPropagation(),i.isMoved||(a.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!a.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",o)),this.emit("sliderMove",o),i.isMoved=!0;var v=this.isHorizontal()?c:u;r.diff=v,v*=a.touchRatio,n&&(v=-v),this.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var f=!0,m=a.resistanceRatio;if(a.touchReleaseOnEdges&&(m=0),v>0&&i.currentTranslate>this.minTranslate()?(f=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+v,m))):v<0&&i.currentTranslate<this.maxTranslate()&&(f=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-v,m))),f&&(o.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:d.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",o)}function S(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=d.now(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap",h),u<300&&c-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=d.nextTick((function(){t&&!t.destroyed&&t.emit("click",h)}),300)),u<300&&c-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",h))),i.lastClickTime=d.now(),d.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,s.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),f=i.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(g>150||d.now()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var b=1e3*s.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var x,T,E=!1,S=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),x=t.maxTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.maxTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(s.freeModeSticky){for(var C,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(T&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&E?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(x),n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,k=t.slidesSizesGrid[0],z=0;z<o.length;z+=s.slidesPerGroup)void 0!==o[z+s.slidesPerGroup]?p>=o[z]&&p<o[z+s.slidesPerGroup]&&(P=z,k=o[z+s.slidesPerGroup]-o[z]):p>=o[z]&&(P=z,k=o[o.length-1]-o[o.length-2]);var $=(p-o[P])/k;if(u>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&($>=s.longSwipesRatio?t.slideTo(P+s.slidesPerGroup):t.slideTo(P)),"prev"===t.swipeDirection&&($>1-s.longSwipesRatio?t.slideTo(P+s.slidesPerGroup):t.slideTo(P))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(P+s.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(P)}}}function C(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var r=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(r),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function M(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var P={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},k={update:v,translate:f,transition:m,slide:g,loop:b,grabCursor:w,manipulation:y,events:{attachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl;this.onTouchStart=T.bind(this),this.onTouchMove=E.bind(this),this.onTouchEnd=S.bind(this),this.onClick=M.bind(this);var r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var o=!("touchstart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(i.start,this.onTouchStart,o),r.addEventListener(i.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!h.touch&&x.ios)&&(r.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,n),e.addEventListener("mouseup",this.onTouchEnd,!1))}else r.addEventListener(i.start,this.onTouchStart,!1),e.addEventListener(i.move,this.onTouchMove,n),e.addEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",this.onClick,!0),this.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C,!0)},detachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl,r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var o=!("onTouchStart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(i.start,this.onTouchStart,o),r.removeEventListener(i.move,this.onTouchMove,n),r.removeEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!h.touch&&x.ios)&&(r.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,n),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else r.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,n),e.removeEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",this.onClick,!0),this.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var s=this.params,a=s.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var r=this.getBreakpoint(a);if(r&&this.currentBreakpoint!==r){var n=r in a?a[r]:void 0;n&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=n[e];void 0!==t&&(n[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var o=n||this.originalParams,l=o.direction&&o.direction!==s.direction,h=s.loop&&(o.slidesPerView!==s.slidesPerView||l);l&&t&&this.changeDirection(),d.extend(this.params,o),d.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=r,h&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",o)}}},getBreakpoint:function(e){if(e){var i=!1,s=[];Object.keys(e).forEach((function(e){s.push(e)})),s.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var a=0;a<s.length;a+=1){var r=s[a];this.params.breakpointsInverse?r<=t.innerWidth&&(i=r):r>=t.innerWidth&&!i&&(i=r)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),h.flexbox||a.push("no-flexbox"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&a.push("multirow"),x.android&&a.push("android"),x.ios&&a.push("ios"),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&a.push("wp8-"+t.direction),a.forEach((function(i){e.push(t.containerModifierClass+i)})),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,i,s,a,r,n){var o;function l(){n&&n()}e.complete&&r?l():i?((o=new t.Image).onload=l,o.onerror=l,a&&(o.sizes=a),s&&(o.srcset=s),i&&(o.src=i)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},z={},$=function(e){function t(){for(var i,a,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];1===n.length&&n[0].constructor&&n[0].constructor===Object?r=n[0]:(a=(i=n)[0],r=i[1]),r||(r={}),r=d.extend({},r),a&&!r.el&&(r.el=a),e.call(this,r),Object.keys(k).forEach((function(e){Object.keys(k[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=k[e][i])}))}));var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(!(i in r&&"enabled"in s))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}}));var p=d.extend({},P);l.useModulesParams(p),l.params=d.extend({},p,z,r),l.originalParams=d.extend({},l.params),l.passedParams=d.extend({},r),l.$=s;var c=s(l.params.el);if(a=c[0]){if(c.length>1){var u=[];return c.each((function(e,i){var s=d.extend({},r,{el:i});u.push(new t(s))})),u}a.swiper=l,c.data("swiper",l);var v,f,m=c.children("."+l.params.wrapperClass);return d.extend(l,{$el:c,el:a,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:s(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(v=["touchstart","touchmove","touchend"],f=["mousedown","mousemove","mouseup"],h.pointerEvents?f=["pointerdown","pointermove","pointerup"]:h.prefixedPointerEvents&&(f=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:v[0],move:v[1],end:v[2]},l.touchEventsDesktop={start:f[0],move:f[1],end:f[2]},h.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:d.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else for(var h=a+1;h<t.length;h+=1)i[h]-i[a]<s&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+i+" wp8-"+i).addClass(""+this.params.containerModifierClass+e),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),this.emit("changeDirection"),t&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;return void 0===i.params||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),d.deleteProps(i)),i.destroyed=!0,null)},t.extendDefaults=function(e){d.extend(z,e)},i.extendedDefaults.get=function(){return z},i.defaults.get=function(){return P},i.Class.get=function(){return e},i.$.get=function(){return s},Object.defineProperties(t,i),t}(c),I={name:"device",proto:{device:x},static:{device:x}},L={name:"support",proto:{support:h},static:{support:h}},D={name:"browser",proto:{browser:p},static:{browser:p}},O={name:"resize",create:function(){var e=this;d.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},A={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,i){void 0===i&&(i={});var s=this,a=new(0,A.func)((function(e){if(1!==e.length){var i=function(){s.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(i):t.setTimeout(i,0)}else s.emit("observerUpdate",e[0])}));a.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.observer.observers.push(a)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},H={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){d.extend(this,{observer:{init:A.init.bind(this),attach:A.attach.bind(this),destroy:A.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},G={update:function(e){var t=this,i=t.params,s=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,h=t.virtual,p=h.from,c=h.to,u=h.slides,v=h.slidesGrid,f=h.renderSlide,m=h.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(b=Math.floor(s/2)+a+o,w=Math.floor(s/2)+a+l):(b=s+(a-1)+o,w=a+l);var x=Math.max((y||0)-w,0),T=Math.min((y||0)+b,u.length-1),E=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(d.extend(t.virtual,{from:x,to:T,offset:E,slidesGrid:t.slidesGrid}),p===x&&c===T&&!e)return t.slidesGrid!==v&&E!==m&&t.slides.css(g,E+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:E,from:x,to:T,slides:function(){for(var e=[],t=x;t<=T;t+=1)e.push(u[t]);return e}()}),void S();var C=[],M=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=p;P<=c;P+=1)(P<x||P>T)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var k=0;k<u.length;k+=1)k>=x&&k<=T&&(void 0===c||e?M.push(k):(k>c&&M.push(k),k<p&&C.push(k)));M.forEach((function(e){t.$wrapperEl.append(f(u[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(f(u[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,E+"px"),S()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var a=i.renderSlide?s(i.renderSlide.call(this,e,t)):s('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=a),a},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,s=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&this.virtual.slides.unshift(e[a]);i=t+e.length,s=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,n={};Object.keys(r).forEach((function(e){n[parseInt(e,10)+s]=r[e]})),this.virtual.cache=n}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},N={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){d.extend(this,{virtual:{update:G.update.bind(this),appendSlide:G.appendSlide.bind(this),prependSlide:G.prependSlide.bind(this),removeSlide:G.removeSlide.bind(this),removeAllSlides:G.removeAllSlides.bind(this),renderSlide:G.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};d.extend(this.params,e),d.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},B={handle:function(i){var s=this.rtlTranslate,a=i;a.originalEvent&&(a=a.originalEvent);var r=a.keyCode||a.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r||34===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r||33===r))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===r||34===r||37===r||39===r||38===r||40===r)){var n=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var o=t.innerWidth,l=t.innerHeight,d=this.$el.offset();s&&(d.left-=this.$el[0].scrollLeft);for(var h=[[d.left,d.top],[d.left+this.width,d.top],[d.left,d.top+this.height],[d.left+this.width,d.top+this.height]],p=0;p<h.length;p+=1){var c=h[p];c[0]>=0&&c[0]<=o&&c[1]>=0&&c[1]<=l&&(n=!0)}if(!n)return}this.isHorizontal()?(33!==r&&34!==r&&37!==r&&39!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==r&&39!==r||s)&&(33!==r&&37!==r||!s)||this.slideNext(),(33!==r&&37!==r||s)&&(34!==r&&39!==r||!s)||this.slidePrev()):(33!==r&&34!==r&&38!==r&&40!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==r&&40!==r||this.slideNext(),33!==r&&38!==r||this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(s(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(s(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},X={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){d.extend(this,{keyboard:{enabled:!1,enable:B.enable.bind(this),disable:B.disable.bind(this),handle:B.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},V={lastScrollTime:d.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var i=e.createElement("div");i.setAttribute("onwheel","return;"),t="function"==typeof i.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var i=e,s=this,a=s.params.mousewheel;if(!s.mouseEntered&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var r=0,n=s.rtlTranslate?-1:1,o=V.normalize(i);if(a.forceToAxis)if(s.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(a.invert&&(r=-r),s.params.freeMode){s.params.loop&&s.loopFix();var l=s.getTranslate()+r*a.sensitivity,h=s.isBeginning,p=s.isEnd;if(l>=s.minTranslate()&&(l=s.minTranslate()),l<=s.maxTranslate()&&(l=s.maxTranslate()),s.setTransition(0),s.setTranslate(l),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!h&&s.isBeginning||!p&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeModeSticky&&(clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=d.nextTick((function(){s.slideToClosest()}),300)),s.emit("scroll",i),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.autoplay.stop(),l===s.minTranslate()||l===s.maxTranslate())return!0}else{if(d.now()-s.mousewheel.lastScrollTime>60)if(r<0)if(s.isEnd&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slideNext(),s.emit("scroll",i);else if(s.isBeginning&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slidePrev(),s.emit("scroll",i);s.mousewheel.lastScrollTime=(new t.Date).getTime()}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1},enable:function(){if(!V.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(V.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!V.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.off(V.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},Y={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,s=t.$prevEl;s&&s.length>0&&(this.isBeginning?s.addClass(e.disabledClass):s.removeClass(e.disabledClass),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=s(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=s(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),d.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},F={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,a=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n=this.params.loop?Math.ceil((a-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>a-1-2*this.loopedSlides&&(i-=a-2*this.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==this.params.paginationType&&(i=n+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,l,d,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(h.length,t.dynamicMainBullets)-1))+o)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),r.length>1)h.each((function(e,a){var r=s(a),n=r.index();n===i&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(n>=o&&n<=l&&r.addClass(t.bulletActiveClass+"-main"),n===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),n===l&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(h.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var p=h.eq(o),c=h.eq(l),u=o;u<=l;u+=1)h.eq(u).addClass(t.bulletActiveClass+"-main");p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),c.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var v=Math.min(h.length,t.dynamicMainBullets+4),f=(this.pagination.bulletSize*v-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,m=e?"right":"left";h.css(this.isHorizontal()?m:"top",f+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(n))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var b=(i+1)/n,w=1,y=1;"horizontal"===g?w=b:y=b,r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+y+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,n)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,s="";if("bullets"===e.type){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<a;r+=1)e.renderBullet?s+=e.renderBullet.call(this,r,e.bulletClass):s+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(s)),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(s)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=s(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=s(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),d.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},R={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(h.transforms3d?r.transform("translate3d("+d+"px, 0, 0)"):r.transform("translateX("+d+"px)"),r[0].style.width=l+"px"):(h.transforms3d?r.transform("translate3d(0px, "+d+"px, 0)"):r.transform("translateY("+d+"px)"),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){n[0].style.opacity=0,n.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),d.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=d.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.addEventListener(i.start,this.scrollbar.onDragStart,n),r.addEventListener(i.move,this.scrollbar.onDragMove,n),r.addEventListener(i.end,this.scrollbar.onDragEnd,o)):(r.addEventListener(s.start,this.scrollbar.onDragStart,n),e.addEventListener(s.move,this.scrollbar.onDragMove,n),e.addEventListener(s.end,this.scrollbar.onDragEnd,o))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.removeEventListener(i.start,this.scrollbar.onDragStart,n),r.removeEventListener(i.move,this.scrollbar.onDragMove,n),r.removeEventListener(i.end,this.scrollbar.onDragEnd,o)):(r.removeEventListener(s.start,this.scrollbar.onDragStart,n),e.removeEventListener(s.move,this.scrollbar.onDragMove,n),e.removeEventListener(s.end,this.scrollbar.onDragEnd,o))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,a=s(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===t.find(i.el).length&&(a=t.find(i.el));var r=a.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=s('<div class="'+this.params.scrollbar.dragClass+'"></div>'),a.append(r)),d.extend(e,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},q={setTransform:function(e,t){var i=this.rtl,a=s(e),r=i?-1:1,n=a.attr("data-swiper-parallax")||"0",o=a.attr("data-swiper-parallax-x"),l=a.attr("data-swiper-parallax-y"),d=a.attr("data-swiper-parallax-scale"),h=a.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=n,l="0"):(l=n,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=h){var p=h-(h-1)*(1-Math.abs(t));a[0].style.opacity=p}if(null==d)a.transform("translate3d("+o+", "+l+", 0px)");else{var c=d-(d-1)*(1-Math.abs(t));a.transform("translate3d("+o+", "+l+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,a=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,a)})),i.each((function(t,i){var n=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),s(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,n)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){var a=s(i),r=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),a.transition(r)}))}},W={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,a=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=W.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=s(e.target).closest(".swiper-slide"),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent("."+t.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=W.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(h.gestures?i.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(x.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,s=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=d.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=d.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var r=s.width*t.scale,n=s.height*t.scale;if(!(r<i.slideWidth&&n<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-r/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-n/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=s.x*a,o=i.currentX+n,l=s.y*r,d=i.currentY+l;0!==s.x&&(a=Math.abs((o-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((d-i.currentY)/s.y));var h=Math.max(a,r);i.currentX=o,i.currentY=d;var p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,a,r,n,o,l,d,h,p,c,u,v,f,m,g,b=this.zoom,w=this.params.zoom,y=b.gesture,x=b.image;y.$slideEl||(y.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length&&(y.$slideEl.addClass(""+w.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,i=x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(m=y.$slideEl[0].offsetWidth,g=y.$slideEl[0].offsetHeight,a=y.$slideEl.offset().left+m/2-t,r=y.$slideEl.offset().top+g/2-i,l=y.$imageEl[0].offsetWidth,d=y.$imageEl[0].offsetHeight,h=l*b.scale,p=d*b.scale,v=-(c=Math.min(m/2-h/2,0)),f=-(u=Math.min(g/2-p/2,0)),(n=a*b.scale)<c&&(n=c),n>v&&(n=v),(o=r*b.scale)<u&&(o=u),o>f&&(o=f)):(n=0,o=0),y.$imageWrapEl.transition(300).transform("translate3d("+n+"px, "+o+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},j={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),n=r.find("."+a.elementClass+":not(."+a.loadedClass+"):not(."+a.loadingClass+")");!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(n=n.add(r[0])),0!==n.length&&n.each((function(e,n){var o=s(n);o.addClass(a.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),h=o.attr("data-srcset"),p=o.attr("data-sizes");i.loadImage(o[0],d||l,h,p,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(h&&(o.attr("srcset",h),o.removeAttr("data-srcset")),p&&(o.attr("sizes",p),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(a.loadedClass).removeClass(a.loadingClass),r.find("."+a.preloaderClass).remove(),i.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var s=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(s.index(),!1)}else{var n=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(n.index(),!1)}}i.emit("lazyImageReady",r[0],o[0])}})),i.emit("lazyImageLoad",r[0],o[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides,r=e.activeIndex,n=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function d(e){if(n){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(a[e])return!0;return!1}function h(e){return n?s(e).attr("data-swiper-slide-index"):s(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var a=n?s(i).attr("data-swiper-slide-index"):s(i).index();e.lazy.loadInSlide(a)}));else if(l>1)for(var p=r;p<r+l;p+=1)d(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,u=l,v=Math.min(r+u+Math.max(c,u),a.length),f=Math.max(r-Math.max(u,c),0),m=r+l;m<v;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var g=f;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{var b=t.children("."+i.slideNextClass);b.length>0&&e.lazy.loadInSlide(h(b));var w=t.children("."+i.slidePrevClass);w.length>0&&e.lazy.loadInSlide(h(w))}}},U={LinearSpline:function(e,t){var i,s,a,r,n,o=function(e,t){for(s=-1,i=e.length;i-s>1;)e[a=i+s>>1]<=t?s=a:i=a;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new U.LinearSpline(this.slidesGrid,e.slidesGrid):new U.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,a=this,r=a.controller.control;function n(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),s=-a.controller.spline.interpolate(-t)),s&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof $&&n(r[o]);else r instanceof $&&t!==r&&n(r)},setTransition:function(e,t){var i,s=this,a=s.controller.control;function r(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.params.autoHeight&&d.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof $&&r(a[i]);else a instanceof $&&t!==a&&r(a)}},K={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){d.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:U.getInterpolateFunction.bind(this),setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},_={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=s(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i,a){var r=s(a);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},J={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=J.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=J.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){if(this.history.initialized&&this.params.history.enabled){var s=this.slides.eq(i),a=J.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(a=e+"/"+a);var r=t.history.state;r&&r.value===a||(this.params.history.replaceState?t.history.replaceState({value:a},null,a):t.history.pushState({value:a},null,a))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,a=this.slides.length;s<a;s+=1){var r=this.slides.eq(s);if(J.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var n=r.index();this.slideTo(n,e,i)}}else this.slideTo(0,e,i)}},Z={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var i=this.slides.eq(this.activeIndex),s=i.attr("data-hash")||i.attr("data-history");e.location.hash=s||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var a=0,r=this.slides.length;a<r;a+=1){var n=this.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===i&&!n.hasClass(this.params.slideDuplicateClass)){var o=n.index();this.slideTo(o,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&s(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&s(t).off("hashchange",this.hashNavigation.onHashCange)}},Q={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=d.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ee={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var a=0;this.isHorizontal()||(a=s,s=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+s+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,s=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var a=!1;i.transitionEnd((function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},te={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,a=this.slides,r=this.width,n=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,h=this.isHorizontal(),c=this.virtual&&this.params.virtual.enabled,u=0;d.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var v=0;v<a.length;v+=1){var f=a.eq(v),m=v;c&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,b=Math.floor(g/360);o&&(g=-g,b=Math.floor(-g/360));var w=Math.max(Math.min(f[0].progress,1),-1),y=0,x=0,T=0;m%4==0?(y=4*-b*l,T=0):(m-1)%4==0?(y=0,T=4*-b*l):(m-2)%4==0?(y=l+4*b*l,T=l):(m-3)%4==0&&(y=-l,T=3*l+4*l*b),o&&(y=-y),h||(x=y,y=0);var E="rotateX("+(h?0:-g)+"deg) rotateY("+(h?g:0)+"deg) translate3d("+y+"px, "+x+"px, "+T+"px)";if(w<=1&&w>-1&&(u=90*m+90*w,o&&(u=90*-m-90*w)),f.transform(E),d.slideShadows){var S=h?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=h?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=Math.max(-w,0)),C.length&&(C[0].style.opacity=Math.max(w,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(h)e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var M=Math.abs(u)-90*Math.floor(Math.abs(u)/90),P=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),k=d.shadowScale,z=d.shadowScale/P,$=d.shadowOffset;e.transform("scale3d("+k+", 1, "+z+") translate3d(0px, "+(n/2+$)+"px, "+-n/2/z+"px) rotateX(-90deg)")}var I=p.isSafari||p.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+I+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ie={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var a=e.eq(i),r=a[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,1),-1));var n=-180*r,o=0,l=-a[0].swiperSlideOffset,d=0;if(this.isHorizontal()?t&&(n=-n):(d=l,l=0,o=-n,n=0),a[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var h=this.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),p=this.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===h.length&&(h=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),a.append(h)),0===p.length&&(p=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),a.append(p)),h.length&&(h[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(s).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}}))}}},se={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,a=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,o=this.isHorizontal(),l=this.translate,d=o?e/2-l:t/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,v=i.length;u<v;u+=1){var f=i.eq(u),m=r[u],g=(d-f[0].swiperSlideOffset-m/2)/m*n.modifier,b=o?p*g:0,w=o?0:p*g,y=-c*Math.abs(g),x=o?0:n.stretch*g,T=o?n.stretch*g:0;Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0);var E="translate3d("+T+"px,"+x+"px,"+y+"px) rotateX("+w+"deg) rotateY("+b+"deg)";if(f.transform(E),f[0].style.zIndex=1-Math.abs(Math.round(g)),n.slideShadows){var S=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=g>0?g:0),C.length&&(C[0].style.opacity=-g>0?-g:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=d+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ae={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,d.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):d.isObject(e.swiper)&&(this.thumbs.swiper=new t(d.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&s(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var a;if(a=e.params.loop?parseInt(s(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var n=this.slides.eq(r).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index();a=void 0===n?o:void 0===o?n:o-r<r-n?o:n}this.slideTo(a)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var s,a=t.activeIndex;if(t.params.loop){t.slides.eq(a).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,a=t.activeIndex);var r=t.slides.eq(a).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),n=t.slides.eq(a).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();s=void 0===r?n:void 0===n?r:n-a==a-r?a:n-a<a-r?n:r}else s=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(s)<0&&(t.params.centeredSlides?s=s>a?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>a&&(s=s-i+1),t.slideTo(s,e?0:void 0))}var o=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),t.slides.removeClass(l),t.params.loop||t.params.virtual)for(var d=0;d<o;d+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+d)+'"]').addClass(l);else for(var h=0;h<o;h+=1)t.slides.eq(this.realIndex+h).addClass(l)}}},re=[I,L,D,O,H,N,X,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){d.extend(this,{mousewheel:{enabled:!1,enable:V.enable.bind(this),disable:V.disable.bind(this),handle:V.handle.bind(this),handleMouseEnter:V.handleMouseEnter.bind(this),handleMouseLeave:V.handleMouseLeave.bind(this),lastScrollTime:d.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){d.extend(this,{navigation:{init:Y.init.bind(this),update:Y.update.bind(this),destroy:Y.destroy.bind(this),onNextClick:Y.onNextClick.bind(this),onPrevClick:Y.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,a=i.$nextEl,r=i.$prevEl;!this.params.navigation.hideOnClick||s(e.target).is(r)||s(e.target).is(a)||(a?t=a.hasClass(this.params.navigation.hiddenClass):r&&(t=r.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),a&&a.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){d.extend(this,{pagination:{init:F.init.bind(this),render:F.render.bind(this),update:F.update.bind(this),destroy:F.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!s(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){d.extend(this,{scrollbar:{init:R.init.bind(this),destroy:R.destroy.bind(this),updateSize:R.updateSize.bind(this),setTranslate:R.setTranslate.bind(this),setTransition:R.setTransition.bind(this),enableDraggable:R.enableDraggable.bind(this),disableDraggable:R.disableDraggable.bind(this),setDragPosition:R.setDragPosition.bind(this),getPointerPosition:R.getPointerPosition.bind(this),onDragStart:R.onDragStart.bind(this),onDragMove:R.onDragMove.bind(this),onDragEnd:R.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){d.extend(this,{parallax:{setTransform:q.setTransform.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=W[i].bind(e)})),d.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var s=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,s,a)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){d.extend(this,{lazy:{initialImageLoaded:!1,load:j.load.bind(this),loadInSlide:j.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},K,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;d.extend(e,{a11y:{liveRegion:s('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(_).forEach((function(t){e.a11y[t]=_[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){d.extend(this,{history:{init:J.init.bind(this),setHistory:J.setHistory.bind(this),setHistoryPopState:J.setHistoryPopState.bind(this),scrollToSlide:J.scrollToSlide.bind(this),destroy:J.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){d.extend(this,{hashNavigation:{initialized:!1,init:Z.init.bind(this),destroy:Z.destroy.bind(this),setHash:Z.setHash.bind(this),onHashCange:Z.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;d.extend(e,{autoplay:{running:!1,paused:!1,run:Q.run.bind(e),start:Q.start.bind(e),stop:Q.stop.bind(e),pause:Q.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){d.extend(this,{thumbs:{swiper:null,init:ae.init.bind(this),update:ae.update.bind(this),onThumbClick:ae.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===$.use&&($.use=$.Class.use,$.installModule=$.Class.installModule),$.use(re),$}()},254:function(e,t,i){}}]);
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.css b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.css index 9d0aebeb..9d0aebeb 100644 --- a/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.css +++ b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.css diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js new file mode 100644 index 00000000..79ce6969 --- /dev/null +++ b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{266:function(e,t,i){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function s(s,a){var r=[],n=0;if(s&&!a&&s instanceof i)return s;if(s)if("string"==typeof s){var o,l,d=s.trim();if(d.indexOf("<")>=0&&d.indexOf(">")>=0){var h="div";for(0===d.indexOf("<li")&&(h="ul"),0===d.indexOf("<tr")&&(h="tbody"),0!==d.indexOf("<td")&&0!==d.indexOf("<th")||(h="tr"),0===d.indexOf("<tbody")&&(h="table"),0===d.indexOf("<option")&&(h="select"),(l=e.createElement(h)).innerHTML=d,n=0;n<l.childNodes.length;n+=1)r.push(l.childNodes[n])}else for(o=a||"#"!==s[0]||s.match(/[ .<>:~]/)?(a||e).querySelectorAll(s.trim()):[e.getElementById(s.trim().split("#")[1])],n=0;n<o.length;n+=1)o[n]&&r.push(o[n])}else if(s.nodeType||s===t||s===e)r.push(s);else if(s.length>0&&s[0].nodeType)for(n=0;n<s.length;n+=1)r.push(s[n]);return new i(r)}function a(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}s.fn=i.prototype,s.Class=i,s.Dom7=i;var r={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s]&&void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var a in e)this[s][a]=e[a],this[s].setAttribute(a,e[a]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var a=i.getAttribute("data-"+e);return a||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var a=t[0],r=t[1],n=t[2],o=t[3];function l(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),s(t).is(r))n.apply(t,i);else for(var a=s(t).parents(),o=0;o<a.length;o+=1)s(a[o]).is(r)&&n.apply(a[o],i)}}function d(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof t[1]&&(a=(e=t)[0],n=e[1],o=e[2],r=void 0),o||(o=!1);for(var h,p=a.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(r)for(h=0;h<p.length;h+=1){var v=p[h];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[v]||(u.dom7LiveListeners[v]=[]),u.dom7LiveListeners[v].push({listener:n,proxyListener:l}),u.addEventListener(v,l,o)}else for(h=0;h<p.length;h+=1){var f=p[h];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:n,proxyListener:d}),u.addEventListener(f,d,o)}}return this},off:function(){for(var e,t=[],i=arguments.length;i--;)t[i]=arguments[i];var s=t[0],a=t[1],r=t[2],n=t[3];"function"==typeof t[1]&&(s=(e=t)[0],r=e[1],n=e[2],a=void 0),n||(n=!1);for(var o=s.split(" "),l=0;l<o.length;l+=1)for(var d=o[l],h=0;h<this.length;h+=1){var p=this[h],c=void 0;if(!a&&p.dom7Listeners?c=p.dom7Listeners[d]:a&&p.dom7LiveListeners&&(c=p.dom7LiveListeners[d]),c&&c.length)for(var u=c.length-1;u>=0;u-=1){var v=c[u];r&&v.listener===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r&&v.listener&&v.listener.dom7proxy&&v.listener.dom7proxy===r?(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1)):r||(p.removeEventListener(d,v.proxyListener,n),c.splice(u,1))}}return this},trigger:function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];for(var a=i[0].split(" "),r=i[1],n=0;n<a.length;n+=1)for(var o=a[n],l=0;l<this.length;l+=1){var d=this[l],h=void 0;try{h=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0})}catch(p){(h=e.createEvent("Event")).initEvent(o,!0,!0),h.detail=r}d.dom7EventData=i.filter((function(e,t){return t>0})),d.dispatchEvent(h),d.dom7EventData=[],delete d.dom7EventData}return this},transitionEnd:function(e){var t,i=["webkitTransitionEnd","transitionend"],s=this;function a(r){if(r.target===this)for(e.call(this,r),t=0;t<i.length;t+=1)s.off(i[t],a)}if(e)for(t=0;t<i.length;t+=1)s.on(i[t],a);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var i=this[0],s=i.getBoundingClientRect(),a=e.body,r=i.clientTop||a.clientTop||0,n=i.clientLeft||a.clientLeft||0,o=i===t?t.scrollY:i.scrollTop,l=i===t?t.scrollX:i.scrollLeft;return{top:s.top+o-r,left:s.left+l-n}}return null},css:function(e,i){var s;if(1===arguments.length){if("string"!=typeof e){for(s=0;s<this.length;s+=1)for(var a in e)this[s].style[a]=e[a];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(s=0;s<this.length;s+=1)this[s].style[e]=i;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(a){var r,n,o=this[0];if(!o||void 0===a)return!1;if("string"==typeof a){if(o.matches)return o.matches(a);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(a);if(o.msMatchesSelector)return o.msMatchesSelector(a);for(r=s(a),n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}if(a===e)return o===e;if(a===t)return o===t;if(a.nodeType||a instanceof i){for(r=a.nodeType?[a]:a,n=0;n<r.length;n+=1)if(r[n]===o)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,s=this.length;return new i(e>s-1?[]:e<0?(t=s+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,s=[],a=arguments.length;a--;)s[a]=arguments[a];for(var r=0;r<s.length;r+=1){t=s[r];for(var n=0;n<this.length;n+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[n].appendChild(o.firstChild)}else if(t instanceof i)for(var l=0;l<t.length;l+=1)this[n].appendChild(t[l]);else this[n].appendChild(t)}return this},prepend:function(t){var s,a;for(s=0;s<this.length;s+=1)if("string"==typeof t){var r=e.createElement("div");for(r.innerHTML=t,a=r.childNodes.length-1;a>=0;a-=1)this[s].insertBefore(r.childNodes[a],this[s].childNodes[0])}else if(t instanceof i)for(a=0;a<t.length;a+=1)this[s].insertBefore(t[a],this[s].childNodes[0]);else this[s].insertBefore(t,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(e)?new i([this[0].nextElementSibling]):new i([]):this[0].nextElementSibling?new i([this[0].nextElementSibling]):new i([]):new i([])},nextAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.nextElementSibling;){var r=a.nextElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&s(t.previousElementSibling).is(e)?new i([t.previousElementSibling]):new i([]):t.previousElementSibling?new i([t.previousElementSibling]):new i([])}return new i([])},prevAll:function(e){var t=[],a=this[0];if(!a)return new i([]);for(;a.previousElementSibling;){var r=a.previousElementSibling;e?s(r).is(e)&&t.push(r):t.push(r),a=r}return new i(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?s(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return s(a(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)e?s(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return s(a(t))},closest:function(e){var t=this;return void 0===e?new i([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],s=0;s<this.length;s+=1)for(var a=this[s].querySelectorAll(e),r=0;r<a.length;r+=1)t.push(a[r]);return new i(t)},children:function(e){for(var t=[],r=0;r<this.length;r+=1)for(var n=this[r].childNodes,o=0;o<n.length;o+=1)e?1===n[o].nodeType&&s(n[o]).is(e)&&t.push(n[o]):1===n[o].nodeType&&t.push(n[o]);return new i(a(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,a,r=this;for(i=0;i<e.length;i+=1){var n=s(e[i]);for(a=0;a<n.length;a+=1)r[r.length]=n[a],r.length+=1}return r},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(r).forEach((function(e){s.fn[e]=s.fn[e]||r[e]}));var n,o,l,d={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(i){}try{delete t[e]}catch(i){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,i){var s,a,r;void 0===i&&(i="x");var n=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((a=n.transform||n.webkitTransform).split(",").length>6&&(a=a.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),r=new t.WebKitCSSMatrix("none"===a?"":a)):s=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===i&&(a=t.WebKitCSSMatrix?r.m41:16===s.length?parseFloat(s[12]):parseFloat(s[4])),"y"===i&&(a=t.WebKitCSSMatrix?r.m42:16===s.length?parseFloat(s[13]):parseFloat(s[5])),a||0},parseUrlQuery:function(e){var i,s,a,r,n={},o=e||t.location.href;if("string"==typeof o&&o.length)for(r=(s=(o=o.indexOf("?")>-1?o.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,i=0;i<r;i+=1)a=s[i].replace(/#\S+/g,"").split("="),n[decodeURIComponent(a[0])]=void 0===a[1]?void 0:decodeURIComponent(a[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var a=e[s];if(null!=a)for(var r=Object.keys(Object(a)),n=0,o=r.length;n<o;n+=1){var l=r[n],h=Object.getOwnPropertyDescriptor(a,l);void 0!==h&&h.enumerable&&(d.isObject(i[l])&&d.isObject(a[l])?d.extend(i[l],a[l]):!d.isObject(i[l])&&d.isObject(a[l])?(i[l]={},d.extend(i[l],a[l])):i[l]=a[l])}}return i}},h=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(o=l.style,"transition"in o||"webkitTransition"in o||"MozTransition"in o),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=l.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=l.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,i)}catch(s){}return e}(),gestures:"ongesturestart"in t}),p={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(n=t.navigator.userAgent.toLowerCase(),n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},c=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={},t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},u={components:{configurable:!0}};c.prototype.on=function(e,t,i){var s=this;if("function"!=typeof t)return s;var a=i?"unshift":"push";return e.split(" ").forEach((function(e){s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][a](t)})),s},c.prototype.once=function(e,t,i){var s=this;if("function"!=typeof t)return s;function a(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];t.apply(s,i),s.off(e,a),a.f7proxy&&delete a.f7proxy}return a.f7proxy=t,s.on(e,a,i)},c.prototype.off=function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].length&&i.eventsListeners[e].forEach((function(s,a){(s===t||s.f7proxy&&s.f7proxy===t)&&i.eventsListeners[e].splice(a,1)}))})),i):i},c.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,a,r=this;if(!r.eventsListeners)return r;"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),a=r):(i=e[0].events,s=e[0].data,a=e[0].context||r);var n=Array.isArray(i)?i:i.split(" ");return n.forEach((function(e){if(r.eventsListeners&&r.eventsListeners[e]){var t=[];r.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(a,s)}))}})),r},c.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i];s.params&&d.extend(e,s.params)}))},c.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(i){var s=t.modules[i],a=e[i]||{};s.instance&&Object.keys(s.instance).forEach((function(e){var i=s.instance[e];t[e]="function"==typeof i?i.bind(t):i})),s.on&&t.on&&Object.keys(s.on).forEach((function(e){t.on(e,s.on[e])})),s.create&&s.create.bind(t)(a)}))},u.components.set=function(e){this.use&&this.use(e)},c.installModule=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var a=e.name||Object.keys(s.prototype.modules).length+"_"+d.now();return s.prototype.modules[a]=e,e.proto&&Object.keys(e.proto).forEach((function(t){s.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){s[t]=e.static[t]})),e.install&&e.install.apply(s,t),s},c.use=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach((function(e){return s.installModule(e)})),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(c,u);var v={updateSize:function(){var e,t,i=this.$el;e=void 0!==this.params.width?this.params.width:i[0].clientWidth,t=void 0!==this.params.height?this.params.height:i[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(i.css("padding-left"),10)-parseInt(i.css("padding-right"),10),t=t-parseInt(i.css("padding-top"),10)-parseInt(i.css("padding-bottom"),10),d.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,i=this.$wrapperEl,s=this.size,a=this.rtlTranslate,r=this.wrongRTL,n=this.virtual&&e.virtual.enabled,o=n?this.virtual.slides.length:this.slides.length,l=i.children("."+this.params.slideClass),c=n?this.virtual.slides.length:l.length,u=[],v=[],f=[],m=e.slidesOffsetBefore;"function"==typeof m&&(m=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var b=this.snapGrid.length,w=this.snapGrid.length,y=e.spaceBetween,x=-m,T=0,E=0;if(void 0!==s){var S,C;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*s),this.virtualSize=-y,a?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(S=Math.floor(c/e.slidesPerColumn)===c/this.params.slidesPerColumn?c:Math.ceil(c/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(S=Math.max(S,e.slidesPerView*e.slidesPerColumn)));for(var M,P=e.slidesPerColumn,k=S/P,z=Math.floor(c/e.slidesPerColumn),$=0;$<c;$+=1){C=0;var I=l.eq($);if(e.slidesPerColumn>1){var L=void 0,D=void 0,O=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)O=$-(D=Math.floor($/P))*P,(D>z||D===z&&O===P-1)&&(O+=1)>=P&&(O=0,D+=1);else{var A=Math.floor($/e.slidesPerGroup);D=$-(O=Math.floor($/e.slidesPerView)-A*e.slidesPerColumn)*e.slidesPerView-A*e.slidesPerView}L=D+O*S/P,I.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else D=$-(O=Math.floor($/k))*k;I.css("margin-"+(this.isHorizontal()?"top":"left"),0!==O&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",D).attr("data-swiper-row",O)}if("none"!==I.css("display")){if("auto"===e.slidesPerView){var H=t.getComputedStyle(I[0],null),G=I[0].style.transform,N=I[0].style.webkitTransform;if(G&&(I[0].style.transform="none"),N&&(I[0].style.webkitTransform="none"),e.roundLengths)C=this.isHorizontal()?I.outerWidth(!0):I.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(H.getPropertyValue("width")),X=parseFloat(H.getPropertyValue("padding-left")),V=parseFloat(H.getPropertyValue("padding-right")),Y=parseFloat(H.getPropertyValue("margin-left")),F=parseFloat(H.getPropertyValue("margin-right")),R=H.getPropertyValue("box-sizing");C=R&&"border-box"===R&&!p.isIE?B+Y+F:B+X+V+Y+F}else{var q=parseFloat(H.getPropertyValue("height")),W=parseFloat(H.getPropertyValue("padding-top")),j=parseFloat(H.getPropertyValue("padding-bottom")),U=parseFloat(H.getPropertyValue("margin-top")),K=parseFloat(H.getPropertyValue("margin-bottom")),_=H.getPropertyValue("box-sizing");C=_&&"border-box"===_&&!p.isIE?q+U+K:q+W+j+U+K}G&&(I[0].style.transform=G),N&&(I[0].style.webkitTransform=N),e.roundLengths&&(C=Math.floor(C))}else C=(s-(e.slidesPerView-1)*y)/e.slidesPerView,e.roundLengths&&(C=Math.floor(C)),l[$]&&(this.isHorizontal()?l[$].style.width=C+"px":l[$].style.height=C+"px");l[$]&&(l[$].swiperSlideSize=C),f.push(C),e.centeredSlides?(x=x+C/2+T/2+y,0===T&&0!==$&&(x=x-s/2-y),0===$&&(x=x-s/2-y),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),E%e.slidesPerGroup==0&&u.push(x),v.push(x)):(e.roundLengths&&(x=Math.floor(x)),E%e.slidesPerGroup==0&&u.push(x),v.push(x),x=x+C+y),this.virtualSize+=C+y,T=C,E+=1}}if(this.virtualSize=Math.max(this.virtualSize,s)+g,a&&r&&("slide"===e.effect||"coverflow"===e.effect)&&i.css({width:this.virtualSize+e.spaceBetween+"px"}),h.flexbox&&!e.setWrapperSize||(this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(C+e.spaceBetween)*S,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?i.css({width:this.virtualSize+e.spaceBetween+"px"}):i.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){M=[];for(var J=0;J<u.length;J+=1){var Z=u[J];e.roundLengths&&(Z=Math.floor(Z)),u[J]<this.virtualSize+u[0]&&M.push(Z)}u=M}if(!e.centeredSlides){M=[];for(var Q=0;Q<u.length;Q+=1){var ee=u[Q];e.roundLengths&&(ee=Math.floor(ee)),u[Q]<=this.virtualSize-s&&M.push(ee)}u=M,Math.floor(this.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(this.virtualSize-s)}if(0===u.length&&(u=[0]),0!==e.spaceBetween&&(this.isHorizontal()?a?l.css({marginLeft:y+"px"}):l.css({marginRight:y+"px"}):l.css({marginBottom:y+"px"})),e.centerInsufficientSlides){var te=0;if(f.forEach((function(t){te+=t+(e.spaceBetween?e.spaceBetween:0)})),(te-=e.spaceBetween)<s){var ie=(s-te)/2;u.forEach((function(e,t){u[t]=e-ie})),v.forEach((function(e,t){v[t]=e+ie}))}}d.extend(this,{slides:l,snapGrid:u,slidesGrid:v,slidesSizesGrid:f}),c!==o&&this.emit("slidesLengthChange"),u.length!==b&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),v.length!==w&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,i=[],s=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var a=this.activeIndex+t;if(a>this.slides.length)break;i.push(this.slides.eq(a)[0])}else i.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<i.length;t+=1)if(void 0!==i[t]){var r=i[t].offsetHeight;s=r>s?r:s}s&&this.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,a=this.rtlTranslate;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var r=-e;a&&(r=e),i.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var n=0;n<i.length;n+=1){var o=i[n],l=(r+(t.centeredSlides?this.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var d=-(r-o.swiperSlideOffset),h=d+this.slidesSizesGrid[n];(d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(n),i.eq(n).addClass(t.slideVisibleClass))}o.progress=a?-l:l}this.visibleSlides=s(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.maxTranslate()-this.minTranslate(),s=this.progress,a=this.isBeginning,r=this.isEnd,n=a,o=r;0===i?(s=0,a=!0,r=!0):(a=(s=(e-this.minTranslate())/i)<=0,r=s>=1),d.extend(this,{progress:s,isBeginning:a,isEnd:r}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),a&&!n&&this.emit("reachBeginning toEdge"),r&&!o&&this.emit("reachEnd toEdge"),(n&&!a||o&&!r)&&this.emit("fromEdge"),this.emit("progress",s)},updateSlidesClasses:function(){var e,t=this.slides,i=this.params,s=this.$wrapperEl,a=this.activeIndex,r=this.realIndex,n=this.virtual&&i.virtual.enabled;t.removeClass(i.slideActiveClass+" "+i.slideNextClass+" "+i.slidePrevClass+" "+i.slideDuplicateActiveClass+" "+i.slideDuplicateNextClass+" "+i.slideDuplicatePrevClass),(e=n?this.$wrapperEl.find("."+i.slideClass+'[data-swiper-slide-index="'+a+'"]'):t.eq(a)).addClass(i.slideActiveClass),i.loop&&(e.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(i.slideDuplicateActiveClass));var o=e.nextAll("."+i.slideClass).eq(0).addClass(i.slideNextClass);i.loop&&0===o.length&&(o=t.eq(0)).addClass(i.slideNextClass);var l=e.prevAll("."+i.slideClass).eq(0).addClass(i.slidePrevClass);i.loop&&0===l.length&&(l=t.eq(-1)).addClass(i.slidePrevClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+o.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicateNextClass),l.hasClass(i.slideDuplicateClass)?s.children("."+i.slideClass+":not(."+i.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass):s.children("."+i.slideClass+"."+i.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(i.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this.rtlTranslate?this.translate:-this.translate,s=this.slidesGrid,a=this.snapGrid,r=this.params,n=this.activeIndex,o=this.realIndex,l=this.snapIndex,h=e;if(void 0===h){for(var p=0;p<s.length;p+=1)void 0!==s[p+1]?i>=s[p]&&i<s[p+1]-(s[p+1]-s[p])/2?h=p:i>=s[p]&&i<s[p+1]&&(h=p+1):i>=s[p]&&(h=p);r.normalizeSlideIndex&&(h<0||void 0===h)&&(h=0)}if((t=a.indexOf(i)>=0?a.indexOf(i):Math.floor(h/r.slidesPerGroup))>=a.length&&(t=a.length-1),h!==n){var c=parseInt(this.slides.eq(h).attr("data-swiper-slide-index")||h,10);d.extend(this,{snapIndex:t,realIndex:c,previousIndex:n,activeIndex:h}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),o!==c&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,i=s(e.target).closest("."+t.slideClass)[0],a=!1;if(i)for(var r=0;r<this.slides.length;r+=1)this.slides[r]===i&&(a=!0);if(!i||!a)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(s(i).attr("data-swiper-slide-index"),10):this.clickedIndex=s(i).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},f={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtlTranslate,s=this.translate,a=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;var r=d.getTranslate(a[0],e);return i&&(r=-r),r||0},setTranslate:function(e,t){var i=this.rtlTranslate,s=this.params,a=this.$wrapperEl,r=this.progress,n=0,o=0;this.isHorizontal()?n=i?-e:e:o=e,s.roundLengths&&(n=Math.floor(n),o=Math.floor(o)),s.virtualTranslate||(h.transforms3d?a.transform("translate3d("+n+"px, "+o+"px, 0px)"):a.transform("translate("+n+"px, "+o+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?n:o;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==r&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},m={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.params,a=this.previousIndex;s.autoHeight&&this.updateAutoHeight();var r=t;if(r||(r=i>a?"next":i<a?"prev":"reset"),this.emit("transitionStart"),e&&i!==a){if("reset"===r)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===r?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.activeIndex,s=this.previousIndex;this.animating=!1,this.setTransition(0);var a=t;if(a||(a=i>s?"next":i<s?"prev":"reset"),this.emit("transitionEnd"),e&&i!==s){if("reset"===a)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===a?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},g={slideTo:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=this,r=e;r<0&&(r=0);var n=a.params,o=a.snapGrid,l=a.slidesGrid,d=a.previousIndex,p=a.activeIndex,c=a.rtlTranslate;if(a.animating&&n.preventInteractionOnTransition)return!1;var u=Math.floor(r/n.slidesPerGroup);u>=o.length&&(u=o.length-1),(p||n.initialSlide||0)===(d||0)&&i&&a.emit("beforeSlideChangeStart");var v,f=-o[u];if(a.updateProgress(f),n.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*f)>=Math.floor(100*l[m])&&(r=m);if(a.initialized&&r!==p){if(!a.allowSlideNext&&f<a.translate&&f<a.minTranslate())return!1;if(!a.allowSlidePrev&&f>a.translate&&f>a.maxTranslate()&&(p||0)!==r)return!1}return v=r>p?"next":r<p?"prev":"reset",c&&-f===a.translate||!c&&f===a.translate?(a.updateActiveIndex(r),n.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==n.effect&&a.setTranslate(f),"reset"!==v&&(a.transitionStart(i,v),a.transitionEnd(i,v)),!1):(0!==t&&h.transition?(a.setTransition(t),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,v))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd))):(a.setTransition(0),a.setTranslate(f),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,s),a.transitionStart(i,v),a.transitionEnd(i,v)),!0)},slideToLoop:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var a=e;return this.params.loop&&(a+=this.loopedSlides),this.slideTo(a,t,i,s)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating;return s.loop?!a&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)):this.slideTo(this.activeIndex+s.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.params,a=this.animating,r=this.snapGrid,n=this.slidesGrid,o=this.rtlTranslate;if(s.loop){if(a)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,h=l(o?this.translate:-this.translate),p=r.map((function(e){return l(e)})),c=(n.map((function(e){return l(e)})),r[p.indexOf(h)],r[p.indexOf(h)-1]);return void 0!==c&&(d=n.indexOf(c))<0&&(d=this.activeIndex-1),this.slideTo(d,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this.activeIndex,a=Math.floor(s/this.params.slidesPerGroup);if(a<this.snapGrid.length-1){var r=this.rtlTranslate?this.translate:-this.translate,n=this.snapGrid[a];r-n>(this.snapGrid[a+1]-n)/2&&(s=this.params.slidesPerGroup)}return this.slideTo(s,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,a=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(s(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(n)}))):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=a.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick((function(){t.slideTo(n)}))):t.slideTo(n)}else t.slideTo(n)}},b={loopCreate:function(){var t=this,i=t.params,a=t.$wrapperEl;a.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var r=a.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var n=i.slidesPerGroup-r.length%i.slidesPerGroup;if(n!==i.slidesPerGroup){for(var o=0;o<n;o+=1){var l=s(e.createElement("div")).addClass(i.slideClass+" "+i.slideBlankClass);a.append(l)}r=a.children("."+i.slideClass)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=r.length),t.loopedSlides=parseInt(i.loopedSlides||i.slidesPerView,10),t.loopedSlides+=i.loopAdditionalSlides,t.loopedSlides>r.length&&(t.loopedSlides=r.length);var d=[],h=[];r.each((function(e,i){var a=s(i);e<t.loopedSlides&&h.push(i),e<r.length&&e>=r.length-t.loopedSlides&&d.push(i),a.attr("data-swiper-slide-index",e)}));for(var p=0;p<h.length;p+=1)a.append(s(h[p].cloneNode(!0)).addClass(i.slideDuplicateClass));for(var c=d.length-1;c>=0;c-=1)a.prepend(s(d[c].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e,t=this.params,i=this.activeIndex,s=this.slides,a=this.loopedSlides,r=this.allowSlidePrev,n=this.allowSlideNext,o=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var d=-o[i]-this.getTranslate();i<a?(e=s.length-3*a+i,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)):("auto"===t.slidesPerView&&i>=2*a||i>=s.length-a)&&(e=-s.length+i+a,e+=a,this.slideTo(e,0,!1,!0)&&0!==d&&this.setTranslate((l?-this.translate:this.translate)-d)),this.allowSlidePrev=r,this.allowSlideNext=n},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},w={setGrabCursor:function(e){if(!(h.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){h.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},y={appendSlide:function(e){var t=this.$wrapperEl,i=this.params;if(i.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s<e.length;s+=1)e[s]&&t.append(e[s]);else t.append(e);i.loop&&this.loopCreate(),i.observer&&h.observer||this.update()},prependSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&this.loopDestroy();var a=s+1;if("object"==typeof e&&"length"in e){for(var r=0;r<e.length;r+=1)e[r]&&i.prepend(e[r]);a=s+e.length}else i.prepend(e);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),this.slideTo(a,0,!1)},addSlide:function(e,t){var i=this.$wrapperEl,s=this.params,a=this.activeIndex;s.loop&&(a-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+s.slideClass));var r=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=r)this.appendSlide(t);else{for(var n=a>e?a+1:a,o=[],l=r-1;l>=e;l-=1){var d=this.slides.eq(l);d.remove(),o.unshift(d)}if("object"==typeof t&&"length"in t){for(var p=0;p<t.length;p+=1)t[p]&&i.append(t[p]);n=a>e?a+t.length:a}else i.append(t);for(var c=0;c<o.length;c+=1)i.append(o[c]);s.loop&&this.loopCreate(),s.observer&&h.observer||this.update(),s.loop?this.slideTo(n+this.loopedSlides,0,!1):this.slideTo(n,0,!1)}},removeSlide:function(e){var t=this.params,i=this.$wrapperEl,s=this.activeIndex;t.loop&&(s-=this.loopedSlides,this.loopDestroy(),this.slides=i.children("."+t.slideClass));var a,r=s;if("object"==typeof e&&"length"in e){for(var n=0;n<e.length;n+=1)a=e[n],this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1);r=Math.max(r,0)}else a=e,this.slides[a]&&this.slides.eq(a).remove(),a<r&&(r-=1),r=Math.max(r,0);t.loop&&this.loopCreate(),t.observer&&h.observer||this.update(),t.loop?this.slideTo(r+this.loopedSlides,0,!1):this.slideTo(r,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},x=function(){var i=t.navigator.userAgent,s={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},a=i.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),r=i.match(/(Android);?[\s\/]+([\d.]+)?/),n=i.match(/(iPad).*OS\s([\d_]+)/),o=i.match(/(iPod)(.*OS\s([\d_]+))?/),l=!n&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(a&&(s.os="windows",s.osVersion=a[2],s.windows=!0),r&&!a&&(s.os="android",s.osVersion=r[2],s.android=!0,s.androidChrome=i.toLowerCase().indexOf("chrome")>=0),(n||l||o)&&(s.os="ios",s.ios=!0),l&&!o&&(s.osVersion=l[2].replace(/_/g,"."),s.iphone=!0),n&&(s.osVersion=n[2].replace(/_/g,"."),s.ipad=!0),o&&(s.osVersion=o[3]?o[3].replace(/_/g,"."):null,s.iphone=!0),s.ios&&s.osVersion&&i.indexOf("Version/")>=0&&"10"===s.osVersion.split(".")[0]&&(s.osVersion=i.toLowerCase().split("version/")[1].split(" ")[0]),s.desktop=!(s.os||s.android||s.webView),s.webView=(l||n||o)&&i.match(/.*AppleWebKit(?!.*Safari)/i),s.os&&"ios"===s.os){var d=s.osVersion.split("."),h=e.querySelector('meta[name="viewport"]');s.minimalUi=!s.webView&&(o||l)&&(1*d[0]==7?1*d[1]>=1:1*d[0]>7)&&h&&h.getAttribute("content").indexOf("minimal-ui")>=0}return s.pixelRatio=t.devicePixelRatio||1,s}();function T(i){var a=this.touchEventsData,r=this.params,n=this.touches;if(!this.animating||!r.preventInteractionOnTransition){var o=i;if(o.originalEvent&&(o=o.originalEvent),a.isTouchEvent="touchstart"===o.type,(a.isTouchEvent||!("which"in o)||3!==o.which)&&!(!a.isTouchEvent&&"button"in o&&o.button>0||a.isTouched&&a.isMoved))if(r.noSwiping&&s(o.target).closest(r.noSwipingSelector?r.noSwipingSelector:"."+r.noSwipingClass)[0])this.allowClick=!0;else if(!r.swipeHandler||s(o).closest(r.swipeHandler)[0]){n.currentX="touchstart"===o.type?o.targetTouches[0].pageX:o.pageX,n.currentY="touchstart"===o.type?o.targetTouches[0].pageY:o.pageY;var l=n.currentX,h=n.currentY,p=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,c=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(!p||!(l<=c||l>=t.screen.width-c)){if(d.extend(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),n.startX=l,n.startY=h,a.touchStartTime=d.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==o.type){var u=!0;s(o.target).is(a.formElements)&&(u=!1),e.activeElement&&s(e.activeElement).is(a.formElements)&&e.activeElement!==o.target&&e.activeElement.blur();var v=u&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||v)&&o.preventDefault()}this.emit("touchStart",o)}}}}function E(t){var i=this.touchEventsData,a=this.params,r=this.touches,n=this.rtlTranslate,o=t;if(o.originalEvent&&(o=o.originalEvent),i.isTouched){if(!i.isTouchEvent||"mousemove"!==o.type){var l="touchmove"===o.type?o.targetTouches[0].pageX:o.pageX,h="touchmove"===o.type?o.targetTouches[0].pageY:o.pageY;if(o.preventedByNestedSwiper)return r.startX=l,void(r.startY=h);if(!this.allowTouchMove)return this.allowClick=!1,void(i.isTouched&&(d.extend(r,{startX:l,startY:h,currentX:l,currentY:h}),i.touchStartTime=d.now()));if(i.isTouchEvent&&a.touchReleaseOnEdges&&!a.loop)if(this.isVertical()){if(h<r.startY&&this.translate<=this.maxTranslate()||h>r.startY&&this.translate>=this.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(l<r.startX&&this.translate<=this.maxTranslate()||l>r.startX&&this.translate>=this.minTranslate())return;if(i.isTouchEvent&&e.activeElement&&o.target===e.activeElement&&s(o.target).is(i.formElements))return i.isMoved=!0,void(this.allowClick=!1);if(i.allowTouchCallbacks&&this.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){r.currentX=l,r.currentY=h;var p,c=r.currentX-r.startX,u=r.currentY-r.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(c,2)+Math.pow(u,2))<this.params.threshold))if(void 0===i.isScrolling&&(this.isHorizontal()&&r.currentY===r.startY||this.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:c*c+u*u>=25&&(p=180*Math.atan2(Math.abs(u),Math.abs(c))/Math.PI,i.isScrolling=this.isHorizontal()?p>a.touchAngle:90-p>a.touchAngle)),i.isScrolling&&this.emit("touchMoveOpposite",o),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling)i.isTouched=!1;else if(i.startMoving){this.allowClick=!1,o.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&o.stopPropagation(),i.isMoved||(a.loop&&this.loopFix(),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!a.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",o)),this.emit("sliderMove",o),i.isMoved=!0;var v=this.isHorizontal()?c:u;r.diff=v,v*=a.touchRatio,n&&(v=-v),this.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;var f=!0,m=a.resistanceRatio;if(a.touchReleaseOnEdges&&(m=0),v>0&&i.currentTranslate>this.minTranslate()?(f=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+i.startTranslate+v,m))):v<0&&i.currentTranslate<this.maxTranslate()&&(f=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-i.startTranslate-v,m))),f&&(o.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(v)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=this.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[this.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[this.isHorizontal()?"currentX":"currentY"],time:d.now()})),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}}}}else i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",o)}function S(e){var t=this,i=t.touchEventsData,s=t.params,a=t.touches,r=t.rtlTranslate,n=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&s.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var p,c=d.now(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap",h),u<300&&c-i.lastClickTime>300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=d.nextTick((function(){t&&!t.destroyed&&t.emit("click",h)}),300)),u<300&&c-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",h))),i.lastClickTime=d.now(),d.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,p=s.followFinger?r?t.translate:-t.translate:-i.currentTranslate,s.freeMode){if(p<-t.minTranslate())return void t.slideTo(t.activeIndex);if(p>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){if(i.velocities.length>1){var v=i.velocities.pop(),f=i.velocities.pop(),m=v.position-f.position,g=v.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(g>150||d.now()-v.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var b=1e3*s.freeModeMomentumRatio,w=t.velocity*b,y=t.translate+w;r&&(y=-y);var x,T,E=!1,S=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-S&&(y=t.maxTranslate()-S),x=t.maxTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.maxTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),E=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),s.loop&&s.centeredSlides&&(T=!0);else if(s.freeModeSticky){for(var C,M=0;M<l.length;M+=1)if(l[M]>-y){C=M;break}y=-(y=Math.abs(l[C]-y)<Math.abs(l[C-1]-y)||"next"===t.swipeDirection?l[C]:l[C-1])}if(T&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=r?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(s.freeModeSticky)return void t.slideToClosest();s.freeModeMomentumBounce&&E?(t.updateProgress(x),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(x),n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(y),t.setTransition(b),t.setTranslate(y),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeModeSticky)return void t.slideToClosest();(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var P=0,k=t.slidesSizesGrid[0],z=0;z<o.length;z+=s.slidesPerGroup)void 0!==o[z+s.slidesPerGroup]?p>=o[z]&&p<o[z+s.slidesPerGroup]&&(P=z,k=o[z+s.slidesPerGroup]-o[z]):p>=o[z]&&(P=z,k=o[o.length-1]-o[o.length-2]);var $=(p-o[P])/k;if(u>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&($>=s.longSwipesRatio?t.slideTo(P+s.slidesPerGroup):t.slideTo(P)),"prev"===t.swipeDirection&&($>1-s.longSwipesRatio?t.slideTo(P+s.slidesPerGroup):t.slideTo(P))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(P+s.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(P)}}}function C(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var i=this.allowSlideNext,s=this.allowSlidePrev,a=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var r=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(r),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=s,this.allowSlideNext=i,this.params.watchOverflow&&a!==this.snapGrid&&this.checkOverflow()}}function M(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var P={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},k={update:v,translate:f,transition:m,slide:g,loop:b,grabCursor:w,manipulation:y,events:{attachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl;this.onTouchStart=T.bind(this),this.onTouchMove=E.bind(this),this.onTouchEnd=S.bind(this),this.onClick=M.bind(this);var r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var o=!("touchstart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.addEventListener(i.start,this.onTouchStart,o),r.addEventListener(i.move,this.onTouchMove,h.passiveListener?{passive:!1,capture:n}:n),r.addEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!h.touch&&x.ios)&&(r.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,n),e.addEventListener("mouseup",this.onTouchEnd,!1))}else r.addEventListener(i.start,this.onTouchStart,!1),e.addEventListener(i.move,this.onTouchMove,n),e.addEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.addEventListener("click",this.onClick,!0),this.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C,!0)},detachEvents:function(){var t=this.params,i=this.touchEvents,s=this.el,a=this.wrapperEl,r="container"===t.touchEventsTarget?s:a,n=!!t.nested;if(h.touch||!h.pointerEvents&&!h.prefixedPointerEvents){if(h.touch){var o=!("onTouchStart"!==i.start||!h.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(i.start,this.onTouchStart,o),r.removeEventListener(i.move,this.onTouchMove,n),r.removeEventListener(i.end,this.onTouchEnd,o)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!h.touch&&x.ios)&&(r.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,n),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else r.removeEventListener(i.start,this.onTouchStart,!1),e.removeEventListener(i.move,this.onTouchMove,n),e.removeEventListener(i.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&r.removeEventListener("click",this.onClick,!0),this.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",C)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,i=this.loopedSlides;void 0===i&&(i=0);var s=this.params,a=s.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var r=this.getBreakpoint(a);if(r&&this.currentBreakpoint!==r){var n=r in a?a[r]:void 0;n&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=n[e];void 0!==t&&(n[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var o=n||this.originalParams,l=o.direction&&o.direction!==s.direction,h=s.loop&&(o.slidesPerView!==s.slidesPerView||l);l&&t&&this.changeDirection(),d.extend(this.params,o),d.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=r,h&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-i+this.loopedSlides,0,!1)),this.emit("breakpoint",o)}}},getBreakpoint:function(e){if(e){var i=!1,s=[];Object.keys(e).forEach((function(e){s.push(e)})),s.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var a=0;a<s.length;a+=1){var r=s[a];this.params.breakpointsInverse?r<=t.innerWidth&&(i=r):r>=t.innerWidth&&!i&&(i=r)}return i||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,i=this.rtl,s=this.$el,a=[];a.push("initialized"),a.push(t.direction),t.freeMode&&a.push("free-mode"),h.flexbox||a.push("no-flexbox"),t.autoHeight&&a.push("autoheight"),i&&a.push("rtl"),t.slidesPerColumn>1&&a.push("multirow"),x.android&&a.push("android"),x.ios&&a.push("ios"),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&a.push("wp8-"+t.direction),a.forEach((function(i){e.push(t.containerModifierClass+i)})),s.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,i,s,a,r,n){var o;function l(){n&&n()}e.complete&&r?l():i?((o=new t.Image).onload=l,o.onerror=l,a&&(o.sizes=a),s&&(o.srcset=s),i&&(o.src=i)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var i=0;i<e.imagesToLoad.length;i+=1){var s=e.imagesToLoad[i];e.loadImage(s,s.currentSrc||s.getAttribute("src"),s.srcset||s.getAttribute("srcset"),s.sizes||s.getAttribute("sizes"),!0,t)}}}},z={},$=function(e){function t(){for(var i,a,r,n=[],o=arguments.length;o--;)n[o]=arguments[o];1===n.length&&n[0].constructor&&n[0].constructor===Object?r=n[0]:(a=(i=n)[0],r=i[1]),r||(r={}),r=d.extend({},r),a&&!r.el&&(r.el=a),e.call(this,r),Object.keys(k).forEach((function(e){Object.keys(k[e]).forEach((function(i){t.prototype[i]||(t.prototype[i]=k[e][i])}))}));var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s||null===s)return;if(!(i in r&&"enabled"in s))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}}));var p=d.extend({},P);l.useModulesParams(p),l.params=d.extend({},p,z,r),l.originalParams=d.extend({},l.params),l.passedParams=d.extend({},r),l.$=s;var c=s(l.params.el);if(a=c[0]){if(c.length>1){var u=[];return c.each((function(e,i){var s=d.extend({},r,{el:i});u.push(new t(s))})),u}a.swiper=l,c.data("swiper",l);var v,f,m=c.children("."+l.params.wrapperClass);return d.extend(l,{$el:c,el:a,$wrapperEl:m,wrapperEl:m[0],classNames:[],slides:s(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===a.dir.toLowerCase()||"rtl"===c.css("direction")),wrongRTL:"-webkit-box"===m.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(v=["touchstart","touchmove","touchend"],f=["mousedown","mousemove","mouseup"],h.pointerEvents?f=["pointerdown","pointermove","pointerup"]:h.prefixedPointerEvents&&(f=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:v[0],move:v[1],end:v[2]},l.touchEventsDesktop={start:f[0],move:f[1],end:f[2]},h.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:d.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var i={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,i=this.slidesGrid,s=this.size,a=this.activeIndex,r=1;if(e.centeredSlides){for(var n,o=t[a].swiperSlideSize,l=a+1;l<t.length;l+=1)t[l]&&!n&&(r+=1,(o+=t[l].swiperSlideSize)>s&&(n=!0));for(var d=a-1;d>=0;d-=1)t[d]&&!n&&(r+=1,(o+=t[d].swiperSlideSize)>s&&(n=!0))}else for(var h=a+1;h<t.length;h+=1)i[h]-i[a]<s&&(r+=1);return r},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,i=e.params;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(s(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||s(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function s(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e?this:(this.$el.removeClass(""+this.params.containerModifierClass+i+" wp8-"+i).addClass(""+this.params.containerModifierClass+e),(p.isIE||p.isEdge)&&(h.pointerEvents||h.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,i){"vertical"===e?i.style.width="":i.style.height=""})),this.emit("changeDirection"),t&&this.update(),this)},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,a=i.$el,r=i.$wrapperEl,n=i.slides;return void 0===i.params||i.destroyed?null:(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),a.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach((function(e){i.off(e)})),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),d.deleteProps(i)),i.destroyed=!0,null)},t.extendDefaults=function(e){d.extend(z,e)},i.extendedDefaults.get=function(){return z},i.defaults.get=function(){return P},i.Class.get=function(){return e},i.$.get=function(){return s},Object.defineProperties(t,i),t}(c),I={name:"device",proto:{device:x},static:{device:x}},L={name:"support",proto:{support:h},static:{support:h}},D={name:"browser",proto:{browser:p},static:{browser:p}},O={name:"resize",create:function(){var e=this;d.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},A={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,i){void 0===i&&(i={});var s=this,a=new(0,A.func)((function(e){if(1!==e.length){var i=function(){s.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(i):t.setTimeout(i,0)}else s.emit("observerUpdate",e[0])}));a.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.observer.observers.push(a)},init:function(){if(h.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},H={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){d.extend(this,{observer:{init:A.init.bind(this),attach:A.attach.bind(this),destroy:A.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},G={update:function(e){var t=this,i=t.params,s=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,n=t.params.virtual,o=n.addSlidesBefore,l=n.addSlidesAfter,h=t.virtual,p=h.from,c=h.to,u=h.slides,v=h.slidesGrid,f=h.renderSlide,m=h.offset;t.updateActiveIndex();var g,b,w,y=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(b=Math.floor(s/2)+a+o,w=Math.floor(s/2)+a+l):(b=s+(a-1)+o,w=a+l);var x=Math.max((y||0)-w,0),T=Math.min((y||0)+b,u.length-1),E=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function S(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(d.extend(t.virtual,{from:x,to:T,offset:E,slidesGrid:t.slidesGrid}),p===x&&c===T&&!e)return t.slidesGrid!==v&&E!==m&&t.slides.css(g,E+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:E,from:x,to:T,slides:function(){for(var e=[],t=x;t<=T;t+=1)e.push(u[t]);return e}()}),void S();var C=[],M=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=p;P<=c;P+=1)(P<x||P>T)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var k=0;k<u.length;k+=1)k>=x&&k<=T&&(void 0===c||e?M.push(k):(k>c&&M.push(k),k<p&&C.push(k)));M.forEach((function(e){t.$wrapperEl.append(f(u[e],e))})),C.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(f(u[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,E+"px"),S()},renderSlide:function(e,t){var i=this.params.virtual;if(i.cache&&this.virtual.cache[t])return this.virtual.cache[t];var a=i.renderSlide?s(i.renderSlide.call(this,e,t)):s('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),i.cache&&(this.virtual.cache[t]=a),a},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,i=t+1,s=1;if(Array.isArray(e)){for(var a=0;a<e.length;a+=1)e[a]&&this.virtual.slides.unshift(e[a]);i=t+e.length,s=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var r=this.virtual.cache,n={};Object.keys(r).forEach((function(e){n[parseInt(e,10)+s]=r[e]})),this.virtual.cache=n}this.virtual.update(!0),this.slideTo(i,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var i=e.length-1;i>=0;i-=1)this.virtual.slides.splice(e[i],1),this.params.virtual.cache&&delete this.virtual.cache[e[i]],e[i]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},N={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){d.extend(this,{virtual:{update:G.update.bind(this),appendSlide:G.appendSlide.bind(this),prependSlide:G.prependSlide.bind(this),removeSlide:G.removeSlide.bind(this),removeAllSlides:G.removeAllSlides.bind(this),renderSlide:G.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};d.extend(this.params,e),d.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},B={handle:function(i){var s=this.rtlTranslate,a=i;a.originalEvent&&(a=a.originalEvent);var r=a.keyCode||a.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===r||this.isVertical()&&40===r||34===r))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===r||this.isVertical()&&38===r||33===r))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===r||34===r||37===r||39===r||38===r||40===r)){var n=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var o=t.innerWidth,l=t.innerHeight,d=this.$el.offset();s&&(d.left-=this.$el[0].scrollLeft);for(var h=[[d.left,d.top],[d.left+this.width,d.top],[d.left,d.top+this.height],[d.left+this.width,d.top+this.height]],p=0;p<h.length;p+=1){var c=h[p];c[0]>=0&&c[0]<=o&&c[1]>=0&&c[1]<=l&&(n=!0)}if(!n)return}this.isHorizontal()?(33!==r&&34!==r&&37!==r&&39!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),(34!==r&&39!==r||s)&&(33!==r&&37!==r||!s)||this.slideNext(),(33!==r&&37!==r||s)&&(34!==r&&39!==r||!s)||this.slidePrev()):(33!==r&&34!==r&&38!==r&&40!==r||(a.preventDefault?a.preventDefault():a.returnValue=!1),34!==r&&40!==r||this.slideNext(),33!==r&&38!==r||this.slidePrev()),this.emit("keyPress",r)}},enable:function(){this.keyboard.enabled||(s(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(s(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},X={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){d.extend(this,{keyboard:{enabled:!1,enable:B.enable.bind(this),disable:B.disable.bind(this),handle:B.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},V={lastScrollTime:d.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var i=e.createElement("div");i.setAttribute("onwheel","return;"),t="function"==typeof i.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,i=0,s=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(1===e.deltaMode?(s*=40,a*=40):(s*=800,a*=800)),s&&!t&&(t=s<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var i=e,s=this,a=s.params.mousewheel;if(!s.mouseEntered&&!a.releaseOnEdges)return!0;i.originalEvent&&(i=i.originalEvent);var r=0,n=s.rtlTranslate?-1:1,o=V.normalize(i);if(a.forceToAxis)if(s.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=o.pixelX*n}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*n:-o.pixelY;if(0===r)return!0;if(a.invert&&(r=-r),s.params.freeMode){s.params.loop&&s.loopFix();var l=s.getTranslate()+r*a.sensitivity,h=s.isBeginning,p=s.isEnd;if(l>=s.minTranslate()&&(l=s.minTranslate()),l<=s.maxTranslate()&&(l=s.maxTranslate()),s.setTransition(0),s.setTranslate(l),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!h&&s.isBeginning||!p&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeModeSticky&&(clearTimeout(s.mousewheel.timeout),s.mousewheel.timeout=d.nextTick((function(){s.slideToClosest()}),300)),s.emit("scroll",i),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.autoplay.stop(),l===s.minTranslate()||l===s.maxTranslate())return!0}else{if(d.now()-s.mousewheel.lastScrollTime>60)if(r<0)if(s.isEnd&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slideNext(),s.emit("scroll",i);else if(s.isBeginning&&!s.params.loop||s.animating){if(a.releaseOnEdges)return!0}else s.slidePrev(),s.emit("scroll",i);s.mousewheel.lastScrollTime=(new t.Date).getTime()}return i.preventDefault?i.preventDefault():i.returnValue=!1,!1},enable:function(){if(!V.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(V.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!V.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=s(this.params.mousewheel.eventsTarged)),e.off(V.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},Y={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,i=t.$nextEl,s=t.$prevEl;s&&s.length>0&&(this.isBeginning?s.addClass(e.disabledClass):s.removeClass(e.disabledClass),s[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),i&&i.length>0&&(this.isEnd?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,i=this.params.navigation;(i.nextEl||i.prevEl)&&(i.nextEl&&(e=s(i.nextEl),this.params.uniqueNavElements&&"string"==typeof i.nextEl&&e.length>1&&1===this.$el.find(i.nextEl).length&&(e=this.$el.find(i.nextEl))),i.prevEl&&(t=s(i.prevEl),this.params.uniqueNavElements&&"string"==typeof i.prevEl&&t.length>1&&1===this.$el.find(i.prevEl).length&&(t=this.$el.find(i.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),d.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click",this.navigation.onPrevClick),i.removeClass(this.params.navigation.disabledClass))}},F={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var i,a=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n=this.params.loop?Math.ceil((a-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((i=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>a-1-2*this.loopedSlides&&(i-=a-2*this.loopedSlides),i>n-1&&(i-=n),i<0&&"bullets"!==this.params.paginationType&&(i=n+i)):i=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var o,l,d,h=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=h.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=i-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),o=i-this.pagination.dynamicBulletIndex,d=((l=o+(Math.min(h.length,t.dynamicMainBullets)-1))+o)/2),h.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),r.length>1)h.each((function(e,a){var r=s(a),n=r.index();n===i&&r.addClass(t.bulletActiveClass),t.dynamicBullets&&(n>=o&&n<=l&&r.addClass(t.bulletActiveClass+"-main"),n===o&&r.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),n===l&&r.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(h.eq(i).addClass(t.bulletActiveClass),t.dynamicBullets){for(var p=h.eq(o),c=h.eq(l),u=o;u<=l;u+=1)h.eq(u).addClass(t.bulletActiveClass+"-main");p.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),c.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var v=Math.min(h.length,t.dynamicMainBullets+4),f=(this.pagination.bulletSize*v-this.pagination.bulletSize)/2-d*this.pagination.bulletSize,m=e?"right":"left";h.css(this.isHorizontal()?m:"top",f+"px")}}if("fraction"===t.type&&(r.find("."+t.currentClass).text(t.formatFractionCurrent(i+1)),r.find("."+t.totalClass).text(t.formatFractionTotal(n))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var b=(i+1)/n,w=1,y=1;"horizontal"===g?w=b:y=b,r.find("."+t.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+w+") scaleY("+y+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(r.html(t.renderCustom(this,i+1,n)),this.emit("paginationRender",this,r[0])):this.emit("paginationUpdate",this,r[0]),r[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,i=this.pagination.$el,s="";if("bullets"===e.type){for(var a=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,r=0;r<a;r+=1)e.renderBullet?s+=e.renderBullet.call(this,r,e.bulletClass):s+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";i.html(s),this.pagination.bullets=i.find("."+e.bulletClass)}"fraction"===e.type&&(s=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',i.html(s)),"progressbar"===e.type&&(s=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',i.html(s)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=s(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&1===e.$el.find(t.el).length&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass,(function(t){t.preventDefault();var i=s(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),d.extend(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},R={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,i=this.progress,s=e.dragSize,a=e.trackSize,r=e.$dragEl,n=e.$el,o=this.params.scrollbar,l=s,d=(a-s)*i;t?(d=-d)>0?(l=s-d,d=0):-d+s>a&&(l=a+d):d<0?(l=s+d,d=0):d+s>a&&(l=a-d),this.isHorizontal()?(h.transforms3d?r.transform("translate3d("+d+"px, 0, 0)"):r.transform("translateX("+d+"px)"),r[0].style.width=l+"px"):(h.transforms3d?r.transform("translate3d(0px, "+d+"px, 0)"):r.transform("translateY("+d+"px)"),r[0].style.height=l+"px"),o.hide&&(clearTimeout(this.scrollbar.timeout),n[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){n[0].style.opacity=0,n.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,i=e.$el;t[0].style.width="",t[0].style.height="";var s,a=this.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,r=this.size/this.virtualSize,n=r*(a/this.size);s="auto"===this.params.scrollbar.dragSize?a*r:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=s+"px":t[0].style.height=s+"px",i[0].style.display=r>=1?"none":"",this.params.scrollbar.hide&&(i[0].style.opacity=0),d.extend(e,{trackSize:a,divider:r,moveDivider:n,dragSize:s}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY},setDragPosition:function(e){var t,i=this.scrollbar,s=this.rtlTranslate,a=i.$el,r=i.dragSize,n=i.trackSize,o=i.dragStartPos;t=(i.getPointerPosition(e)-a.offset()[this.isHorizontal()?"left":"top"]-(null!==o?o:r/2))/(n-r),t=Math.max(Math.min(t,1),0),s&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,i=this.scrollbar,s=this.$wrapperEl,a=i.$el,r=i.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===r[0]||e.target===r?i.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),s.transition(100),r.transition(100),i.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),a.transition(0),t.hide&&a.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,a=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),a.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,i=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=d.nextTick((function(){i.css("opacity",0),i.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.addEventListener(i.start,this.scrollbar.onDragStart,n),r.addEventListener(i.move,this.scrollbar.onDragMove,n),r.addEventListener(i.end,this.scrollbar.onDragEnd,o)):(r.addEventListener(s.start,this.scrollbar.onDragStart,n),e.addEventListener(s.move,this.scrollbar.onDragMove,n),e.addEventListener(s.end,this.scrollbar.onDragEnd,o))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,i=this.touchEventsTouch,s=this.touchEventsDesktop,a=this.params,r=t.$el[0],n=!(!h.passiveListener||!a.passiveListeners)&&{passive:!1,capture:!1},o=!(!h.passiveListener||!a.passiveListeners)&&{passive:!0,capture:!1};h.touch?(r.removeEventListener(i.start,this.scrollbar.onDragStart,n),r.removeEventListener(i.move,this.scrollbar.onDragMove,n),r.removeEventListener(i.end,this.scrollbar.onDragEnd,o)):(r.removeEventListener(s.start,this.scrollbar.onDragStart,n),e.removeEventListener(s.move,this.scrollbar.onDragMove,n),e.removeEventListener(s.end,this.scrollbar.onDragEnd,o))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,i=this.params.scrollbar,a=s(i.el);this.params.uniqueNavElements&&"string"==typeof i.el&&a.length>1&&1===t.find(i.el).length&&(a=t.find(i.el));var r=a.find("."+this.params.scrollbar.dragClass);0===r.length&&(r=s('<div class="'+this.params.scrollbar.dragClass+'"></div>'),a.append(r)),d.extend(e,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),i.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},q={setTransform:function(e,t){var i=this.rtl,a=s(e),r=i?-1:1,n=a.attr("data-swiper-parallax")||"0",o=a.attr("data-swiper-parallax-x"),l=a.attr("data-swiper-parallax-y"),d=a.attr("data-swiper-parallax-scale"),h=a.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=n,l="0"):(l=n,o="0"),o=o.indexOf("%")>=0?parseInt(o,10)*t*r+"%":o*t*r+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=h){var p=h-(h-1)*(1-Math.abs(t));a[0].style.opacity=p}if(null==d)a.transform("translate3d("+o+", "+l+", 0px)");else{var c=d-(d-1)*(1-Math.abs(t));a.transform("translate3d("+o+", "+l+", 0px) scale("+c+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,a=e.progress,r=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,a)})),i.each((function(t,i){var n=i.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(t/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),s(i).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){e.parallax.setTransform(i,n)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,i){var a=s(i),r=parseInt(a.attr("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),a.transition(r)}))}},W={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this.params.zoom,i=this.zoom,a=i.gesture;if(i.fakeGestureTouched=!1,i.fakeGestureMoved=!1,!h.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.fakeGestureTouched=!0,a.scaleStart=W.getDistanceBetweenTouches(e)}a.$slideEl&&a.$slideEl.length||(a.$slideEl=s(e.target).closest(".swiper-slide"),0===a.$slideEl.length&&(a.$slideEl=this.slides.eq(this.activeIndex)),a.$imageEl=a.$slideEl.find("img, svg, canvas"),a.$imageWrapEl=a.$imageEl.parent("."+t.containerClass),a.maxRatio=a.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==a.$imageWrapEl.length)?(a.$imageEl.transition(0),this.zoom.isScaling=!0):a.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=W.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=h.gestures?e.scale*i.currentScale:s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,0,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!h.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(x.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,i=t.gesture,s=t.image,a=t.velocity;if(i.$imageEl&&0!==i.$imageEl.length&&(this.allowClick=!1,s.isTouched&&i.$slideEl)){s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=d.getTranslate(i.$imageWrapEl[0],"x")||0,s.startY=d.getTranslate(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0),this.rtl&&(s.startX=-s.startX,s.startY=-s.startY));var r=s.width*t.scale,n=s.height*t.scale;if(!(r<i.slideWidth&&n<i.slideHeight)){if(s.minX=Math.min(i.slideWidth/2-r/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-n/2,0),s.maxY=-s.minY,s.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x))return void(s.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-Math.pow(s.minX-s.currentX+1,.8)),s.currentX>s.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentY<s.minY&&(s.currentY=s.minY+1-Math.pow(s.minY-s.currentY+1,.8)),s.currentY>s.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,n=s.x*a,o=i.currentX+n,l=s.y*r,d=i.currentY+l;0!==s.x&&(a=Math.abs((o-i.currentX)/s.x)),0!==s.y&&(r=Math.abs((d-i.currentY)/s.y));var h=Math.max(a,r);i.currentX=o,i.currentY=d;var p=i.width*e.scale,c=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-p/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-c/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(h).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,a,r,n,o,l,d,h,p,c,u,v,f,m,g,b=this.zoom,w=this.params.zoom,y=b.gesture,x=b.image;y.$slideEl||(y.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),y.$imageEl=y.$slideEl.find("img, svg, canvas"),y.$imageWrapEl=y.$imageEl.parent("."+w.containerClass)),y.$imageEl&&0!==y.$imageEl.length&&(y.$slideEl.addClass(""+w.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,i=x.touchesStart.y),b.scale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,b.currentScale=y.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,e?(m=y.$slideEl[0].offsetWidth,g=y.$slideEl[0].offsetHeight,a=y.$slideEl.offset().left+m/2-t,r=y.$slideEl.offset().top+g/2-i,l=y.$imageEl[0].offsetWidth,d=y.$imageEl[0].offsetHeight,h=l*b.scale,p=d*b.scale,v=-(c=Math.min(m/2-h/2,0)),f=-(u=Math.min(g/2-p/2,0)),(n=a*b.scale)<c&&(n=c),n>v&&(n=v),(o=r*b.scale)<u&&(o=u),o>f&&(o=f)):(n=0,o=0),y.$imageWrapEl.transition(300).transform("translate3d("+n+"px, "+o+"px,0)"),y.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,i=e.gesture;i.$slideEl||(i.$slideEl=this.clickedSlide?s(this.clickedSlide):this.slides.eq(this.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+t.containerClass)),i.$imageEl&&0!==i.$imageEl.length&&(e.scale=1,e.currentScale=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(""+t.zoomedSlideClass),i.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!h.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};h.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},j={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,a=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var r=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),n=r.find("."+a.elementClass+":not(."+a.loadedClass+"):not(."+a.loadingClass+")");!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||(n=n.add(r[0])),0!==n.length&&n.each((function(e,n){var o=s(n);o.addClass(a.loadingClass);var l=o.attr("data-background"),d=o.attr("data-src"),h=o.attr("data-srcset"),p=o.attr("data-sizes");i.loadImage(o[0],d||l,h,p,!1,(function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(l?(o.css("background-image",'url("'+l+'")'),o.removeAttr("data-background")):(h&&(o.attr("srcset",h),o.removeAttr("data-srcset")),p&&(o.attr("sizes",p),o.removeAttr("data-sizes")),d&&(o.attr("src",d),o.removeAttr("data-src"))),o.addClass(a.loadedClass).removeClass(a.loadingClass),r.find("."+a.preloaderClass).remove(),i.params.loop&&t){var e=r.attr("data-swiper-slide-index");if(r.hasClass(i.params.slideDuplicateClass)){var s=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(s.index(),!1)}else{var n=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(n.index(),!1)}}i.emit("lazyImageReady",r[0],o[0])}})),i.emit("lazyImageLoad",r[0],o[0])}))}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,a=e.slides,r=e.activeIndex,n=e.virtual&&i.virtual.enabled,o=i.lazy,l=i.slidesPerView;function d(e){if(n){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(a[e])return!0;return!1}function h(e){return n?s(e).attr("data-swiper-slide-index"):s(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each((function(t,i){var a=n?s(i).attr("data-swiper-slide-index"):s(i).index();e.lazy.loadInSlide(a)}));else if(l>1)for(var p=r;p<r+l;p+=1)d(p)&&e.lazy.loadInSlide(p);else e.lazy.loadInSlide(r);if(o.loadPrevNext)if(l>1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){for(var c=o.loadPrevNextAmount,u=l,v=Math.min(r+u+Math.max(c,u),a.length),f=Math.max(r-Math.max(u,c),0),m=r+l;m<v;m+=1)d(m)&&e.lazy.loadInSlide(m);for(var g=f;g<r;g+=1)d(g)&&e.lazy.loadInSlide(g)}else{var b=t.children("."+i.slideNextClass);b.length>0&&e.lazy.loadInSlide(h(b));var w=t.children("."+i.slidePrevClass);w.length>0&&e.lazy.loadInSlide(h(w))}}},U={LinearSpline:function(e,t){var i,s,a,r,n,o=function(e,t){for(s=-1,i=e.length;i-s>1;)e[a=i+s>>1]<=t?s=a:i=a;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new U.LinearSpline(this.slidesGrid,e.slidesGrid):new U.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,s,a=this,r=a.controller.control;function n(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),s=-a.controller.spline.interpolate(-t)),s&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),s=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var o=0;o<r.length;o+=1)r[o]!==t&&r[o]instanceof $&&n(r[o]);else r instanceof $&&t!==r&&n(r)},setTransition:function(e,t){var i,s=this,a=s.controller.control;function r(t){t.setTransition(e,s),0!==e&&(t.transitionStart(),t.params.autoHeight&&d.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){a&&(t.params.loop&&"slide"===s.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(a))for(i=0;i<a.length;i+=1)a[i]!==t&&a[i]instanceof $&&r(a[i]);else a instanceof $&&t!==a&&r(a)}},K={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){d.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:U.getInterpolateFunction.bind(this),setTranslate:U.setTranslate.bind(this),setTransition:U.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},_={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var i=s(e.target);this.navigation&&this.navigation.$nextEl&&i.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&i.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&i.is("."+this.params.pagination.bulletClass)&&i[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;i&&i.length>0&&(this.isBeginning?this.a11y.disableEl(i):this.a11y.enableEl(i)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(i,a){var r=s(a);e.a11y.makeElFocusable(r),e.a11y.addElRole(r,"button"),e.a11y.addElLabel(r,t.paginationBulletMessage.replace(/{{index}}/,r.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,i=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,i.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,i.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},J={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=J.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=J.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),i=e.length;return{key:e[i-2],value:e[i-1]}},setHistory:function(e,i){if(this.history.initialized&&this.params.history.enabled){var s=this.slides.eq(i),a=J.slugify(s.attr("data-history"));t.location.pathname.includes(e)||(a=e+"/"+a);var r=t.history.state;r&&r.value===a||(this.params.history.replaceState?t.history.replaceState({value:a},null,a):t.history.pushState({value:a},null,a))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,a=this.slides.length;s<a;s+=1){var r=this.slides.eq(s);if(J.slugify(r.attr("data-history"))===t&&!r.hasClass(this.params.slideDuplicateClass)){var n=r.index();this.slideTo(n,e,i)}}else this.slideTo(0,e,i)}},Z={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var i=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===i)return;this.slideTo(i)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var i=this.slides.eq(this.activeIndex),s=i.attr("data-hash")||i.attr("data-history");e.location.hash=s||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var i=e.location.hash.replace("#","");if(i)for(var a=0,r=this.slides.length;a<r;a+=1){var n=this.slides.eq(a);if((n.attr("data-hash")||n.attr("data-history"))===i&&!n.hasClass(this.params.slideDuplicateClass)){var o=n.index();this.slideTo(o,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&s(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&s(t).off("hashchange",this.hashNavigation.onHashCange)}},Q={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=d.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ee={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var a=0;this.isHorizontal()||(a=s,s=0);var r=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:r}).transform("translate3d("+s+"px, "+a+"px, 0px)")}},setTransition:function(e){var t=this,i=t.slides,s=t.$wrapperEl;if(i.transition(e),t.params.virtualTranslate&&0!==e){var a=!1;i.transitionEnd((function(){if(!a&&t&&!t.destroyed){a=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)s.trigger(e[i])}}))}}},te={setTranslate:function(){var e,t=this.$el,i=this.$wrapperEl,a=this.slides,r=this.width,n=this.height,o=this.rtlTranslate,l=this.size,d=this.params.cubeEffect,h=this.isHorizontal(),c=this.virtual&&this.params.virtual.enabled,u=0;d.shadow&&(h?(0===(e=i.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),i.append(e)),e.css({height:r+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=s('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var v=0;v<a.length;v+=1){var f=a.eq(v),m=v;c&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,b=Math.floor(g/360);o&&(g=-g,b=Math.floor(-g/360));var w=Math.max(Math.min(f[0].progress,1),-1),y=0,x=0,T=0;m%4==0?(y=4*-b*l,T=0):(m-1)%4==0?(y=0,T=4*-b*l):(m-2)%4==0?(y=l+4*b*l,T=l):(m-3)%4==0&&(y=-l,T=3*l+4*l*b),o&&(y=-y),h||(x=y,y=0);var E="rotateX("+(h?0:-g)+"deg) rotateY("+(h?g:0)+"deg) translate3d("+y+"px, "+x+"px, "+T+"px)";if(w<=1&&w>-1&&(u=90*m+90*w,o&&(u=90*-m-90*w)),f.transform(E),d.slideShadows){var S=h?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=h?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(h?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(h?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=Math.max(-w,0)),C.length&&(C[0].style.opacity=Math.max(w,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(h)e.transform("translate3d(0px, "+(r/2+d.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+d.shadowScale+")");else{var M=Math.abs(u)-90*Math.floor(Math.abs(u)/90),P=1.5-(Math.sin(2*M*Math.PI/360)/2+Math.cos(2*M*Math.PI/360)/2),k=d.shadowScale,z=d.shadowScale/P,$=d.shadowOffset;e.transform("scale3d("+k+", 1, "+z+") translate3d(0px, "+(n/2+$)+"px, "+-n/2/z+"px) rotateX(-90deg)")}var I=p.isSafari||p.isUiWebView?-l/2:0;i.transform("translate3d(0px,0,"+I+"px) rotateX("+(this.isHorizontal()?0:u)+"deg) rotateY("+(this.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ie={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,i=0;i<e.length;i+=1){var a=e.eq(i),r=a[0].progress;this.params.flipEffect.limitRotation&&(r=Math.max(Math.min(a[0].progress,1),-1));var n=-180*r,o=0,l=-a[0].swiperSlideOffset,d=0;if(this.isHorizontal()?t&&(n=-n):(d=l,l=0,o=-n,n=0),a[0].style.zIndex=-Math.abs(Math.round(r))+e.length,this.params.flipEffect.slideShadows){var h=this.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),p=this.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===h.length&&(h=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),a.append(h)),0===p.length&&(p=s('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),a.append(p)),h.length&&(h[0].style.opacity=Math.max(-r,0)),p.length&&(p[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+n+"deg)")}},setTransition:function(e){var t=this,i=t.slides,s=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(s).transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i<e.length;i+=1)a.trigger(e[i])}}))}}},se={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,a=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,o=this.isHorizontal(),l=this.translate,d=o?e/2-l:t/2-l,p=o?n.rotate:-n.rotate,c=n.depth,u=0,v=i.length;u<v;u+=1){var f=i.eq(u),m=r[u],g=(d-f[0].swiperSlideOffset-m/2)/m*n.modifier,b=o?p*g:0,w=o?0:p*g,y=-c*Math.abs(g),x=o?0:n.stretch*g,T=o?n.stretch*g:0;Math.abs(T)<.001&&(T=0),Math.abs(x)<.001&&(x=0),Math.abs(y)<.001&&(y=0),Math.abs(b)<.001&&(b=0),Math.abs(w)<.001&&(w=0);var E="translate3d("+T+"px,"+x+"px,"+y+"px) rotateX("+w+"deg) rotateY("+b+"deg)";if(f.transform(E),f[0].style.zIndex=1-Math.abs(Math.round(g)),n.slideShadows){var S=o?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),C=o?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===S.length&&(S=s('<div class="swiper-slide-shadow-'+(o?"left":"top")+'"></div>'),f.append(S)),0===C.length&&(C=s('<div class="swiper-slide-shadow-'+(o?"right":"bottom")+'"></div>'),f.append(C)),S.length&&(S[0].style.opacity=g>0?g:0),C.length&&(C[0].style.opacity=-g>0?-g:0)}}(h.pointerEvents||h.prefixedPointerEvents)&&(a[0].style.perspectiveOrigin=d+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},ae={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,d.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),d.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):d.isObject(e.swiper)&&(this.thumbs.swiper=new t(d.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,i=e.clickedSlide;if(!(i&&s(i).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var a;if(a=e.params.loop?parseInt(s(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var r=this.activeIndex;this.slides.eq(r).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,r=this.activeIndex);var n=this.slides.eq(r).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),o=this.slides.eq(r).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index();a=void 0===n?o:void 0===o?n:o-r<r-n?o:n}this.slideTo(a)}}},update:function(e){var t=this.thumbs.swiper;if(t){var i="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var s,a=t.activeIndex;if(t.params.loop){t.slides.eq(a).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,a=t.activeIndex);var r=t.slides.eq(a).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),n=t.slides.eq(a).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();s=void 0===r?n:void 0===n?r:n-a==a-r?a:n-a<a-r?n:r}else s=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(s)<0&&(t.params.centeredSlides?s=s>a?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>a&&(s=s-i+1),t.slideTo(s,e?0:void 0))}var o=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(o=this.params.slidesPerView),t.slides.removeClass(l),t.params.loop||t.params.virtual)for(var d=0;d<o;d+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+d)+'"]').addClass(l);else for(var h=0;h<o;h+=1)t.slides.eq(this.realIndex+h).addClass(l)}}},re=[I,L,D,O,H,N,X,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){d.extend(this,{mousewheel:{enabled:!1,enable:V.enable.bind(this),disable:V.disable.bind(this),handle:V.handle.bind(this),handleMouseEnter:V.handleMouseEnter.bind(this),handleMouseLeave:V.handleMouseLeave.bind(this),lastScrollTime:d.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){d.extend(this,{navigation:{init:Y.init.bind(this),update:Y.update.bind(this),destroy:Y.destroy.bind(this),onNextClick:Y.onNextClick.bind(this),onPrevClick:Y.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,i=this.navigation,a=i.$nextEl,r=i.$prevEl;!this.params.navigation.hideOnClick||s(e.target).is(r)||s(e.target).is(a)||(a?t=a.hasClass(this.params.navigation.hiddenClass):r&&(t=r.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit("navigationShow",this):this.emit("navigationHide",this),a&&a.toggleClass(this.params.navigation.hiddenClass),r&&r.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){d.extend(this,{pagination:{init:F.init.bind(this),render:F.render.bind(this),update:F.update.bind(this),destroy:F.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!s(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){d.extend(this,{scrollbar:{init:R.init.bind(this),destroy:R.destroy.bind(this),updateSize:R.updateSize.bind(this),setTranslate:R.setTranslate.bind(this),setTransition:R.setTransition.bind(this),enableDraggable:R.enableDraggable.bind(this),disableDraggable:R.disableDraggable.bind(this),setDragPosition:R.setDragPosition.bind(this),getPointerPosition:R.getPointerPosition.bind(this),onDragStart:R.onDragStart.bind(this),onDragMove:R.onDragMove.bind(this),onDragEnd:R.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){d.extend(this,{parallax:{setTransform:q.setTransform.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(i){t[i]=W[i].bind(e)})),d.extend(e,{zoom:t});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var s=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,s,a)}i=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){d.extend(this,{lazy:{initialImageLoaded:!1,load:j.load.bind(this),loadInSlide:j.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},K,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;d.extend(e,{a11y:{liveRegion:s('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(_).forEach((function(t){e.a11y[t]=_[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){d.extend(this,{history:{init:J.init.bind(this),setHistory:J.setHistory.bind(this),setHistoryPopState:J.setHistoryPopState.bind(this),scrollToSlide:J.scrollToSlide.bind(this),destroy:J.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){d.extend(this,{hashNavigation:{initialized:!1,init:Z.init.bind(this),destroy:Z.destroy.bind(this),setHash:Z.setHash.bind(this),onHashCange:Z.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;d.extend(e,{autoplay:{running:!1,paused:!1,run:Q.run.bind(e),start:Q.start.bind(e),stop:Q.stop.bind(e),pause:Q.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(this.params,e),d.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:se.setTranslate.bind(this),setTransition:se.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){d.extend(this,{thumbs:{swiper:null,init:ae.init.bind(this),update:ae.update.bind(this),onThumbClick:ae.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===$.use&&($.use=$.Class.use,$.installModule=$.Class.installModule),$.use(re),$}()},267:function(e,t,i){}}]);
\ No newline at end of file diff --git a/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.rtl.css b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.rtl.css index 5b5fdec9..5b5fdec9 100644 --- a/plugins/jetpack/_inc/blocks/vendors~swiper.17b5bcc416832d7a0c9e.rtl.css +++ b/plugins/jetpack/_inc/blocks/vendors~swiper.23fd414831f3de8536b3.rtl.css |